create-cubing-app 0.35.6-rc22 → 0.35.6-rc23
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/bin/create-cubing-app.js +4 -4
- package/package.json +1 -1
package/bin/create-cubing-app.js
CHANGED
|
@@ -23,13 +23,13 @@ await execPromise("npm install validate-npm-package-name", {
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
function badPackageName() {
|
|
26
|
-
stderr.write(`
|
|
27
|
-
For example:
|
|
26
|
+
stderr.write(`Usage:
|
|
28
27
|
|
|
29
|
-
npm create cubing-app
|
|
28
|
+
npm create cubing-app <project folder name>
|
|
30
29
|
|
|
30
|
+
The project folder name should consist of only letters, numbers, dashes, and underscores.
|
|
31
31
|
`);
|
|
32
|
-
exit(
|
|
32
|
+
exit(0);
|
|
33
33
|
}
|
|
34
34
|
const packageName = process.argv[2];
|
|
35
35
|
if (!packageName) {
|