File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
rtk-query-codegen-openapi Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 51
51
"scripts" : {
52
52
"build" : " yarn build:packages" ,
53
53
"test" : " yarn test:packages" ,
54
+ "format" : " prettier --config prettier.config.mjs --write ." ,
55
+ "format-check" : " prettier --config prettier.config.mjs --check ." ,
54
56
"install" : " yarn build-configs" ,
55
57
"build-configs" : " yarn workspaces foreach -Atip --include '@reduxjs/*config' run build" ,
56
58
"build:examples" : " yarn workspaces foreach -A --include '@reduxjs/*' --include '@examples-query-react/*' --include '@examples-action-listener/*' -vtp run build" ,
Original file line number Diff line number Diff line change 2
2
"name" : " @reduxjs/rtk-codemods" ,
3
3
"version" : " 0.1.2" ,
4
4
"scripts" : {
5
+ "format" : " prettier --config prettier.config.mjs --write ." ,
6
+ "format-check" : " prettier --config prettier.config.mjs --check ." ,
5
7
"lint" : " eslint ." ,
6
8
"test" : " vitest --run" ,
7
9
"test:watch" : " vitest --watch" ,
Original file line number Diff line number Diff line change 35
35
"build" : " yarn clean && tsup && chmod +x lib/bin/cli.mjs" ,
36
36
"clean" : " rimraf lib" ,
37
37
"prepack" : " yarn build && chmod +x lib/bin/cli.mjs" ,
38
- "format" : " prettier --write \" src/**/*.ts\" " ,
38
+ "format" : " prettier --config prettier.config.mjs --write ." ,
39
+ "format-check" : " prettier --config prettier.config.mjs --check ." ,
39
40
"test:update" : " vitest --run --update" ,
40
41
"test:update:enum" : " lib/bin/cli.mjs test/config.example.enum.ts" ,
41
42
"test" : " vitest --run --typecheck" ,
Original file line number Diff line number Diff line change 96
96
"run-build" : " tsup" ,
97
97
"build" : " yarn clean && yarn run-build && tsx scripts/fixUniqueSymbolExports.mts" ,
98
98
"build-only" : " yarn clean && yarn run-build" ,
99
- "format" : " prettier --write \" (src|examples)/**/*.{ts,tsx} \" \" **/*.md \" " ,
100
- "format: check" : " prettier --list-different \" (src|examples)/**/*.{ts,tsx} \" \" docs/*/**.md \" " ,
99
+ "format" : " prettier --config prettier.config.mjs --write . " ,
100
+ "format- check" : " prettier --config prettier.config.mjs --check . " ,
101
101
"lint" : " eslint src examples" ,
102
102
"test" : " vitest --typecheck --run " ,
103
103
"test:watch" : " vitest --watch" ,
You can’t perform that action at this time.
0 commit comments