-
Notifications
You must be signed in to change notification settings - Fork 401
fix(clerk-js,clerk-react,chrome-extension): Build and consume packages without remotely hosted code #4551
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
Conversation
🦋 Changeset detectedLatest commit: d7f9da1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
!allow-major |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
| export * from './runtime'; | ||
| export * from './url'; | ||
| export * from './web3'; | ||
| export * from './windowNavigate'; |
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.
Removes a number of duplicated exports.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
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.
I looked over the code and to my eye, with limited experience inside the JS repo, it looks good. Testing with 'dev' and 'build' version of a Chrome Extension I'm not seeing of the the various reported remote code issues.
16ba756 to
ee2664a
Compare
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@jacekradko @brkalow Mind taking another once-over here? Once this is pulled into the upstream extension updates PR, we're planning on releasing this via that. |
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.
Great job! 🔥
ee2664a to
1b8d68a
Compare
without remotely hosted code
Description
Removes remotely hosted code (RHC) for Browser Extensions in the following fashion:
clerk-jsRemoves RHC via
__BUILD_DISABLE_RHC__and creates a new build under@clerk/clerk-js/no-rhc.clerk-reactIntroduces
__BUILD_DISABLE_RHC__into theclerk-reactbuild which, if unset, defaults tofalse.clerk-reactis bundled intochrome-extensionand in that process__BUILD_DISABLE_RHC__is set totruewhich ultimately removes the RHC.Checklist
npm testruns as expected.npm run buildruns as expected.Type of change