@teispace/next-maker 1.17.0 → 1.17.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/CHANGELOG.md +7 -0
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/src/commands/component.d.ts.map +1 -1
- package/dist/src/commands/locale.d.ts.map +1 -1
- package/dist/src/commands/page.d.ts.map +1 -1
- package/dist/src/prompts/component.prompt.d.ts +5 -1
- package/dist/src/prompts/component.prompt.d.ts.map +1 -1
- package/dist/src/prompts/locale.prompt.d.ts +5 -1
- package/dist/src/prompts/locale.prompt.d.ts.map +1 -1
- package/dist/src/prompts/page.prompt.d.ts +7 -1
- package/dist/src/prompts/page.prompt.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/commands/component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBzC,eAAO,MAAM,wBAAwB,GAAI,SAAS,OAAO,
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/commands/component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBzC,eAAO,MAAM,wBAAwB,GAAI,SAAS,OAAO,SAiGxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/commands/locale.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,
|
|
1
|
+
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/commands/locale.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,SAuErD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/commands/page.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAezC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/commands/page.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAezC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,SAwFnD,CAAC"}
|
|
@@ -2,5 +2,9 @@ export interface ComponentPromptResult {
|
|
|
2
2
|
componentName: string;
|
|
3
3
|
isClient: boolean;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export interface ComponentPromptPresets {
|
|
6
|
+
/** When set, the `'use client'` prompt is skipped and this value is used. */
|
|
7
|
+
client?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const promptForComponentDetails: (name?: string, presets?: ComponentPromptPresets) => Promise<ComponentPromptResult>;
|
|
6
10
|
//# sourceMappingURL=component.prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/component.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"component.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/component.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,yBAAyB,GACpC,OAAO,MAAM,EACb,UAAS,sBAA2B,KACnC,OAAO,CAAC,qBAAqB,CAoC/B,CAAC"}
|
|
@@ -5,5 +5,9 @@ export interface LocalePromptResult {
|
|
|
5
5
|
flag: string;
|
|
6
6
|
copyTranslations: boolean;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export interface LocalePromptPresets {
|
|
9
|
+
/** When set, the copy-translations prompt is skipped and this value is used. */
|
|
10
|
+
copyTranslations?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const promptForLocaleDetails: (code?: string, presets?: LocalePromptPresets) => Promise<LocalePromptResult>;
|
|
9
13
|
//# sourceMappingURL=locale.prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/locale.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"locale.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/locale.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,sBAAsB,GACjC,OAAO,MAAM,EACb,UAAS,mBAAwB,KAChC,OAAO,CAAC,kBAAkB,CAyD5B,CAAC"}
|
|
@@ -3,5 +3,11 @@ export interface PagePromptResult {
|
|
|
3
3
|
withLoading: boolean;
|
|
4
4
|
withError: boolean;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export interface PagePromptPresets {
|
|
7
|
+
/** When set, the loading prompt is skipped and this value is used. */
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
/** When set, the error prompt is skipped and this value is used. */
|
|
10
|
+
error?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const promptForPageDetails: (name?: string, presets?: PagePromptPresets) => Promise<PagePromptResult>;
|
|
7
13
|
//# sourceMappingURL=page.prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/page.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"page.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/page.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,EACb,UAAS,iBAAsB,KAC9B,OAAO,CAAC,gBAAgB,CA4C1B,CAAC"}
|