Skip to content

Commit

Permalink
perf: speed up dev start up time (#174)
Browse files Browse the repository at this point in the history
* perf: speed up dev start up time

* chore: transform components pkg json
  • Loading branch information
Innei authored Aug 30, 2023
1 parent d4f9a92 commit 04b371a
Show file tree
Hide file tree
Showing 30 changed files with 223 additions and 140 deletions.
10 changes: 6 additions & 4 deletions components/Avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/avatar",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Backtop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/backtop",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/badge",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/utils": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/breadcrumb",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/BreadcrumbItem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/breadcrumb-item",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
11 changes: 6 additions & 5 deletions components/Button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@ikun-ui/button",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts",
"main": "./src/index.ts",
"keywords": [
"svelte",
"svelte3",
Expand All @@ -23,7 +20,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/ButtonGroup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/button-group",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/checkbox",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/ClientOnly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/client-only",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Collapse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/collapse",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/drawer",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/client-only": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/EyeDropper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/eye-dropper",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/utils": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/icon",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/utils": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/input",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/icon": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Mask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/mask",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -23,7 +21,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/utils": "workspace:*",
Expand Down
10 changes: 6 additions & 4 deletions components/Message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@ikun-ui/message",
"version": "0.0.9-beta.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"main": "./src/index.ts",
"types": "src/index.ts",
"keywords": [
"svelte",
Expand All @@ -22,7 +20,11 @@
"publish:npm": "pnpm publish --no-git-checks --access public"
},
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
"types": "src/index.ts"
},
"dependencies": {
"@ikun-ui/notify": "workspace:*",
Expand Down
Loading

0 comments on commit 04b371a

Please sign in to comment.