Skip to content

chore: add codemod for clerk fix in v4.2.0#7676

Merged
jtoar merged 6 commits intomainfrom
ds-clerk-codemod
Feb 23, 2023
Merged

chore: add codemod for clerk fix in v4.2.0#7676
jtoar merged 6 commits intomainfrom
ds-clerk-codemod

Conversation

@jtoar
Copy link
Copy Markdown
Contributor

@jtoar jtoar commented Feb 23, 2023

Codemod for #7668.

@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Feb 23, 2023
@replay-io
Copy link
Copy Markdown

replay-io Bot commented Feb 23, 2023

16 replays were recorded for c25ad77.

image 0 Failed
image 16 Passed
    requireAuth graphql checks
          ```
          locator.waitFor: Target closed
          =========================== logs ===========================
          waiting for locator('.rw-form-error-title').locator('text=You don\'t have permission to do that') to be visible
          ============================================================
          ```
        </ol>
      </details>
      <li><a href=https://app.replay.io/recording/ba417394-ccbe-433c-a9f7-8501d00c7893>useAuth hook, auth redirects checks</a></li>
      <li><a href=https://app.replay.io/recording/ae2eaab4-5dd0-45bd-9e21-27f783e1dbd9>Check that <meta> tags are rendering the correct dynamic data</a></li>
      <li><a href=https://app.replay.io/recording/473bcd9e-746f-4ee3-b1ab-bfaec98e851b>Check that a specific blog post is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/4e175672-058e-4fe8-aa10-17076074a781>Check that about is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/4226d825-cd69-4b88-b8e6-33206dc170b1>Check that homepage is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/ea6684ce-1d6b-4a37-bf22-b8686d56437f>Check that you can navigate from home page to specific blog post</a></li>
      <li><a href=https://app.replay.io/recording/b3854171-ff4e-40c4-bd78-075dfd2becba>Waterfall prerendering (nested cells)</a></li>
      <li><a href=https://app.replay.io/recording/e3e6c0bc-4c36-45a0-8925-5d365a87ca31>RBAC: Admin user should be able to delete contacts</a></li>
      <li><a href=https://app.replay.io/recording/1dd322c2-bb8b-40a0-acaf-891da220b0b6>RBAC: Should not be able to delete contact as non-admin user</a></li>
      <li><a href=https://app.replay.io/recording/d30552f8-529d-4450-95e6-5f9e7be3aae4>Smoke test with dev server</a></li>
      <li><a href=https://app.replay.io/recording/e73f5880-2342-442f-a898-cb10718bd1e7>Smoke test with rw serve</a></li>
      <li><a href=https://app.replay.io/recording/1eeebc28-6f67-4d6a-8a4c-1ca53eb7a2e8>Loads Cell mocks when Cell is nested in another story</a></li>
      <li><a href=https://app.replay.io/recording/8aaef661-09da-4945-a349-842787466d08>Loads Cell Stories</a></li>
      <li><a href=https://app.replay.io/recording/344d24d3-2146-4560-99d6-f76f2a203cf0>Loads MDX Stories</a></li>
      <li><a href=https://app.replay.io/recording/bcbbc8da-73bf-4296-9566-0cbdbb236b94>Mocks current user, and updates UI while dev server is running</a></li>
      

View test run on Replay ↗︎

@jtoar jtoar merged commit 315503e into main Feb 23, 2023
@jtoar jtoar deleted the ds-clerk-codemod branch February 23, 2023 01:57
@redwoodjs-bot redwoodjs-bot Bot added this to the next-release milestone Feb 23, 2023
dac09 added a commit to dac09/redwood that referenced this pull request Feb 24, 2023
…p-prebuild

* 'main' of github.com:redwoodjs/redwood:
  chore(deps): update dependency @types/uuid to v9.0.1 (redwoodjs#7680)
  chore(deps): update dependency @replayio/playwright to v0.3.23 (redwoodjs#7677)
  chore(deps): update dependency @npmcli/arborist to v6.2.3 (redwoodjs#7675)
  chore(deps): update dependency @envelop/types to v3.0.2 (redwoodjs#7674)
  chore: add codemod for clerk fix in v4.2.0 (redwoodjs#7676)
  chore(deps): update dependency @clerk/types to v3.28.1 (redwoodjs#7652)
  chore(deps): update dependency @envelop/testing to v5.0.6 (redwoodjs#7673)
  Update directives.md (redwoodjs#7670)
  fix(deps): update dependency vscode-languageserver-types to v3.17.3 (redwoodjs#7636)
  Fix `yarn rw exec` to set nonzero exit code on error (redwoodjs#7660)
jtoar added a commit that referenced this pull request Feb 28, 2023
* chore: add codemod for clerk fix in v4.2.0

* fix transform file

* rename dir for consistency

* fix test paths

* fix path again
dac09 added a commit to dac09/redwood that referenced this pull request Feb 28, 2023
* 'main' of github.com:redwoodjs/redwood: (21 commits)
  chore(deps): update dependency @types/uuid to v9.0.1 (redwoodjs#7680)
  chore(deps): update dependency @replayio/playwright to v0.3.23 (redwoodjs#7677)
  chore(deps): update dependency @npmcli/arborist to v6.2.3 (redwoodjs#7675)
  chore(deps): update dependency @envelop/types to v3.0.2 (redwoodjs#7674)
  chore: add codemod for clerk fix in v4.2.0 (redwoodjs#7676)
  chore(deps): update dependency @clerk/types to v3.28.1 (redwoodjs#7652)
  chore(deps): update dependency @envelop/testing to v5.0.6 (redwoodjs#7673)
  Update directives.md (redwoodjs#7670)
  fix(deps): update dependency vscode-languageserver-types to v3.17.3 (redwoodjs#7636)
  Fix `yarn rw exec` to set nonzero exit code on error (redwoodjs#7660)
  fix(deps): update dependency core-js to v3.28.0 (redwoodjs#7666)
  fix(deps): update dependency @clerk/clerk-sdk-node to v4.7.4 (redwoodjs#7663)
  fix(deps): update dependency vite to v4.1.3 (redwoodjs#7664)
  fix(deps): update dependency @fastify/url-data to v5.3.1 (redwoodjs#7665)
  fix(deps): update dependency yargs to v17.7.1 (redwoodjs#7667)
  fix(clerk): Remove privateMetadata property from getCurrentUser (redwoodjs#7668)
  chore(deps): update dependency esbuild to v0.17.10 (redwoodjs#7662)
  chore(deps): bump setup of Chakra UI to V2 (redwoodjs#7649)
  Forms: Export EmptyAsValue (redwoodjs#7656)
  Update useRequireAuth docs to v4 auth (redwoodjs#7646)
  ...
@jtoar jtoar modified the milestones: next-release, v4.3.0 Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:chore This PR is a chore (means nothing for users)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant