Skip to content

Commit 11edb34

Browse files
9romiseOrbisK
andauthored
build: upgrade tsdown, migrate attw validation to tsdown (#5328)
Co-authored-by: Robin <robin.kehl@singular-it.de>
1 parent 1d9c41a commit 11edb34

File tree

17 files changed

+453
-537
lines changed

17 files changed

+453
-537
lines changed

.attw.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ jobs:
8686
- name: server tests
8787
run: pnpm run test:server
8888

89-
- if: matrix.node == '20.x'
90-
name: attw tests
91-
run: pnpm test:attw
92-
9389
- if: matrix.node == 'lts/*'
9490
name: Playground Smoke Test
9591
run: cd playgrounds && bash ./build.sh

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"test:firefox": "vitest --project=\"browser (firefox)\"",
3434
"test:chromium": "vitest --project=\"browser (chromium)\"",
3535
"test:unit": "vitest --project unit",
36-
"test:attw": "pnpm -r test:attw",
3736
"typecheck": "vue-tsc --noEmit",
3837
"update": "turbo run update -F @vueuse/metadata && tsx scripts/update.ts",
3938
"update:full": "nr update && nr build:types",
@@ -43,7 +42,7 @@
4342
"devDependencies": {
4443
"@antfu/eslint-config": "catalog:dev",
4544
"@antfu/ni": "catalog:dev",
46-
"@arethetypeswrong/cli": "catalog:test",
45+
"@arethetypeswrong/core": "catalog:test",
4746
"@iconify/json": "catalog:dev",
4847
"@shikijs/vitepress-twoslash": "catalog:docs",
4948
"@type-challenges/utils": "catalog:types",

packages/components/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
],
3535
"scripts": {
3636
"build": "tsdown",
37-
"prepack": "pnpm run build",
38-
"test:attw": "attw --pack --config-path ../../.attw.json ."
37+
"prepack": "pnpm run build"
3938
},
4039
"peerDependencies": {
4140
"vue": "^3.5.0"

packages/core/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
],
3737
"scripts": {
3838
"build": "tsdown",
39-
"prepack": "pnpm run build",
40-
"test:attw": "attw --pack --config-path ../../.attw.json ."
39+
"prepack": "pnpm run build"
4140
},
4241
"peerDependencies": {
4342
"vue": "^3.5.0"

packages/electron/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
],
3636
"scripts": {
3737
"build": "tsdown",
38-
"prepack": "pnpm run build",
39-
"test:attw": "attw --pack --config-path ../../.attw.json ."
38+
"prepack": "pnpm run build"
4039
},
4140
"peerDependencies": {
4241
"electron": ">=9.0.0",

packages/firebase/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
],
4141
"scripts": {
4242
"build": "tsdown",
43-
"prepack": "pnpm run build",
44-
"test:attw": "attw --pack --config-path ../../.attw.json ."
43+
"prepack": "pnpm run build"
4544
},
4645
"peerDependencies": {
4746
"firebase": ">=9.0.0",

packages/integrations/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
],
5151
"scripts": {
5252
"build": "tsdown",
53-
"prepack": "pnpm run build",
54-
"test:attw": "attw --pack --config-path ../../.attw.json ."
53+
"prepack": "pnpm run build"
5554
},
5655
"peerDependencies": {
5756
"async-validator": "^4",

packages/math/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
],
3737
"scripts": {
3838
"build": "tsdown",
39-
"prepack": "pnpm run build",
40-
"test:attw": "attw --pack --config-path ../../.attw.json ."
39+
"prepack": "pnpm run build"
4140
},
4241
"peerDependencies": {
4342
"vue": "^3.5.0"

packages/metadata/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"scripts": {
3434
"update": "tsx scripts/update.ts",
3535
"build": "tsdown",
36-
"prepack": "pnpm run build",
37-
"test:attw": "attw --pack --config-path ../../.attw.json ."
36+
"prepack": "pnpm run build"
3837
}
3938
}

0 commit comments

Comments
 (0)