@valuerail/cli 1.2.0-beta.3 → 1.2.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/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.2.0
|
|
50668
|
+
const v = "1.2.0";
|
|
50669
50669
|
setVersion(v);
|
|
50670
50670
|
}, []);
|
|
50671
50671
|
return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
|
|
@@ -52783,7 +52783,7 @@ function App2() {
|
|
|
52783
52783
|
onBack: goToDashboard
|
|
52784
52784
|
}, undefined, false, undefined, this),
|
|
52785
52785
|
currentView === "goodbye" && /* @__PURE__ */ jsx_dev_runtime11.jsxDEV(GoodbyeView, {
|
|
52786
|
-
version: "1.2.0
|
|
52786
|
+
version: "1.2.0",
|
|
52787
52787
|
cwd: process.cwd(),
|
|
52788
52788
|
isVrailProject: hasVrailConfig2()
|
|
52789
52789
|
}, undefined, false, undefined, this)
|
|
@@ -52821,7 +52821,7 @@ var showHelp = () => {
|
|
|
52821
52821
|
`);
|
|
52822
52822
|
};
|
|
52823
52823
|
var showVersion = () => {
|
|
52824
|
-
console.log("1.2.0
|
|
52824
|
+
console.log("1.2.0");
|
|
52825
52825
|
};
|
|
52826
52826
|
if (command === "help" || command === "--help" || command === "-h") {
|
|
52827
52827
|
showHelp();
|
package/package.json
CHANGED
|
@@ -5,23 +5,27 @@
|
|
|
5
5
|
"": {
|
|
6
6
|
"name": "nextjs",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"next": "
|
|
9
|
-
"react": "
|
|
10
|
-
"react-dom": "
|
|
8
|
+
"next": "16.1.6",
|
|
9
|
+
"react": "19.2.3",
|
|
10
|
+
"react-dom": "19.2.3",
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@tailwindcss/postcss": "^4
|
|
14
|
-
"@types/node": "^20
|
|
15
|
-
"@types/react": "^19
|
|
16
|
-
"@types/react-dom": "^19
|
|
13
|
+
"@tailwindcss/postcss": "^4",
|
|
14
|
+
"@types/node": "^20",
|
|
15
|
+
"@types/react": "^19",
|
|
16
|
+
"@types/react-dom": "^19",
|
|
17
17
|
"babel-plugin-react-compiler": "1.0.0",
|
|
18
|
-
"eslint": "^9
|
|
19
|
-
"eslint-config-next": "
|
|
20
|
-
"tailwindcss": "^4
|
|
21
|
-
"typescript": "^5
|
|
18
|
+
"eslint": "^9",
|
|
19
|
+
"eslint-config-next": "16.1.6",
|
|
20
|
+
"tailwindcss": "^4",
|
|
21
|
+
"typescript": "^5",
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
|
+
"trustedDependencies": [
|
|
26
|
+
"sharp",
|
|
27
|
+
"unrs-resolver",
|
|
28
|
+
],
|
|
25
29
|
"packages": {
|
|
26
30
|
"@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="],
|
|
27
31
|
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import { useEffect } from 'react'
|
|
4
|
-
|
|
5
|
-
const ASCII_ERROR = ` ___ ___ ___ ___ ___
|
|
6
|
-
| __| | _ \\ | _ \\ | _ \\ | _ \\
|
|
7
|
-
| _| | / | / | (_) || /
|
|
8
|
-
|___| |_|_\\ |_|_\\ \\___/ |_|_\\`;
|
|
9
|
-
|
|
10
|
-
export default function Error({
|
|
11
|
-
error,
|
|
12
|
-
reset,
|
|
13
|
-
}: {
|
|
14
|
-
error: Error & { digest?: string }
|
|
15
|
-
reset: () => void
|
|
16
|
-
}) {
|
|
17
|
-
useEffect(() => {
|
|
18
|
-
console.error(error)
|
|
19
|
-
}, [error])
|
|
20
|
-
|
|
21
|
-
return (
|
|
22
|
-
<main className="min-h-screen flex flex-col items-center justify-center px-6 py-12 text-center">
|
|
23
|
-
<div className="space-y-6">
|
|
24
|
-
<pre
|
|
25
|
-
className="font-bold inline-block text-[10px] sm:text-xs md:text-sm leading-none"
|
|
26
|
-
style={{
|
|
27
|
-
backgroundImage: 'linear-gradient(to right, #FF5F6D, #FFC371)',
|
|
28
|
-
WebkitBackgroundClip: 'text',
|
|
29
|
-
WebkitTextFillColor: 'transparent',
|
|
30
|
-
backgroundClip: 'text',
|
|
31
|
-
color: 'transparent'
|
|
32
|
-
}}
|
|
33
|
-
>
|
|
34
|
-
{ASCII_ERROR}
|
|
35
|
-
</pre>
|
|
36
|
-
<h2 className="text-[#ededed] text-xl font-semibold">Something went wrong!</h2>
|
|
37
|
-
<div className="pt-0">
|
|
38
|
-
<button
|
|
39
|
-
onClick={
|
|
40
|
-
// Attempt to recover by trying to re-render the segment
|
|
41
|
-
() => reset()
|
|
42
|
-
}
|
|
43
|
-
className="inline-block px-6 py-2 rounded-lg border border-[#333] hover:border-[#CD6052] text-[#666] hover:text-[#CD6052] text-sm transition-colors"
|
|
44
|
-
>
|
|
45
|
-
Try again
|
|
46
|
-
</button>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</main>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import './globals.css'
|
|
4
|
-
|
|
5
|
-
const ASCII_ERROR = ` ___ ___ ___ ___ ___
|
|
6
|
-
| __| | _ \\ | _ \\ | _ \\ | _ \\
|
|
7
|
-
| _| | / | / | (_) || /
|
|
8
|
-
|___| |_|_\\ |_|_\\ \\___/ |_|_\\`;
|
|
9
|
-
|
|
10
|
-
export default function GlobalError({
|
|
11
|
-
error,
|
|
12
|
-
reset,
|
|
13
|
-
}: {
|
|
14
|
-
error: Error & { digest?: string }
|
|
15
|
-
reset: () => void
|
|
16
|
-
}) {
|
|
17
|
-
return (
|
|
18
|
-
<html>
|
|
19
|
-
<body className="bg-[#0a0a0a] text-[#ededed] font-mono">
|
|
20
|
-
<main className="min-h-screen flex flex-col items-center justify-center px-6 py-12 text-center">
|
|
21
|
-
<div className="space-y-6">
|
|
22
|
-
<pre
|
|
23
|
-
className="font-bold inline-block text-[10px] sm:text-xs md:text-sm leading-none"
|
|
24
|
-
style={{
|
|
25
|
-
backgroundImage: 'linear-gradient(to right, #FF5F6D, #FFC371)',
|
|
26
|
-
WebkitBackgroundClip: 'text',
|
|
27
|
-
WebkitTextFillColor: 'transparent',
|
|
28
|
-
backgroundClip: 'text',
|
|
29
|
-
color: 'transparent'
|
|
30
|
-
}}
|
|
31
|
-
>
|
|
32
|
-
{ASCII_ERROR}
|
|
33
|
-
</pre>
|
|
34
|
-
<h2 className="text-[#ededed] text-xl font-semibold">Something went wrong!</h2>
|
|
35
|
-
<div className="pt-0">
|
|
36
|
-
<button
|
|
37
|
-
onClick={() => reset()}
|
|
38
|
-
className="inline-block px-6 py-2 rounded-lg border border-[#333] hover:border-[#CD6052] text-[#666] hover:text-[#CD6052] text-sm transition-colors"
|
|
39
|
-
>
|
|
40
|
-
Try again
|
|
41
|
-
</button>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</main>
|
|
45
|
-
</body>
|
|
46
|
-
</html>
|
|
47
|
-
)
|
|
48
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import Link from 'next/link'
|
|
2
|
-
|
|
3
|
-
const ASCII_404 = ` _ _ ___ _ _
|
|
4
|
-
| || | / _ \\ | || |
|
|
5
|
-
| || |_| (_) || || |_
|
|
6
|
-
|__ _|\\___/ |__ _|
|
|
7
|
-
|_| |_| `;
|
|
8
|
-
|
|
9
|
-
export default function NotFound() {
|
|
10
|
-
return (
|
|
11
|
-
<main className="min-h-screen flex flex-col items-center justify-center px-6 py-12 text-center">
|
|
12
|
-
<div className="space-y-6">
|
|
13
|
-
<pre
|
|
14
|
-
className="font-bold inline-block text-[10px] sm:text-xs md:text-sm leading-none"
|
|
15
|
-
style={{
|
|
16
|
-
backgroundImage: 'linear-gradient(to right, #FF5F6D, #FFC371)',
|
|
17
|
-
WebkitBackgroundClip: 'text',
|
|
18
|
-
WebkitTextFillColor: 'transparent',
|
|
19
|
-
backgroundClip: 'text',
|
|
20
|
-
color: 'transparent'
|
|
21
|
-
}}
|
|
22
|
-
>
|
|
23
|
-
{ASCII_404}
|
|
24
|
-
</pre>
|
|
25
|
-
<h2 className="text-[#ededed] text-xl font-semibold">Page Not Found</h2>
|
|
26
|
-
<p className="text-[#666] text-sm">Could not find requested resource</p>
|
|
27
|
-
<div className="pt-0">
|
|
28
|
-
<Link
|
|
29
|
-
href="/"
|
|
30
|
-
className="inline-block px-6 py-2 rounded-lg border border-[#333] hover:border-[#CD6052] text-[#666] hover:text-[#CD6052] text-sm transition-colors"
|
|
31
|
-
>
|
|
32
|
-
Return Home
|
|
33
|
-
</Link>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</main>
|
|
37
|
-
)
|
|
38
|
-
}
|