create-carlonicora-app 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 (149) hide show
  1. package/LICENSE +675 -0
  2. package/README.md +104 -0
  3. package/bin/cli.js +3 -0
  4. package/dist/cli.d.ts +2 -0
  5. package/dist/cli.d.ts.map +1 -0
  6. package/dist/cli.js +92 -0
  7. package/dist/cli.js.map +1 -0
  8. package/dist/git.d.ts +7 -0
  9. package/dist/git.d.ts.map +1 -0
  10. package/dist/git.js +80 -0
  11. package/dist/git.js.map +1 -0
  12. package/dist/index.d.ts +5 -0
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +5 -0
  15. package/dist/index.js.map +1 -0
  16. package/dist/prompts.d.ts +5 -0
  17. package/dist/prompts.d.ts.map +1 -0
  18. package/dist/prompts.js +30 -0
  19. package/dist/prompts.js.map +1 -0
  20. package/dist/replacer.d.ts +9 -0
  21. package/dist/replacer.d.ts.map +1 -0
  22. package/dist/replacer.js +11 -0
  23. package/dist/replacer.js.map +1 -0
  24. package/dist/scaffold.d.ts +3 -0
  25. package/dist/scaffold.d.ts.map +1 -0
  26. package/dist/scaffold.js +79 -0
  27. package/dist/scaffold.js.map +1 -0
  28. package/dist/types/index.d.ts +16 -0
  29. package/dist/types/index.d.ts.map +1 -0
  30. package/dist/types/index.js +2 -0
  31. package/dist/types/index.js.map +1 -0
  32. package/dist/utils/files.d.ts +6 -0
  33. package/dist/utils/files.d.ts.map +1 -0
  34. package/dist/utils/files.js +103 -0
  35. package/dist/utils/files.js.map +1 -0
  36. package/dist/utils/logger.d.ts +12 -0
  37. package/dist/utils/logger.d.ts.map +1 -0
  38. package/dist/utils/logger.js +35 -0
  39. package/dist/utils/logger.js.map +1 -0
  40. package/dist/utils/validation.d.ts +6 -0
  41. package/dist/utils/validation.d.ts.map +1 -0
  42. package/dist/utils/validation.js +63 -0
  43. package/dist/utils/validation.js.map +1 -0
  44. package/package.json +52 -0
  45. package/template/.env.example +159 -0
  46. package/template/.github/workflows/check-library-updates.yml +71 -0
  47. package/template/.github/workflows/dev.yml +63 -0
  48. package/template/.github/workflows/pull-request.yml +55 -0
  49. package/template/.gitmodules +6 -0
  50. package/template/.husky/pre-commit +1 -0
  51. package/template/.husky/pre-push +1 -0
  52. package/template/.prettierignore +1 -0
  53. package/template/.prettierrc +13 -0
  54. package/template/.releaserc +134 -0
  55. package/template/.vscode/settings.json +16 -0
  56. package/template/CHANGELOG.md +0 -0
  57. package/template/CLAUDE.md +34 -0
  58. package/template/DOCKER.md +1591 -0
  59. package/template/Dockerfile +228 -0
  60. package/template/README.md +1 -0
  61. package/template/apps/api/.prettierrc +12 -0
  62. package/template/apps/api/eslint.config.mjs +54 -0
  63. package/template/apps/api/jest.config.js +29 -0
  64. package/template/apps/api/nest-cli.json +15 -0
  65. package/template/apps/api/package.json +155 -0
  66. package/template/apps/api/src/config/config.ts +17 -0
  67. package/template/apps/api/src/config/enums/job.name.ts +6 -0
  68. package/template/apps/api/src/config/enums/queue.id.ts +3 -0
  69. package/template/apps/api/src/config/interfaces/config.interface.ts +3 -0
  70. package/template/apps/api/src/features/features.modules.ts +6 -0
  71. package/template/apps/api/src/i18n/en/notifications.json +3 -0
  72. package/template/apps/api/src/main.ts +23 -0
  73. package/template/apps/api/src/neo4j.migrations/20250901_001.ts +33 -0
  74. package/template/apps/api/src/neo4j.migrations/20250901_002.ts +90 -0
  75. package/template/apps/api/src/neo4j.migrations/20250901_003.ts +57 -0
  76. package/template/apps/api/src/neo4j.migrations/20250901_004.ts +32 -0
  77. package/template/apps/api/src/neo4j.migrations/queries/migration.queries.ts +49 -0
  78. package/template/apps/api/src/types/langchain.d.ts +56 -0
  79. package/template/apps/api/tsconfig.build.json +4 -0
  80. package/template/apps/api/tsconfig.json +38 -0
  81. package/template/apps/web/.swcrc +26 -0
  82. package/template/apps/web/components.json +21 -0
  83. package/template/apps/web/eslint.config.mjs +33 -0
  84. package/template/apps/web/global.d.ts +7 -0
  85. package/template/apps/web/messages/en.json +249 -0
  86. package/template/apps/web/next.config.js +50 -0
  87. package/template/apps/web/package.json +146 -0
  88. package/template/apps/web/playwright.config.ts +86 -0
  89. package/template/apps/web/postcss.config.mjs +5 -0
  90. package/template/apps/web/public/sw.js +32 -0
  91. package/template/apps/web/src/app/[locale]/(admin)/administration/companies/[id]/page.tsx +46 -0
  92. package/template/apps/web/src/app/[locale]/(admin)/administration/companies/page.tsx +23 -0
  93. package/template/apps/web/src/app/[locale]/(admin)/layout.tsx +49 -0
  94. package/template/apps/web/src/app/[locale]/(auth)/activation/[code]/page.tsx +13 -0
  95. package/template/apps/web/src/app/[locale]/(auth)/auth/page.tsx +11 -0
  96. package/template/apps/web/src/app/[locale]/(auth)/invitation/[code]/page.tsx +7 -0
  97. package/template/apps/web/src/app/[locale]/(auth)/layout.tsx +9 -0
  98. package/template/apps/web/src/app/[locale]/(auth)/login/page.tsx +6 -0
  99. package/template/apps/web/src/app/[locale]/(auth)/logout/page.tsx +5 -0
  100. package/template/apps/web/src/app/[locale]/(auth)/register/page.tsx +6 -0
  101. package/template/apps/web/src/app/[locale]/(auth)/reset/[code]/page.tsx +7 -0
  102. package/template/apps/web/src/app/[locale]/(main)/(foundations)/notifications/page.tsx +9 -0
  103. package/template/apps/web/src/app/[locale]/(main)/(foundations)/roles/[id]/page.tsx +23 -0
  104. package/template/apps/web/src/app/[locale]/(main)/(foundations)/roles/page.tsx +12 -0
  105. package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/[id]/error.tsx +14 -0
  106. package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/[id]/loading.tsx +21 -0
  107. package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/[id]/page.tsx +46 -0
  108. package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/page.tsx +17 -0
  109. package/template/apps/web/src/app/[locale]/(main)/error.tsx +62 -0
  110. package/template/apps/web/src/app/[locale]/(main)/layout.tsx +40 -0
  111. package/template/apps/web/src/app/[locale]/(main)/page.tsx +41 -0
  112. package/template/apps/web/src/app/[locale]/layout.tsx +54 -0
  113. package/template/apps/web/src/app/globals.css +256 -0
  114. package/template/apps/web/src/config/BootstrapProvider.tsx +13 -0
  115. package/template/apps/web/src/config/Bootstrapper.ts +77 -0
  116. package/template/apps/web/src/config/env.ts +51 -0
  117. package/template/apps/web/src/config/middleware-env.ts +14 -0
  118. package/template/apps/web/src/enums/feature.ids.ts +3 -0
  119. package/template/apps/web/src/features/common/components/containers/IndexContainer.tsx +11 -0
  120. package/template/apps/web/src/features/common/components/details/LayoutDetails.tsx +33 -0
  121. package/template/apps/web/src/features/common/components/navigations/CommonSidebar.tsx +233 -0
  122. package/template/apps/web/src/features/common/components/navigations/CreationDropDown.tsx +117 -0
  123. package/template/apps/web/src/features/common/components/navigations/UserSidebarFooter.tsx +115 -0
  124. package/template/apps/web/src/features/common/components/navigations/VersionDisplay.tsx +18 -0
  125. package/template/apps/web/src/features/common/contexts/ErrorContext.tsx +62 -0
  126. package/template/apps/web/src/i18n/request.ts +13 -0
  127. package/template/apps/web/src/i18n/routing.ts +9 -0
  128. package/template/apps/web/src/i18n/useDateFnsLocale.ts +15 -0
  129. package/template/apps/web/src/proxy.ts +107 -0
  130. package/template/apps/web/src/server-actions/auth-cookies.ts +134 -0
  131. package/template/apps/web/src/types/modules.d.ts +10 -0
  132. package/template/apps/web/src/utils/metadata.ts +50 -0
  133. package/template/apps/web/src/utils/revalidation.ts +7 -0
  134. package/template/apps/web/tsconfig.json +51 -0
  135. package/template/docker-compose.yml +211 -0
  136. package/template/package.json +72 -0
  137. package/template/packages/nestjs-neo4jsonapi/.gitkeep +0 -0
  138. package/template/packages/nextjs-jsonapi/.gitkeep +0 -0
  139. package/template/packages/shared/package.json +23 -0
  140. package/template/packages/shared/src/const/roles.id.ts +5 -0
  141. package/template/packages/shared/src/const/system.roles.id.ts +4 -0
  142. package/template/packages/shared/src/index.ts +1 -0
  143. package/template/packages/shared/tsconfig.json +10 -0
  144. package/template/packages/shared/tsup.config.ts +16 -0
  145. package/template/pnpm-workspace.yaml +3 -0
  146. package/template/tsconfig.base.json +62 -0
  147. package/template/tsconfig.json +12 -0
  148. package/template/turbo.json +88 -0
  149. package/template/versions.production.json +4 -0
