@teispace/next-maker 1.17.0 → 1.18.0

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":"app.d.ts","sourceRoot":"","sources":["../../../src/commands/app.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAezC,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,SAQlD,CAAC"}
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/commands/app.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoCzC,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,SAmBlD,CAAC"}
@@ -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"}
@@ -1,4 +1,13 @@
1
1
  import type { PackageManager } from '../core/package-manager';
2
+ /**
3
+ * The opinionated production defaults `init --yes` ships. Mirrors the
4
+ * "should I include X?" answer the prompt walkthrough would suggest as
5
+ * `initial`/`default` for each question — every architecture feature ON,
6
+ * the heavyweight integrations (Docker, GitHub Actions, bundle analyzer)
7
+ * OFF. Users who want a leaner install run `next-maker remove <feature>`
8
+ * after init.
9
+ */
10
+ export declare const defaultProjectAnswers: (initialName: string | undefined, overrides?: Partial<ProjectPrompts>) => ProjectPrompts;
2
11
  export interface ProjectPrompts {
3
12
  projectName: string;
4
13
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-app.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/create-app.prompt.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAS9D,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;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,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,OAAO,CAAC;IACZ,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,uBAAuB,GAAU,cAAc,MAAM,KAAG,OAAO,CAAC,cAAc,CAwR1F,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.18.0",
4
4
  "description": "Create a new Teispace Next.js application with interactive setup.",
5
5
  "keywords": [
6
6
  "nextjs",