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

Commit 1c723a9

Browse files
committed
chore: resolve imports
1 parent 8579b16 commit 1c723a9

File tree

29 files changed

+35
-61
lines changed

29 files changed

+35
-61
lines changed

_templates/generator/component/package.json.ejs.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ to: packages/<%=h.changeCase.paramCase(name)%>/package.json
2929
},
3030
"sideEffects": false,
3131
"scripts": {
32-
"build": "concurrently yarn:build:*",
32+
"build": "rimraf ./dist && concurrently yarn:build:*",
3333
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
3434
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
3535
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",

_templates/generator/module/package.json.ejs.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ to: packages/<%=h.changeCase.paramCase(name)%>/package.json
1717
"author": "Jonathan Bakebwa [email protected]",
1818
"license": "MIT",
1919
"scripts": {
20-
"build": "concurrently yarn:build:*",
20+
"build": "rimraf ./dist && concurrently yarn:build:*",
2121
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
2222
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
2323
"watch": "concurrently yarn:watch:*",

packages/c-accordion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Jonathan Bakebwa [email protected]",
1414
"license": "MIT",
1515
"scripts": {
16-
"build": "concurrently yarn:build:*",
16+
"build": "rimraf ./dist && concurrently yarn:build:*",
1717
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
1818
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
1919
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types"

packages/c-alert/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Jonathan Bakebwa [email protected]",
1414
"license": "MIT",
1515
"scripts": {
16-
"build": "concurrently yarn:build:*",
16+
"build": "rimraf ./dist && concurrently yarn:build:*",
1717
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
1818
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
1919
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",

packages/c-alert/src/alert.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ import { h, defineComponent, PropType, computed } from 'vue'
22
import {
33
chakra,
44
ColorScheme,
5-
DeepComponentThemeConfig,
65
ThemingProps,
76
useMultiStyleConfig,
87
useStyles,
98
StylesProvider,
109
DOMElements,
10+
SystemStyleObject,
1111
} from '@chakra-ui/vue-system'
12-
import { SystemStyleObject } from '@chakra-ui/vue-system'
1312
import { createContext } from '@chakra-ui/vue-utils'
1413
import { CIcon } from '@chakra-ui/c-icon'
1514

@@ -66,7 +65,7 @@ export const CAlert = defineComponent({
6665
type: [String] as PropType<ColorScheme>,
6766
},
6867
styleConfig: {
69-
type: [Object] as PropType<DeepComponentThemeConfig>,
68+
type: [Object] as PropType<any>,
7069
},
7170
variant: {
7271
type: [String] as PropType<AlertVariant>,

packages/c-badge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"sideEffects": false,
2727
"scripts": {
28-
"build": "concurrently yarn:build:*",
28+
"build": "rimraf ./dist && concurrently yarn:build:*",
2929
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
3030
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
3131
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",

packages/c-button/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Jonathan Bakebwa [email protected]",
1414
"license": "MIT",
1515
"scripts": {
16-
"build": "concurrently yarn:build:*",
16+
"build": "rimraf ./dist && concurrently yarn:build:*",
1717
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx,.tsx -d dist/esm --source-maps",
1818
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx,.tsx -d dist/cjs --source-maps",
1919
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",

packages/c-button/src/button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineComponent, PropType, computed, cloneVNode, h } from 'vue'
1+
import { defineComponent, PropType, computed, h } from 'vue'
22
import {
33
chakra,
44
useStyleConfig,

packages/c-color-mode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"sideEffects": false,
2626
"scripts": {
27-
"build": "concurrently yarn:build:*",
27+
"build": "rimraf ./dist && concurrently yarn:build:*",
2828
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
2929
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
3030
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",

packages/c-flex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"sideEffects": false,
2727
"scripts": {
28-
"build": "concurrently yarn:build:*",
28+
"build": "rimraf ./dist && concurrently yarn:build:*",
2929
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
3030
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
3131
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",

0 commit comments

Comments
 (0)