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 = {
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+ ] ) ,
1317 "dist/*.css" : [
1418 "prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
1519 ] ,
1620 "components/*/dist/metadata.json" : ( files ) => {
1721 return [
1822 ...( files . map ( file => `pajv test --valid -s ./schemas/metadata.schema.json -d "${ file } "` ) ?? [ ] ) ,
1923 ] ;
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+ }
2525} ;
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" : " changeset version && yarn lint-staged "
5757 },
5858 "workspaces" : [
5959 " components/*" ,
You can’t perform that action at this time.
0 commit comments