File tree 3 files changed +16
-6
lines changed
3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1
- pnpm check-lock-files
2
- pnpm pretty-quick --check
3
- NX_TUI=false pnpm nx format-native nx
4
- NX_TUI=false pnpm nx lint-native nx
5
- pnpm check-commit
6
- pnpm documentation
1
+ pnpm nx prepush --parallel 8 --tuiAutoExit 0
Original file line number Diff line number Diff line change 8
8
"commit" : " czg" ,
9
9
"check-commit" : " node ./scripts/commit-lint.js" ,
10
10
"check-format" : " nx format:check --all" ,
11
+ "check-format:quick" : " pretty-quick --check" ,
11
12
"check-imports" : " node ./scripts/check-imports.js" ,
12
13
"check-lock-files" : " node ./scripts/check-lock-files.js" ,
13
14
"check-documentation-map" : " ts-node -P ./scripts/tsconfig.scripts.json ./scripts/documentation/map-link-checker.ts" ,
407
408
" echo" ,
408
409
" check-commit" ,
409
410
" check-format" ,
411
+ " check-format:quick" ,
410
412
" check-imports" ,
411
413
" check-lock-files" ,
412
414
" check-codeowners"
Original file line number Diff line number Diff line change 74
74
" {workspaceRoot}/docs/generated"
75
75
]
76
76
},
77
+ "check-format:quick" : {
78
+ "parallelism" : false
79
+ },
77
80
"lint" : {
78
81
"dependsOn" : [" @nx/nx-source:lint-pnpm-lock" ],
79
82
"cache" : true ,
82
85
"lint-pnpm-lock" : {
83
86
"cache" : true ,
84
87
"inputs" : [" {projectRoot}/pnpm-lock.yaml" ]
88
+ },
89
+ "prepush" : {
90
+ "dependsOn" : [
91
+ " nx:format-native" ,
92
+ " nx:lint-native" ,
93
+ " documentation" ,
94
+ " check-commit" ,
95
+ " check-format:quick" ,
96
+ " check-lock-files"
97
+ ]
85
98
}
86
99
}
87
100
}
You can’t perform that action at this time.
0 commit comments