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

Commit 61c8a0d

Browse files
committed
chore: replace dist entries by src entries
Signed-off-by: Shyrro <[email protected]>
1 parent 955fb6a commit 61c8a0d

File tree

92 files changed

+161
-399
lines changed

Some content is hidden

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

92 files changed

+161
-399
lines changed

clean-package.config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"main": "dist/index.js",
3+
"module": "dist/index.mjs",
4+
"exports": {
5+
".": {
6+
"require": "./dist/index.js",
7+
"default": "./dist/index.mjs"
8+
}
9+
}
10+
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,5 +239,8 @@
239239
"vue"
240240
]
241241
}
242+
},
243+
"devDependencies": {
244+
"clean-package": "^2.2.0"
242245
}
243246
}
File renamed without changes.

packages/c-accordion/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
{
22
"name": "@chakra-ui/c-accordion",
33
"version": "2.1.0-beta.11",
4-
"main": "dist/index.js",
5-
"module": "dist/index.mjs",
4+
"main": "./index.ts",
65
"files": [
76
"dist"
87
],
9-
"exports": {
10-
".": {
11-
"require": "./dist/index.js",
12-
"default": "./dist/index.mjs"
13-
}
14-
},
8+
159
"description": "Chakra UI Vue | CAccordion component",
1610
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-accordion",
1711
"author": "Jonathan Bakebwa [email protected]",

packages/c-accordion/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"include": ["src", "./index.tsx", "./index.ts"]
3+
"include": ["src", "index.ts"]
44
}
File renamed without changes.

packages/c-alert/package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
{
22
"name": "@chakra-ui/c-alert",
33
"version": "2.1.0-beta.11",
4-
"main": "dist/index.js",
5-
"module": "dist/index.mjs",
4+
"main": "index.ts",
5+
"types": "index.ts",
66
"files": [
77
"dist"
88
],
9-
"exports": {
10-
".": {
11-
"require": "./dist/index.js",
12-
"default": "./dist/index.mjs"
13-
}
14-
},
9+
1510
"description": "Chakra UI Vue | CAlert component",
1611
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-alert",
1712
"author": "Jonathan Bakebwa [email protected]",

packages/c-alert/src/index.tsx renamed to packages/c-alert/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export {
2-
AlertVariant,
2+
type AlertVariant,
33
CAlert,
44
CAlertDescription,
55
CAlertIcon,
File renamed without changes.

packages/c-avatar/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@
22
"name": "@chakra-ui/c-avatar",
33
"description": "Chakra UI Vue | The avatar component is used to represent user and displays the profile picture initials or fallback icon component",
44
"version": "2.1.0-beta.11",
5-
"main": "dist/index.js",
6-
"module": "dist/index.mjs",
5+
"main": "./index.ts",
76
"author": "Shyrro <[email protected]>",
87
"homepage": "https://github.com/chakra-ui/chakra-ui-vue-next#readme",
98
"license": "MIT",
109
"files": [
1110
"dist"
1211
],
13-
"exports": {
14-
".": {
15-
"require": "./dist/index.js",
16-
"default": "./dist/index.mjs"
17-
}
18-
},
12+
1913
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-avatar",
2014
"bugs": {
2115
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"

0 commit comments

Comments
 (0)