Skip to content

Commit e88992f

Browse files
committed
chore: cleanup pkgs
1 parent 92c362b commit e88992f

File tree

69 files changed

+142
-235
lines changed

Some content is hidden

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

69 files changed

+142
-235
lines changed

.vscode/launch.json

-26
This file was deleted.

packages/anatomy-icons/package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/machine",
1616
"sideEffects": false,
1717
"files": [
18-
"dist",
19-
"src"
18+
"dist"
2019
],
2120
"scripts": {
2221
"build": "tsup",
23-
"test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
22+
"test": "vitest --passWithNoTests",
2423
"lint": "eslint src",
2524
"gen": "node scripts/generate.mjs",
2625
"gen-dry": "node scripts/generate.mjs --dry-run",
@@ -49,4 +48,4 @@
4948
"peerDependencies": {
5049
"react": ">=16.8.0"
5150
}
52-
}
51+
}

packages/anatomy/package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/machine",
1616
"sideEffects": false,
1717
"files": [
18-
"dist",
19-
"src"
18+
"dist"
2019
],
2120
"scripts": {
2221
"build": "tsup",
23-
"test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
22+
"test": "vitest --passWithNoTests",
2423
"lint": "eslint src",
2524
"typecheck": "tsc --noEmit",
2625
"prepack": "clean-package",
@@ -37,4 +36,4 @@
3736
"devDependencies": {
3837
"clean-package": "2.2.0"
3938
}
40-
}
39+
}

packages/docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"scripts": {
2020
"build": "tsup",
21-
"test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
21+
"test": "vitest --passWithNoTests",
2222
"lint": "eslint src",
2323
"typecheck": "tsc --noEmit",
2424
"prepack": "clean-package",
@@ -35,4 +35,4 @@
3535
},
3636
"clean-package": "../../clean-package.config.json",
3737
"main": "src/index.ts"
38-
}
38+
}

packages/frameworks/preact/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/react",
1717
"sideEffects": false,
1818
"files": [
19-
"dist",
20-
"src"
19+
"dist"
2120
],
2221
"private": true,
2322
"publishConfig": {
@@ -51,4 +50,4 @@
5150
},
5251
"clean-package": "../../../clean-package.config.json",
5352
"main": "src/index.ts"
54-
}
53+
}

packages/frameworks/react/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/react",
1717
"sideEffects": false,
1818
"files": [
19-
"dist",
20-
"src"
19+
"dist"
2120
],
2221
"publishConfig": {
2322
"access": "public"
@@ -52,4 +51,4 @@
5251
},
5352
"clean-package": "../../../clean-package.config.json",
5453
"main": "src/index.ts"
55-
}
54+
}

packages/frameworks/solid/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/solid",
1717
"sideEffects": false,
1818
"files": [
19-
"dist",
20-
"src"
19+
"dist"
2120
],
2221
"publishConfig": {
2322
"access": "public"
@@ -47,4 +46,4 @@
4746
},
4847
"clean-package": "../../../clean-package.config.json",
4948
"main": "src/index.ts"
50-
}
49+
}

packages/frameworks/svelte/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"type": "module",
1818
"sideEffects": false,
1919
"files": [
20-
"dist",
21-
"src"
20+
"dist"
2221
],
2322
"publishConfig": {
2423
"access": "public"

packages/frameworks/vue/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/vue",
1717
"sideEffects": false,
1818
"files": [
19-
"dist",
20-
"src"
19+
"dist"
2120
],
2221
"publishConfig": {
2322
"access": "public"
@@ -47,4 +46,4 @@
4746
},
4847
"clean-package": "../../../clean-package.config.json",
4948
"main": "src/index.ts"
50-
}
49+
}

packages/machines/accordion/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/accordion",
1818
"sideEffects": false,
1919
"files": [
20-
"dist",
21-
"src"
20+
"dist"
2221
],
2322
"publishConfig": {
2423
"access": "public"
@@ -46,4 +45,4 @@
4645
},
4746
"clean-package": "../../../clean-package.config.json",
4847
"main": "src/index.ts"
49-
}
48+
}

packages/machines/avatar/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/avatar",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -45,4 +44,4 @@
4544
"clean-package": "2.2.0"
4645
},
4746
"clean-package": "../../../clean-package.config.json"
48-
}
47+
}

packages/machines/carousel/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/carousel",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -45,4 +44,4 @@
4544
"clean-package": "2.2.0"
4645
},
4746
"clean-package": "../../../clean-package.config.json"
48-
}
47+
}

packages/machines/checkbox/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/checkbox",
1818
"sideEffects": false,
1919
"files": [
20-
"dist",
21-
"src"
20+
"dist"
2221
],
2322
"scripts": {
2423
"build": "tsup",
25-
"test": "jest --config ../../jest.config.js --rootDir tests",
24+
"test": "vitest",
2625
"lint": "eslint src",
2726
"test-ci": "pnpm test --ci --runInBand -u",
2827
"test-watch": "pnpm test --watch",

packages/machines/clipboard/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/clipboard",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -45,4 +44,4 @@
4544
"clean-package": "2.2.0"
4645
},
4746
"clean-package": "../../../clean-package.config.json"
48-
}
47+
}

packages/machines/collapsible/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/collapsible",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -45,4 +44,4 @@
4544
"clean-package": "2.2.0"
4645
},
4746
"clean-package": "../../../clean-package.config.json"
48-
}
47+
}

packages/machines/color-picker/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/color-picker",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -51,4 +50,4 @@
5150
"clean-package": "2.2.0"
5251
},
5352
"clean-package": "../../../clean-package.config.json"
54-
}
53+
}

packages/machines/combobox/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/combobox",
1818
"sideEffects": false,
1919
"files": [
20-
"dist",
21-
"src"
20+
"dist"
2221
],
2322
"publishConfig": {
2423
"access": "public"
@@ -50,4 +49,4 @@
5049
},
5150
"clean-package": "../../../clean-package.config.json",
5251
"main": "src/index.ts"
53-
}
52+
}

packages/machines/date-picker/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/date-picker",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -53,4 +52,4 @@
5352
"clean-package": "2.2.0"
5453
},
5554
"clean-package": "../../../clean-package.config.json"
56-
}
55+
}

packages/machines/dialog/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/dialog",
1818
"sideEffects": false,
1919
"files": [
20-
"dist",
21-
"src"
20+
"dist"
2221
],
2322
"publishConfig": {
2423
"access": "public"
@@ -49,4 +48,4 @@
4948
},
5049
"clean-package": "../../../clean-package.config.json",
5150
"main": "src/index.ts"
52-
}
51+
}

packages/machines/editable/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/editable",
1818
"sideEffects": false,
1919
"files": [
20-
"dist",
21-
"src"
20+
"dist"
2221
],
2322
"publishConfig": {
2423
"access": "public"
@@ -48,4 +47,4 @@
4847
},
4948
"clean-package": "../../../clean-package.config.json",
5049
"main": "src/index.ts"
51-
}
50+
}

packages/machines/file-upload/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/file-upload",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -47,4 +46,4 @@
4746
"clean-package": "2.2.0"
4847
},
4948
"clean-package": "../../../clean-package.config.json"
50-
}
49+
}

packages/machines/floating-panel/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/floating-panel",
1919
"sideEffects": false,
2020
"files": [
21-
"dist",
22-
"src"
21+
"dist"
2322
],
2423
"scripts": {
2524
"build": "tsup",
@@ -51,4 +50,4 @@
5150
"clean-package": "2.2.0"
5251
},
5352
"clean-package": "../../../clean-package.config.json"
54-
}
53+
}

0 commit comments

Comments
 (0)