vite-plugin-pages2 0.32.8 → 0.33.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,124 +1,136 @@
1
- {
2
- "name": "vite-plugin-pages2",
3
- "type": "module",
4
- "version": "0.32.8",
5
- "packageManager": "pnpm@10.5.2",
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": "https://github.com/wuc656/vite-plugin-pages"
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.0",
87
- "dequal": "^2.0.3",
88
- "extract-comments": "^1.1.0",
89
- "fast-glob": "^3.3.3",
90
- "json5": "^2.2.3",
91
- "local-pkg": "^1.1.1",
92
- "picocolors": "^1.1.1",
93
- "yaml": "^2.7.0"
94
- },
95
- "devDependencies": {
96
- "@antfu/eslint-config": "^4.4.0",
97
- "@antfu/utils": "^9.1.0",
98
- "@solidjs/router": "^0.15.3",
99
- "@types/glob-to-regexp": "^0.4.4",
100
- "@types/node": "^22.13.9",
101
- "@vitest/ui": "^3.0.7",
102
- "@vue/compiler-sfc": "^3.5.13",
103
- "bumpp": "^10.0.3",
104
- "eslint": "^9.21.0",
105
- "esno": "^4.8.0",
106
- "playwright": "^1.50.1",
107
- "react": "^19.0.0",
108
- "react-router": "^7.2.0",
109
- "solid-js": "^1.9.5",
110
- "tsup": "^8.4.0",
111
- "typescript": "^5.8.2",
112
- "vite": "^6.2.0",
113
- "vitest": "^3.0.7",
114
- "vue": "^3.5.13",
115
- "vue-router": "^4.5.0"
116
- },
117
- "pnpm": {
118
- "peerDependencyRules": {
119
- "allowedVersions": {
120
- "eslint": "*"
121
- }
122
- }
123
- }
124
- }
1
+ {
2
+ "name": "vite-plugin-pages2",
3
+ "type": "module",
4
+ "version": "0.33.1",
5
+ "packageManager": "pnpm@10.9.0",
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.0",
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.13",
94
+ "yaml": "^2.7.1"
95
+ },
96
+ "devDependencies": {
97
+ "@antfu/eslint-config": "^4.12.0",
98
+ "@antfu/utils": "^9.2.0",
99
+ "@solidjs/router": "^0.15.3",
100
+ "@types/micromatch": "^4.0.9",
101
+ "@types/node": "^22.14.1",
102
+ "@vitest/ui": "^3.1.2",
103
+ "@vue/compiler-sfc": "^3.5.13",
104
+ "bumpp": "^10.1.0",
105
+ "eslint": "^9.25.1",
106
+ "esno": "^4.8.0",
107
+ "playwright": "^1.52.0",
108
+ "react": "^19.1.0",
109
+ "react-router": "^7.5.1",
110
+ "solid-js": "^1.9.5",
111
+ "tsup": "^8.4.0",
112
+ "typescript": "^5.8.3",
113
+ "vite": "^6.3.2",
114
+ "vitest": "^3.1.2",
115
+ "vue": "^3.5.13",
116
+ "vue-router": "^4.5.0"
117
+ },
118
+ "pnpm": {
119
+ "peerDependencyRules": {
120
+ "allowedVersions": {
121
+ "eslint": "*"
122
+ }
123
+ },
124
+ "overrides": {
125
+ "array-flatten": "npm:@nolyfill/array-flatten@^1",
126
+ "is-core-module": "npm:@nolyfill/is-core-module@^1",
127
+ "safe-buffer": "npm:@nolyfill/safe-buffer@^1",
128
+ "safer-buffer": "npm:@nolyfill/safer-buffer@^1",
129
+ "side-channel": "npm:@nolyfill/side-channel@^1"
130
+ },
131
+ "onlyBuiltDependencies": [
132
+ "esbuild",
133
+ "unrs-resolver"
134
+ ]
135
+ }
136
+ }