@dtinsight/create
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -24,3 +24,6 @@ "use strict"; | ||
const useYarn = isUsingYarn(); | ||
(0, child_process_1.execSync)(`${useYarn ? "yarn create" : "npx"} create-react-app ${projectName} ${isTypeScript ? "--template typescript" : ""}`, { | ||
const commandLine = useYarn | ||
? "npx create-react-app" | ||
: "yarn create react-app"; | ||
(0, child_process_1.execSync)(`${commandLine} ${projectName} ${isTypeScript ? "--template typescript" : ""}`, { | ||
stdio: "inherit", | ||
@@ -27,0 +30,0 @@ }); |
{ | ||
"name": "@dtinsight/create", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Create Molecule Application with create-react-app.", | ||
@@ -36,2 +36,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5023
79