File tree Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,11 @@ CHANGELOG.md
5
5
* .gen.ts
6
6
dist
7
7
src.gen /**
8
- packages /toolkit /resources /endpoints.json
9
- packages /toolkit /types /* .d.ts
8
+
9
+ # Duplicate entries because prettier can be ran from root or within the workspace/subpackage.
10
+ # TODO: Avoid this.
11
+ src /shared /telemetry /service-2.json
12
+ src /testFixtures /**
13
+
10
14
packages /toolkit /src /shared /telemetry /service-2.json
11
15
packages /toolkit /src /testFixtures /**
Original file line number Diff line number Diff line change 30
30
"package" : " npm run package -w packages/" ,
31
31
"newChange" : " ts-node ./scripts/newChange.ts" ,
32
32
"createRelease" : " npm run createRelease -w packages/" ,
33
- "format" : " prettier --check packages plugins" ,
34
- "formatfix" : " prettier --write packages plugins" ,
35
- "lint" : " ts-node ./scripts/lint/testLint.ts && npm run format" ,
33
+ "format" : " prettier --check plugins && npm run format -w packages/ " ,
34
+ "formatfix" : " prettier --write plugins && npm run formatfix -w packages/ " ,
35
+ "lint" : " npm run lint -w packages/ && npm run format" ,
36
36
"lintfix" : " eslint -c .eslintrc.js --fix --ext .ts packages plugins && npm run formatfix" ,
37
37
"clean" : " npm run clean -w packages/ -w plugins/" ,
38
38
"reset" : " npm run clean && ts-node ./scripts/clean.ts node_modules packages/toolkit/node_modules && npm install"
Original file line number Diff line number Diff line change 2
2
*
3
3
* /**
4
4
5
- # Ignore from the root package.json otherwise those dirs will be collected as well.
5
+ # Ignore outside dirs up to the root package.json, otherwise those will be collected as well
6
+ # (until vsce officially supports workspaces: https://github.com/microsoft/vscode-vsce/issues/580)
6
7
.. /.. /*
7
8
.. /.. /* /**
8
9
9
10
# Allowlist
11
+ # ---------
10
12
! dist /*
11
13
! dist /libs
12
14
! dist /* /!(testFixtures|test) /** /!( * . * .map)
15
17
! syntaxes /**
16
18
! templates /**
17
19
! types /**
18
- ! LICENSE
19
- ! NOTICE
20
20
! package.json
21
21
! package.nls.json
22
+
23
+ # Automatically copied from root project directory
22
24
! quickStart **
23
25
! README. **
24
26
! CHANGELOG.md
27
+ ! LICENSE
28
+ ! NOTICE
Original file line number Diff line number Diff line change 4249
4249
"test" : " npm run testCompile && c8 ts-node ./scripts/test/test.ts" ,
4250
4250
"testE2E" : " npm run testCompile && c8 ts-node ./scripts/test/testE2E.ts" ,
4251
4251
"testInteg" : " npm run testCompile && c8 ts-node ./scripts/test/testInteg.ts" ,
4252
+ "format" : " prettier --ignore-path ../../.prettierignore --check src scripts" ,
4253
+ "formatfix" : " prettier --ignore-path ../../.prettierignore --write src scripts" ,
4254
+ "lint" : " ts-node ./scripts/lint/testLint.ts && npm run format" ,
4252
4255
"package" : " ts-node ./scripts/build/package.ts" ,
4253
4256
"install-plugin" : " vsce package -o aws-toolkit-vscode-test.vsix && code --install-extension aws-toolkit-vscode-test.vsix" ,
4254
4257
"generateClients" : " npm run build -w @amzn/codewhisperer-streaming && ts-node ./scripts/build/generateServiceClient.ts " ,
You can’t perform that action at this time.
0 commit comments