@weapp-core/schematics 1.0.5 → 1.0.7
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/dist/index.cjs +2 -1
- package/dist/index.d.cts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -39,7 +39,8 @@ function generateWxss() {
|
|
|
39
39
|
return "";
|
|
40
40
|
}
|
|
41
41
|
function generateWxml(filepath) {
|
|
42
|
-
return `<view>hello weapp-vite
|
|
42
|
+
return `<view>hello weapp-vite!</view>
|
|
43
|
+
${filepath ? `<view>from ${filepath}</view>` : ""}`;
|
|
43
44
|
}
|
|
44
45
|
function JSONStringify(res) {
|
|
45
46
|
return JSON.stringify(res, void 0, 2);
|
package/dist/index.d.cts
CHANGED
|
@@ -159,14 +159,8 @@ interface App$1 {
|
|
|
159
159
|
};
|
|
160
160
|
debug?: boolean;
|
|
161
161
|
functionalPages?: boolean;
|
|
162
|
-
subpackages?:
|
|
163
|
-
|
|
164
|
-
name?: string;
|
|
165
|
-
pages?: string[];
|
|
166
|
-
independent?: boolean;
|
|
167
|
-
entry?: string;
|
|
168
|
-
[k: string]: unknown;
|
|
169
|
-
}[];
|
|
162
|
+
subpackages?: Items[];
|
|
163
|
+
subPackages?: Items[];
|
|
170
164
|
workers?: string;
|
|
171
165
|
requiredBackgroundModes?: string[];
|
|
172
166
|
requiredPrivateInfos?: string[];
|
|
@@ -237,6 +231,14 @@ interface App$1 {
|
|
|
237
231
|
componentFramework?: string;
|
|
238
232
|
[k: string]: unknown;
|
|
239
233
|
}
|
|
234
|
+
interface Items {
|
|
235
|
+
root?: string;
|
|
236
|
+
name?: string;
|
|
237
|
+
pages?: string[];
|
|
238
|
+
independent?: boolean;
|
|
239
|
+
entry?: string;
|
|
240
|
+
[k: string]: unknown;
|
|
241
|
+
}
|
|
240
242
|
/**
|
|
241
243
|
* This file was automatically generated by json-schema-to-typescript.
|
|
242
244
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
package/dist/index.d.ts
CHANGED
|
@@ -159,14 +159,8 @@ interface App$1 {
|
|
|
159
159
|
};
|
|
160
160
|
debug?: boolean;
|
|
161
161
|
functionalPages?: boolean;
|
|
162
|
-
subpackages?:
|
|
163
|
-
|
|
164
|
-
name?: string;
|
|
165
|
-
pages?: string[];
|
|
166
|
-
independent?: boolean;
|
|
167
|
-
entry?: string;
|
|
168
|
-
[k: string]: unknown;
|
|
169
|
-
}[];
|
|
162
|
+
subpackages?: Items[];
|
|
163
|
+
subPackages?: Items[];
|
|
170
164
|
workers?: string;
|
|
171
165
|
requiredBackgroundModes?: string[];
|
|
172
166
|
requiredPrivateInfos?: string[];
|
|
@@ -237,6 +231,14 @@ interface App$1 {
|
|
|
237
231
|
componentFramework?: string;
|
|
238
232
|
[k: string]: unknown;
|
|
239
233
|
}
|
|
234
|
+
interface Items {
|
|
235
|
+
root?: string;
|
|
236
|
+
name?: string;
|
|
237
|
+
pages?: string[];
|
|
238
|
+
independent?: boolean;
|
|
239
|
+
entry?: string;
|
|
240
|
+
[k: string]: unknown;
|
|
241
|
+
}
|
|
240
242
|
/**
|
|
241
243
|
* This file was automatically generated by json-schema-to-typescript.
|
|
242
244
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,8 @@ function generateWxss() {
|
|
|
12
12
|
return "";
|
|
13
13
|
}
|
|
14
14
|
function generateWxml(filepath) {
|
|
15
|
-
return `<view>hello weapp-vite
|
|
15
|
+
return `<view>hello weapp-vite!</view>
|
|
16
|
+
${filepath ? `<view>from ${filepath}</view>` : ""}`;
|
|
16
17
|
}
|
|
17
18
|
function JSONStringify(res) {
|
|
18
19
|
return JSON.stringify(res, void 0, 2);
|