@akanjs/cli 0.9.60-canary.9 → 1.0.1-canary.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.
Files changed (27) hide show
  1. package/README.md +1 -12
  2. package/cjs/index.js +16 -47
  3. package/cjs/src/guidelines/scalarConstant/scalarConstant.generate.json +24 -20
  4. package/cjs/src/guidelines/scalarConstant/scalarConstant.instruction.md +284 -326
  5. package/cjs/src/guidelines/scalarDictionary/scalarDictionary.generate.json +32 -32
  6. package/cjs/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +175 -249
  7. package/cjs/src/templates/app/app/[lang]/page.js +19 -36
  8. package/cjs/src/templates/workspaceRoot/package.json.template +6 -5
  9. package/esm/index.js +16 -47
  10. package/esm/src/guidelines/scalarConstant/scalarConstant.generate.json +24 -20
  11. package/esm/src/guidelines/scalarConstant/scalarConstant.instruction.md +284 -326
  12. package/esm/src/guidelines/scalarDictionary/scalarDictionary.generate.json +32 -32
  13. package/esm/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +175 -249
  14. package/esm/src/templates/app/app/[lang]/page.js +19 -36
  15. package/esm/src/templates/workspaceRoot/package.json.template +6 -5
  16. package/package.json +6 -4
  17. package/src/guidelines/scalarConstant/scalarConstant.instruction.md +284 -326
  18. package/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +175 -249
  19. package/src/library/library.command.d.ts +0 -2
  20. package/src/library/library.runner.d.ts +0 -2
  21. package/src/library/library.script.d.ts +0 -2
  22. package/src/scalar/scalar.command.d.ts +1 -1
  23. package/cjs/src/guidelines/fieldDecorator/fieldDecorator.generate.json +0 -135
  24. package/cjs/src/guidelines/fieldDecorator/fieldDecorator.instruction.md +0 -606
  25. package/esm/src/guidelines/fieldDecorator/fieldDecorator.generate.json +0 -135
  26. package/esm/src/guidelines/fieldDecorator/fieldDecorator.instruction.md +0 -606
  27. package/src/guidelines/fieldDecorator/fieldDecorator.instruction.md +0 -606
