File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ 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
+ ] ) ,
13
17
"dist/*.css" : [
14
18
"prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
15
19
] ,
16
20
"components/*/dist/metadata.json" : ( files ) => {
17
21
return [
18
22
...( files . map ( file => `pajv test --valid -s ./schemas/metadata.schema.json -d "${ file } "` ) ?? [ ] ) ,
19
23
] ;
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
- ]
24
+ }
25
25
} ;
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" : " changeset version && yarn lint-staged "
57
57
},
58
58
"workspaces" : [
59
59
" components/*" ,
You can’t perform that action at this time.
0 commit comments