Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 9ed4f53

Browse files
committed
build: update build configs
1 parent f3411fc commit 9ed4f53

File tree

118 files changed

+360
-1895
lines changed

Some content is hidden

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

118 files changed

+360
-1895
lines changed

.eslintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ parserOptions:
1515
sourceType: module
1616
plugins:
1717
- "@typescript-eslint"
18+
- prettier
1819
rules:
1920
"@typescript-eslint/member-delimiter-style":
2021
- error

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,15 @@
187187
"rollup-plugin-ts": "^3.2.0",
188188
"shelljs": "^0.8.4",
189189
"size-limit": "^5.0.3",
190+
"tiny-glob": "^0.2.9",
190191
"tinycolor2": "^1.4.2",
191192
"ts-jest": "^26.5.0",
192193
"ts-node": "^9.0.0",
193194
"tsup": "^6.5.0",
194195
"turbo": "^1.7.0",
195196
"typescript": "4.6.4",
196197
"unplugin-vue-components": "^0.14.0",
198+
"unplugin-vue-jsx": "0.1.2",
197199
"vite": "^3.0.7",
198200
"vite-plugin-mdx-vue": "^1.6.0",
199201
"vite-plugin-pages": "^0.20.1",

packages/c-accordion/package.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"scripts": {
2121
"clean": "rimraf dist .turbo",
2222
"build": "tsup && pnpm build:types",
23-
"build:rollup": "rollup -c && pnpm build:types",
2423
"build:fast": "tsup",
2524
"build:types": "tsup src --dts-only",
2625
"types:check": "tsc --noEmit",
@@ -44,18 +43,5 @@
4443
},
4544
"devDependencies": {
4645
"vue": "^3.2.37"
47-
},
48-
"tsup": {
49-
"name": "chakra-ui-c-accordion",
50-
"clean": true,
51-
"target": "es2019",
52-
"format": [
53-
"esm",
54-
"cjs"
55-
],
56-
"entry": {
57-
"chakra-ui-c-accordion": "src/index.tsx"
58-
},
59-
"keepNames": true
6046
}
6147
}

packages/c-accordion/rollup.config.mjs

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

packages/c-accordion/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export default defineConfig({
88
js: `.${format}.js`,
99
}
1010
},
11-
jsxFactory: "h",
12-
jsxFragmentFactory: "Fragment",
1311
format: ["esm", "cjs"],
1412
entry: {
1513
"chakra-ui-c-accordion": "src/index.tsx",

packages/c-alert/package.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"build:fast": "tsup",
2323
"types:check": "tsc --noEmit",
2424
"dev": "tsup --watch",
25-
"build:types": "tsup src --dts-only",
26-
"build:rollup": "rollup -c && pnpm build:types"
25+
"build:types": "tsup src --dts-only"
2726
},
2827
"dependencies": {
2928
"@chakra-ui/c-icon": "workspace:*",
@@ -38,18 +37,5 @@
3837
},
3938
"devDependencies": {
4039
"vue": "^3.2.37"
41-
},
42-
"tsup": {
43-
"name": "chakra-ui-c-alert",
44-
"clean": true,
45-
"target": "es2019",
46-
"format": [
47-
"esm",
48-
"cjs"
49-
],
50-
"entry": {
51-
"chakra-ui-c-alert": "src/index.tsx"
52-
},
53-
"keepNames": true
5440
}
5541
}

packages/c-alert/rollup.config.mjs

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

packages/c-alert/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export default defineConfig({
88
js: `.${format}.js`,
99
}
1010
},
11-
jsxFactory: "h",
12-
jsxFragmentFactory: "Fragment",
1311
format: ["esm", "cjs"],
1412
entry: {
1513
"chakra-ui-c-alert": "src/index.tsx",

packages/c-avatar/package.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"build:fast": "tsup",
2828
"types:check": "tsc --noEmit",
2929
"dev": "tsup --watch",
30-
"build:types": "tsup src --dts-only",
31-
"build:rollup": "rollup -c && pnpm build:types"
30+
"build:types": "tsup src --dts-only"
3231
},
3332
"dependencies": {
3433
"@chakra-ui/c-icon": "workspace:*",
@@ -50,18 +49,5 @@
5049
},
5150
"publishConfig": {
5251
"access": "public"
53-
},
54-
"tsup": {
55-
"name": "chakra-ui-c-avatar",
56-
"clean": true,
57-
"target": "es2019",
58-
"format": [
59-
"esm",
60-
"cjs"
61-
],
62-
"entry": {
63-
"chakra-ui-c-avatar": "src/index.tsx"
64-
},
65-
"keepNames": true
6652
}
6753
}

packages/c-avatar/rollup.config.mjs

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

0 commit comments

Comments
 (0)