@navneet_25/tempjs 1.0.1 → 1.0.2
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 +10 -3
- package/cli/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,8 +5,8 @@ A single repository containing multiple website project templates, plus a small
|
|
|
5
5
|
## Quick start
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
# Install the CLI globally
|
|
9
|
-
npm install -g tempjs
|
|
8
|
+
# Install the CLI globally
|
|
9
|
+
npm install -g @navneet_25/tempjs
|
|
10
10
|
|
|
11
11
|
# Create a new project
|
|
12
12
|
mkdir hotel-client
|
|
@@ -79,10 +79,17 @@ When templates exist locally under `templates/`, the CLI uses them directly (fas
|
|
|
79
79
|
|
|
80
80
|
### Global install (npm)
|
|
81
81
|
|
|
82
|
+
To install the CLI for the first time:
|
|
82
83
|
```bash
|
|
83
|
-
npm install -g tempjs
|
|
84
|
+
npm install -g @navneet_25/tempjs
|
|
84
85
|
```
|
|
85
86
|
|
|
87
|
+
To update an existing installation to the absolute latest version (bypassing local NPM caches):
|
|
88
|
+
```bash
|
|
89
|
+
npm install -g @navneet_25/tempjs@latest
|
|
90
|
+
```
|
|
91
|
+
*Use the `@latest` flag when you have recently pushed a new template or updated configuration, to ensure NPM fetches the updated `templates.json` mapping configuration immediately.*
|
|
92
|
+
|
|
86
93
|
### From this repository
|
|
87
94
|
|
|
88
95
|
```bash
|
package/cli/index.js
CHANGED