@weapp-core/schematics 6.2.2 → 6.2.3

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.d.cts CHANGED
@@ -644,7 +644,7 @@ type Theme = Theme$1;
644
644
  type Plugin = Plugin$1;
645
645
  //#endregion
646
646
  //#region src/json.d.ts
647
- declare const JSON_SCHEMA_DEFINITIONS: readonly [{
647
+ export declare const JSON_SCHEMA_DEFINITIONS: readonly [{
648
648
  filename: "app.json";
649
649
  typeName: "App";
650
650
  schema: unknown;
@@ -674,18 +674,18 @@ declare const JSON_SCHEMA_DEFINITIONS: readonly [{
674
674
  /**
675
675
  * @description 生成 JS 模板(app/page/component)
676
676
  */
677
- declare function generateJs(type?: GenerateType): "App({})" | "Page({})" | "Component({})";
677
+ export declare function generateJs(type?: GenerateType): "App({})" | "Page({})" | "Component({})";
678
678
  /**
679
679
  * @description 生成 WXSS 模板
680
680
  */
681
- declare function generateWxss(): string;
681
+ export declare function generateWxss(): string;
682
682
  /**
683
683
  * @description 生成 WXML 模板
684
684
  */
685
- declare function generateWxml(filepath?: string): string;
685
+ export declare function generateWxml(filepath?: string): string;
686
686
  /**
687
687
  * @description 生成 JSON/JS/TS 模板
688
688
  */
689
- declare function generateJson(type?: GenerateType, ext?: JsonExt): string;
689
+ export declare function generateJson(type?: GenerateType, ext?: JsonExt): string;
690
690
  //#endregion
691
- export { type App, type Component, type GenerateType, JSON_SCHEMA_DEFINITIONS, type Page, type Plugin, type Sitemap, type Theme, generateJs, generateJson, generateWxml, generateWxss };
691
+ export type { App, Component, GenerateType, Page, Plugin, Sitemap, Theme };
package/dist/index.d.ts CHANGED
@@ -644,7 +644,7 @@ type Theme = Theme$1;
644
644
  type Plugin = Plugin$1;
645
645
  //#endregion
646
646
  //#region src/json.d.ts
647
- declare const JSON_SCHEMA_DEFINITIONS: readonly [{
647
+ export declare const JSON_SCHEMA_DEFINITIONS: readonly [{
648
648
  filename: "app.json";
649
649
  typeName: "App";
650
650
  schema: unknown;
@@ -674,18 +674,18 @@ declare const JSON_SCHEMA_DEFINITIONS: readonly [{
674
674
  /**
675
675
  * @description 生成 JS 模板(app/page/component)
676
676
  */
677
- declare function generateJs(type?: GenerateType): "App({})" | "Page({})" | "Component({})";
677
+ export declare function generateJs(type?: GenerateType): "App({})" | "Page({})" | "Component({})";
678
678
  /**
679
679
  * @description 生成 WXSS 模板
680
680
  */
681
- declare function generateWxss(): string;
681
+ export declare function generateWxss(): string;
682
682
  /**
683
683
  * @description 生成 WXML 模板
684
684
  */
685
- declare function generateWxml(filepath?: string): string;
685
+ export declare function generateWxml(filepath?: string): string;
686
686
  /**
687
687
  * @description 生成 JSON/JS/TS 模板
688
688
  */
689
- declare function generateJson(type?: GenerateType, ext?: JsonExt): string;
689
+ export declare function generateJson(type?: GenerateType, ext?: JsonExt): string;
690
690
  //#endregion
691
- export { type App, type Component, type GenerateType, JSON_SCHEMA_DEFINITIONS, type Page, type Plugin, type Sitemap, type Theme, generateJs, generateJson, generateWxml, generateWxss };
691
+ export type { App, Component, GenerateType, Page, Plugin, Sitemap, Theme };
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@weapp-core/schematics",
3
3
  "type": "module",
4
- "version": "6.2.2",
5
- "description": "@weapp-core/schematics",
4
+ "version": "6.2.3",
5
+ "description": "Project generation schematics for the weapp-vite mini-program toolchain.",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
8
+ "homepage": "https://github.com/weapp-vite/weapp-vite#readme",
8
9
  "repository": {
9
10
  "type": "git",
10
11
  "url": "git+https://github.com/weapp-vite/weapp-vite.git",
@@ -13,7 +14,14 @@
13
14
  "bugs": {
14
15
  "url": "https://github.com/weapp-vite/weapp-vite/issues"
15
16
  },
16
- "keywords": [],
17
+ "keywords": [
18
+ "weapp-vite",
19
+ "weapp",
20
+ "wechat",
21
+ "mini-program",
22
+ "miniprogram",
23
+ "vite"
24
+ ],
17
25
  "sideEffects": false,
18
26
  "weapp-vite-dev": {
19
27
  "exports": {
@@ -37,8 +45,12 @@
37
45
  "engines": {
38
46
  "node": "^20.19.0 || >=22.12.0"
39
47
  },
48
+ "publishConfig": {
49
+ "access": "public",
50
+ "registry": "https://registry.npmjs.org"
51
+ },
40
52
  "dependencies": {
41
- "zod": "^4.5.4"
53
+ "zod": "^4.6.2"
42
54
  },
43
55
  "devDependencies": {
44
56
  "cheerio": "^1.2.0"