-
Notifications
You must be signed in to change notification settings - Fork 993
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(babel): API side include babel runtime as deps | Bump babel #3220
Conversation
@@ -10,7 +10,7 @@ | |||
"types": "./dist/index.d.ts", | |||
"license": "MIT", | |||
"dependencies": { | |||
"@clerk/clerk-sdk-node": "^0.5.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This must have been an accident right @dthyresson
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks gtg assuming you and DT sort out the @clerk/clerk-sdk-node
dep in api/package.json
Sweet, yeah will ask DT to take for a spin and fix if there are issues! |
…om-functions-test * 'main' of github.com:redwoodjs/redwood: webpack and misc upgrades (redwoodjs#3235) upgrade Prisma v2.29.0 (redwoodjs#3233) Fix API sourcemaps (babel+esbuild) for debugging (redwoodjs#3230) set canary as default (redwoodjs#3228) Fix issue where Clerk client is sometimes unset (redwoodjs#3224) Fix: Custom auth provider Private route redirect (redwoodjs#2872) fix(babel): API side include babel runtime as deps | Bump babel (redwoodjs#3220)
Fixes #3216
Close this after too https://github.com/redwoodjs/redwoodjs.com/issues/766
What does it do?
A: Adds babel/runtime to api package deps
We're using @babel/plugin-transform-runtime as a framework dep, used at BUILD time.
In the docs
but in a small section they also mention:
B: Updates all babel deps to latest patch/minor
(introduces typescript const enum support!!)
C: Removes clerk auth from api package dep
Re-organises how clerk sdk gets imported, so that we don't need to have it as a redwoodjs/api dependency