mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-26 11:34:39 +02:00
🔧 chore: enforce monorepo best practices with automated validation
Fix critical issues and add validation to prevent future violations: **Fixes:** - Remove turbo recursion in 5 app packages (infinite loop risk) - Add "private": true to 11 packages (prevent accidental publishing) - Rename @mana-core/nestjs-integration → @manacore/nestjs-integration - Remove prepublishOnly scripts from 3 private packages **New:** - Add scripts/validate-monorepo.mjs with 4 critical checks - Add validate:monorepo command to package.json - Integrate validation into CI pipeline (.github/workflows/ci.yml) - Document validation in CLAUDE.md All 80 package.json files now pass validation ✅ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
079b55a796
commit
5b7d3c649b
29 changed files with 304 additions and 25 deletions
|
|
@ -16,6 +16,7 @@
|
|||
"clean": "turbo run clean",
|
||||
"format": "prettier --config .prettierrc.json --write \"**/*.{ts,tsx,js,jsx,json,md,svelte,astro}\"",
|
||||
"format:check": "prettier --config .prettierrc.json --check \"**/*.{ts,tsx,js,jsx,json,md,svelte,astro}\"",
|
||||
"validate:monorepo": "node scripts/validate-monorepo.mjs",
|
||||
"validate:runtime-config": "node scripts/validate-runtime-config.mjs",
|
||||
"svelte-check": "./scripts/svelte-check-staged.sh",
|
||||
"build:check": "./scripts/build-check-staged.sh",
|
||||
|
|
@ -160,8 +161,8 @@
|
|||
"pnpm": {
|
||||
"peerDependencyRules": {
|
||||
"allowedVersions": {
|
||||
"@mana-core/nestjs-integration>@nestjs/common": "^11.0.0",
|
||||
"@mana-core/nestjs-integration>@nestjs/core": "^11.0.0",
|
||||
"@manacore/nestjs-integration>@nestjs/common": "^11.0.0",
|
||||
"@manacore/nestjs-integration>@nestjs/core": "^11.0.0",
|
||||
"react-native>react": ">=18.0.0",
|
||||
"react-native>@types/react": ">=18.0.0",
|
||||
"@sveltejs/vite-plugin-svelte>vite": ">=6.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue