-
Notifications
You must be signed in to change notification settings - Fork 260
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(clerk-js,clerk-react,chrome-extension): Build and consume packages without remotely hosted code #4551
base: tm/ext-updates
Are you sure you want to change the base?
Conversation
without remotely hosted code
🦋 Changeset detectedLatest commit: 9dab906 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 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 |
!snapshot |
Hey @tmilewski - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/[email protected] --save-exact
npm i @clerk/backend@1.16.3-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/chrome-extension@2.0.0-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/clerk-js@5.34.0-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/elements@0.19.2-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/clerk-expo@2.3.3-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/expo-passkeys@0.0.4-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/express@1.3.13-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/fastify@2.0.15-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/localizations@3.6.3-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/clerk-react@5.15.4-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/clerk-sdk-node@5.0.64-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/tanstack-start@0.4.27-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/testing@1.3.25-snapshot.v82229a2b5efc2b13289f104989759757ba878957 --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@@ -20,9 +23,3 @@ 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.
!snapshot rhc-beta |
Hey @tmilewski - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/[email protected] --save-exact
npm i @clerk/backend@1.16.3-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/chrome-extension@2.0.0-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/clerk-js@5.34.0-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/elements@0.19.2-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/clerk-expo@2.3.3-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/expo-passkeys@0.0.4-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/express@1.3.13-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/fastify@2.0.15-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/localizations@3.6.3-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/clerk-react@5.15.4-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/clerk-sdk-node@5.0.64-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/tanstack-start@0.4.27-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/testing@1.3.25-rhc-beta.v9dab906166f584529bf54880bc8daa910511316b --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact |
Description
Removes remotely hosted code (RHC) for Browser Extensions in the following fashion:
clerk-js
Removes RHC via
__BUILD_DISABLE_RHC__
and creates a new build under@clerk/clerk-js/no-rhc
.clerk-react
Introduces
__BUILD_DISABLE_RHC__
into theclerk-react
build which, if unset, defaults tofalse
.clerk-react
is bundled intochrome-extension
and in that process__BUILD_DISABLE_RHC__
is set totrue
which ultimately removes the RHC.Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change