@akanjs/cli 0.0.126 → 0.0.127
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/cjs/index.js +1 -1
- package/cjs/src/templates/app/app/[lang]/(__appName__)/(public)/page.js +5 -5
- package/cjs/src/templates/app/app/csr.js +1 -1
- package/cjs/src/templates/workspaceRoot/package.json.template +4 -0
- package/esm/index.js +1 -1
- package/esm/src/templates/app/app/[lang]/(__appName__)/(public)/page.js +5 -5
- package/esm/src/templates/app/app/csr.js +1 -1
- package/esm/src/templates/workspaceRoot/package.json.template +4 -0
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -6345,7 +6345,7 @@ var WorkspaceCommand = class {
|
|
|
6345
6345
|
__decorateClass([
|
|
6346
6346
|
Target.Public(),
|
|
6347
6347
|
__decorateParam(0, Option("name", { desc: "what is the name of your organization?" })),
|
|
6348
|
-
__decorateParam(1, Option("app", { desc: "describe your first application to create
|
|
6348
|
+
__decorateParam(1, Option("app", { desc: "describe your first application to create " })),
|
|
6349
6349
|
__decorateParam(2, Option("dir", { desc: "directory of workspace", default: process.env.USE_AKANJS_PKGS === "true" ? "local" : "." }))
|
|
6350
6350
|
], WorkspaceCommand.prototype, "createWorkspace", 1);
|
|
6351
6351
|
__decorateClass([
|
|
@@ -72,7 +72,7 @@ export default function Page() {
|
|
|
72
72
|
</button>
|
|
73
73
|
</div>
|
|
74
74
|
<div className="mb-16 rounded-lg bg-slate-800 p-8">
|
|
75
|
-
<h2 className="text-
|
|
75
|
+
<h2 className="text-gray-200 mb-6 text-center text-2xl font-bold">Quick Start</h2>
|
|
76
76
|
<div className="mockup-code">
|
|
77
77
|
<pre data-prefix="$">
|
|
78
78
|
<code className="text-success">npx create-akan-workspace</code>
|
|
@@ -89,7 +89,7 @@ export default function Page() {
|
|
|
89
89
|
<div className="card bg-slate-800">
|
|
90
90
|
<div className="card-body p-6 text-center">
|
|
91
91
|
<FaBook className="mx-auto mb-4 text-4xl text-purple-400" />
|
|
92
|
-
<h3 className="text-
|
|
92
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Documentation</h3>
|
|
93
93
|
<p className="mb-4 text-sm text-gray-400">Complete API guides and tutorials</p>
|
|
94
94
|
<button className="btn btn-sm w-full">Read Documentation</button>
|
|
95
95
|
</div>
|
|
@@ -97,7 +97,7 @@ export default function Page() {
|
|
|
97
97
|
<div className="card bg-slate-800">
|
|
98
98
|
<div className="card-body p-6 text-center">
|
|
99
99
|
<FaGraduationCap className="mx-auto mb-4 text-4xl text-blue-400" />
|
|
100
|
-
<h3 className="text-
|
|
100
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Learn</h3>
|
|
101
101
|
<p className="mb-4 text-sm text-gray-400">Step-by-step learning guides</p>
|
|
102
102
|
<button className="btn btn-sm w-full">Learn</button>
|
|
103
103
|
</div>
|
|
@@ -105,7 +105,7 @@ export default function Page() {
|
|
|
105
105
|
<div className="card bg-slate-800">
|
|
106
106
|
<div className="card-body p-6 text-center">
|
|
107
107
|
<FaCode className="mx-auto mb-4 text-4xl text-green-400" />
|
|
108
|
-
<h3 className="text-
|
|
108
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Examples</h3>
|
|
109
109
|
<p className="mb-4 text-sm text-gray-400">Real project examples</p>
|
|
110
110
|
<button className="btn btn-sm w-full">Examples</button>
|
|
111
111
|
</div>
|
|
@@ -113,7 +113,7 @@ export default function Page() {
|
|
|
113
113
|
<div className="card bg-slate-800">
|
|
114
114
|
<div className="card-body p-6 text-center">
|
|
115
115
|
<FaExternalLinkAlt className="mx-auto mb-4 text-4xl text-yellow-400" />
|
|
116
|
-
<h3 className="text-
|
|
116
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Official Site</h3>
|
|
117
117
|
<p className="mb-4 text-sm text-gray-400">Visit our official website</p>
|
|
118
118
|
<button className="btn btn-sm w-full">Go to akanjs.com</button>
|
|
119
119
|
</div>
|
|
@@ -28,7 +28,7 @@ function getContent(scanResult, dict) {
|
|
|
28
28
|
content: `
|
|
29
29
|
import { bootCsr } from "@akanjs/next";
|
|
30
30
|
|
|
31
|
-
void bootCsr(import.meta.glob("./**/*.tsx"), "./[lang]/${dict.appName}/layout.tsx");
|
|
31
|
+
void bootCsr(import.meta.glob("./**/*.tsx"), "./[lang]/${dict.appName}/layout.tsx", "/");
|
|
32
32
|
`
|
|
33
33
|
};
|
|
34
34
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"daisyui": "^5.0.35"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@tailwindcss/postcss": "^4.1.7",
|
|
13
14
|
"@types/react": "18.3.1",
|
|
14
15
|
"@types/react-dom": "18.3.1",
|
|
15
16
|
"crypto-browserify": "^3.12.1",
|
|
@@ -22,6 +23,9 @@
|
|
|
22
23
|
"process": "^0.11.10",
|
|
23
24
|
"stream-browserify": "^3.0.0",
|
|
24
25
|
"stream-http": "^3.2.0",
|
|
26
|
+
"tailwind-scrollbar": "4.0.2",
|
|
27
|
+
"tailwindcss-animation-delay": "^2.0.2",
|
|
28
|
+
"tailwindcss-radix": "^4.0.2",
|
|
25
29
|
"ts-jest": "^29.3.4",
|
|
26
30
|
"url-polyfill": "^1.1.13",
|
|
27
31
|
"vite": "^6.3.5",
|
package/esm/index.js
CHANGED
|
@@ -6332,7 +6332,7 @@ var WorkspaceCommand = class {
|
|
|
6332
6332
|
__decorateClass([
|
|
6333
6333
|
Target.Public(),
|
|
6334
6334
|
__decorateParam(0, Option("name", { desc: "what is the name of your organization?" })),
|
|
6335
|
-
__decorateParam(1, Option("app", { desc: "describe your first application to create
|
|
6335
|
+
__decorateParam(1, Option("app", { desc: "describe your first application to create " })),
|
|
6336
6336
|
__decorateParam(2, Option("dir", { desc: "directory of workspace", default: process.env.USE_AKANJS_PKGS === "true" ? "local" : "." }))
|
|
6337
6337
|
], WorkspaceCommand.prototype, "createWorkspace", 1);
|
|
6338
6338
|
__decorateClass([
|
|
@@ -49,7 +49,7 @@ export default function Page() {
|
|
|
49
49
|
</button>
|
|
50
50
|
</div>
|
|
51
51
|
<div className="mb-16 rounded-lg bg-slate-800 p-8">
|
|
52
|
-
<h2 className="text-
|
|
52
|
+
<h2 className="text-gray-200 mb-6 text-center text-2xl font-bold">Quick Start</h2>
|
|
53
53
|
<div className="mockup-code">
|
|
54
54
|
<pre data-prefix="$">
|
|
55
55
|
<code className="text-success">npx create-akan-workspace</code>
|
|
@@ -66,7 +66,7 @@ export default function Page() {
|
|
|
66
66
|
<div className="card bg-slate-800">
|
|
67
67
|
<div className="card-body p-6 text-center">
|
|
68
68
|
<FaBook className="mx-auto mb-4 text-4xl text-purple-400" />
|
|
69
|
-
<h3 className="text-
|
|
69
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Documentation</h3>
|
|
70
70
|
<p className="mb-4 text-sm text-gray-400">Complete API guides and tutorials</p>
|
|
71
71
|
<button className="btn btn-sm w-full">Read Documentation</button>
|
|
72
72
|
</div>
|
|
@@ -74,7 +74,7 @@ export default function Page() {
|
|
|
74
74
|
<div className="card bg-slate-800">
|
|
75
75
|
<div className="card-body p-6 text-center">
|
|
76
76
|
<FaGraduationCap className="mx-auto mb-4 text-4xl text-blue-400" />
|
|
77
|
-
<h3 className="text-
|
|
77
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Learn</h3>
|
|
78
78
|
<p className="mb-4 text-sm text-gray-400">Step-by-step learning guides</p>
|
|
79
79
|
<button className="btn btn-sm w-full">Learn</button>
|
|
80
80
|
</div>
|
|
@@ -82,7 +82,7 @@ export default function Page() {
|
|
|
82
82
|
<div className="card bg-slate-800">
|
|
83
83
|
<div className="card-body p-6 text-center">
|
|
84
84
|
<FaCode className="mx-auto mb-4 text-4xl text-green-400" />
|
|
85
|
-
<h3 className="text-
|
|
85
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Examples</h3>
|
|
86
86
|
<p className="mb-4 text-sm text-gray-400">Real project examples</p>
|
|
87
87
|
<button className="btn btn-sm w-full">Examples</button>
|
|
88
88
|
</div>
|
|
@@ -90,7 +90,7 @@ export default function Page() {
|
|
|
90
90
|
<div className="card bg-slate-800">
|
|
91
91
|
<div className="card-body p-6 text-center">
|
|
92
92
|
<FaExternalLinkAlt className="mx-auto mb-4 text-4xl text-yellow-400" />
|
|
93
|
-
<h3 className="text-
|
|
93
|
+
<h3 className="text-gray-200 mb-2 text-lg font-semibold">Official Site</h3>
|
|
94
94
|
<p className="mb-4 text-sm text-gray-400">Visit our official website</p>
|
|
95
95
|
<button className="btn btn-sm w-full">Go to akanjs.com</button>
|
|
96
96
|
</div>
|
|
@@ -5,7 +5,7 @@ function getContent(scanResult, dict) {
|
|
|
5
5
|
content: `
|
|
6
6
|
import { bootCsr } from "@akanjs/next";
|
|
7
7
|
|
|
8
|
-
void bootCsr(import.meta.glob("./**/*.tsx"), "./[lang]/${dict.appName}/layout.tsx");
|
|
8
|
+
void bootCsr(import.meta.glob("./**/*.tsx"), "./[lang]/${dict.appName}/layout.tsx", "/");
|
|
9
9
|
`
|
|
10
10
|
};
|
|
11
11
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"daisyui": "^5.0.35"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@tailwindcss/postcss": "^4.1.7",
|
|
13
14
|
"@types/react": "18.3.1",
|
|
14
15
|
"@types/react-dom": "18.3.1",
|
|
15
16
|
"crypto-browserify": "^3.12.1",
|
|
@@ -22,6 +23,9 @@
|
|
|
22
23
|
"process": "^0.11.10",
|
|
23
24
|
"stream-browserify": "^3.0.0",
|
|
24
25
|
"stream-http": "^3.2.0",
|
|
26
|
+
"tailwind-scrollbar": "4.0.2",
|
|
27
|
+
"tailwindcss-animation-delay": "^2.0.2",
|
|
28
|
+
"tailwindcss-radix": "^4.0.2",
|
|
25
29
|
"ts-jest": "^29.3.4",
|
|
26
30
|
"url-polyfill": "^1.1.13",
|
|
27
31
|
"vite": "^6.3.5",
|