add optional e2e tests and non-interactive generator to new-design
This commit is contained in:
parent
144a4bf654
commit
19b79261b5
7 changed files with 119 additions and 15 deletions
11
packages/new-design/scripts/generate-from-cli.mjs
Normal file
11
packages/new-design/scripts/generate-from-cli.mjs
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { createEnvironment } from '../lib/utils.mjs'
|
||||
|
||||
const choices = {
|
||||
template: process.env.TEMPLATE,
|
||||
name: process.env.NAME,
|
||||
manager: 'yarn',
|
||||
overwrite: true,
|
||||
includeTests: true,
|
||||
}
|
||||
|
||||
createEnvironment(choices)
|
Loading…
Add table
Add a link
Reference in a new issue