@akanjs/cli 0.9.60-canary.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.
Files changed (26) hide show
  1. package/cjs/index.js +16 -47
  2. package/cjs/src/guidelines/scalarConstant/scalarConstant.generate.json +24 -20
  3. package/cjs/src/guidelines/scalarConstant/scalarConstant.instruction.md +284 -326
  4. package/cjs/src/guidelines/scalarDictionary/scalarDictionary.generate.json +32 -32
  5. package/cjs/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +175 -249
  6. package/cjs/src/templates/app/app/[lang]/page.js +19 -36
  7. package/cjs/src/templates/workspaceRoot/package.json.template +5 -5
  8. package/esm/index.js +16 -47
  9. package/esm/src/guidelines/scalarConstant/scalarConstant.generate.json +24 -20
  10. package/esm/src/guidelines/scalarConstant/scalarConstant.instruction.md +284 -326
  11. package/esm/src/guidelines/scalarDictionary/scalarDictionary.generate.json +32 -32
  12. package/esm/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +175 -249
  13. package/esm/src/templates/app/app/[lang]/page.js +19 -36
  14. package/esm/src/templates/workspaceRoot/package.json.template +5 -5
  15. package/package.json +5 -4
  16. package/src/guidelines/scalarConstant/scalarConstant.instruction.md +284 -326
  17. package/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +175 -249
  18. package/src/library/library.command.d.ts +0 -2
  19. package/src/library/library.runner.d.ts +0 -2
  20. package/src/library/library.script.d.ts +0 -2
  21. package/src/scalar/scalar.command.d.ts +1 -1
  22. package/cjs/src/guidelines/fieldDecorator/fieldDecorator.generate.json +0 -135
  23. package/cjs/src/guidelines/fieldDecorator/fieldDecorator.instruction.md +0 -606
  24. package/esm/src/guidelines/fieldDecorator/fieldDecorator.generate.json +0 -135
  25. package/esm/src/guidelines/fieldDecorator/fieldDecorator.instruction.md +0 -606
  26. 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,17 @@
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
9
  "tailwindcss": "^4.1.11",
10
10
  "daisyui": "^5.5.5"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@types/node": "^22.10.4",
14
14
  "@tailwindcss/postcss": "^4.1.11",
15
- "@types/react": "19.2.1",
16
- "@types/react-dom": "19.2.1",
15
+ "@types/react": "19.2.3",
16
+ "@types/react-dom": "19.2.3",
17
17
  "crypto-browserify": "^3.12.1",
18
18
  "eslint": "^9.19.0",
19
19
  "https-browserify": "^1.0.0",
package/package.json CHANGED
@@ -2,13 +2,14 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.60-canary.9",
5
+ "version": "1.0.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",
12
13
  "repository": {
13
14
  "type": "git",
14
15
  "url": "https://github.com/akan-team/akanjs.git",
@@ -23,7 +24,7 @@
23
24
  "@langchain/core": "^0.3.56",
24
25
  "@langchain/deepseek": "^0.0.1",
25
26
  "@langchain/openai": "^0.5.10",
26
- "@next/bundle-analyzer": "^16.0.7",
27
+ "@next/bundle-analyzer": "^16.0.10",
27
28
  "@trapezedev/project": "^7.1.3",
28
29
  "@vitejs/plugin-react": "^4.7.0",
29
30
  "axios": "^1.7.9",
@@ -42,13 +43,13 @@
42
43
  "js-yaml": "^4.1.0",
43
44
  "latest-version": "^9.0.0",
44
45
  "lodash": "^4.17.21",
45
- "next": "16.0.7",
46
+ "next": "16.0.10",
46
47
  "next-pwa": "5.6.0",
47
48
  "open": "^10.1.1",
48
49
  "ora": "^3.4.0",
49
50
  "pluralize": "^8.0.0",
50
51
  "qrcode": "^1.5.4",
51
- "react": "19.2.1",
52
+ "react": "19.2.3",
52
53
  "react-icons": "^5.4.0",
53
54
  "reflect-metadata": "^0.2.2",
54
55
  "tsconfig-paths": "^4.2.0",