@jahia/create-module 0.6.0 → 0.6.1
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 +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ This CLI scaffolds a new Jahia JavaScript module.
|
|
|
7
7
|
To create a new module, run:
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm init @jahia/module <module-name>
|
|
10
|
+
npm init @jahia/module@latest <module-name>
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
It creates a new JavaScript Module in a directory named `module-name` in the current working directory.
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ Upgrade guide: ${styleText("underline", "https://nodejs.org/en/download")}
|
|
|
26
26
|
console.error(
|
|
27
27
|
`No module name provided.
|
|
28
28
|
|
|
29
|
-
Usage: npm init @jahia/module ${styleText("blueBright", "<module-name>")}
|
|
29
|
+
Usage: npm init @jahia/module@latest ${styleText("blueBright", "<module-name>")}
|
|
30
30
|
|
|
31
31
|
It will create a new module at this location with the provided name:
|
|
32
32
|
|