@@ -0,0 +1,134 @@
1
+ {
2
+ "branches": [
3
+ {
4
+ "name": "dev"
5
+ }
6
+ ],
7
+ "tagFormat": "v${version}",
8
+ "plugins": [
9
+ [
10
+ "@semantic-release/commit-analyzer",
11
+ {
12
+ "preset": "conventionalcommits",
13
+ "presetConfig": {},
14
+ "releaseRules": [
15
+ {
16
+ "type": "feat",
17
+ "release": "minor"
18
+ },
19
+ {
20
+ "type": "fix",
21
+ "release": "patch"
22
+ },
23
+ {
24
+ "type": "docs",
25
+ "release": "patch"
26
+ },
27
+ {
28
+ "type": "style",
29
+ "release": "patch"
30
+ },
31
+ {
32
+ "type": "refactor",
33
+ "release": "patch"
34
+ },
35
+ {
36
+ "type": "test",
37
+ "release": "patch"
38
+ },
39
+ {
40
+ "type": "build",
41
+ "release": "patch"
42
+ },
43
+ {
44
+ "type": "ci",
45
+ "release": "patch"
46
+ },
47
+ {
48
+ "type": "chore",
49
+ "release": "patch"
50
+ },
51
+ {
52
+ "type": "perf",
53
+ "release": "patch"
54
+ },
55
+ {
56
+ "subject": "*\\[skip release\\]*",
57
+ "release": false
58
+ },
59
+ {
60
+ "type": "wip",
61
+ "release": false
62
+ }
63
+ ]
64
+ }
65
+ ],
66
+ [
67
+ "@semantic-release/release-notes-generator",
68
+ {
69
+ "preset": "conventionalcommits",
70
+ "presetConfig": {
71
+ "types": [
72
+ {
73
+ "type": "feat",
74
+ "section": "🚀 Features"
75
+ },
76
+ {
77
+ "type": "fix",
78
+ "section": "🐛 Bug Fixes"
79
+ },
80
+ {
81
+ "type": "docs",
82
+ "section": "📚 Documentation"
83
+ },
84
+ {
85
+ "type": "style",
86
+ "section": "💎 Styles"
87
+ },
88
+ {
89
+ "type": "refactor",
90
+ "section": "📦 Code Refactoring"
91
+ },
92
+ {
93
+ "type": "test",
94
+ "section": "🚨 Tests"
95
+ },
96
+ {
97
+ "type": "build",
98
+ "section": "🛠 Build System"
99
+ },
100
+ {
101
+ "type": "ci",
102
+ "section": "⚙️ Continuous Integration"
103
+ },
104
+ {
105
+ "type": "chore",
106
+ "section": "♻️ Chores"
107
+ },
108
+ {
109
+ "type": "perf",
110
+ "section": "⚡ Performance Improvements"
111
+ }
112
+ ]
113
+ }
114
+ }
115
+ ],
116
+ "@semantic-release/changelog",
117
+ [
118
+ "@semantic-release/npm",
119
+ {
120
+ "npmPublish": false
121
+ }
122
+ ],
123
+ [
124
+ "@semantic-release/git",
125
+ {
126
+ "assets": [
127
+ "CHANGELOG.md",
128
+ "package.json"
129
+ ],
130
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
131
+ }
132
+ ]
133
+ ]
134
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "typescript.tsdk": "node_modules/typescript/lib",
3
+ "typescript.enablePromptUseWorkspaceTsdk": true,
4
+ "typescript.preferences.includePackageJsonAutoImports": "on",
5
+ "i18n-ally.localesPaths": [
6
+ "apps/web/messages",
7
+ "apps/api/src/i18n"
8
+ ],
9
+ "i18n-ally.sourceLanguage": "en",
10
+ "i18n-ally.displayLanguage": "en",
11
+ "i18n-ally.enabledFrameworks": [
12
+ "next-intl",
13
+ "i18next"
14
+ ],
15
+ "i18n-ally.keystyle": "nested"
16
+ }
File without changes
@@ -0,0 +1,34 @@
1
+ # CLAUDE.md
2
+
3
+ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
+
5
+ ## Working Style & Approach
6
+
7
+ **CRITICAL: Think First, Code Once - Not the Other Way Around**
8
+
9
+ When tackling any non-trivial task, especially those involving complex systems (UI interactions, state management, API integrations, etc.):
10
+
11
+ ### Required Process
12
+ 1. **ANALYZE THOROUGHLY FIRST** - Read and understand ALL relevant code before making any changes
13
+ 2. **MAP THE SYSTEM** - Identify all dependencies, interactions, and potential side effects
14
+ 3. **CLARIFY REQUIREMENTS** - If ANYTHING is unclear, ambiguous, or could be interpreted multiple ways, **STOP and ASK QUESTIONS**. Never assume or guess at requirements.
15
+ 4. **DESIGN A COMPLETE SOLUTION** - Think through the entire approach on "paper" first
16
+ 5. **PRESENT THE PLAN** - Explain the strategy clearly before writing any code
17
+ 6. **IMPLEMENT CAREFULLY** - Make changes systematically, following the agreed plan
18
+ 7. **STICK TO THE PLAN** - Don't pivot to quick fixes that create new problems
19
+
20
+ ### Absolutely Forbidden
21
+ - ❌ Making reactive changes without understanding root causes
22
+ - ❌ Fixing one bug and creating another (going in circles)
23
+ - ❌ Changing approach multiple times mid-task
24
+ - ❌ Quick fixes that break other things
25
+ - ❌ Jumping to implementation before thorough analysis
26
+
27
+ ### If You Get Stuck
28
+ - **STOP** - Don't keep trying random fixes
29
+ - **STEP BACK** - Re-analyze the entire system
30
+ - **ADD CONSOLE LOGS** - Only by seeing the logs you can understand what's going on
31
+ - **ASK** - Request clarification or context from the user
32
+ - **REDESIGN** - Create a new plan based on better understanding
33
+
34
+ **Remember:** Breaking more things than you fix wastes time and causes frustration. Spending 10 minutes on proper analysis upfront is better than 60 minutes going in circles.