@octohash/vite-config 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@octohash/vite-config",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.5.1",
5
5
  "description": "Opinionated Vite config preset.",
6
6
  "author": "jinghaihan",
7
7
  "license": "MIT",
@@ -21,53 +21,65 @@
21
21
  ".": "./dist/index.mjs",
22
22
  "./package.json": "./package.json"
23
23
  },
24
- "types": "./dist/index.d.mts",
25
24
  "publishConfig": {
26
25
  "access": "public"
27
26
  },
27
+ "types": "./dist/index.d.mts",
28
28
  "files": [
29
29
  "dist"
30
30
  ],
31
31
  "peerDependencies": {
32
+ "@intlify/unplugin-vue-i18n": ">=11.0.0",
32
33
  "@unhead/vue": ">=2.0.0",
33
- "vite": ">=8.0.0"
34
+ "unocss": ">=66.0.0",
35
+ "vite": ">=8.0.0",
36
+ "vite-plugin-vue-devtools": ">=8.0.0"
37
+ },
38
+ "peerDependenciesMeta": {
39
+ "@intlify/unplugin-vue-i18n": {
40
+ "optional": true
41
+ },
42
+ "@unhead/vue": {
43
+ "optional": true
44
+ },
45
+ "unocss": {
46
+ "optional": true
47
+ },
48
+ "vite-plugin-vue-devtools": {
49
+ "optional": true
50
+ }
34
51
  },
35
52
  "dependencies": {
36
- "@vitejs/plugin-vue": "^6.0.5",
37
- "@vitejs/plugin-vue-jsx": "^5.1.5",
38
53
  "unplugin-auto-import": "^21.0.0",
39
- "unplugin-vue-components": "^31.0.0",
40
- "unplugin-vue-router": "^0.19.0",
41
54
  "vite-bundle-visualizer": "^1.2.1",
42
- "vite-plugin-dts": "^4.5.4",
43
- "vite-plugin-dynamic-base": "^1.3.0",
55
+ "vite-plugin-dynamic-base": "^1.4.1",
44
56
  "@antfu/install-pkg": "^1.1.0",
45
- "@clack/prompts": "^1.1.0",
46
- "empathic": "^2.0.0",
47
- "local-pkg": "^1.1.2",
48
- "pathe": "^2.0.3",
49
- "pkg-types": "^2.3.0"
50
- },
51
- "optionalDependencies": {
52
- "@intlify/unplugin-vue-i18n": "^11.0.7",
53
- "@originjs/vite-plugin-federation": "^1.4.1",
54
- "vite-plugin-jspm": "^0.6.3",
55
- "vite-plugin-vue-devtools": "^8.1.0"
57
+ "@clack/prompts": "^1.6.0",
58
+ "@vitejs/plugin-vue": "^6.0.7",
59
+ "@vitejs/plugin-vue-jsx": "^5.1.6",
60
+ "unplugin-vue-components": "^32.1.0",
61
+ "vue-router": "^5.1.0"
56
62
  },
57
63
  "devDependencies": {
58
- "tsdown": "^0.21.2",
59
- "@jspm/generator": "^2.11.0",
60
- "bumpp": "^10.4.1",
61
- "nano-staged": "^0.9.0",
62
- "pncat": "^0.10.4",
64
+ "tsdown": "^0.22.3",
65
+ "unocss": "^66.7.3",
66
+ "bumpp": "^11.1.0",
67
+ "nano-staged": "^1.0.2",
68
+ "pncat": "^0.12.0",
63
69
  "simple-git-hooks": "^2.13.1",
64
- "taze": "^19.10.0",
65
- "typescript": "^5.9.3",
70
+ "taze": "^19.14.1",
71
+ "typescript": "^6.0.3",
66
72
  "deepmerge": "^4.3.1",
67
- "@octohash/eslint-config": "^0.2.6",
68
- "eslint": "^10.0.3",
69
- "vitest": "^4.1.0",
70
- "@types/node": "^25.5.0"
73
+ "empathic": "^2.0.1",
74
+ "local-pkg": "^1.2.1",
75
+ "pathe": "^2.0.3",
76
+ "pkg-types": "^2.3.1",
77
+ "@octohash/eslint-config": "^0.4.1",
78
+ "eslint": "^10.5.0",
79
+ "vitest": "^4.1.9",
80
+ "@types/node": "^26.0.1",
81
+ "@intlify/unplugin-vue-i18n": "^11.2.4",
82
+ "vite-plugin-vue-devtools": "^8.1.4"
71
83
  },
72
84
  "simple-git-hooks": {
73
85
  "pre-commit": "pnpm nano-staged"
@@ -76,14 +88,21 @@
76
88
  "*": "eslint --fix"
77
89
  },
78
90
  "inlinedDependencies": {
79
- "@jspm/generator": "2.11.0",
80
- "@jspm/import-map": "1.3.0",
81
- "deepmerge": "4.3.1"
91
+ "acorn": "8.16.0",
92
+ "confbox": "0.2.4",
93
+ "deepmerge": "4.3.1",
94
+ "empathic": "2.0.1",
95
+ "exsolve": "1.0.8",
96
+ "local-pkg": "1.2.1",
97
+ "mlly": "1.8.2",
98
+ "pathe": "2.0.3",
99
+ "pkg-types": "2.3.1",
100
+ "quansync": "0.2.11",
101
+ "ufo": "1.6.4"
82
102
  },
83
103
  "scripts": {
84
- "build": "tsdown --config-loader unrun",
104
+ "build": "tsdown",
85
105
  "deps": "taze major -I",
86
- "catalog": "pncat",
87
106
  "lint": "eslint",
88
107
  "typecheck": "tsc --noEmit",
89
108
  "test": "vitest",