File tree 5 files changed +33
-14
lines changed
5 files changed +33
-14
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ jobs:
29
29
id : changesets
30
30
uses : changesets/action@v1
31
31
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
35
32
title : " chore: release"
36
33
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
37
36
publish : yarn release
37
+ version : yarn version:packages
38
38
39
39
env :
40
40
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @spectrum-css/button" ,
3
- "version" : " 14.1.2 " ,
3
+ "version" : " 14.1.3 " ,
4
4
"description" : " The Spectrum CSS button component" ,
5
5
"license" : " Apache-2.0" ,
6
6
"author" : " Adobe" ,
Original file line number Diff line number Diff line change @@ -6,20 +6,21 @@ module.exports = {
6
6
"*.{js,json}" : [
7
7
"eslint --fix --cache --no-error-on-unmatched-pattern --quiet"
8
8
] ,
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"
12
12
] ,
13
+ "package.json" : ( ) => ( [
14
+ "yarn constraints --fix" ,
15
+ "yarn install --refresh-lockfile" ,
16
+ "git add yarn.lock"
17
+ ] ) ,
13
18
"dist/*.css" : [
14
19
"prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
15
20
] ,
16
21
"components/*/dist/metadata.json" : ( files ) => {
17
22
return [
18
23
...( files . map ( file => `pajv test --valid -s ./schemas/metadata.schema.json -d "${ file } "` ) ?? [ ] ) ,
19
24
] ;
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
+ }
25
26
} ;
Original file line number Diff line number Diff line change 53
53
"tester" : " cross-env NODE_ENV=development nx run storybook:test:scope" ,
54
54
"validate" : " yarn validator tag:component" ,
55
55
"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 "
57
57
},
58
58
"workspaces" : [
59
59
" components/*" ,
Original file line number Diff line number Diff line change @@ -4101,7 +4101,25 @@ __metadata:
4101
4101
languageName: unknown
4102
4102
linkType: soft
4103
4103
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":
4105
4123
version: 0.0.0-use.local
4106
4124
resolution: "@spectrum-css/button@workspace:components/button"
4107
4125
dependencies:
You can’t perform that action at this time.
0 commit comments