@jatinmourya/ng-init 1.0.0 → 1.0.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/IMPLEMENTATION_SUMMARY.md +2 -2
- package/INSTALLATION.md +12 -12
- package/PROJECT_DOCUMENTATION.md +2 -2
- package/QUICK_START.md +3 -3
- package/README.md +3 -3
- package/package.json +56 -56
|
@@ -337,13 +337,13 @@ ng-init/
|
|
|
337
337
|
|
|
338
338
|
### Global Installation
|
|
339
339
|
```bash
|
|
340
|
-
npm install -g ng-init
|
|
340
|
+
npm install -g @jatinmourya/ng-init
|
|
341
341
|
ng-init
|
|
342
342
|
```
|
|
343
343
|
|
|
344
344
|
### With npx
|
|
345
345
|
```bash
|
|
346
|
-
npx ng-init
|
|
346
|
+
npx @jatinmourya/ng-init
|
|
347
347
|
```
|
|
348
348
|
|
|
349
349
|
## ✨ Features Not in Original Spec (Bonus)
|
package/INSTALLATION.md
CHANGED
|
@@ -22,7 +22,7 @@ Before installing, ensure you have:
|
|
|
22
22
|
Install the package globally to use `ng-init` command anywhere:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npm install -g ng-init
|
|
25
|
+
npm install -g @jatinmourya/ng-init
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Verify installation:
|
|
@@ -35,7 +35,7 @@ ng-init --version
|
|
|
35
35
|
Run without installing:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
npx ng-init
|
|
38
|
+
npx @jatinmourya/ng-init
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
This downloads and runs the latest version temporarily.
|
|
@@ -89,7 +89,7 @@ nvm version
|
|
|
89
89
|
|
|
90
90
|
#### Install Angular Project Automator
|
|
91
91
|
```bash
|
|
92
|
-
npm install -g ng-init
|
|
92
|
+
npm install -g @jatinmourya/ng-init
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
### macOS
|
|
@@ -111,7 +111,7 @@ npm install -g ng-init
|
|
|
111
111
|
|
|
112
112
|
#### Install Angular Project Automator
|
|
113
113
|
```bash
|
|
114
|
-
npm install -g ng-init
|
|
114
|
+
npm install -g @jatinmourya/ng-init
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
### Linux
|
|
@@ -139,9 +139,9 @@ nvm install --lts
|
|
|
139
139
|
|
|
140
140
|
#### Install Angular Project Automator
|
|
141
141
|
```bash
|
|
142
|
-
npm install -g ng-init
|
|
142
|
+
npm install -g @jatinmourya/ng-init
|
|
143
143
|
# or with sudo if needed
|
|
144
|
-
sudo npm install -g ng-init
|
|
144
|
+
sudo npm install -g @jatinmourya/ng-init
|
|
145
145
|
```
|
|
146
146
|
|
|
147
147
|
## ✅ Verify Installation
|
|
@@ -171,14 +171,14 @@ Ensure this path is in your system PATH.
|
|
|
171
171
|
|
|
172
172
|
**Solution 2**: Use npx instead
|
|
173
173
|
```bash
|
|
174
|
-
npx ng-init
|
|
174
|
+
npx @jatinmourya/ng-init
|
|
175
175
|
```
|
|
176
176
|
|
|
177
177
|
### Issue: Permission denied (Linux/macOS)
|
|
178
178
|
|
|
179
179
|
**Solution 1**: Use sudo
|
|
180
180
|
```bash
|
|
181
|
-
sudo npm install -g ng-init
|
|
181
|
+
sudo npm install -g @jatinmourya/ng-init
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
**Solution 2**: Fix npm permissions (recommended)
|
|
@@ -187,7 +187,7 @@ mkdir ~/.npm-global
|
|
|
187
187
|
npm config set prefix '~/.npm-global'
|
|
188
188
|
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
|
|
189
189
|
source ~/.bashrc
|
|
190
|
-
npm install -g ng-init
|
|
190
|
+
npm install -g @jatinmourya/ng-init
|
|
191
191
|
```
|
|
192
192
|
|
|
193
193
|
### Issue: Node version too old
|
|
@@ -206,12 +206,12 @@ nvm use --lts
|
|
|
206
206
|
**Solution 1**: Clear npm cache
|
|
207
207
|
```bash
|
|
208
208
|
npm cache clean --force
|
|
209
|
-
npm install -g ng-init
|
|
209
|
+
npm install -g @jatinmourya/ng-init
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
**Solution 2**: Use different registry
|
|
213
213
|
```bash
|
|
214
|
-
npm install -g ng-init --registry https://registry.npmjs.org/
|
|
214
|
+
npm install -g @jatinmourya/ng-init --registry https://registry.npmjs.org/
|
|
215
215
|
```
|
|
216
216
|
|
|
217
217
|
### Issue: Windows long path errors
|
|
@@ -226,7 +226,7 @@ New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name
|
|
|
226
226
|
|
|
227
227
|
### Update to Latest Version
|
|
228
228
|
```bash
|
|
229
|
-
npm update -g ng-init
|
|
229
|
+
npm update -g @jatinmourya/ng-init
|
|
230
230
|
```
|
|
231
231
|
|
|
232
232
|
### Check Current Version
|
package/PROJECT_DOCUMENTATION.md
CHANGED
package/QUICK_START.md
CHANGED
|
@@ -7,13 +7,13 @@ Get started with Angular Project Automator in minutes!
|
|
|
7
7
|
### Option 1: Global Installation (Recommended)
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g ng-init
|
|
10
|
+
npm install -g @jatinmourya/ng-init
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### Option 2: Use with npx (No installation needed)
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx ng-init
|
|
16
|
+
npx @jatinmourya/ng-init
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## 🚀 Create Your First Project
|
|
@@ -173,7 +173,7 @@ The CLI uses `npx @angular/cli` so you don't need Angular CLI globally installed
|
|
|
173
173
|
|
|
174
174
|
### "Permission denied" (Linux/macOS)
|
|
175
175
|
```bash
|
|
176
|
-
sudo npm install -g ng-init
|
|
176
|
+
sudo npm install -g @jatinmourya/ng-init
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
## 💡 Pro Tips
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A comprehensive command-line interface (CLI) tool designed to automate and streamline the initialization of Angular projects with intelligent version management, interactive library search, and comprehensive prerequisite handling.
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/ng-init)
|
|
5
|
+
[](https://www.npmjs.com/package/@jatinmourya/ng-init)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
8
|
## ✨ Features
|
|
@@ -86,13 +86,13 @@ A comprehensive command-line interface (CLI) tool designed to automate and strea
|
|
|
86
86
|
### Global Installation (Recommended)
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
|
-
npm install -g ng-init
|
|
89
|
+
npm install -g @jatinmourya/ng-init
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
### Or use with npx (no installation)
|
|
93
93
|
|
|
94
94
|
```bash
|
|
95
|
-
npx ng-init
|
|
95
|
+
npx @jatinmourya/ng-init
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
## 📖 Usage
|
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jatinmourya/ng-init",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "src/index.js",
|
|
5
|
-
"description": "A comprehensive CLI tool to automate Angular project initialization with intelligent version management and prerequisite handling",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"start": "node src/index.js"
|
|
9
|
-
},
|
|
10
|
-
"type": "module",
|
|
11
|
-
"bin": {
|
|
12
|
-
"ng-init": "./src/index.js"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"angular",
|
|
16
|
-
"cli",
|
|
17
|
-
"automation",
|
|
18
|
-
"project-generator",
|
|
19
|
-
"angular-cli",
|
|
20
|
-
"scaffolding",
|
|
21
|
-
"nvm",
|
|
22
|
-
"node-version",
|
|
23
|
-
"npm",
|
|
24
|
-
"interactive",
|
|
25
|
-
"project-setup",
|
|
26
|
-
"boilerplate",
|
|
27
|
-
"template",
|
|
28
|
-
"angular-project",
|
|
29
|
-
"development-tools"
|
|
30
|
-
],
|
|
31
|
-
"author": "jatinmourya",
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"repository": {
|
|
34
|
-
"type": "git",
|
|
35
|
-
"url": "https://github.com/jatinmourya/ng-init.git"
|
|
36
|
-
},
|
|
37
|
-
"bugs": {
|
|
38
|
-
"url": "https://github.com/jatinmourya/ng-init/issues"
|
|
39
|
-
},
|
|
40
|
-
"homepage": "https://github.com/jatinmourya/ng-init#readme",
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"@inquirer/prompts": "^7.10.1",
|
|
43
|
-
"axios": "^1.6.5",
|
|
44
|
-
"chalk": "^5.3.0",
|
|
45
|
-
"commander": "^13.1.0",
|
|
46
|
-
"execa": "^9.6.1",
|
|
47
|
-
"inquirer": "^9.2.12",
|
|
48
|
-
"inquirer-autocomplete-prompt": "^3.0.1",
|
|
49
|
-
"lodash.debounce": "^4.0.8",
|
|
50
|
-
"ora": "^8.0.1",
|
|
51
|
-
"semver": "^7.5.4"
|
|
52
|
-
},
|
|
53
|
-
"engines": {
|
|
54
|
-
"node": ">=18.0.0"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jatinmourya/ng-init",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"main": "src/index.js",
|
|
5
|
+
"description": "A comprehensive CLI tool to automate Angular project initialization with intelligent version management and prerequisite handling",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"start": "node src/index.js"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"bin": {
|
|
12
|
+
"ng-init": "./src/index.js"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"angular",
|
|
16
|
+
"cli",
|
|
17
|
+
"automation",
|
|
18
|
+
"project-generator",
|
|
19
|
+
"angular-cli",
|
|
20
|
+
"scaffolding",
|
|
21
|
+
"nvm",
|
|
22
|
+
"node-version",
|
|
23
|
+
"npm",
|
|
24
|
+
"interactive",
|
|
25
|
+
"project-setup",
|
|
26
|
+
"boilerplate",
|
|
27
|
+
"template",
|
|
28
|
+
"angular-project",
|
|
29
|
+
"development-tools"
|
|
30
|
+
],
|
|
31
|
+
"author": "jatinmourya",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/jatinmourya/ng-init.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/jatinmourya/ng-init/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/jatinmourya/ng-init#readme",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@inquirer/prompts": "^7.10.1",
|
|
43
|
+
"axios": "^1.6.5",
|
|
44
|
+
"chalk": "^5.3.0",
|
|
45
|
+
"commander": "^13.1.0",
|
|
46
|
+
"execa": "^9.6.1",
|
|
47
|
+
"inquirer": "^9.2.12",
|
|
48
|
+
"inquirer-autocomplete-prompt": "^3.0.1",
|
|
49
|
+
"lodash.debounce": "^4.0.8",
|
|
50
|
+
"ora": "^8.0.1",
|
|
51
|
+
"semver": "^7.5.4"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=18.0.0"
|
|
55
|
+
}
|
|
56
|
+
}
|