Skip to content

Commit

Permalink
feat(react): default to Vite when converting from CRA to Nx (#13473)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored Nov 29, 2022
1 parent 19a6da3 commit f2c5eba
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/cra-to-nx/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,23 @@ export const commandsObject = yargs
})
.option('e2e', {
type: 'boolean',
describe: 'Generate end-to-end tests with Cypress',
describe: 'Generate end-to-end tests with Cypress.',
default: false,
})
.option('nxCloud', {
type: 'boolean',
describe: 'Setup Nx Cloud',
describe: 'Setup Nx Cloud.',
default: true,
})
.option('vite', {
type: 'boolean',
describe: 'Use Vite and Vitest (instead of Webpack and Jest)',
default: false,
describe:
'Use Vite and Vitest (instead of Webpack and Jest). Pass --vite=false to use Webpack.',
default: true,
})
.option('integrated', {
type: 'boolean',
describe: 'Use integrated folder structure, with apps folder',
describe: 'Use integrated folder structure, with apps folder.',
default: false,
})
.help();
Expand Down

0 comments on commit f2c5eba

Please sign in to comment.