@arcgis/create 5.1.0-next.24 → 5.1.0-next.26
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 +5 -0
- package/bin/index.js +2 -2
- package/dist/init.js +3609 -3558
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
The ArcGIS Maps SDK for JavaScript provides this CLI tool to streamline the process of creating a new web mapping application.
|
|
4
4
|
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node.js v22.21.0 or higher
|
|
8
|
+
- [git](https://git-scm.com/) installed and available in your system path
|
|
9
|
+
|
|
5
10
|
## Usage
|
|
6
11
|
|
|
7
12
|
The package is compatible with the [npm init command](https://docs.npmjs.com/cli/v8/commands/npm-init).
|
package/bin/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const majorNodeVersion = Number.parseInt(process.version.toString().replace("v", "").split(".")[0]);
|
|
4
|
-
if (majorNodeVersion <
|
|
5
|
-
console.error("You need to use Node.js version
|
|
4
|
+
if (majorNodeVersion < 22) {
|
|
5
|
+
console.error("You need to use Node.js version 22 or higher to run this program.");
|
|
6
6
|
process.exit(1);
|
|
7
7
|
}
|
|
8
8
|
|