Skip to content

Commit b15d995

Browse files
authored
chore: update @arethetypeswrong/cli to 0.18.3 to fix CI failure (#5309)
* chore: update `@arethetypeswrong/cli` to `0.18.3` to fix CI failure - Bump `@arethetypeswrong/cli` from `0.18.2` to `0.18.3` in `@reduxjs/toolkit` - Add `@arethetypeswrong/cli@0.18.3` as a dev dependency to `@rtk-query/codegen-openapi` - Switch CI from `yarn dlx @arethetypeswrong/cli@0.18.2` to `yarn attw` (uses the installed version) Related: [arethetypeswrong/arethetypeswrong.github.io#258](arethetypeswrong/arethetypeswrong.github.io#258), [101arrowz/fflate#258](101arrowz/fflate#258) Upstream fix: [arethetypeswrong/arethetypeswrong.github.io#261](arethetypeswrong/arethetypeswrong.github.io#261), released in [`@arethetypeswrong/core@0.18.3`](https://github.com/arethetypeswrong/arethetypeswrong.github.io/releases/tag/%40arethetypeswrong%2Fcore%400.18.3) * chore: fix Playwright e2e tests in publish-ci examples Bump [`@playwright/test`](https://www.npmjs.com/package/@playwright/test) from `^1.31.1` to `^1.60.0` and remove the redundant standalone `playwright` devDependency in the `cra4`, `cra5`, `next`, and `vite` examples under `examples/publish-ci`. The CI install step fetched the latest Playwright, which installs a newer Chromium build and deletes the one the pinned `1.31.2` version needed, leaving the `test-published-artifact` job without a usable browser. Aligning `@playwright/test` with the installed version keeps the Chromium build in sync and fixes the failing tests.
1 parent e270be5 commit b15d995

4 files changed

Lines changed: 20 additions & 18 deletions

File tree

.github/workflows/test-codegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ jobs:
147147
name: package
148148

149149
- name: Run are-the-types-wrong
150-
run: yarn dlx @arethetypeswrong/cli@0.18.2 ./package.tgz --format table --exclude-entrypoints cli
150+
run: yarn attw ./package.tgz --format table --exclude-entrypoints cli

packages/rtk-query-codegen-openapi/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"!skills/_artifacts"
5151
],
5252
"devDependencies": {
53+
"@arethetypeswrong/cli": "^0.18.3",
5354
"@babel/core": "^7.12.10",
5455
"@babel/preset-env": "^7.12.11",
5556
"@babel/preset-typescript": "^7.12.7",

packages/toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
}
185185
},
186186
"devDependencies": {
187-
"@arethetypeswrong/cli": "^0.18.2",
187+
"@arethetypeswrong/cli": "^0.18.3",
188188
"@babel/core": "^7.24.8",
189189
"@babel/helper-module-imports": "^7.24.7",
190190
"@microsoft/api-extractor": "^7.13.2",

yarn.lock

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -355,36 +355,36 @@ __metadata:
355355
languageName: node
356356
linkType: hard
357357

358-
"@arethetypeswrong/cli@npm:^0.18.2":
359-
version: 0.18.2
360-
resolution: "@arethetypeswrong/cli@npm:0.18.2"
358+
"@arethetypeswrong/cli@npm:^0.18.3":
359+
version: 0.18.3
360+
resolution: "@arethetypeswrong/cli@npm:0.18.3"
361361
dependencies:
362-
"@arethetypeswrong/core": "npm:0.18.2"
362+
"@arethetypeswrong/core": "npm:0.18.3"
363363
chalk: "npm:^4.1.2"
364364
cli-table3: "npm:^0.6.3"
365365
commander: "npm:^10.0.1"
366366
marked: "npm:^9.1.2"
367367
marked-terminal: "npm:^7.1.0"
368368
semver: "npm:^7.5.4"
369369
bin:
370-
attw: dist/index.js
371-
checksum: 10/8b4506edeb37d58f15e347302df68981c5aefecce973e746026d46370bb560c1ebc05ef8a38eba3102881df4cd3c901961186e3df41077efca4e58adffd455a1
370+
attw: ./dist/index.js
371+
checksum: 10/37cc112b31b3467df5156f02f689cacb82db21549aafb6ee8fa9802c9ab9904d0e21924d445713b49423b0d696a933e7a4fe30962e48eb20e952f1b039136b99
372372
languageName: node
373373
linkType: hard
374374

375-
"@arethetypeswrong/core@npm:0.18.2":
376-
version: 0.18.2
377-
resolution: "@arethetypeswrong/core@npm:0.18.2"
375+
"@arethetypeswrong/core@npm:0.18.3":
376+
version: 0.18.3
377+
resolution: "@arethetypeswrong/core@npm:0.18.3"
378378
dependencies:
379379
"@andrewbranch/untar.js": "npm:^1.0.3"
380380
"@loaderkit/resolve": "npm:^1.0.2"
381381
cjs-module-lexer: "npm:^1.2.3"
382-
fflate: "npm:^0.8.2"
382+
fflate: "npm:^0.8.3"
383383
lru-cache: "npm:^11.0.1"
384384
semver: "npm:^7.5.4"
385385
typescript: "npm:5.6.1-rc"
386386
validate-npm-package-name: "npm:^5.0.0"
387-
checksum: 10/9c3edeb8e09e572682e37f55bd523d0dad45388232d31fa1d8875f7f5c414a184070c2bb6d0c8f254dfce4ed9248da373d549ecdeaa571a0cfff04c387c94cf1
387+
checksum: 10/7ae9b9c63fa12c4608f7ba737783fc0504346c27f86bb08b6aff10a02d81bbb2bff68d942a668e8d7595a76aa78cc3ad2d9b8d156e524092483266be560aa0fc
388388
languageName: node
389389
linkType: hard
390390

@@ -7750,7 +7750,7 @@ __metadata:
77507750
version: 0.0.0-use.local
77517751
resolution: "@reduxjs/toolkit@workspace:packages/toolkit"
77527752
dependencies:
7753-
"@arethetypeswrong/cli": "npm:^0.18.2"
7753+
"@arethetypeswrong/cli": "npm:^0.18.3"
77547754
"@babel/core": "npm:^7.24.8"
77557755
"@babel/helper-module-imports": "npm:^7.24.7"
77567756
"@microsoft/api-extractor": "npm:^7.13.2"
@@ -8361,6 +8361,7 @@ __metadata:
83618361
resolution: "@rtk-query/codegen-openapi@workspace:packages/rtk-query-codegen-openapi"
83628362
dependencies:
83638363
"@apidevtools/swagger-parser": "npm:^10.1.1"
8364+
"@arethetypeswrong/cli": "npm:^0.18.3"
83648365
"@babel/core": "npm:^7.12.10"
83658366
"@babel/preset-env": "npm:^7.12.11"
83668367
"@babel/preset-typescript": "npm:^7.12.7"
@@ -17099,10 +17100,10 @@ __metadata:
1709917100
languageName: node
1710017101
linkType: hard
1710117102

17102-
"fflate@npm:^0.8.2":
17103-
version: 0.8.2
17104-
resolution: "fflate@npm:0.8.2"
17105-
checksum: 10/2bd26ba6d235d428de793c6a0cd1aaa96a06269ebd4e21b46c8fd1bd136abc631acf27e188d47c3936db090bf3e1ede11d15ce9eae9bffdc4bfe1b9dc66ca9cb
17103+
"fflate@npm:^0.8.3":
17104+
version: 0.8.3
17105+
resolution: "fflate@npm:0.8.3"
17106+
checksum: 10/6ebf528dc9c56e78e715eac615b009b25dc33e15c1920b11ebba44e6d76181c647756a81a23e19247907496b93aa99928514c53090579a65109e026ac2824aa7
1710617107
languageName: node
1710717108
linkType: hard
1710817109

0 commit comments

Comments
 (0)