@npm_akash/rn-package-installer 1.0.4 → 1.0.6
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 +15 -8
- package/bin/cli.js +5 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,11 @@ An interactive CLI tool to quickly install commonly used **React** and **React N
|
|
|
4
4
|
|
|
5
5
|
No more remembering package names or running multiple install commands — just select and install 🎯
|
|
6
6
|
|
|
7
|
+
## Disclaimer
|
|
8
|
+
|
|
9
|
+
This tool does not claim ownership of any installed packages.
|
|
10
|
+
All third-party packages belong to their respective authors and licenses.
|
|
11
|
+
|
|
7
12
|
---
|
|
8
13
|
|
|
9
14
|
## ✨ Features
|
|
@@ -29,7 +34,7 @@ npx @npm_akash/rn-package-installer
|
|
|
29
34
|
## You’ll see an interactive flow like this:
|
|
30
35
|
|
|
31
36
|
🚀 RN Package Installer
|
|
32
|
-
|
|
37
|
+
```
|
|
33
38
|
? Select packages to install (Use space to select)
|
|
34
39
|
❯ ◯ axios
|
|
35
40
|
◯ moment
|
|
@@ -41,6 +46,7 @@ npx @npm_akash/rn-package-installer
|
|
|
41
46
|
|
|
42
47
|
Installing packages using npm...
|
|
43
48
|
✔ Done!
|
|
49
|
+
```
|
|
44
50
|
|
|
45
51
|
## 🧠 How it works
|
|
46
52
|
|
|
@@ -53,19 +59,20 @@ Detects your project environment
|
|
|
53
59
|
|
|
54
60
|
## 📁 Supported Package Managers
|
|
55
61
|
|
|
56
|
-
✅ npm
|
|
57
|
-
✅ yarn
|
|
62
|
+
- ✅ npm
|
|
63
|
+
- ✅ yarn
|
|
58
64
|
|
|
59
65
|
|
|
60
|
-
##
|
|
66
|
+
## 📜 No-Claim Policy
|
|
61
67
|
|
|
62
|
-
|
|
68
|
+
`@npm_akash/rn-package-installer` is an independent utility tool.
|
|
63
69
|
|
|
64
|
-
This
|
|
70
|
+
- This project does **not own, control, or maintain** any third-party packages it installs.
|
|
71
|
+
- All trademarks, package names, and copyrights belong to their respective owners.
|
|
72
|
+
- The CLI acts only as an **installer and helper**, executing the official package manager commands (`npm` / `yarn`).
|
|
65
73
|
|
|
66
|
-
|
|
74
|
+
Use of any installed package is governed by the **original package license and terms**.
|
|
67
75
|
|
|
68
|
-
npx @npm_akash/rn-package-installer
|
|
69
76
|
|
|
70
77
|
|
|
71
78
|
## 📄 License
|
package/bin/cli.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
1
3
|
import chalk from "chalk";
|
|
2
4
|
import { getUserChoices } from "../src/prompts.js";
|
|
3
5
|
import { installPackages } from "../src/installer.js";
|
|
@@ -10,20 +12,15 @@ console.log(chalk.cyan.bold("\n🚀 RN Package Installer\n"));
|
|
|
10
12
|
await getUserChoices();
|
|
11
13
|
|
|
12
14
|
if (!selectedPackages || selectedPackages.length === 0) {
|
|
13
|
-
console.log(
|
|
15
|
+
console.log("No packages selected. Exiting.");
|
|
14
16
|
return;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
await installPackages(selectedPackages, packageManager);
|
|
18
20
|
|
|
19
|
-
console.log(
|
|
20
|
-
chalk.green.bold("\n✔ Packages installation complete!\n")
|
|
21
|
-
);
|
|
21
|
+
console.log(chalk.green("\n✔ Packages installation complete!\n"));
|
|
22
22
|
} catch (err) {
|
|
23
|
-
console.error(
|
|
24
|
-
chalk.red("\n❌ Error occurred:\n"),
|
|
25
|
-
err?.message || err
|
|
26
|
-
);
|
|
23
|
+
console.error("❌ Error:", err?.message || err);
|
|
27
24
|
process.exit(1);
|
|
28
25
|
}
|
|
29
26
|
})();
|