@uni-helper/vite-plugin-uni-pages 0.2.26 → 0.2.28
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/README.md +0 -6
- package/dist/index.d.cts +10 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/package.json +23 -8
package/README.md
CHANGED
|
@@ -125,12 +125,6 @@ export interface Options {
|
|
|
125
125
|
}
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
## TODO
|
|
129
|
-
|
|
130
|
-
- [x] only update the changed page
|
|
131
|
-
- [x] [vite-plugin-uni-middleware](https://github.com/uni-helper/vite-plugin-uni-middleware)
|
|
132
|
-
- [x] pages [type](./src/config/types.ts)
|
|
133
|
-
|
|
134
128
|
## Acknowledgement
|
|
135
129
|
|
|
136
130
|
- [vite-plugin-pages](https://github.com/hannoeru/vite-plugin-pages.git)
|
package/dist/index.d.cts
CHANGED
|
@@ -2523,6 +2523,16 @@ interface SubPackage {
|
|
|
2523
2523
|
* 子包由哪些页面组成,参数同 pages
|
|
2524
2524
|
*/
|
|
2525
2525
|
pages: PageMetaDatum[];
|
|
2526
|
+
/**
|
|
2527
|
+
* 分包插件
|
|
2528
|
+
*/
|
|
2529
|
+
plugins?: {
|
|
2530
|
+
[pluginName: string]: {
|
|
2531
|
+
version: string;
|
|
2532
|
+
provider: string;
|
|
2533
|
+
[key: string]: any;
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2526
2536
|
}
|
|
2527
2537
|
type SubPackages = SubPackage[];
|
|
2528
2538
|
|
package/dist/index.d.mts
CHANGED
|
@@ -2523,6 +2523,16 @@ interface SubPackage {
|
|
|
2523
2523
|
* 子包由哪些页面组成,参数同 pages
|
|
2524
2524
|
*/
|
|
2525
2525
|
pages: PageMetaDatum[];
|
|
2526
|
+
/**
|
|
2527
|
+
* 分包插件
|
|
2528
|
+
*/
|
|
2529
|
+
plugins?: {
|
|
2530
|
+
[pluginName: string]: {
|
|
2531
|
+
version: string;
|
|
2532
|
+
provider: string;
|
|
2533
|
+
[key: string]: any;
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2526
2536
|
}
|
|
2527
2537
|
type SubPackages = SubPackage[];
|
|
2528
2538
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2523,6 +2523,16 @@ interface SubPackage {
|
|
|
2523
2523
|
* 子包由哪些页面组成,参数同 pages
|
|
2524
2524
|
*/
|
|
2525
2525
|
pages: PageMetaDatum[];
|
|
2526
|
+
/**
|
|
2527
|
+
* 分包插件
|
|
2528
|
+
*/
|
|
2529
|
+
plugins?: {
|
|
2530
|
+
[pluginName: string]: {
|
|
2531
|
+
version: string;
|
|
2532
|
+
provider: string;
|
|
2533
|
+
[key: string]: any;
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2526
2536
|
}
|
|
2527
2537
|
type SubPackages = SubPackage[];
|
|
2528
2538
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uni-helper/vite-plugin-uni-pages",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.28",
|
|
5
5
|
"description": "File system based routing for uni-app applications using Vite",
|
|
6
6
|
"author": "KeJun",
|
|
7
|
+
"maintainers": [
|
|
8
|
+
{
|
|
9
|
+
"email": "wurui.dev@gmail.com",
|
|
10
|
+
"name": "ModyQyW",
|
|
11
|
+
"url": "https://modyyw.top"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
7
14
|
"license": "MIT",
|
|
15
|
+
"funding": [
|
|
16
|
+
"https://afdian.net/a/kejun",
|
|
17
|
+
"https://github.com/ModyQyW/sponsors"
|
|
18
|
+
],
|
|
8
19
|
"homepage": "https://github.com/uni-helper/vite-plugin-uni-pages#readme",
|
|
9
20
|
"repository": {
|
|
10
21
|
"type": "git",
|
|
@@ -35,25 +46,29 @@
|
|
|
35
46
|
"client.d.ts",
|
|
36
47
|
"dist"
|
|
37
48
|
],
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"vite": "^5.0.0"
|
|
51
|
+
},
|
|
38
52
|
"dependencies": {
|
|
39
|
-
"@uni-helper/uni-env": "^0.1.
|
|
40
|
-
"@vue/compiler-sfc": "^3.4.
|
|
53
|
+
"@uni-helper/uni-env": "^0.1.4",
|
|
54
|
+
"@vue/compiler-sfc": "^3.4.38",
|
|
41
55
|
"chokidar": "^3.6.0",
|
|
42
|
-
"debug": "^4.3.
|
|
56
|
+
"debug": "^4.3.6",
|
|
43
57
|
"detect-indent": "^6.1.0",
|
|
44
58
|
"detect-newline": "^3.1.0",
|
|
45
59
|
"fast-glob": "^3.3.2",
|
|
46
60
|
"json5": "^2.2.3",
|
|
47
61
|
"lodash.groupby": "^4.6.0",
|
|
48
|
-
"magic-string": "^0.30.
|
|
49
|
-
"unconfig": "^0.
|
|
50
|
-
"yaml": "^2.
|
|
62
|
+
"magic-string": "^0.30.11",
|
|
63
|
+
"unconfig": "^0.5.5",
|
|
64
|
+
"yaml": "^2.5.0"
|
|
51
65
|
},
|
|
52
66
|
"devDependencies": {
|
|
53
67
|
"@antfu/utils": "^0.7.10",
|
|
54
68
|
"@types/debug": "^4.1.12",
|
|
55
69
|
"@types/lodash.groupby": "^4.6.9",
|
|
56
|
-
"@types/node": "^20.
|
|
70
|
+
"@types/node": "^20.15.0",
|
|
71
|
+
"vite": "^5.4.1"
|
|
57
72
|
},
|
|
58
73
|
"scripts": {
|
|
59
74
|
"build": "unbuild",
|