Skip to content

Commit

Permalink
Update package scope, add types
Browse files Browse the repository at this point in the history
  • Loading branch information
srchase committed Jun 16, 2023
1 parent 0879ea8 commit adedc00
Show file tree
Hide file tree
Showing 425 changed files with 8,662 additions and 59,400 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-turkeys-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smithy/protocol-http": minor
---

Move types to @smithy/types
5 changes: 5 additions & 0 deletions .changeset/silent-experts-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smithy/types": minor
---

Add types for migrated packages
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'
- name: Install dependencies
run: yarn
- name: Run eslint
run: yarn lint
run: yarn lint --concurrency=3

test-typescript:
runs-on: ubuntu-latest
Expand All @@ -51,8 +51,10 @@ jobs:
node-version: '14'
- name: Install dependencies
run: yarn
- name: Build packages
run: yarn build --concurrency=2
- name: Run tests
run: yarn test
run: yarn workspaces foreach --exclude smithy-typescript -v run test

ensure-typescript-formatted:
runs-on: ubuntu-latest
Expand All @@ -61,7 +63,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'
- name: Install dependencies
run: yarn
- name: Run the code formatter
Expand All @@ -82,7 +84,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
- name: Install
run: yarn
- name: Create empty changeset for ssdk libs
Expand Down
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
yarnPath: .yarn/releases/yarn-3.4.1.cjs
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.4.1.cjs
21 changes: 19 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"clean": "turbo run clean --force --parallel",
"build": "turbo run build",
"test": "turbo run test",
"lint": "turbo run lint --parallel",
"lint": "turbo run lint",
"format": "turbo run format --parallel",
"stage-release": "turbo run stage-release",
"release": "yarn stage-release && yarn changeset publish"
Expand All @@ -29,16 +29,33 @@
"@types/jest": "28.1.3",
"@typescript-eslint/eslint-plugin": "4.30.0",
"@typescript-eslint/parser": "4.30.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-tsdoc": "0.2.17",
"jest": "28.1.1",
"jest-environment-jsdom": "28.1.1",
"karma": "6.4.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "2.2.0",
"karma-env-preprocessor": "0.1.1",
"karma-firefox-launcher": "2.1.2",
"karma-jasmine": "5.1.0",
"karma-mocha": "2.0.1",
"karma-sourcemap-loader": "0.3.8",
"karma-typescript": "5.5.3",
"karma-webpack": "5.0.0",
"prettier": "2.2.1",
"puppeteer": "^19.2.0",
"ts-jest": "28.0.5",
"turbo": "^1.9.3",
"turbo": "latest",
"typescript": "~4.9.5",
"webpack": "5.73.0",
"webpack-cli": "4.10.0",
"yarn": "1.22.10"
},
"workspaces": [
Expand Down
Loading

0 comments on commit adedc00

Please sign in to comment.