Have you read the Contributing Guidelines on issues?
Motivation
When using the swizzle CLI, we can get TypeScript copies of the theme files, but this requires to provide the --typescript option ahead of time.
yarn workspace website swizzle // will always copy JS files
yarn workspace website swizzle --typescript // will copy TS files, if available
When running yarn workspace website swizzle, the CLI should more interactive and promp the user if they want to use TypeScript.
To disable the promp, a language should be provided explicitly:
yarn workspace website swizzle --javascript
yarn workspace website swizzle --typescript
Related to #9401 (DX should be consistent)
Have you read the Contributing Guidelines on issues?
Motivation
When using the swizzle CLI, we can get TypeScript copies of the theme files, but this requires to provide the
--typescriptoption ahead of time.yarn workspace website swizzle // will always copy JS files yarn workspace website swizzle --typescript // will copy TS files, if availableWhen running
yarn workspace website swizzle, the CLI should more interactive and promp the user if they want to use TypeScript.To disable the promp, a language should be provided explicitly:
Related to #9401 (DX should be consistent)