@arcgis/create 5.1.0-next.20 → 5.1.0-next.22

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.
Files changed (3) hide show
  1. package/README.md +26 -28
  2. package/dist/init.js +7159 -6767
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,42 +1,40 @@
1
- # @arcgis/create
1
+ # ArcGIS Maps SDK for JavaScript - Create CLI
2
2
 
3
- A CLI tool for quickly creating an ArcGIS web application using web components.
4
-
5
- - [Usage](#usage)
6
- - [Commands](#commands)
3
+ The ArcGIS Maps SDK for JavaScript provides this CLI tool to streamline the process of creating a new web mapping application.
7
4
 
8
5
  ## Usage
9
6
 
10
- The package is created to be compatible with the [npm init command](https://docs.npmjs.com/cli/v8/commands/npm-init). This will allow users to run `npm init @arcgis`, and immediately be prompted to initialize a new ArcGIS web application.
11
-
12
- 1. run via npm init
7
+ The package is compatible with the [npm init command](https://docs.npmjs.com/cli/v8/commands/npm-init).
13
8
 
14
- - `npm init @arcgis`
9
+ To get started, run `npm init @arcgis`, and you will be immediately prompted to initialize a new ArcGIS web application, or run using [npx](https://docs.npmjs.com/cli/v8/commands/npx):
15
10
 
16
- 2. run via npx
11
+ ```bash
12
+ npx @arcgis/create
13
+ # Initializes a new React application named "my-arcgis-app"
14
+ npx @arcgis/create -n my-arcgis-app -t react
15
+ ```
17
16
 
18
- - `npx @arcgis/create`
19
- - `npx @arcgis/create -- -n my-app -t react`
17
+ ## CLI options
20
18
 
21
- ## Commands
19
+ ```bash
20
+ -n, --name <name> Name of the project
21
+ -t, --template <template> Template to use (react, vite, cdn, vue, angular, etc.)
22
+ ```
22
23
 
23
- - [`create-arcgis init`](#init)
24
+ ## Resources
24
25
 
25
- ### `init`
26
+ - [ArcGIS blog](https://blogs.esri.com/esri/arcgis/tag/javascript/)
27
+ - [System Requirements](https://developers.arcgis.com/javascript/latest/system-requirements/)
28
+ - [Terms of Use](https://www.esri.com/en-us/legal/terms/product-specific-scope-of-use)
29
+ - [Licensing](https://developers.arcgis.com/javascript/latest/licensing/)
30
+ - [Working with `next` versions](https://github.com/Esri/feedback-js-api-next/blob/main/README.md)
26
31
 
27
- Initialize a new project from a sample from the code samples repository
32
+ ## Issues
28
33
 
29
- ```text
30
- Usage: init [options] [command]
34
+ - General questions about using this package or the ArcGIS Maps SDK for JavaScript? See the [Esri developer community](https://community.esri.com/t5/arcgis-api-for-javascript/ct-p/arcgis-api-for-javascript).
35
+ - [Technical support](https://support.esri.com/).
31
36
 
32
- Options:
33
- -V, --version output the version number
34
- -n, --name <name> Name of the project
35
- -t, --template <template> Template to use (react, angular, vanilla, vite, vue, or webpack)
36
- -p, --packages <packages> Additional packages to add (charts, coding)
37
- -h, --help display help for command
37
+ ## License
38
38
 
39
- Commands:
40
- init Initialize a new arcgis project
41
- help [command] display help for command
42
- ```
39
+ This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.0/LICENSE.txt.
40
+ For third party notices, see https://js.arcgis.com/5.0/third-party-notices.txt.