Skip to content

Commit 10b2f55

Browse files
committed
feat(core): add Custom starter option to access preset flow
Adds a 'Custom' option to the starter selection that redirects to the original preset-based flow, giving users access to more configuration options including: - Framework selection - Test runner choices - Bundler options - And other preset-specific configurations When 'Custom' is selected, the flow returns 'skip' which triggers the preset flow instead of the template flow.
1 parent ba9b0a6 commit 10b2f55

File tree

1 file changed

+9
-2
lines changed
  • packages/create-nx-workspace/src/internal-utils

1 file changed

+9
-2
lines changed

packages/create-nx-workspace/src/internal-utils/prompts.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,13 @@ export async function determineTemplate(
131131
choices: [
132132
{
133133
name: 'nrwl/empty-template',
134-
message: 'Empty (minimal monorepo without projects)',
134+
message:
135+
'TypeScript (minimal TypeScript monorepo without projects)',
135136
},
136137
{
137138
name: 'nrwl/typescript-template',
138-
message: 'TypeScript (monorepo with TypeScript packages)',
139+
message:
140+
'NPM Packages (monorepo with TypeScript packages ready to publish)',
139141
},
140142
{
141143
name: 'nrwl/react-template',
@@ -147,6 +149,11 @@ export async function determineTemplate(
147149
message:
148150
'Angular (fullstack monorepo with Angular and Express)',
149151
},
152+
{
153+
name: 'skip',
154+
message:
155+
'Custom (more options for frameworks, test runners, etc.)',
156+
},
150157
],
151158
initial: 0,
152159
},

0 commit comments

Comments
 (0)