File tree Expand file tree Collapse file tree 12 files changed +23
-17
lines changed
Expand file tree Collapse file tree 12 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22. " $( dirname " $0 " ) /_/husky.sh"
33
4- npm run lerna-lint
4+ npm run lerna-lint-fix
Original file line number Diff line number Diff line change 11#! /bin/sh
22. " $( dirname " $0 " ) /_/husky.sh"
33
4- npm run lerna-lint
4+ npm run lerna-lint-fix
55npm run test
Original file line number Diff line number Diff line change 1414 "build" : " tsc --skipLibCheck" ,
1515 "watch" : " tsc -w" ,
1616 "test" : " npm run test:unit" ,
17+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
18+ "lint-fix" : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
1719 "package" : " echo 'Not applicable'" ,
1820 "package-bundle" : " echo 'Not applicable'" ,
1921 "test:unit" : " npm run build && jest" ,
Original file line number Diff line number Diff line change 1010 "scripts" : {
1111 "build" : " sam build --beta-features" ,
1212 "test" : " npm run test:unit" ,
13+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
14+ "lint-fix" : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
1315 "package" : " echo 'Not applicable'" ,
1416 "package-bundle" : " echo 'Not applicable'" ,
1517 "test:unit" : " npm run build && jest" ,
Original file line number Diff line number Diff line change 1010 "test" : " npm run test:unit" ,
1111 "cdk" : " cdk" ,
1212 "package" : " echo 'Not applicable'" ,
13+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
14+ "lint-fix" : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
1315 "test:unit" : " if-node-version '>12' jest --testPathPattern=unit -u" ,
1416 "test:e2e" : " if-node-version '>12' jest --testPathPattern=e2e"
1517 },
Original file line number Diff line number Diff line change 2222 "lerna-package" : " lerna exec -- npm run package" ,
2323 "lerna-package-bundle" : " lerna exec -- npm run package-bundle" ,
2424 "lerna-build" : " lerna exec -- tsc" ,
25- "lerna-lint" : " lerna exec -- eslint \" ./{src,tests}/**/*.ts ./src/*.ts \" " ,
26- "lerna-format " : " lerna exec -- eslint -- fix \" ./{src,tests}/**/*.ts ./src/*.ts \" " ,
25+ "lerna-lint" : " lerna exec -- npm run lint " ,
26+ "lerna-lint-fix " : " lerna exec -- npm run lint- fix" ,
2727 "lerna-prepare" : " lerna exec -- npm run build" ,
2828 "lerna-prepublishOnly" : " lerna exec -- npm test && lerna exec -- npm run lint" ,
2929 "lerna-preversion" : " lerna exec -- npm run lint" ,
Original file line number Diff line number Diff line change 1616 "test:e2e" : " echo 'Not Applicable'" ,
1717 "watch" : " jest --watch" ,
1818 "build" : " tsc" ,
19- "lint" : " eslint --ext .ts --fix -- no-error-on-unmatched-pattern src tests" ,
20- "format " : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
19+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
20+ "lint-fix " : " eslint --fix --ext .ts --no-error-on-unmatched-pattern src tests" ,
2121 "package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
2222 "package-bundle" : " ../../package-bundler.sh commons-bundle ./dist" ,
2323 "prepare" : " npm run build" ,
Original file line number Diff line number Diff line change 1919 "test:e2e" : " jest --group=e2e" ,
2020 "watch" : " jest --watch --group=unit" ,
2121 "build" : " tsc" ,
22- "lint" : " eslint --ext .ts --fix -- no-error-on-unmatched-pattern src tests" ,
23- "format " : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
22+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
23+ "lint-fix " : " eslint --fix --ext .ts --no-error-on-unmatched-pattern src tests" ,
2424 "package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
2525 "package-bundle" : " ../../package-bundler.sh logger-bundle ./dist" ,
2626 "prepare" : " npm run build" ,
Original file line number Diff line number Diff line change 1919 "test:e2e" : " jest --group=e2e" ,
2020 "watch" : " jest --watch --group=unit" ,
2121 "build" : " tsc" ,
22- "lint" : " eslint --ext .ts --fix -- no-error-on-unmatched-pattern src tests" ,
23- "format " : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
22+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
23+ "lint-fix " : " eslint --fix --ext .ts --no-error-on-unmatched-pattern src tests" ,
2424 "package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
2525 "package-bundle" : " ../../package-bundler.sh logger-bundle ./dist" ,
2626 "prepare" : " npm run build" ,
Original file line number Diff line number Diff line change 1919 "test:e2e" : " jest --group=e2e" ,
2020 "watch" : " jest --group=unit --watch " ,
2121 "build" : " tsc" ,
22- "lint" : " eslint --ext .ts --fix -- no-error-on-unmatched-pattern src tests" ,
23- "format " : " eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests" ,
22+ "lint" : " eslint --ext .ts --no-error-on-unmatched-pattern src tests" ,
23+ "lint-fix " : " eslint --fix --ext .ts --no-error-on-unmatched-pattern src tests" ,
2424 "package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
2525 "package-bundle" : " ../../package-bundler.sh metrics-bundle ./dist" ,
2626 "prepare" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments