-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: yarn rw setup auth clerk
fails in canary
#5998
Conversation
✅ Deploy Preview for redwoodjs-docs canceled.
|
yarn rw setup auth clerk
fails in canary
Now that it succeeded, I'm noticing something else maybe. In
See this fixture in the associated codemods PR for more context: redwood/packages/codemods/src/codemods/v2.x/updateApp/__testfixtures__/app.output.js Line 19 in c8a9bc6
|
I'm all for switching to TS (no big surprise I guess). But both options sounds good. One or the other, or both. |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 14913b0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 14 targets
Sent with 💌 from NxCloud. |
Yes, you are right. But I think it already is, at least it was for me just now when I tried. It's also part of the clerk setup script BUT I think I missed that in the codemods. Will double check and address in #5969 if needed |
…ctmode-gen * 'main' of github.com:redwoodjs/redwood: fix(deps): update dependency eslint-plugin-jsx-a11y to v6.6.1 (redwoodjs#6017) chore(deps): update dependency @playwright/test to v1.24.0 (redwoodjs#6019) chore(deps): update dependency @okta/jwt-verifier to v2.6.0 (redwoodjs#6018) fix(storybook): add `args` to auto generate docs (redwoodjs#5979) fix: `yarn rw setup auth clerk` fails in canary (redwoodjs#5998) Provide a possibility to disable flows in dbAuth completely (redwoodjs#5851)
While reviewing #5969, I upgraded a redwood app to canary and tried to setup clerk but it failed with:
I pinpointed it to a change in #4880. This new line:
redwood/packages/cli/src/commands/setup/auth/providers/clerk.js
Line 34 in 222adee
Turns it out has to be an array of strings cause
reduce
gets called on it later here:redwood/packages/cli/src/commands/setup/auth/auth.js
Lines 123 to 126 in 222adee
Not a big deal right now. But all the more reason to either...