@valuerail/cli 1.0.0-beta.9 → 1.0.0
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 +53 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# @valuerail/cli
|
|
2
|
+
|
|
3
|
+
The official CLI for ValueRail - a powerful framework for building modern applications.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @valuerail/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run directly with npx:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx -y @valuerail/cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
After installation, run the CLI:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
vrail
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This will open an interactive dashboard where you can:
|
|
26
|
+
|
|
27
|
+
- 🚀 **Initialize New Project** - Create a new ValueRail project
|
|
28
|
+
- 🧩 **Add Module** - Add modules to your project
|
|
29
|
+
- 🏷️ **Generate Resource** - Generate resources and boilerplate
|
|
30
|
+
- 🩺 **System Doctor** - Check your system configuration
|
|
31
|
+
- 🔐 **Manage Secrets** - Manage project secrets
|
|
32
|
+
|
|
33
|
+
## Navigation
|
|
34
|
+
|
|
35
|
+
- Use **Arrow Keys** to navigate menus
|
|
36
|
+
- Press **Tab** to switch between header and content
|
|
37
|
+
- Press **ESC** to go back or access exit confirmation
|
|
38
|
+
- Press **Enter** to select an option
|
|
39
|
+
|
|
40
|
+
## Requirements
|
|
41
|
+
|
|
42
|
+
- Node.js 18+
|
|
43
|
+
- macOS, Linux, or Windows
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
BUSL-1.1 - See [LICENSE](https://github.com/kamilguszpit/valuerail/blob/main/LICENSE) for details.
|
|
48
|
+
|
|
49
|
+
## Author
|
|
50
|
+
|
|
51
|
+
**Kamil Guszpit**
|
|
52
|
+
|
|
53
|
+
- GitHub: [@kamilguszpit](https://github.com/kamilguszpit)
|
package/dist/index.js
CHANGED
|
@@ -48675,7 +48675,7 @@ var import_react22 = __toESM(require_react(), 1);
|
|
|
48675
48675
|
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
48676
48676
|
var TABS = [
|
|
48677
48677
|
{ id: "dashboard", label: "Dashboard" },
|
|
48678
|
-
{ id: "npm", label: "NPM", url: "https://www.npmjs.com/package/
|
|
48678
|
+
{ id: "npm", label: "NPM", url: "https://www.npmjs.com/package/@valuerail/cli" },
|
|
48679
48679
|
{ id: "repo", label: "Repo", url: "https://github.com/kamilguszpit/valuerail" },
|
|
48680
48680
|
{ id: "license", label: "License" },
|
|
48681
48681
|
{ id: "author", label: "Author" }
|
|
@@ -49025,7 +49025,7 @@ function Banner({ hideStatus = false }) {
|
|
|
49025
49025
|
const isVrailProject = hasVrailConfig();
|
|
49026
49026
|
const [version, setVersion] = import_react26.useState("v0.0.1");
|
|
49027
49027
|
import_react26.useEffect(() => {
|
|
49028
|
-
const v =
|
|
49028
|
+
const v = "1.0.0";
|
|
49029
49029
|
setVersion(v);
|
|
49030
49030
|
}, []);
|
|
49031
49031
|
return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
|
|
@@ -50620,7 +50620,7 @@ function App2() {
|
|
|
50620
50620
|
}, undefined, false, undefined, this),
|
|
50621
50621
|
currentView === "npm" && /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(ExternalLink, {
|
|
50622
50622
|
label: "NPM Registry",
|
|
50623
|
-
url: "https://www.npmjs.com/package/
|
|
50623
|
+
url: "https://www.npmjs.com/package/@valuerail/cli",
|
|
50624
50624
|
onBack: goToHeader
|
|
50625
50625
|
}, undefined, false, undefined, this),
|
|
50626
50626
|
currentView === "repo" && /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(ExternalLink, {
|
|
@@ -50637,7 +50637,7 @@ function App2() {
|
|
|
50637
50637
|
onExit: handleExit
|
|
50638
50638
|
}, undefined, false, undefined, this),
|
|
50639
50639
|
currentView === "goodbye" && /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(GoodbyeView, {
|
|
50640
|
-
version:
|
|
50640
|
+
version: "1.0.0",
|
|
50641
50641
|
cwd: process.cwd(),
|
|
50642
50642
|
isVrailProject: hasVrailConfig2()
|
|
50643
50643
|
}, undefined, false, undefined, this)
|