diff --git a/.changeset/curvy-mails-rhyme.md b/.changeset/curvy-mails-rhyme.md
new file mode 100644
index 00000000000..df0da06c9b5
--- /dev/null
+++ b/.changeset/curvy-mails-rhyme.md
@@ -0,0 +1,6 @@
+---
+'@clerk/clerk-js': patch
+'@clerk/shared': patch
+---
+
+Rename the @staging tag to @canary. Drop support for @next tag.
diff --git a/.github/workflows/release-canary.yml b/.github/workflows/release-canary.yml
index 628db4295e0..1e656b9ba2b 100644
--- a/.github/workflows/release-canary.yml
+++ b/.github/workflows/release-canary.yml
@@ -4,7 +4,7 @@ run-name: Canary release from ${{ github.ref_name }}
on:
push:
branches:
- - main
+ - release/v4
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -18,6 +18,9 @@ jobs:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
+ permissions:
+ contents: read
+ id-token: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
@@ -34,3 +37,37 @@ jobs:
run: npm run release:canary
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ NPM_CONFIG_PROVENANCE: true
+
+ - name: Trigger workflows on related repos
+ uses: actions/github-script@v6
+ with:
+ result-encoding: string
+ retries: 3
+ retry-exempt-status-codes: 400,401
+ github-token: ${{ secrets.CLERK_COOKIE_PAT }}
+ script: |
+ const clerkjsVersion = require('./packages/clerk-js/package.json').version;
+ const nextjsVersion = require('./packages/nextjs/package.json').version;
+
+ if (clerkjsVersion.includes('canary')) {
+ console.log('clerk-js changed, will notify clerk/cloudflare-workers');
+ github.rest.actions.createWorkflowDispatch({
+ owner: 'clerk',
+ repo: 'cloudflare-workers',
+ workflow_id: 'release-canary-clerkjs-proxy.yml',
+ ref: 'main',
+ inputs: { version: clerkjsVersion }
+ })
+ }
+
+ if (nextjsVersion.includes('canary')) {
+ console.log('clerk/nextjs changed, will notify clerk/accounts');
+ github.rest.actions.createWorkflowDispatch({
+ owner: 'clerk',
+ repo: 'accounts',
+ workflow_id: 'release-canary.yml',
+ ref: 'main',
+ inputs: { version: nextjsVersion }
+ })
+ }
diff --git a/.github/workflows/release-staging.yml b/.github/workflows/release-staging.yml
deleted file mode 100644
index 92c289eaf27..00000000000
--- a/.github/workflows/release-staging.yml
+++ /dev/null
@@ -1,73 +0,0 @@
-name: Staging release
-run-name: Staging release from ${{ github.ref_name }}
-
-on:
- push:
- branches:
- - release/v4
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-
-jobs:
- staging-release:
- if: ${{ github.repository == 'clerk/javascript' }}
- runs-on: ${{ vars.RUNNER_LARGE }}
- env:
- TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
- TURBO_TEAM: ${{ vars.TURBO_TEAM }}
- TURBO_REMOTE_ONLY: true
- permissions:
- contents: read
- id-token: write
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - name: Setup
- uses: ./.github/actions/setup
-
- - name: Version packages for staging
- id: version-packages
- run: npm run version:staging | tail -1 >> "$GITHUB_OUTPUT"
-
- - name: Staging release
- if: steps.version-packages.outputs.success == '1'
- run: npm run release:staging
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- NPM_CONFIG_PROVENANCE: true
-
- - name: Trigger workflows on related repos
- uses: actions/github-script@v6
- with:
- result-encoding: string
- retries: 3
- retry-exempt-status-codes: 400,401
- github-token: ${{ secrets.CLERK_COOKIE_PAT }}
- script: |
- const clerkjsVersion = require('./packages/clerk-js/package.json').version;
- const nextjsVersion = require('./packages/nextjs/package.json').version;
-
- if (clerkjsVersion.includes('staging')) {
- console.log('clerk-js changed, will notify clerk/cloudflare-workers');
- github.rest.actions.createWorkflowDispatch({
- owner: 'clerk',
- repo: 'cloudflare-workers',
- workflow_id: 'release-staging-clerkjs-proxy.yml',
- ref: 'main',
- inputs: { version: clerkjsVersion }
- })
- }
-
- if (nextjsVersion.includes('staging')) {
- console.log('clerk/nextjs changed, will notify clerk/accounts');
- github.rest.actions.createWorkflowDispatch({
- owner: 'clerk',
- repo: 'accounts',
- workflow_id: 'release-staging.yml',
- ref: 'main',
- inputs: { version: nextjsVersion }
- })
- }
diff --git a/docs/CICD.md b/docs/CICD.md
index 543e846dabc..3bb1db9ef70 100644
--- a/docs/CICD.md
+++ b/docs/CICD.md
@@ -2,10 +2,10 @@
## TLDR (day-to-day dev flow)
-Every time a PR is merged into `main`, an automated staging release will happen. Once the packages are pushed to `npm`, the following actions will take place:
+Every time a PR is merged into `main`, an automated canary release will happen. Once the packages are pushed to `npm`, the following actions will take place:
-- The staging `clerkjs-proxy` worker will start serving the most recent `@staging` version of `@clerk/clerk-js`, completely bypassing any Cloudflare and JSDeliver edge caches.
-- The staging Accounts project will be deployed using the most recent `@staging` version of `@clerk/nextjs`.
+- The canary `clerkjs-proxy` worker will start serving the most recent `@canary` version of `@clerk/clerk-js`, completely bypassing any Cloudflare and JSDeliver edge caches.
+- The canary Accounts project will be deployed using the most recent `@canary` version of `@clerk/nextjs`.
## Stable releases
@@ -17,16 +17,16 @@ Actions that will be triggered:
For more details, refer to [PUBLISH.md](https://github.com/clerk/javascript/blob/main/docs/PUBLISH.md).
-## Automated staging releases
+## Automated canary releases
-A staging release will be triggered every time PR is merged into `main`. Once versioning and publishing is done, the `clerk/javascript` repo will dispatch a workflow event, notifying other related Clerk repos of the new releases.
+A canary release will be triggered every time PR is merged into `main`. Once versioning and publishing is done, the `clerk/javascript` repo will dispatch a workflow event, notifying other related Clerk repos of the new releases.
Actions that will be triggered:
-- `clerk/cloudflare-workers`: The latest clerk-js versions in `clerkjs-proxy/wrangler.toml` will be updated and directly committed to `main`. A second workflow will perform a staging release of the `clerkjs-proxy` worker.
-- `clerk/accounts`: A new Accounts deployment will take place, using the most recent staging `@clerk/nextjs` version. This change will not be committed to `main`.
+- `clerk/cloudflare-workers`: The latest clerk-js versions in `clerkjs-proxy/wrangler.toml` will be updated and directly committed to `main`. A second workflow will perform a canary release of the `clerkjs-proxy` worker.
+- `clerk/accounts`: A new Accounts deployment will take place, using the most recent canary `@clerk/nextjs` version. This change will not be committed to `main`.
-For more details about staging releases, refer to [PUBLISH.md](https://github.com/clerk/javascript/blob/main/docs/PUBLISH.md).
+For more details about canary releases, refer to [PUBLISH.md](https://github.com/clerk/javascript/blob/main/docs/PUBLISH.md).
## Quality checks
diff --git a/docs/PUBLISH.md b/docs/PUBLISH.md
index f79241770a1..141ecf3b606 100644
--- a/docs/PUBLISH.md
+++ b/docs/PUBLISH.md
@@ -12,13 +12,13 @@ Every time a PR is merged into `main`, the changesets action parses all changese
To release a new stable version of all Clerk packages, find the "Version Packages" PR, verify the changes, and merge it.
-## Publishing staging package versions (`@staging`)
+## Publishing canary package versions (`@canary`)
-An automated staging release will be take place every time a PR gets merged into `main`.
+An automated canary release will be take place every time a PR gets merged into `main`.
-- Staging versions use the following format: `@clerk/package@x.y.z-staging.commit`, where `package` is the package name, `x`,`y`,`z` are the major, minor and patch versions respectively, `staging` is a stable prerelease mame and `commit` is the id of the last commit in the branch.
-- Currently, staging version changes are _not_ committed to the repo and no git tags will be generated. Using this strategy, we avoid merge conflicts, allowing us to constantly deploy staging versions without switching the repo to a "prerelease" mode.
-- During a staging release, `@clerk/clerk-js` will also be released. If needed, use the `clerkJSVersion` prop to use a specific version, eg: ``
+- Canary versions use the following format: `@clerk/package@x.y.z-canary.commit`, where `package` is the package name, `x`,`y`,`z` are the major, minor and patch versions respectively, `canary` is a stable prerelease mame and `commit` is the id of the last commit in the branch.
+- Currently, canary version changes are _not_ committed to the repo and no git tags will be generated. Using this strategy, we avoid merge conflicts, allowing us to constantly deploy canary versions without switching the repo to a "prerelease" mode.
+- During a canary release, `@clerk/clerk-js` will also be released. If needed, use the `clerkJSVersion` prop to use a specific version, eg: ``
- A package will not be published if it's not affected by a changeset.
## Publishing snapshot package versions (`@snapshot`)
diff --git a/package-lock.json b/package-lock.json
index d33e6291ee4..01eece77c1d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -32349,11 +32349,11 @@
},
"packages/backend": {
"name": "@clerk/backend",
- "version": "0.31.3",
+ "version": "0.33.0",
"license": "MIT",
"dependencies": {
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"@peculiar/webcrypto": "1.4.1",
"@types/node": "16.18.6",
"cookie": "0.5.0",
@@ -32394,11 +32394,11 @@
},
"packages/chrome-extension": {
"name": "@clerk/chrome-extension",
- "version": "0.4.10",
+ "version": "0.4.13",
"license": "MIT",
"dependencies": {
- "@clerk/clerk-js": "4.63.0",
- "@clerk/clerk-react": "4.27.0"
+ "@clerk/clerk-js": "4.64.2",
+ "@clerk/clerk-react": "4.27.2"
},
"devDependencies": {
"@types/chrome": "*",
@@ -32414,12 +32414,12 @@
},
"packages/clerk-js": {
"name": "@clerk/clerk-js",
- "version": "4.63.0",
+ "version": "4.64.2",
"license": "MIT",
"dependencies": {
- "@clerk/localizations": "1.26.7",
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/localizations": "1.26.8",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
"@floating-ui/react": "0.25.4",
@@ -32753,17 +32753,17 @@
},
"packages/expo": {
"name": "@clerk/clerk-expo",
- "version": "0.19.12",
+ "version": "0.19.15",
"license": "MIT",
"dependencies": {
- "@clerk/clerk-js": "4.63.0",
- "@clerk/clerk-react": "4.27.0",
- "@clerk/shared": "1.0.0",
+ "@clerk/clerk-js": "4.64.2",
+ "@clerk/clerk-react": "4.27.2",
+ "@clerk/shared": "1.0.2",
"base-64": "1.0.0",
"react-native-url-polyfill": "2.0.0"
},
"devDependencies": {
- "@clerk/types": "^3.57.0",
+ "@clerk/types": "^3.57.1",
"@types/base-64": "^1.0.0",
"@types/node": "^16.11.55",
"@types/react": "*",
@@ -32784,12 +32784,12 @@
},
"packages/fastify": {
"name": "@clerk/fastify",
- "version": "0.6.17",
+ "version": "0.6.20",
"license": "MIT",
"dependencies": {
- "@clerk/backend": "0.31.3",
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/backend": "0.33.0",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"cookies": "0.8.0"
},
"devDependencies": {
@@ -32805,13 +32805,13 @@
}
},
"packages/gatsby-plugin-clerk": {
- "version": "4.4.18",
+ "version": "4.4.21",
"license": "MIT",
"dependencies": {
- "@clerk/backend": "0.31.3",
- "@clerk/clerk-react": "4.27.0",
- "@clerk/clerk-sdk-node": "4.12.16",
- "@clerk/types": "3.57.0",
+ "@clerk/backend": "0.33.0",
+ "@clerk/clerk-react": "4.27.2",
+ "@clerk/clerk-sdk-node": "4.12.19",
+ "@clerk/types": "3.57.1",
"cookie": "0.5.0",
"tslib": "2.4.1"
},
@@ -32834,10 +32834,10 @@
},
"packages/localizations": {
"name": "@clerk/localizations",
- "version": "1.26.7",
+ "version": "1.26.8",
"license": "MIT",
"dependencies": {
- "@clerk/types": "3.57.0"
+ "@clerk/types": "3.57.1"
},
"devDependencies": {
"tsup": "*",
@@ -32852,14 +32852,14 @@
},
"packages/nextjs": {
"name": "@clerk/nextjs",
- "version": "4.25.7",
+ "version": "4.26.2",
"license": "MIT",
"dependencies": {
- "@clerk/backend": "0.31.3",
- "@clerk/clerk-react": "4.27.0",
- "@clerk/clerk-sdk-node": "4.12.16",
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/backend": "0.33.0",
+ "@clerk/clerk-react": "4.27.2",
+ "@clerk/clerk-sdk-node": "4.12.19",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"path-to-regexp": "6.2.1",
"tslib": "2.4.1"
},
@@ -32891,11 +32891,11 @@
},
"packages/react": {
"name": "@clerk/clerk-react",
- "version": "4.27.0",
+ "version": "4.27.2",
"license": "MIT",
"dependencies": {
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"tslib": "2.4.1"
},
"devDependencies": {
@@ -32917,13 +32917,13 @@
},
"packages/remix": {
"name": "@clerk/remix",
- "version": "3.1.0",
+ "version": "3.1.3",
"license": "MIT",
"dependencies": {
- "@clerk/backend": "0.31.3",
- "@clerk/clerk-react": "4.27.0",
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/backend": "0.33.0",
+ "@clerk/clerk-react": "4.27.2",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"cookie": "0.5.0",
"tslib": "2.4.1"
},
@@ -32952,12 +32952,12 @@
},
"packages/sdk-node": {
"name": "@clerk/clerk-sdk-node",
- "version": "4.12.16",
+ "version": "4.12.19",
"license": "MIT",
"dependencies": {
- "@clerk/backend": "0.31.3",
- "@clerk/shared": "1.0.0",
- "@clerk/types": "3.57.0",
+ "@clerk/backend": "0.33.0",
+ "@clerk/shared": "1.0.2",
+ "@clerk/types": "3.57.1",
"@types/cookies": "0.7.7",
"@types/express": "4.17.14",
"@types/node-fetch": "2.6.2",
@@ -32993,7 +32993,7 @@
},
"packages/shared": {
"name": "@clerk/shared",
- "version": "1.0.0",
+ "version": "1.0.2",
"license": "MIT",
"dependencies": {
"glob-to-regexp": "0.4.1",
@@ -33001,7 +33001,7 @@
"swr": "2.2.0"
},
"devDependencies": {
- "@clerk/types": "3.57.0",
+ "@clerk/types": "3.57.1",
"@types/glob-to-regexp": "0.4.1",
"@types/js-cookie": "3.0.2",
"tsup": "*",
@@ -33021,7 +33021,7 @@
"version": "1.7.9",
"license": "MIT",
"devDependencies": {
- "@clerk/types": "3.57.0",
+ "@clerk/types": "3.57.1",
"typescript": "*"
},
"engines": {
@@ -33033,7 +33033,7 @@
},
"packages/types": {
"name": "@clerk/types",
- "version": "3.57.0",
+ "version": "3.57.1",
"license": "MIT",
"dependencies": {
"csstype": "3.1.1"
diff --git a/package.json b/package.json
index c001b32c06a..58e8d4c78bc 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,6 @@
"release": "TURBO_FORCE=true FORCE_COLOR=1 npm run build -- --force && changeset publish && git push --follow-tags",
"release:canary": "TURBO_FORCE=true FORCE_COLOR=1 npm run build && changeset publish --tag canary --no-git-tag",
"release:snapshot": "TURBO_FORCE=true FORCE_COLOR=1 npm run build && changeset publish --tag snapshot --no-git-tag",
- "release:staging": "TURBO_FORCE=true FORCE_COLOR=1 npm run build && changeset publish --tag staging --no-git-tag",
"test": "FORCE_COLOR=1 turbo test --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:cache:clear": "FORCE_COLOR=1 turbo test:cache:clear --continue --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:integration:base": "DEBUG=1 npx playwright test --config integration/playwright.config.ts",
@@ -40,7 +39,6 @@
"version": "changeset version && ./scripts/version-info.sh",
"version:canary": "./scripts/canary.mjs",
"version:snapshot": "./scripts/snapshot.mjs",
- "version:staging": "./scripts/staging.mjs",
"yalc:all": "for d in packages/*/; do echo $d; cd $d; yalc push --replace --sig; cd '../../'; done"
},
"devDependencies": {
diff --git a/packages/clerk-js/scripts/purge-cache.mjs b/packages/clerk-js/scripts/purge-cache.mjs
index db9fa8f09e6..72708ab9619 100644
--- a/packages/clerk-js/scripts/purge-cache.mjs
+++ b/packages/clerk-js/scripts/purge-cache.mjs
@@ -12,10 +12,8 @@ const major = parsedVersion.major;
try {
if (!prerelease) {
await fetch(`https://purge.jsdelivr.net/npm/@clerk/clerk-js@${major}/dist/clerk.browser.js`);
- } else if (prerelease === 'staging') {
- await fetch(`https://purge.jsdelivr.net/npm/@clerk/clerk-js@staging/dist/clerk.browser.js`);
} else {
- await fetch(`https://purge.jsdelivr.net/npm/@clerk/clerk-js@next/dist/clerk.browser.js`);
+ await fetch(`https://purge.jsdelivr.net/npm/@clerk/clerk-js@canary/dist/clerk.browser.js`);
}
console.log(`🎉 JSDelivr cache for @clerk/clerk-js (${version}) was successfully purged!`);
} catch (err) {
diff --git a/packages/clerk-js/src/utils/setWebpackChunkPublicPath.ts b/packages/clerk-js/src/utils/setWebpackChunkPublicPath.ts
index c8f7be0889c..7806f4e9cfc 100644
--- a/packages/clerk-js/src/utils/setWebpackChunkPublicPath.ts
+++ b/packages/clerk-js/src/utils/setWebpackChunkPublicPath.ts
@@ -21,7 +21,7 @@
*
* Solution:
* A given clerk.browser.js file will only load its corresponding chunks using a fixed version. Example:
- * - clerk.browser.js loads from https://pk.accounts.dev/npm/@clerk/clerk-js@staging/dist/clerk.browser.js
+ * - clerk.browser.js loads from https://pk.accounts.dev/npm/@clerk/clerk-js@canary/dist/clerk.browser.js
* - all other chunks need to be loaded from https://pk.accounts.dev/npm/@clerk/clerk-js@__PKG_VERSION__/dist/
*/
if (!__DEV__) {
diff --git a/packages/shared/src/__tests__/url.test.ts b/packages/shared/src/__tests__/url.test.ts
index 7a5f8ce4efd..8eb6983d7d4 100644
--- a/packages/shared/src/__tests__/url.test.ts
+++ b/packages/shared/src/__tests__/url.test.ts
@@ -60,18 +60,14 @@ describe('addClerkPrefix(str)', () => {
describe('getClerkJsMajorVersionOrTag', () => {
const stagingFrontendApi = 'foobar.lclstage.dev';
- it('returns staging if pkgVersion is not provided and frontendApi is staging', () => {
- expect(getClerkJsMajorVersionOrTag(stagingFrontendApi)).toBe('staging');
+ it('returns canary if pkgVersion is not provided and frontendApi is staging', () => {
+ expect(getClerkJsMajorVersionOrTag(stagingFrontendApi)).toBe('canary');
});
it('returns latest if pkgVersion is not provided and frontendApi is not staging', () => {
expect(getClerkJsMajorVersionOrTag('foobar.dev')).toBe('latest');
});
- it('returns next if pkgVersion contains next', () => {
- expect(getClerkJsMajorVersionOrTag('foobar.dev', '1.2.3-next.4')).toBe('next');
- });
-
it('returns the major version if pkgVersion is provided', () => {
expect(getClerkJsMajorVersionOrTag('foobar.dev', '1.2.3')).toBe('1');
});
@@ -100,15 +96,9 @@ describe('getScriptUrl', () => {
);
});
- it('returns URL using the major version if only pkgVersion contains next', () => {
- expect(getScriptUrl(frontendApi, { pkgVersion: '1.2.3-next.4' })).toBe(
- 'https://foobar.dev/npm/@clerk/clerk-js@next/dist/clerk.browser.js',
- );
- });
-
- it('returns URL using the staging tag if frontendApi is staging', () => {
+ it('returns URL using the canary tag if frontendApi is staging', () => {
expect(getScriptUrl('https://foobar.lclstage.dev', {})).toBe(
- 'https://foobar.lclstage.dev/npm/@clerk/clerk-js@staging/dist/clerk.browser.js',
+ 'https://foobar.lclstage.dev/npm/@clerk/clerk-js@canary/dist/clerk.browser.js',
);
});
});
diff --git a/packages/shared/src/url.ts b/packages/shared/src/url.ts
index dfadc27ed77..e3e2b450b71 100644
--- a/packages/shared/src/url.ts
+++ b/packages/shared/src/url.ts
@@ -31,23 +31,18 @@ export function addClerkPrefix(str: string | undefined) {
/**
*
* Retrieve the clerk-js major tag using the major version from the pkgVersion
- * param or use the frontendApi to determine if the staging tag should be used.
- * The default tag is `latest` and a `next` pkgVersion also exists to retrieve
- * the next canary release.
+ * param or use the frontendApi to determine if the canary tag should be used.
+ * The default tag is `latest`.
*/
export const getClerkJsMajorVersionOrTag = (frontendApi: string, pkgVersion?: string) => {
if (!pkgVersion && isStaging(frontendApi)) {
- return 'staging';
+ return 'canary';
}
if (!pkgVersion) {
return 'latest';
}
- if (pkgVersion.includes('next')) {
- return 'next';
- }
-
return pkgVersion.split('.')[0] || 'latest';
};
diff --git a/scripts/canary.mjs b/scripts/canary.mjs
index e3e552c01c4..d2b899c42fa 100755
--- a/scripts/canary.mjs
+++ b/scripts/canary.mjs
@@ -1,7 +1,6 @@
#!/usr/bin/env zx
-import 'zx/globals';
-
+import { $, echo } from 'zx';
import { constants } from './common.mjs';
await $`npx json -I -f ${constants.ChangesetConfigFile} -e "this.changelog = false"`;
diff --git a/scripts/staging.mjs b/scripts/staging.mjs
deleted file mode 100755
index e8990af7bfb..00000000000
--- a/scripts/staging.mjs
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env zx
-
-import 'zx/globals';
-import { constants } from './common.mjs';
-
-await $`npx json -I -f ${constants.ChangesetConfigFile} -e "this.changelog = false"`;
-
-const res = await $`npx changeset version --snapshot staging`;
-const success = !res.stderr.includes('No unreleased changesets found');
-
-await $`git checkout HEAD -- ${constants.ChangesetConfigFile}`;
-
-if (success) {
- echo('success=1');
-} else {
- echo('success=0');
-}