-
Notifications
You must be signed in to change notification settings - Fork 253
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
chore(*): Publish packages with npm provenance #1891
Changes from 12 commits
b6c514a
3ed134e
37759bd
f3c0ae5
c0e8424
3545ced
dc77f55
e4f2b4b
92256b2
9ff9834
b0c9fe5
6ff1e40
38e192f
1a66fb1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
'gatsby-plugin-clerk': patch | ||
'@clerk/chrome-extension': patch | ||
'@clerk/localizations': patch | ||
'@clerk/clerk-js': patch | ||
'@clerk/clerk-sdk-node': patch | ||
'@clerk/backend': patch | ||
'@clerk/fastify': patch | ||
'@clerk/nextjs': patch | ||
'@clerk/shared': patch | ||
'@clerk/themes': patch | ||
'@clerk/clerk-react': patch | ||
'@clerk/remix': patch | ||
'@clerk/types': patch | ||
'@clerk/clerk-expo': patch | ||
--- | ||
|
||
Publish packages with [npm provenance](https://docs.npmjs.com/generating-provenance-statements) enabled |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,6 @@ module.exports = { | |
'subject-case': [2, 'always', ['sentence-case']], | ||
'body-max-line-length': [1, 'always', '150'], | ||
'scope-empty': [2, 'never'], | ||
'scope-enum': [2, 'always', [...getPackageNames(), 'repo', 'release']], | ||
'scope-enum': [2, 'always', [...getPackageNames(), 'repo', 'release', '*']], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you want to write a commit message that affects everything inside There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was missing, indeed! Great job! |
||
}, | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,20 +78,20 @@ | |
"lint:attw": "FORCE_COLOR=1 turbo lint:attw", | ||
"lint:fix": "FORCE_COLOR=1 turbo lint -- --fix", | ||
"bundlewatch": "turbo bundlewatch", | ||
"format": "npx prettier --write .", | ||
"format:check": "npx prettier --cache --check .", | ||
"format": "prettier --write .", | ||
"format:check": "prettier --cache --check .", | ||
"nuke": "./scripts/nuke.sh", | ||
"yalc:all": "for d in packages/*/; do echo $d; cd $d; yalc push --replace --sig; cd '../../'; done", | ||
"prepare": "husky install", | ||
"changeset": "npx changeset", | ||
"changeset": "changeset", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's no need to use |
||
"changeset:empty": "npm run changeset -- --empty", | ||
"version": "npx changeset version && ./scripts/version-info.sh", | ||
"version": "changeset version && ./scripts/version-info.sh", | ||
"version:snapshot": "./scripts/snapshot.mjs", | ||
"version:staging": "./scripts/staging.mjs", | ||
"release": "FORCE_COLOR=1 npm run build -- --force && npx changeset publish && git push --follow-tags", | ||
"release:snapshot": "FORCE_COLOR=1 npm run build && npx changeset publish --tag snapshot --no-git-tag", | ||
"release:staging": "FORCE_COLOR=1 npm run build && npx changeset publish --tag staging --no-git-tag", | ||
"release:verdaccio": "if [ \"$(npm config get registry)\" = \"https://registry.npmjs.org/\" ]; then echo 'Error: Using default registry' && exit 1; else TURBO_CONCURRENCY=4 npm run build && npx changeset publish --no-git-tag; fi", | ||
"release": "FORCE_COLOR=1 npm run build -- --force && changeset publish && git push --follow-tags", | ||
"release:snapshot": "FORCE_COLOR=1 npm run build && changeset publish --tag snapshot --no-git-tag", | ||
"release:staging": "FORCE_COLOR=1 npm run build && changeset publish --tag staging --no-git-tag", | ||
"release:verdaccio": "if [ \"$(npm config get registry)\" = \"https://registry.npmjs.org/\" ]; then echo 'Error: Using default registry' && exit 1; else TURBO_CONCURRENCY=4 npm run build && changeset publish --no-git-tag; fi", | ||
"update:lockfile": "npm run nuke && npm install -D --arch=x64 --platform=linux turbo && npm install -D --arch=arm64 --platform=darwin turbo" | ||
} | ||
} |
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.
See docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions