create-modoock-app 2.3.1 → 2.5.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 (29) hide show
  1. package/README.md +19 -7
  2. package/package.json +1 -1
  3. package/template/app/(main)/components/_shared.tsx +602 -0
  4. package/template/app/(main)/components/agenda/page.tsx +48 -0
  5. package/template/app/(main)/components/badges/page.tsx +42 -0
  6. package/template/app/(main)/components/barres-de-metrique/page.tsx +40 -0
  7. package/template/app/(main)/components/boutons/page.tsx +142 -0
  8. package/template/app/(main)/components/champs/page.tsx +175 -0
  9. package/template/app/(main)/components/date-picker/page.tsx +48 -0
  10. package/template/app/(main)/components/icones/page.tsx +96 -0
  11. package/template/app/(main)/components/loader/page.tsx +81 -0
  12. package/template/app/(main)/components/modale/page.tsx +48 -0
  13. package/template/app/(main)/components/onglets/page.tsx +36 -0
  14. package/template/app/(main)/components/page.tsx +130 -825
  15. package/template/app/(main)/components/selecteurs/page.tsx +49 -0
  16. package/template/app/(main)/components/stepper/page.tsx +69 -0
  17. package/template/app/(main)/components/tableau/page.tsx +67 -0
  18. package/template/app/(main)/design-system/page.tsx +15 -3
  19. package/template/app/(main)/documentation/page.tsx +413 -0
  20. package/template/app/(main)/layout.tsx +2 -0
  21. package/template/app/globals.css +3 -3
  22. package/template/app/layout.tsx +1 -1
  23. package/template/components/layout/side-nav.tsx +118 -61
  24. package/template/lib/scroll-to-section.ts +38 -0
  25. package/template/next.config.ts +0 -17
  26. package/template/package-lock.json +459 -314
  27. package/template/package.json +2 -0
  28. package/template/sgconfig.yml +1 -1
  29. package/template/tsconfig.json +41 -71
@@ -11,6 +11,8 @@
11
11
  "sg:scan": "ast-grep scan"
12
12
  },
13
13
  "dependencies": {
14
+ "@modoock/components": "^2.0.0",
15
+ "@modoock/knowledge-base": "^1.2.0",
14
16
  "lucide-react": "^1.31.0",
15
17
  "next": "16.3.1",
16
18
  "react": "19.2.8",
@@ -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/
@@ -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": true,
12
- "noEmit": true,
13
- "esModuleInterop": true,
14
- "module": "esnext",
15
- "moduleResolution": "bundler",
16
- "resolveJsonModule": true,
17
- "isolatedModules": true,
18
- "jsx": "react-jsx",
19
- "incremental": true,
20
- "plugins": [
21
- {
22
- "name": "next"
23
- }
24
- ],
25
- "baseUrl": ".",
26
- "paths": {
27
- "@/components/ui": [
28
- "./node_modules/@modoock/components/components/ui"
29
- ],
30
- "@/components/ui/*": [
31
- "./node_modules/@modoock/components/components/ui/*"
32
- ],
33
- "react": [
34
- "./node_modules/@types/react"
35
- ],
36
- "react-dom": [
37
- "./node_modules/@types/react-dom"
38
- ],
39
- "react/jsx-runtime": [
40
- "./node_modules/@types/react/jsx-runtime.d.ts"
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
+ }