@uni-helper/vite-plugin-uni-pages 0.2.27 → 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 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.27",
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,6 +46,9 @@
35
46
  "client.d.ts",
36
47
  "dist"
37
48
  ],
49
+ "peerDependencies": {
50
+ "vite": "^5.0.0"
51
+ },
38
52
  "dependencies": {
39
53
  "@uni-helper/uni-env": "^0.1.4",
40
54
  "@vue/compiler-sfc": "^3.4.38",
@@ -53,7 +67,8 @@
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.15.0"
70
+ "@types/node": "^20.15.0",
71
+ "vite": "^5.4.1"
57
72
  },
58
73
  "scripts": {
59
74
  "build": "unbuild",