File tree Expand file tree Collapse file tree 5 files changed +33
-14
lines changed Expand file tree Collapse file tree 5 files changed +33
-14
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ jobs:
2929 id : changesets
3030 uses : changesets/action@v1
3131 with :
32- version : yarn version:packages
33-
34- # This expects you to have a script called release which does a build for your packages and calls changeset publish
3532 title : " chore: release"
3633 commit : " chore: release"
34+ # This expects you to have a script called release / version:packages
35+ # which does a build for your packages and calls changeset publish
3736 publish : yarn release
37+ version : yarn version:packages
3838
3939 env :
4040 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @spectrum-css/button" ,
3- "version" : " 14.1.2 " ,
3+ "version" : " 14.1.3 " ,
44 "description" : " The Spectrum CSS button component" ,
55 "license" : " Apache-2.0" ,
66 "author" : " Adobe" ,
Original file line number Diff line number Diff line change @@ -6,20 +6,21 @@ module.exports = {
66 "*.{js,json}" : [
77 "eslint --fix --cache --no-error-on-unmatched-pattern --quiet"
88 ] ,
9- "package.json" : ( files ) => [
10- "yarn constraints --fix " ,
11- `eslint --fix --cache --no-error-on-unmatched-pattern --quiet ${ files . join ( " " ) } ` ,
9+ "*.{md,mdx}" : [
10+ "prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc " ,
11+ "markdownlint --config .markdownlint.json --fix"
1212 ] ,
13+ "package.json" : ( ) => ( [
14+ "yarn constraints --fix" ,
15+ "yarn install --refresh-lockfile" ,
16+ "git add yarn.lock"
17+ ] ) ,
1318 "dist/*.css" : [
1419 "prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
1520 ] ,
1621 "components/*/dist/metadata.json" : ( files ) => {
1722 return [
1823 ...( files . map ( file => `pajv test --valid -s ./schemas/metadata.schema.json -d "${ file } "` ) ?? [ ] ) ,
1924 ] ;
20- } ,
21- "*.{md,mdx}" : [
22- "prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc" ,
23- "markdownlint --config .markdownlint.json --fix"
24- ]
25+ }
2526} ;
Original file line number Diff line number Diff line change 5353 "tester" : " cross-env NODE_ENV=development nx run storybook:test:scope" ,
5454 "validate" : " yarn validator tag:component" ,
5555 "validator" : " nx run-many --target validate --verbose --projects" ,
56- "version:packages" : " changeset version && yarn constraints --fix && yarn install "
56+ "version:packages" : " yarn config set -H enableImmutableInstalls false && changeset version && git add . && yarn lint-staged "
5757 },
5858 "workspaces" : [
5959 " components/*" ,
Original file line number Diff line number Diff line change @@ -4101,7 +4101,25 @@ __metadata:
41014101 languageName: unknown
41024102 linkType: soft
41034103
4104- "@spectrum-css/button@npm:14.1.2, @spectrum-css/button@workspace:components/button":
4104+ "@spectrum-css/button@npm:14.1.2":
4105+ version: 14.1.2
4106+ resolution: "@spectrum-css/button@npm:14.1.2"
4107+ peerDependencies:
4108+ "@spectrum-css/icon": ">=9.0.0 <10.0.0"
4109+ "@spectrum-css/progresscircle": ">=5.0.0 <6.0.0"
4110+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
4111+ peerDependenciesMeta:
4112+ "@spectrum-css/icon":
4113+ optional: true
4114+ "@spectrum-css/progresscircle":
4115+ optional: true
4116+ "@spectrum-css/tokens":
4117+ optional: true
4118+ checksum: 10c0/1eea83de053fbd75c66b91ee25efb94896df9f7802e4fe10a38d6ba07cb907d44caa32576f6540de3c56abf3539f2d6d179fde4826eabe77c4ff9734efb82048
4119+ languageName: node
4120+ linkType: hard
4121+
4122+ "@spectrum-css/button@workspace:components/button":
41054123 version: 0.0.0-use.local
41064124 resolution: "@spectrum-css/button@workspace:components/button"
41074125 dependencies:
You can’t perform that action at this time.
0 commit comments