@valuerail/cli 1.1.0 → 1.1.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/dist/index.js +2 -2
- package/package.json +3 -2
- package/templates/nextjs/README.md +43 -0
- package/templates/nextjs/bun.lock +894 -0
- package/templates/nextjs/eslint.config.mjs +16 -0
- package/templates/nextjs/next.config.ts +7 -0
- package/templates/nextjs/package.json +27 -0
- package/templates/nextjs/postcss.config.mjs +7 -0
- package/templates/nextjs/src/app/globals.css +55 -0
- package/templates/nextjs/src/app/layout.tsx +19 -0
- package/templates/nextjs/src/app/page.tsx +83 -0
- package/templates/nextjs/tsconfig.json +34 -0
package/dist/index.js
CHANGED
|
@@ -50665,7 +50665,7 @@ function Banner({ hideStatus = false }) {
|
|
|
50665
50665
|
const isVrailProject = hasVrailConfig();
|
|
50666
50666
|
const [version, setVersion] = import_react26.useState("v0.0.1");
|
|
50667
50667
|
import_react26.useEffect(() => {
|
|
50668
|
-
const v = "1.1.
|
|
50668
|
+
const v = "1.1.1";
|
|
50669
50669
|
setVersion(v);
|
|
50670
50670
|
}, []);
|
|
50671
50671
|
return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
|
|
@@ -52769,7 +52769,7 @@ function App2() {
|
|
|
52769
52769
|
onBack: goToDashboard
|
|
52770
52770
|
}, undefined, false, undefined, this),
|
|
52771
52771
|
currentView === "goodbye" && /* @__PURE__ */ jsx_dev_runtime11.jsxDEV(GoodbyeView, {
|
|
52772
|
-
version: "1.1.
|
|
52772
|
+
version: "1.1.1",
|
|
52773
52773
|
cwd: process.cwd(),
|
|
52774
52774
|
isVrailProject: hasVrailConfig2()
|
|
52775
52775
|
}, undefined, false, undefined, this)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valuerail/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"author": "Kamil Guszpit",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
-
"fonts"
|
|
15
|
+
"fonts",
|
|
16
|
+
"templates"
|
|
16
17
|
],
|
|
17
18
|
"scripts": {
|
|
18
19
|
"dev": "CLI_VERSION=$(bun -e 'console.log(require(\"./package.json\").version)') bun --watch run src/index.tsx",
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# {{PROJECT_NAME}}
|
|
2
|
+
|
|
3
|
+
Created with [ValueRail CLI](https://www.npmjs.com/package/@valuerail/cli).
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun dev
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Open [http://localhost:3000](http://localhost:3000) to see your application.
|
|
12
|
+
|
|
13
|
+
## CLI Commands
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
vrail add module # Add modules to your project
|
|
17
|
+
vrail generate # Generate components and pages
|
|
18
|
+
vrail doctor # Check system configuration
|
|
19
|
+
vrail secrets # Manage project secrets
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Project Structure
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
├── src/
|
|
26
|
+
│ ├── app/
|
|
27
|
+
│ │ ├── layout.tsx # Root layout
|
|
28
|
+
│ │ ├── page.tsx # Home page
|
|
29
|
+
│ │ └── globals.css # Global styles
|
|
30
|
+
│ └── components/ # Your components
|
|
31
|
+
├── public/ # Static assets
|
|
32
|
+
└── next.config.ts # Next.js config
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Learn More
|
|
36
|
+
|
|
37
|
+
- [ValueRail Docs](https://valuerail.dev/docs)
|
|
38
|
+
- [Next.js Docs](https://nextjs.org/docs)
|
|
39
|
+
- [Tailwind CSS](https://tailwindcss.com/docs)
|
|
40
|
+
|
|
41
|
+
## Deploy
|
|
42
|
+
|
|
43
|
+
Deploy to Vercel, Netlify, or any Node.js hosting platform.
|