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
1. Path to the angular project relative to workspace
326
+
1. Path to the angular project, relative to workspace
327
327
2. (Optional) Custom output directory.
328
328
#### example
329
329
buildNg("exampleAngularProject")
@@ -364,6 +364,7 @@ Available attributes in the json objects:
364
364
2. content: Plain text to be displayed in the Katacoda step. This Text should be following the formating of asciidoc files.
365
365
3. image: Path to an image to be displayed in the Katacoda step.
366
366
367
+
367
368
#### Formatting rules for content and .asciidoc or .txt files.
368
369
* You can add headers to structure your text. The generated headers are shown in the examples below. The headers should fit into the overall structure of the generated wiki so level 1 header are not allowed, but the other header can be used at your judgement.
369
370
* A list always needs an empty newline between the last row and the list.
The definition of each step of this tutorial can be found at https://github.com/devonfw-tutorials/tutorials/tree/main/<%= tutorialPath; %>. <% } %>
5
5
6
6
Feel free to report any errors to us or fix them yourself. Errors can be reported by creating an issue in the https://github.com/devonfw-tutorials/tutorials/issues[tutorials repository]. To fix the error fork the repository and create a pull request. Errors in the wiki can be reported and fixed in the https://github.com/devonfw-tutorials/tutorial-compiler[Tutorial-compiler repository].
7
7
You can find a description of what to look for when creating a pull request at the devonfw contribution guide: https://devonfw.com/website/pages/community/community.html#community.asciidoc_contributing-to-devonfw. If you want to create a tutorial you can start with the https://katacoda.com/devonfw/scenarios/create-your-own-tutorial[katacoda tutorial] and read the description for creating your own tutorials: https://github.com/devonfw-tutorials/tutorials/wiki/Development.
Copy file name to clipboardExpand all lines: runners/wikiConsole/templates/npmInstall.asciidoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ You can install the package <%= npmCommand.name; %><% if(!npmCommand.global){ %>
20
20
You need to be located in the project directory where the package.json file lies.
21
21
For this tutorial it is `<%= projectPath; %>`. You can either move there manually and open the terminal there or open the terminal and move there by executing `cd <%= projectPath; %>`.<% } %>
22
22
23
-
Now execute `npm install<% if(npmCommand.global){ %> -g<% } %><%= npmCommand.args; %> <%= npmCommand.name; %>` in the terminal.
23
+
Now execute `npm install<% if(npmCommand.global){ %> -g<% } %><% if(npmCommand.args){%> <%= npmCommand.args; %><% } %><%if(npmCommand.name){ %> <%= npmCommand.name; %><%}%>` in the terminal.
24
24
25
25
<% if(npmCommand.global){ %>Due to the argument '-g' the package will be installed globally.<% } %>
0 commit comments