create-modoock-app 2.3.1 → 2.4.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/README.md +19 -7
- package/package.json +1 -1
- package/template/app/(main)/components/_shared.tsx +386 -0
- package/template/app/(main)/components/badges/page.tsx +42 -0
- package/template/app/(main)/components/barres-de-metrique/page.tsx +40 -0
- package/template/app/(main)/components/boutons/page.tsx +135 -0
- package/template/app/(main)/components/champs/page.tsx +175 -0
- package/template/app/(main)/components/icones/page.tsx +96 -0
- package/template/app/(main)/components/loader/page.tsx +81 -0
- package/template/app/(main)/components/modale/page.tsx +48 -0
- package/template/app/(main)/components/onglets/page.tsx +36 -0
- package/template/app/(main)/components/page.tsx +118 -825
- package/template/app/(main)/components/selecteurs/page.tsx +49 -0
- package/template/app/(main)/components/stepper/page.tsx +69 -0
- package/template/app/(main)/components/tableau/page.tsx +67 -0
- package/template/app/(main)/design-system/page.tsx +13 -1
- package/template/app/(main)/documentation/page.tsx +413 -0
- package/template/app/(main)/layout.tsx +2 -0
- package/template/app/layout.tsx +1 -1
- package/template/components/layout/side-nav.tsx +116 -61
- package/template/lib/scroll-to-section.ts +38 -0
- package/template/next.config.ts +0 -17
- package/template/package-lock.json +459 -314
- package/template/package.json +2 -0
- package/template/sgconfig.yml +1 -1
- package/template/tsconfig.json +41 -71
package/template/package.json
CHANGED
package/template/sgconfig.yml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# https://ast-grep.github.io/guide/project/project-config.html
|
|
3
3
|
# Catalog YAML lives with the rest of the agent context.
|
|
4
4
|
ruleDirs:
|
|
5
|
-
- knowledge-base/validation/ast-grep
|
|
5
|
+
- node_modules/@modoock/knowledge-base/knowledge-base/validation/ast-grep
|
|
6
6
|
|
|
7
7
|
# Catalog recommendation: reuse TSX rules on .ts files.
|
|
8
8
|
# https://ast-grep.github.io/catalog/tsx/
|
package/template/tsconfig.json
CHANGED
|
@@ -1,71 +1,41 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2017",
|
|
4
|
-
"lib": [
|
|
5
|
-
"dom",
|
|
6
|
-
"dom.iterable",
|
|
7
|
-
"esnext"
|
|
8
|
-
],
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"strict":
|
|
12
|
-
"noEmit": true,
|
|
13
|
-
"
|
|
14
|
-
"module": "esnext",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"plugins": [
|
|
21
|
-
{
|
|
22
|
-
"name": "next"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"baseUrl": ".",
|
|
26
|
-
"paths": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"react/jsx-dev-runtime": [
|
|
43
|
-
"./node_modules/@types/react/jsx-dev-runtime.d.ts"
|
|
44
|
-
],
|
|
45
|
-
"lucide-react": [
|
|
46
|
-
"./node_modules/lucide-react"
|
|
47
|
-
],
|
|
48
|
-
"next": [
|
|
49
|
-
"./node_modules/next"
|
|
50
|
-
],
|
|
51
|
-
"next/*": [
|
|
52
|
-
"./node_modules/next/*"
|
|
53
|
-
],
|
|
54
|
-
"@/*": [
|
|
55
|
-
"./*"
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"include": [
|
|
60
|
-
"next-env.d.ts",
|
|
61
|
-
"**/*.ts",
|
|
62
|
-
"**/*.tsx",
|
|
63
|
-
"**/*.mts",
|
|
64
|
-
".next/types/**/*.ts",
|
|
65
|
-
".next/dev/types/**/*.ts"
|
|
66
|
-
],
|
|
67
|
-
"exclude": [
|
|
68
|
-
"node_modules",
|
|
69
|
-
".next"
|
|
70
|
-
]
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2017",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"strict": false,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"incremental": true,
|
|
14
|
+
"module": "esnext",
|
|
15
|
+
"esModuleInterop": true,
|
|
16
|
+
"moduleResolution": "bundler",
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"isolatedModules": true,
|
|
19
|
+
"jsx": "react-jsx",
|
|
20
|
+
"plugins": [
|
|
21
|
+
{
|
|
22
|
+
"name": "next"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"baseUrl": ".",
|
|
26
|
+
"paths": {
|
|
27
|
+
"@/*": ["./*"]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"include": [
|
|
31
|
+
"next-env.d.ts",
|
|
32
|
+
".next/types/**/*.ts",
|
|
33
|
+
".next/dev/types/**/*.ts",
|
|
34
|
+
"**/*.mts",
|
|
35
|
+
"**/*.ts",
|
|
36
|
+
"**/*.tsx"
|
|
37
|
+
],
|
|
38
|
+
"exclude": [
|
|
39
|
+
"node_modules"
|
|
40
|
+
]
|
|
41
|
+
}
|