@octohash/vite-config 0.3.4 → 0.5.0

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.3.4",
4
+ "version": "0.5.0",
5
5
  "description": "Opinionated Vite config preset.",
6
6
  "author": "jinghaihan",
7
7
  "license": "MIT",
@@ -21,68 +21,72 @@
21
21
  ".": "./dist/index.mjs",
22
22
  "./package.json": "./package.json"
23
23
  },
24
- "main": "./dist/index.mjs",
25
- "module": "./dist/index.mjs",
26
- "types": "./dist/index.d.mts",
27
24
  "publishConfig": {
28
25
  "access": "public"
29
26
  },
27
+ "types": "./dist/index.d.mts",
30
28
  "files": [
31
29
  "dist"
32
30
  ],
33
31
  "peerDependencies": {
34
32
  "@unhead/vue": ">=2.0.0",
35
- "vite": ">=7.0.0"
33
+ "vite": ">=8.0.0"
36
34
  },
37
35
  "dependencies": {
38
- "@antfu/install-pkg": "^1.1.0",
39
- "@clack/prompts": "^0.11.0",
40
- "@vitejs/plugin-vue": "^6.0.2",
41
- "@vitejs/plugin-vue-jsx": "^5.1.2",
42
- "find-up": "^8.0.0",
43
- "pathe": "^2.0.3",
44
- "unplugin-auto-import": "^20.3.0",
45
- "unplugin-vue-components": "^30.0.0",
46
- "unplugin-vue-router": "^0.19.0",
36
+ "unplugin-auto-import": "^21.0.0",
47
37
  "vite-bundle-visualizer": "^1.2.1",
48
- "vite-plugin-dts": "^4.5.4",
49
- "vite-plugin-dynamic-base": "^1.2.0"
38
+ "vite-plugin-dynamic-base": "^1.4.1",
39
+ "@antfu/install-pkg": "^1.1.0",
40
+ "@clack/prompts": "^1.6.0",
41
+ "@vitejs/plugin-vue": "^6.0.7",
42
+ "@vitejs/plugin-vue-jsx": "^5.1.6",
43
+ "unplugin-vue-components": "^32.1.0",
44
+ "vue-router": "^5.1.0"
50
45
  },
51
46
  "optionalDependencies": {
52
- "@intlify/unplugin-vue-i18n": "^11.0.1",
53
- "@originjs/vite-plugin-federation": "^1.4.1",
54
- "vite-plugin-jspm": "^0.6.2",
55
- "vite-plugin-vue-devtools": "^8.0.5"
47
+ "@intlify/unplugin-vue-i18n": "^11.2.4",
48
+ "vite-plugin-vue-devtools": "^8.1.4"
56
49
  },
57
50
  "devDependencies": {
58
- "@antfu/eslint-config": "^6.6.1",
59
- "@jspm/generator": "^2.8.0",
60
- "@types/node": "^24.10.2",
61
- "bumpp": "^10.3.2",
62
- "dayjs": "^1.11.19",
63
- "deepmerge": "^4.3.1",
64
- "eslint": "^9.39.1",
65
- "lint-staged": "^16.2.7",
66
- "local-pkg": "^1.1.2",
67
- "pkg-types": "^2.3.0",
68
- "pncat": "^0.7.7",
51
+ "tsdown": "^0.22.3",
52
+ "bumpp": "^11.1.0",
53
+ "nano-staged": "^1.0.2",
54
+ "pncat": "^0.12.0",
69
55
  "simple-git-hooks": "^2.13.1",
70
- "taze": "^19.9.2",
71
- "tinyglobby": "^0.2.15",
72
- "typescript": "^5.9.3",
73
- "unbuild": "^3.6.1",
74
- "vitest": "^4.0.15"
56
+ "taze": "^19.14.1",
57
+ "typescript": "^6.0.3",
58
+ "deepmerge": "^4.3.1",
59
+ "empathic": "^2.0.1",
60
+ "local-pkg": "^1.2.1",
61
+ "pathe": "^2.0.3",
62
+ "pkg-types": "^2.3.1",
63
+ "@octohash/eslint-config": "^0.4.1",
64
+ "eslint": "^10.5.0",
65
+ "vitest": "^4.1.9",
66
+ "@types/node": "^26.0.1"
75
67
  },
76
68
  "simple-git-hooks": {
77
- "pre-commit": "pnpm lint-staged"
69
+ "pre-commit": "pnpm nano-staged"
78
70
  },
79
- "lint-staged": {
71
+ "nano-staged": {
80
72
  "*": "eslint --fix"
81
73
  },
74
+ "inlinedDependencies": {
75
+ "acorn": "8.16.0",
76
+ "confbox": "0.2.4",
77
+ "deepmerge": "4.3.1",
78
+ "empathic": "2.0.1",
79
+ "exsolve": "1.0.8",
80
+ "local-pkg": "1.2.1",
81
+ "mlly": "1.8.2",
82
+ "pathe": "2.0.3",
83
+ "pkg-types": "2.3.1",
84
+ "quansync": "0.2.11",
85
+ "ufo": "1.6.4"
86
+ },
82
87
  "scripts": {
83
- "build": "unbuild",
88
+ "build": "tsdown",
84
89
  "deps": "taze major -I",
85
- "catalog": "pncat",
86
90
  "lint": "eslint",
87
91
  "typecheck": "tsc --noEmit",
88
92
  "test": "vitest",