Skip to content

Commit aee4a2e

Browse files
committed
chore: update dependence
1 parent 2a39519 commit aee4a2e

File tree

8 files changed

+2064
-1853
lines changed

8 files changed

+2064
-1853
lines changed

Diff for: .npmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ignore-workspace-root-check=true
1+
ignore-workspace-root-check=true

Diff for: netlify.toml

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
[build.environment]
2-
NODE_VERSION = "18"
3-
41
[build]
5-
publish = "playground/dist"
6-
command = "pnpm run build:play"
2+
publish = "playground/dist"
3+
command = "pnpm run build:play"
4+
5+
[build.environment]
6+
NODE_VERSION = "18"
77

88
[[redirects]]
9-
from = "/*"
10-
to = "/index.html"
11-
status = 200
9+
from = "/*"
10+
to = "/index.html"
11+
status = 200
1212

1313
[[headers]]
14-
for = "/manifest.webmanifest"
15-
[headers.values]
16-
Content-Type = "application/manifest+json"
14+
for = "/manifest.webmanifest"
15+
16+
[headers.values]
17+
Content-Type = "application/manifest+json"

Diff for: package.json

+25-23
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue-range-multi",
33
"type": "module",
44
"version": "0.2.0",
5-
"packageManager": "pnpm@8.9.0",
5+
"packageManager": "pnpm@8.15.3",
66
"description": "A range vue component that support one or more thumb",
77
"author": "wiidede <[email protected]>",
88
"license": "MIT",
@@ -56,30 +56,32 @@
5656
"vue": "^3.0.0"
5757
},
5858
"devDependencies": {
59-
"@antfu/eslint-config": "^1.0.0-beta.24",
60-
"@antfu/ni": "^0.21.8",
61-
"@antfu/utils": "^0.7.6",
62-
"@types/jsdom": "^21.1.4",
63-
"@types/node": "^20.8.3",
64-
"@unocss/eslint-config": "^0.56.5",
65-
"@vitejs/plugin-vue": "^4.4.0",
66-
"@vue/test-utils": "^2.4.1",
67-
"bumpp": "^9.2.0",
68-
"eslint": "^8.51.0",
69-
"esno": "^0.17.0",
70-
"jsdom": "^22.1.0",
71-
"lint-staged": "^14.0.1",
72-
"pnpm": "^8.9.0",
59+
"@antfu/eslint-config": "^2.6.4",
60+
"@antfu/ni": "^0.21.12",
61+
"@antfu/utils": "^0.7.7",
62+
"@iconify-json/carbon": "^1.1.30",
63+
"@types/jsdom": "^21.1.6",
64+
"@types/node": "^20.11.19",
65+
"@unocss/eslint-config": "^0.58.5",
66+
"@vitejs/plugin-vue": "^5.0.4",
67+
"@vue/test-utils": "^2.4.4",
68+
"bumpp": "^9.3.0",
69+
"defu": "^6.1.4",
70+
"eslint": "^8.56.0",
71+
"esno": "^4.0.0",
72+
"jsdom": "^24.0.0",
73+
"lint-staged": "^15.2.2",
74+
"pnpm": "^8.15.3",
7375
"rimraf": "^5.0.5",
7476
"simple-git-hooks": "^2.9.0",
75-
"typescript": "^5.2.2",
76-
"unocss": "^0.56.5",
77-
"unplugin-vue-components": "^0.25.2",
78-
"vite": "^4.4.11",
79-
"vite-plugin-dts": "^3.6.0",
80-
"vite-plugin-inspect": "^0.7.40",
81-
"vitest": "^0.34.6",
82-
"vue-tsc": "^1.8.18"
77+
"typescript": "^5.3.3",
78+
"unocss": "^0.58.5",
79+
"unplugin-vue-components": "^0.26.0",
80+
"vite": "^5.1.4",
81+
"vite-plugin-dts": "^3.7.3",
82+
"vite-plugin-inspect": "^0.8.3",
83+
"vitest": "^1.3.1",
84+
"vue-tsc": "^1.8.27"
8385
},
8486
"simple-git-hooks": {
8587
"pre-commit": "pnpm lint-staged"

Diff for: playground/package.json

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
{
22
"name": "playground",
3+
"type": "module",
34
"private": true,
45
"scripts": {
56
"dev": "vite",
67
"build": "vite build",
78
"preview": "vite preview"
89
},
910
"dependencies": {
10-
"@unocss/reset": "^0.56.5",
11-
"@vueuse/core": "^10.5.0",
12-
"vue": "^3.3.4",
11+
"@unocss/reset": "^0.58.5",
12+
"@vueuse/core": "^10.8.0",
13+
"vue": "^3.4.19",
1314
"vue-range-multi": "workspace:*"
14-
},
15-
"devDependencies": {
16-
"@iconify-json/carbon": "^1.1.21",
17-
"@vitejs/plugin-vue": "^4.4.0",
18-
"defu": "^6.1.2",
19-
"typescript": "^5.2.2",
20-
"unocss": "^0.56.5",
21-
"vite": "^4.4.11",
22-
"vue-tsc": "^1.8.18"
2315
}
2416
}

Diff for: playground/vite.config.ts

+6-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Inspect from 'vite-plugin-inspect'
66
import Component from 'unplugin-vue-components/vite'
77
import { VueRangeMultiResolver } from '../src/resolver'
88

9-
export default defineConfig(({ mode }) => ({
9+
export default defineConfig({
1010
plugins: [
1111
Vue(),
1212
Component({
@@ -17,17 +17,14 @@ export default defineConfig(({ mode }) => ({
1717
{
1818
name: 'blank',
1919
load(id) {
20-
if (id === 'virtual:blank')
20+
if (id.endsWith('vue-range-multi/style.css'))
2121
return ''
2222
},
2323
},
2424
],
2525
resolve: {
26-
alias: mode === 'pkg'
27-
? []
28-
: [
29-
{ find: /^vue-range-multi$/, replacement: path.resolve(__dirname, '../src/index.ts') },
30-
{ find: /^vue-range-multi\/style.css$/, replacement: 'virtual:blank' },
31-
],
26+
alias: [
27+
{ find: /^vue-range-multi$/, replacement: path.resolve(__dirname, '../src/index.ts') },
28+
],
3229
},
33-
}))
30+
})

0 commit comments

Comments
 (0)