Skip to content

Commit

Permalink
feat: upgrade TS 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jan 27, 2023
1 parent 0b35dbd commit 609f67b
Show file tree
Hide file tree
Showing 3 changed files with 496 additions and 429 deletions.
26 changes: 12 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,42 +27,40 @@
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"types": "./dist/vite.d.ts",
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"types": "./dist/webpack.d.ts",
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"types": "./dist/rollup.d.ts",
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./esbuild": {
"types": "./dist/esbuild.d.ts",
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
},
"./cores": {
"require": "./dist/cores.js",
"import": "./dist/cores.mjs"
"./api": {
"types": "./dist/api.d.ts",
"require": "./dist/api.js",
"import": "./dist/api.mjs"
},
"./*": "./*"
},
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -100,9 +98,9 @@
"prettier": "^2.8.3",
"tsup": "^6.5.0",
"tsx": "^3.12.2",
"typescript": "^4.9.4",
"typescript": "^5.0.0-beta",
"vite": "^4.0.4",
"vitest": "^0.28.1"
"vitest": "^0.28.3"
},
"engines": {
"node": ">=14.19.0"
Expand Down
6 changes: 3 additions & 3 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"vercel-build": "pnpm run -C .. build && pnpm build"
},
"dependencies": {
"@unocss/reset": "^0.48.4",
"@unocss/reset": "^0.49.1",
"@vueuse/core": "^9.11.1",
"unplugin-jsx-string": "workspace:*",
"vue": "^3.2.45"
Expand All @@ -20,8 +20,8 @@
"@iconify-json/carbon": "^1.1.14",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/runtime-core": "^3.2.45",
"unocss": "^0.48.4",
"unplugin-auto-import": "^0.12.1",
"unocss": "^0.49.1",
"unplugin-auto-import": "^0.12.2",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.0.4"
}
Expand Down
Loading

0 comments on commit 609f67b

Please sign in to comment.