@@ -3,16 +3,8 @@ function getContent(scanInfo, dict) {
3
3
  return {
4
4
  filename: "page.tsx",
5
5
  content: `
6
- import {
7
- FaBolt,
8
- FaBook,
9
- FaCloudUploadAlt,
10
- FaCode,
11
- FaExternalLinkAlt,
12
- FaGraduationCap,
13
- FaHeart,
14
- FaShieldAlt,
15
- } from "react-icons/fa";
6
+ import { Link } from "@akanjs/ui";
7
+ import { FaBolt, FaBook, FaExternalLinkAlt, FaGraduationCap, FaHeart, FaShieldAlt } from "react-icons/fa";
16
8
 
17
9
  export const metadata = {
18
10
  title: "Akan.js",
@@ -42,14 +34,8 @@ export default function Page() {
42
34
  </div>
43
35
  </div>
44
36
  </div>
45
- <div className="mb-12 text-center">
46
- <button className="btn btn-primary btn-lg bg-primary border-none px-12 py-4 text-lg font-semibold">
47
- <FaCloudUploadAlt className="mr-3 text-xl" />
48
- Deploy Now
49
- </button>
50
- </div>
51
37
  <div className="mb-16 rounded-lg bg-slate-800 p-8">
52
- <h2 className="text-gray-200 mb-6 text-center text-2xl font-bold">Quick Start</h2>
38
+ <h2 className="mb-6 text-center text-2xl font-bold text-gray-200">Quick Start</h2>
53
39
  <div className="mockup-code">
54
40
  <pre data-prefix="$">
55
41
  <code className="text-success">npx create-akan-workspace</code>
@@ -62,45 +48,42 @@ export default function Page() {
62
48
  </pre>
63
49
  </div>
64
50
  </div>
65
- <div className="mb-16 grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4">
66
- <div className="card bg-slate-800">
67
- <div className="card-body p-6 text-center">
68
- <FaBook className="mx-auto mb-4 text-4xl text-purple-400" />
69
- <h3 className="text-gray-200 mb-2 text-lg font-semibold">Documentation</h3>
70
- <p className="mb-4 text-sm text-gray-400">Complete API guides and tutorials</p>
71
- <button className="btn btn-sm w-full">Read Documentation</button>
72
- </div>
73
- </div>
51
+ <div className="mb-16 grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
74
52
  <div className="card bg-slate-800">
75
53
  <div className="card-body p-6 text-center">
76
54
  <FaGraduationCap className="mx-auto mb-4 text-4xl text-blue-400" />
77
- <h3 className="text-gray-200 mb-2 text-lg font-semibold">Learn</h3>
55
+ <h3 className="mb-2 text-lg font-semibold text-gray-200">Learn</h3>
78
56
  <p className="mb-4 text-sm text-gray-400">Step-by-step learning guides</p>
79
- <button className="btn btn-sm w-full">Learn</button>
57
+ <Link href="https://akanjs.com/docs/intro/practice" target="_blank">
58
+ <button className="btn btn-sm w-full">Learn</button>
59
+ </Link>
80
60
  </div>
81
61
  </div>
82
62
  <div className="card bg-slate-800">
83
63
  <div className="card-body p-6 text-center">
84
- <FaCode className="mx-auto mb-4 text-4xl text-green-400" />
85
- <h3 className="text-gray-200 mb-2 text-lg font-semibold">Examples</h3>
86
- <p className="mb-4 text-sm text-gray-400">Real project examples</p>
87
- <button className="btn btn-sm w-full">Examples</button>
64
+ <FaBook className="mx-auto mb-4 text-4xl text-purple-400" />
65
+ <h3 className="mb-2 text-lg font-semibold text-gray-200">Documentation</h3>
66
+ <p className="mb-4 text-sm text-gray-400">Complete API guides and tutorials</p>
67
+ <Link href="https://akanjs.com/docs/systemArch/overview" target="_blank">
68
+ <button className="btn btn-sm w-full">Read Documentation</button>
69
+ </Link>
88
70
  </div>
89
71
  </div>
90
72
  <div className="card bg-slate-800">
91
73
  <div className="card-body p-6 text-center">
92
74
  <FaExternalLinkAlt className="mx-auto mb-4 text-4xl text-yellow-400" />
93
- <h3 className="text-gray-200 mb-2 text-lg font-semibold">Official Site</h3>
75
+ <h3 className="mb-2 text-lg font-semibold text-gray-200">Official Site</h3>
94
76
  <p className="mb-4 text-sm text-gray-400">Visit our official website</p>
95
- <button className="btn btn-sm w-full">Go to akanjs.com</button>
77
+ <Link href="https://akanjs.com" target="_blank">
78
+ <button className="btn btn-sm w-full">Go to akanjs.com</button>
79
+ </Link>
96
80
  </div>
97
81
  </div>
98
82
  </div>
99
83
  </div>
100
84
  </div>
101
85
  );
102
- }
103
- `
86
+ }`
104
87
  };
105
88
  }
106
89
  export {
@@ -3,17 +3,18 @@
3
3
  "description": "<%= repoName %> workspace",
4
4
  "version": "0.0.1",
5
5
  "dependencies": {
6
- "next": "16.0.7",
7
- "react": "19.2.1",
8
- "react-dom": "19.2.1",
6
+ "next": "16.0.10",
7
+ "react": "19.2.3",
8
+ "react-dom": "19.2.3",
9
+ "react-icons": "^5.4.0",
9
10
  "tailwindcss": "^4.1.11",
10
11
  "daisyui": "^5.5.5"
11
12
  },
12
13
  "devDependencies": {
13
14
  "@types/node": "^22.10.4",
14
15
  "@tailwindcss/postcss": "^4.1.11",
15
- "@types/react": "19.2.1",
16
- "@types/react-dom": "19.2.1",
16
+ "@types/react": "19.2.3",
17
+ "@types/react-dom": "19.2.3",
17
18
  "crypto-browserify": "^3.12.1",
18
19
  "eslint": "^9.19.0",
19
20
  "https-browserify": "^1.0.0",
package/package.json CHANGED
@@ -2,13 +2,15 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.60-canary.9",
5
+ "version": "1.0.1-canary.0",
6
6
  "bin": {
7
7
  "akan": "esm/index.js"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
+ "homepage": "https://akanjs.com",
13
+ "license": "MIT",
12
14
  "repository": {
13
15
  "type": "git",
14
16
  "url": "https://github.com/akan-team/akanjs.git",
@@ -23,7 +25,7 @@
23
25
  "@langchain/core": "^0.3.56",
24
26
  "@langchain/deepseek": "^0.0.1",
25
27
  "@langchain/openai": "^0.5.10",
26
- "@next/bundle-analyzer": "^16.0.7",
28
+ "@next/bundle-analyzer": "^16.0.10",
27
29
  "@trapezedev/project": "^7.1.3",
28
30
  "@vitejs/plugin-react": "^4.7.0",
29
31
  "axios": "^1.7.9",
@@ -42,13 +44,13 @@
42
44
  "js-yaml": "^4.1.0",
43
45
  "latest-version": "^9.0.0",
44
46
  "lodash": "^4.17.21",
45
- "next": "16.0.7",
47
+ "next": "16.0.10",
46
48
  "next-pwa": "5.6.0",
47
49
  "open": "^10.1.1",
48
50
  "ora": "^3.4.0",
49
51
  "pluralize": "^8.0.0",
50
52
  "qrcode": "^1.5.4",
51
- "react": "19.2.1",
53
+ "react": "19.2.3",
52
54
  "react-icons": "^5.4.0",
53
55
  "reflect-metadata": "^0.2.2",
54
56
  "tsconfig-paths": "^4.2.0",