@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.
@@ -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,SA+FxD,CAAC"}
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,SAsErD,CAAC"}
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,SAqFnD,CAAC"}
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 declare const promptForComponentDetails: (name?: string) => Promise<ComponentPromptResult>;
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,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,qBAAqB,CA+B5F,CAAC"}
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 declare const promptForLocaleDetails: (code?: string) => Promise<LocalePromptResult>;
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,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,kBAAkB,CAsDtF,CAAC"}
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 declare const promptForPageDetails: (name?: string) => Promise<PagePromptResult>;
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,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAwClF,CAAC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teispace/next-maker",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Create a new Teispace Next.js application with interactive setup.",
5
5
  "keywords": [
6
6
  "nextjs",