@reflex-stack/tsp 0.1.8 → 0.1.9
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.
- package/package.json +1 -1
- package/src/commands/init.js +1 -1
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -195,7 +195,7 @@ export async function init () {
|
|
|
195
195
|
options.authorName = await askInput(`Author name`, { notEmpty: true })
|
|
196
196
|
options.licenseName = await askInput(`License name`, { defaultValue: "MIT" })
|
|
197
197
|
options.esLevel = await askInput(`ES Level for tsconfig`, { defaultValue: "es2023" })
|
|
198
|
-
options.tsStrict = await askList(`Use strict Typescript?`, ["Yes", "No"], { defaultIndex:
|
|
198
|
+
options.tsStrict = await askList(`Use strict Typescript?`, ["Yes", "No"], { defaultIndex: 0, returnType: "index" })
|
|
199
199
|
options.domAccess = await askList(`Will it have access to DOM?`, ["Yes", "No"], { defaultIndex: 0, returnType: "index" })
|
|
200
200
|
options.svgReport = await askList(`Export SVG size report on build for README.md?`, ["Yes", "No"], { defaultIndex: 0, returnType: "index" })
|
|
201
201
|
options.jsonReport = await askList(`Export JSON size report on build?`, ["Yes", "No"], { defaultIndex: 1, returnType: "index" })
|