Skip to content

Commit adedc00

Browse files
committed
Update package scope, add types
1 parent 0879ea8 commit adedc00

File tree

425 files changed

+8662
-59400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

425 files changed

+8662
-59400
lines changed

.changeset/empty-turkeys-flow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smithy/protocol-http": minor
3+
---
4+
5+
Move types to @smithy/types

.changeset/silent-experts-dream.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smithy/types": minor
3+
---
4+
5+
Add types for migrated packages

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
- uses: actions/checkout@v3
3636
- uses: actions/setup-node@v3
3737
with:
38-
node-version: '14'
38+
node-version: '16'
3939
- name: Install dependencies
4040
run: yarn
4141
- name: Run eslint
42-
run: yarn lint
42+
run: yarn lint --concurrency=3
4343

4444
test-typescript:
4545
runs-on: ubuntu-latest
@@ -51,8 +51,10 @@ jobs:
5151
node-version: '14'
5252
- name: Install dependencies
5353
run: yarn
54+
- name: Build packages
55+
run: yarn build --concurrency=2
5456
- name: Run tests
55-
run: yarn test
57+
run: yarn workspaces foreach --exclude smithy-typescript -v run test
5658

5759
ensure-typescript-formatted:
5860
runs-on: ubuntu-latest
@@ -61,7 +63,7 @@ jobs:
6163
- uses: actions/checkout@v3
6264
- uses: actions/setup-node@v3
6365
with:
64-
node-version: '14'
66+
node-version: '16'
6567
- name: Install dependencies
6668
run: yarn
6769
- name: Run the code formatter
@@ -82,7 +84,7 @@ jobs:
8284
fetch-depth: 0
8385
- uses: actions/setup-node@v3
8486
with:
85-
node-version: 14
87+
node-version: 16
8688
- name: Install
8789
run: yarn
8890
- name: Create empty changeset for ssdk libs

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

+28
Large diffs are not rendered by default.

.yarnrc.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
yarnPath: .yarn/releases/yarn-3.4.1.cjs
21
nodeLinker: node-modules
2+
3+
plugins:
4+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
5+
spec: "@yarnpkg/plugin-workspace-tools"
6+
7+
yarnPath: .yarn/releases/yarn-3.4.1.cjs

package.json

+19-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"clean": "turbo run clean --force --parallel",
99
"build": "turbo run build",
1010
"test": "turbo run test",
11-
"lint": "turbo run lint --parallel",
11+
"lint": "turbo run lint",
1212
"format": "turbo run format --parallel",
1313
"stage-release": "turbo run stage-release",
1414
"release": "yarn stage-release && yarn changeset publish"
@@ -29,16 +29,33 @@
2929
"@types/jest": "28.1.3",
3030
"@typescript-eslint/eslint-plugin": "4.30.0",
3131
"@typescript-eslint/parser": "4.30.0",
32+
"chai": "^4.2.0",
33+
"chai-as-promised": "^7.1.1",
3234
"eslint": "7.32.0",
3335
"eslint-config-prettier": "8.3.0",
3436
"eslint-plugin-prettier": "3.4.1",
3537
"eslint-plugin-simple-import-sort": "7.0.0",
38+
"eslint-plugin-tsdoc": "0.2.17",
3639
"jest": "28.1.1",
3740
"jest-environment-jsdom": "28.1.1",
41+
"karma": "6.4.0",
42+
"karma-chai": "0.1.0",
43+
"karma-chrome-launcher": "3.1.1",
44+
"karma-coverage": "2.2.0",
45+
"karma-env-preprocessor": "0.1.1",
46+
"karma-firefox-launcher": "2.1.2",
47+
"karma-jasmine": "5.1.0",
48+
"karma-mocha": "2.0.1",
49+
"karma-sourcemap-loader": "0.3.8",
50+
"karma-typescript": "5.5.3",
51+
"karma-webpack": "5.0.0",
3852
"prettier": "2.2.1",
53+
"puppeteer": "^19.2.0",
3954
"ts-jest": "28.0.5",
40-
"turbo": "^1.9.3",
55+
"turbo": "latest",
4156
"typescript": "~4.9.5",
57+
"webpack": "5.73.0",
58+
"webpack-cli": "4.10.0",
4259
"yarn": "1.22.10"
4360
},
4461
"workspaces": [

0 commit comments

Comments
 (0)