@wix/create-app 0.0.5

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/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @wix/create-app
2
+
3
+ TBD
4
+
5
+ ## Usage 🧑‍💻
6
+
7
+ #### Yarn
8
+
9
+ ```console
10
+ yarn create @wix/app my-app
11
+ ```
12
+
13
+ #### npm
14
+
15
+ ```console
16
+ npm init @wix/app@latest my-app
17
+ ```
package/bin/index.cjs ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+
3
+ 'use strict';
4
+
5
+ (function minimumNodeVersionCheck() {
6
+ var versionParts = process.versions.node.split('.').map((v) => Number(v));
7
+ var major = versionParts[0];
8
+ var minor = versionParts[1];
9
+ if (major < 14 || (major === 14 && minor < 18)) {
10
+ console.error('============================================');
11
+ console.error();
12
+ console.error(`Your node version is ${process.versions.node}.`);
13
+ console.error(`Node versions < 14.18.x are not supported.`);
14
+ console.error();
15
+ console.error('============================================');
16
+ process.exit(1);
17
+ }
18
+ })();
19
+
20
+ require('../build/index.cjs');