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.
- package/LICENSE +675 -0
- package/README.md +104 -0
- package/bin/cli.js +3 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +92 -0
- package/dist/cli.js.map +1 -0
- package/dist/git.d.ts +7 -0
- package/dist/git.d.ts.map +1 -0
- package/dist/git.js +80 -0
- package/dist/git.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts.d.ts +5 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +30 -0
- package/dist/prompts.js.map +1 -0
- package/dist/replacer.d.ts +9 -0
- package/dist/replacer.d.ts.map +1 -0
- package/dist/replacer.js +11 -0
- package/dist/replacer.js.map +1 -0
- package/dist/scaffold.d.ts +3 -0
- package/dist/scaffold.d.ts.map +1 -0
- package/dist/scaffold.js +79 -0
- package/dist/scaffold.js.map +1 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/files.d.ts +6 -0
- package/dist/utils/files.d.ts.map +1 -0
- package/dist/utils/files.js +103 -0
- package/dist/utils/files.js.map +1 -0
- package/dist/utils/logger.d.ts +12 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +35 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/validation.d.ts +6 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +63 -0
- package/dist/utils/validation.js.map +1 -0
- package/package.json +52 -0
- package/template/.env.example +159 -0
- package/template/.github/workflows/check-library-updates.yml +71 -0
- package/template/.github/workflows/dev.yml +63 -0
- package/template/.github/workflows/pull-request.yml +55 -0
- package/template/.gitmodules +6 -0
- package/template/.husky/pre-commit +1 -0
- package/template/.husky/pre-push +1 -0
- package/template/.prettierignore +1 -0
- package/template/.prettierrc +13 -0
- package/template/.releaserc +134 -0
- package/template/.vscode/settings.json +16 -0
- package/template/CHANGELOG.md +0 -0
- package/template/CLAUDE.md +34 -0
- package/template/DOCKER.md +1591 -0
- package/template/Dockerfile +228 -0
- package/template/README.md +1 -0
- package/template/apps/api/.prettierrc +12 -0
- package/template/apps/api/eslint.config.mjs +54 -0
- package/template/apps/api/jest.config.js +29 -0
- package/template/apps/api/nest-cli.json +15 -0
- package/template/apps/api/package.json +155 -0
- package/template/apps/api/src/config/config.ts +17 -0
- package/template/apps/api/src/config/enums/job.name.ts +6 -0
- package/template/apps/api/src/config/enums/queue.id.ts +3 -0
- package/template/apps/api/src/config/interfaces/config.interface.ts +3 -0
- package/template/apps/api/src/features/features.modules.ts +6 -0
- package/template/apps/api/src/i18n/en/notifications.json +3 -0
- package/template/apps/api/src/main.ts +23 -0
- package/template/apps/api/src/neo4j.migrations/20250901_001.ts +33 -0
- package/template/apps/api/src/neo4j.migrations/20250901_002.ts +90 -0
- package/template/apps/api/src/neo4j.migrations/20250901_003.ts +57 -0
- package/template/apps/api/src/neo4j.migrations/20250901_004.ts +32 -0
- package/template/apps/api/src/neo4j.migrations/queries/migration.queries.ts +49 -0
- package/template/apps/api/src/types/langchain.d.ts +56 -0
- package/template/apps/api/tsconfig.build.json +4 -0
- package/template/apps/api/tsconfig.json +38 -0
- package/template/apps/web/.swcrc +26 -0
- package/template/apps/web/components.json +21 -0
- package/template/apps/web/eslint.config.mjs +33 -0
- package/template/apps/web/global.d.ts +7 -0
- package/template/apps/web/messages/en.json +249 -0
- package/template/apps/web/next.config.js +50 -0
- package/template/apps/web/package.json +146 -0
- package/template/apps/web/playwright.config.ts +86 -0
- package/template/apps/web/postcss.config.mjs +5 -0
- package/template/apps/web/public/sw.js +32 -0
- package/template/apps/web/src/app/[locale]/(admin)/administration/companies/[id]/page.tsx +46 -0
- package/template/apps/web/src/app/[locale]/(admin)/administration/companies/page.tsx +23 -0
- package/template/apps/web/src/app/[locale]/(admin)/layout.tsx +49 -0
- package/template/apps/web/src/app/[locale]/(auth)/activation/[code]/page.tsx +13 -0
- package/template/apps/web/src/app/[locale]/(auth)/auth/page.tsx +11 -0
- package/template/apps/web/src/app/[locale]/(auth)/invitation/[code]/page.tsx +7 -0
- package/template/apps/web/src/app/[locale]/(auth)/layout.tsx +9 -0
- package/template/apps/web/src/app/[locale]/(auth)/login/page.tsx +6 -0
- package/template/apps/web/src/app/[locale]/(auth)/logout/page.tsx +5 -0
- package/template/apps/web/src/app/[locale]/(auth)/register/page.tsx +6 -0
- package/template/apps/web/src/app/[locale]/(auth)/reset/[code]/page.tsx +7 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/notifications/page.tsx +9 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/roles/[id]/page.tsx +23 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/roles/page.tsx +12 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/[id]/error.tsx +14 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/[id]/loading.tsx +21 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/[id]/page.tsx +46 -0
- package/template/apps/web/src/app/[locale]/(main)/(foundations)/users/page.tsx +17 -0
- package/template/apps/web/src/app/[locale]/(main)/error.tsx +62 -0
- package/template/apps/web/src/app/[locale]/(main)/layout.tsx +40 -0
- package/template/apps/web/src/app/[locale]/(main)/page.tsx +41 -0
- package/template/apps/web/src/app/[locale]/layout.tsx +54 -0
- package/template/apps/web/src/app/globals.css +256 -0
- package/template/apps/web/src/config/BootstrapProvider.tsx +13 -0
- package/template/apps/web/src/config/Bootstrapper.ts +77 -0
- package/template/apps/web/src/config/env.ts +51 -0
- package/template/apps/web/src/config/middleware-env.ts +14 -0
- package/template/apps/web/src/enums/feature.ids.ts +3 -0
- package/template/apps/web/src/features/common/components/containers/IndexContainer.tsx +11 -0
- package/template/apps/web/src/features/common/components/details/LayoutDetails.tsx +33 -0
- package/template/apps/web/src/features/common/components/navigations/CommonSidebar.tsx +233 -0
- package/template/apps/web/src/features/common/components/navigations/CreationDropDown.tsx +117 -0
- package/template/apps/web/src/features/common/components/navigations/UserSidebarFooter.tsx +115 -0
- package/template/apps/web/src/features/common/components/navigations/VersionDisplay.tsx +18 -0
- package/template/apps/web/src/features/common/contexts/ErrorContext.tsx +62 -0
- package/template/apps/web/src/i18n/request.ts +13 -0
- package/template/apps/web/src/i18n/routing.ts +9 -0
- package/template/apps/web/src/i18n/useDateFnsLocale.ts +15 -0
- package/template/apps/web/src/proxy.ts +107 -0
- package/template/apps/web/src/server-actions/auth-cookies.ts +134 -0
- package/template/apps/web/src/types/modules.d.ts +10 -0
- package/template/apps/web/src/utils/metadata.ts +50 -0
- package/template/apps/web/src/utils/revalidation.ts +7 -0
- package/template/apps/web/tsconfig.json +51 -0
- package/template/docker-compose.yml +211 -0
- package/template/package.json +72 -0
- package/template/packages/nestjs-neo4jsonapi/.gitkeep +0 -0
- package/template/packages/nextjs-jsonapi/.gitkeep +0 -0
- package/template/packages/shared/package.json +23 -0
- package/template/packages/shared/src/const/roles.id.ts +5 -0
- package/template/packages/shared/src/const/system.roles.id.ts +4 -0
- package/template/packages/shared/src/index.ts +1 -0
- package/template/packages/shared/tsconfig.json +10 -0
- package/template/packages/shared/tsup.config.ts +16 -0
- package/template/pnpm-workspace.yaml +3 -0
- package/template/tsconfig.base.json +62 -0
- package/template/tsconfig.json +12 -0
- package/template/turbo.json +88 -0
- 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.
|