You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ Examples:
98
98
99
99
#### serve
100
100
101
-
`ui5 serve [options]` starts a webserver for the current project.
101
+
`ui5 serve [options]` starts a web server for the current project.
102
102
103
103
```
104
104
Options:
@@ -125,7 +125,7 @@ Examples:
125
125
126
126
#### tree
127
127
128
-
`ui5 tree [options]` outputs the dependency tree of the current project to _stdout_. It takes all relevant parameters of ui5 build into account.
128
+
`ui5 tree [options]` outputs the dependency tree of the current project to _stdout_. It takes all relevant parameters of `ui5 build` into account.
129
129
130
130
```
131
131
Options:
@@ -159,7 +159,7 @@ Options:
159
159
160
160
#### versions
161
161
162
-
`ui5 versions [options]`show the versions of all UI5 Build and Development Tooling packages.
162
+
`ui5 versions [options]`shows the versions of all UI5 Build and Development Tooling packages.
163
163
164
164
```
165
165
Options:
@@ -174,16 +174,16 @@ Options:
174
174
175
175
### Local vs. Global Installation
176
176
177
-
In generala global installation of the UI5 CLI (`npm install --global @ui5/cli`) is recommended.
177
+
In general, we recommend a global installation of the UI5 CLI (`npm install --global @ui5/cli`).
178
178
179
-
However, it makes sense to add the UI5 CLI as a [devDependency](https://docs.npmjs.com/files/package.json#devdependencies) (`npm install --save-dev @ui5/cli`) for a project that is using `ui5`-commands in its build or test scripts or otherwise depends on the UI5 CLI for development workflows (like Continuous Integration).
179
+
However, it makes sense to add the UI5 CLI as a [devDependency](https://docs.npmjs.com/files/package.json#devdependencies) (`npm install --save-dev @ui5/cli`) for a project that is using `ui5`commands in its build or test scripts or otherwise depends on the UI5 CLI for development workflows (like continuous integration).
180
180
181
181
In case you have both, a local installation in one of your projects as well as a global installation, the UI5 CLI will always try to invoke the local installation. This is in part because [npm scripts](https://docs.npmjs.com/misc/scripts) defined in your `package.json` will also always invoke the local installation.
182
182
183
183
This behavior can be disabled by setting the environment variable `UI5_CLI_NO_LOCAL`.
184
184
185
185
**Example**
186
-
You have a project located at `/my-application`. The project has a devDependency to `@ui5/cli` and defines a start-script `"ui5 serve"`.
186
+
You have a project located at `/my-application`. The project has a devDependency to `@ui5/cli` and defines the startscript `"ui5 serve"`.
187
187
188
188
| Current Working Directory | Command | Uses globally installed UI5 CLI | Uses locally installed UI5 CLI |
0 commit comments