vite-plugin-pages2 0.33.2 → 0.34.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.
Files changed (1) hide show
  1. package/package.json +116 -132
package/package.json CHANGED
@@ -1,132 +1,116 @@
1
- {
2
- "name": "vite-plugin-pages2",
3
- "type": "module",
4
- "version": "0.33.2",
5
- "packageManager": "pnpm@10.12.1",
6
- "description": "File system base vue-router plugin for Vite",
7
- "author": "wuc656 <wuc656@gmail.com>, hannoeru <me@hanlee.co>",
8
- "license": "MIT",
9
- "homepage": "https://github.com/wuc656/vite-plugin-pages",
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/wuc656/vite-plugin-pages.git"
13
- },
14
- "bugs": "https://github.com/wuc656/vite-plugin-pages/issues",
15
- "keywords": [
16
- "vite",
17
- "vue",
18
- "vue-router",
19
- "react",
20
- "react-router",
21
- "solid-js",
22
- "@solidjs/router",
23
- "file-system-based",
24
- "routing"
25
- ],
26
- "exports": {
27
- ".": {
28
- "types": "./dist/index.d.ts",
29
- "import": "./dist/index.js",
30
- "require": "./dist/index.cjs"
31
- },
32
- "./client": {
33
- "types": "./client.d.ts"
34
- },
35
- "./client-react": {
36
- "types": "./client-react.d.ts"
37
- },
38
- "./client-solid": {
39
- "types": "./client-solid.d.ts"
40
- }
41
- },
42
- "main": "dist/index.js",
43
- "types": "dist/index.d.ts",
44
- "files": [
45
- "LICENSE",
46
- "client-react.d.ts",
47
- "client-solid.d.ts",
48
- "client.d.ts",
49
- "dist"
50
- ],
51
- "scripts": {
52
- "dev": "npm run build -- --watch --ignore-watch examples",
53
- "build": "tsup",
54
- "play": "pnpm --filter vue dev",
55
- "play:react": "pnpm --filter react dev",
56
- "prepublishOnly": "npm run build",
57
- "release": "bumpp --commit --tag --push && npm publish",
58
- "publish:ci": "esno scripts/publish.ts",
59
- "test": "vitest",
60
- "test:e2e": "vitest -c vitest.config.e2e.ts",
61
- "test:ui": "vitest --ui",
62
- "lint": "eslint .",
63
- "lint:fix": "eslint . --fix",
64
- "type-check": "tsc --noEmit"
65
- },
66
- "peerDependencies": {
67
- "@vue/compiler-sfc": "^2.7.0 || ^3.0.0",
68
- "vite": "^2.0.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
69
- },
70
- "peerDependenciesMeta": {
71
- "@solidjs/router": {
72
- "optional": true
73
- },
74
- "@vue/compiler-sfc": {
75
- "optional": true
76
- },
77
- "react-router": {
78
- "optional": true
79
- },
80
- "vue-router": {
81
- "optional": true
82
- }
83
- },
84
- "dependencies": {
85
- "@types/debug": "^4.1.12",
86
- "debug": "^4.4.1",
87
- "dequal": "^2.0.3",
88
- "extract-comments": "^1.1.0",
89
- "json5": "^2.2.3",
90
- "local-pkg": "^1.1.1",
91
- "micromatch": "^4.0.8",
92
- "picocolors": "^1.1.1",
93
- "tinyglobby": "^0.2.14",
94
- "yaml": "^2.8.0"
95
- },
96
- "devDependencies": {
97
- "@antfu/eslint-config": "^4.14.1",
98
- "@antfu/utils": "^9.2.0",
99
- "@solidjs/router": "^0.15.3",
100
- "@types/micromatch": "^4.0.9",
101
- "@types/node": "^24.0.0",
102
- "@vitest/ui": "^3.2.3",
103
- "@vue/compiler-sfc": "^3.5.16",
104
- "bumpp": "^10.1.1",
105
- "eslint": "^9.28.0",
106
- "esno": "^4.8.0",
107
- "playwright": "^1.52.0",
108
- "react": "^19.1.0",
109
- "react-router": "^7.6.2",
110
- "solid-js": "^1.9.7",
111
- "tsup": "^8.5.0",
112
- "typescript": "^5.8.3",
113
- "vite": "^6.3.5",
114
- "vitest": "^3.2.3",
115
- "vue": "^3.5.16",
116
- "vue-router": "^4.5.1"
117
- },
118
- "pnpm": {
119
- "peerDependencyRules": {
120
- "allowedVersions": {
121
- "eslint": "*"
122
- }
123
- },
124
- "overrides": {
125
- "array-flatten": "npm:@nolyfill/array-flatten@^1.0.44",
126
- "is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
127
- "safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.44",
128
- "safer-buffer": "npm:@nolyfill/safer-buffer@^1.0.44",
129
- "side-channel": "npm:@nolyfill/side-channel@^1.0.44"
130
- }
131
- }
132
- }
1
+ {
2
+ "name": "vite-plugin-pages2",
3
+ "type": "module",
4
+ "version": "0.34.1",
5
+ "description": "File system base vue-router plugin for Vite",
6
+ "author": "wuc656 <wuc656@gmail.com>, hannoeru <me@hanlee.co>",
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/wuc656/vite-plugin-pages",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/wuc656/vite-plugin-pages.git"
12
+ },
13
+ "bugs": "https://github.com/wuc656/vite-plugin-pages/issues",
14
+ "keywords": [
15
+ "vite",
16
+ "vue",
17
+ "vue-router",
18
+ "react",
19
+ "react-router",
20
+ "solid-js",
21
+ "@solidjs/router",
22
+ "file-system-based",
23
+ "routing"
24
+ ],
25
+ "exports": {
26
+ ".": {
27
+ "types": "./dist/index.d.ts",
28
+ "import": "./dist/index.js",
29
+ "require": "./dist/index.cjs"
30
+ },
31
+ "./client": {
32
+ "types": "./client.d.ts"
33
+ },
34
+ "./client-react": {
35
+ "types": "./client-react.d.ts"
36
+ },
37
+ "./client-solid": {
38
+ "types": "./client-solid.d.ts"
39
+ }
40
+ },
41
+ "main": "dist/index.js",
42
+ "types": "dist/index.d.ts",
43
+ "files": [
44
+ "LICENSE",
45
+ "client-react.d.ts",
46
+ "client-solid.d.ts",
47
+ "client.d.ts",
48
+ "dist"
49
+ ],
50
+ "peerDependencies": {
51
+ "@vue/compiler-sfc": "^2.7.0 || ^3.0.0",
52
+ "vite": "^2.0.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
53
+ },
54
+ "peerDependenciesMeta": {
55
+ "@solidjs/router": {
56
+ "optional": true
57
+ },
58
+ "@vue/compiler-sfc": {
59
+ "optional": true
60
+ },
61
+ "react-router": {
62
+ "optional": true
63
+ },
64
+ "vue-router": {
65
+ "optional": true
66
+ }
67
+ },
68
+ "dependencies": {
69
+ "@types/debug": "^4.1.12",
70
+ "debug": "^4.4.1",
71
+ "dequal": "^2.0.3",
72
+ "extract-comments": "^1.1.0",
73
+ "json5": "^2.2.3",
74
+ "local-pkg": "^1.1.1",
75
+ "micromatch": "^4.0.8",
76
+ "picocolors": "^1.1.1",
77
+ "tinyglobby": "^0.2.14",
78
+ "yaml": "^2.8.0"
79
+ },
80
+ "devDependencies": {
81
+ "@antfu/eslint-config": "^4.17.0",
82
+ "@antfu/utils": "^9.2.0",
83
+ "@solidjs/router": "^0.15.3",
84
+ "@types/micromatch": "^4.0.9",
85
+ "@types/node": "^24.0.14",
86
+ "@vitest/ui": "^3.2.4",
87
+ "@vue/compiler-sfc": "^3.5.17",
88
+ "bumpp": "^10.2.0",
89
+ "eslint": "^9.31.0",
90
+ "esno": "^4.8.0",
91
+ "playwright": "^1.54.1",
92
+ "react": "^19.1.0",
93
+ "react-router": "^7.6.3",
94
+ "solid-js": "^1.9.7",
95
+ "tsup": "^8.5.0",
96
+ "typescript": "^5.8.3",
97
+ "vite": "^7.0.4",
98
+ "vitest": "^3.2.4",
99
+ "vue": "^3.5.17",
100
+ "vue-router": "^4.5.1"
101
+ },
102
+ "scripts": {
103
+ "dev": "npm run build -- --watch --ignore-watch examples",
104
+ "build": "tsup",
105
+ "play": "pnpm --filter vue dev",
106
+ "play:react": "pnpm --filter react dev",
107
+ "release": "bumpp --commit --tag --push && npm publish",
108
+ "publish:ci": "esno scripts/publish.ts",
109
+ "test": "vitest",
110
+ "test:e2e": "vitest -c vitest.config.e2e.ts",
111
+ "test:ui": "vitest --ui",
112
+ "lint": "eslint .",
113
+ "lint:fix": "eslint . --fix",
114
+ "type-check": "tsc --noEmit"
115
+ }
116
+ }