@sap-ux/create 0.4.3 → 0.4.4

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 (2) hide show
  1. package/README.md +11 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -4,27 +4,32 @@ Module which provides command line interface to configure features for SAP UX pr
4
4
  To see usage, run
5
5
 
6
6
  ```sh
7
- npm init @sap-ux
7
+ npm init @sap-ux@latest
8
+ # or
9
+ npx @sap-ux/create@latest
8
10
  ```
9
11
 
10
12
  To avoid downloading and installing the module every time it is used, you might consider installing it globally or add it as `devDependency` to a project. Once installed, you can run it using
11
13
 
12
14
  ```sh
15
+ # globally installed
16
+ sap-ux
17
+ # locally
13
18
  npx sap-ux
14
19
  ```
15
20
 
16
21
  ## add
17
- Calling `npx sap-ux add` allows adding a feature to a project.
22
+ Calling `sap-ux add` allows adding a feature to a project.
18
23
 
19
24
  ## remove
20
- Calling `npx sap-ux remove` allows removing a feature to a project.
25
+ Calling `sap-ux remove` allows removing a feature to a project.
21
26
 
22
27
  ## generate
23
- Calling `npx sap-ux generate` allows generating a new project.
28
+ Calling `sap-ux generate` allows generating a new project.
24
29
 
25
30
  ### adaptation-project
26
- Calling `npx sap-ux generate adaptation-project` allows generating a new adaptation project. Without further parameters the CLI will prompt the required parameters `id`, `reference` and `url`. To run the prompt non-interactively, it is also possible to execute
31
+ Calling `sap-ux generate adaptation-project` allows generating a new adaptation project. Without further parameters the CLI will prompt the required parameters `id`, `reference` and `url`. To run the prompt non-interactively, it is also possible to execute
27
32
  ```sh
28
- npx sap-ux generate adaptation-project --id my.adp --reference the.original.app --url http://my.sapsystem.example
33
+ sap-ux generate adaptation-project --id my.adp --reference the.original.app --url http://my.sapsystem.example
29
34
  ```
30
35
  Additional options are `--skip-install` to skip running `npm install` after the project generation and `--simulate` to only simulate the files that would be generated instead of writing them to the file system.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/create",
3
3
  "description": "SAP Fiori tools module to add or remove features",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -31,7 +31,7 @@
31
31
  "prompts": "2.4.2",
32
32
  "@sap-ux/adp-tooling": "0.1.1",
33
33
  "@sap-ux/app-config-writer": "0.1.4",
34
- "@sap-ux/cap-config-writer": "0.1.11",
34
+ "@sap-ux/cap-config-writer": "0.1.12",
35
35
  "@sap-ux/logger": "0.3.7",
36
36
  "@sap-ux/mockserver-config-writer": "0.1.7",
37
37
  "@sap-ux/project-access": "1.11.0"