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 1
1
#! /bin/sh
2
2
. " $( dirname " $0 " ) /_/husky.sh"
3
3
4
- npm run lerna-lint
4
+ npm run lerna-lint-fix
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
. " $( dirname " $0 " ) /_/husky.sh"
3
3
4
- npm run lerna-lint
4
+ npm run lerna-lint-fix
5
5
npm run test
Original file line number Diff line number Diff line change 14
14
"build" : " tsc --skipLibCheck" ,
15
15
"watch" : " tsc -w" ,
16
16
"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" ,
17
19
"package" : " echo 'Not applicable'" ,
18
20
"package-bundle" : " echo 'Not applicable'" ,
19
21
"test:unit" : " npm run build && jest" ,
Original file line number Diff line number Diff line change 10
10
"scripts" : {
11
11
"build" : " sam build --beta-features" ,
12
12
"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" ,
13
15
"package" : " echo 'Not applicable'" ,
14
16
"package-bundle" : " echo 'Not applicable'" ,
15
17
"test:unit" : " npm run build && jest" ,
Original file line number Diff line number Diff line change 10
10
"test" : " npm run test:unit" ,
11
11
"cdk" : " cdk" ,
12
12
"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" ,
13
15
"test:unit" : " if-node-version '>12' jest --testPathPattern=unit -u" ,
14
16
"test:e2e" : " if-node-version '>12' jest --testPathPattern=e2e"
15
17
},
Original file line number Diff line number Diff line change 22
22
"lerna-package" : " lerna exec -- npm run package" ,
23
23
"lerna-package-bundle" : " lerna exec -- npm run package-bundle" ,
24
24
"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" ,
27
27
"lerna-prepare" : " lerna exec -- npm run build" ,
28
28
"lerna-prepublishOnly" : " lerna exec -- npm test && lerna exec -- npm run lint" ,
29
29
"lerna-preversion" : " lerna exec -- npm run lint" ,
Original file line number Diff line number Diff line change 16
16
"test:e2e" : " echo 'Not Applicable'" ,
17
17
"watch" : " jest --watch" ,
18
18
"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" ,
21
21
"package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
22
22
"package-bundle" : " ../../package-bundler.sh commons-bundle ./dist" ,
23
23
"prepare" : " npm run build" ,
Original file line number Diff line number Diff line change 19
19
"test:e2e" : " jest --group=e2e" ,
20
20
"watch" : " jest --watch --group=unit" ,
21
21
"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" ,
24
24
"package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
25
25
"package-bundle" : " ../../package-bundler.sh logger-bundle ./dist" ,
26
26
"prepare" : " npm run build" ,
Original file line number Diff line number Diff line change 19
19
"test:e2e" : " jest --group=e2e" ,
20
20
"watch" : " jest --watch --group=unit" ,
21
21
"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" ,
24
24
"package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
25
25
"package-bundle" : " ../../package-bundler.sh logger-bundle ./dist" ,
26
26
"prepare" : " npm run build" ,
Original file line number Diff line number Diff line change 19
19
"test:e2e" : " jest --group=e2e" ,
20
20
"watch" : " jest --group=unit --watch " ,
21
21
"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" ,
24
24
"package" : " mkdir -p dist/ && npm pack && mv *.tgz dist/" ,
25
25
"package-bundle" : " ../../package-bundler.sh metrics-bundle ./dist" ,
26
26
"prepare" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments