pnpm workspace:provision --id <id> [--name <nome>] [--with-seed]
Cria banco sar_workspace_{id}, habilita extensões, aplica todas as
migrations e opcionalmente popula dados demo. Sem master DB necessário
— JwtAuthGuard resolve a URL pela convenção de nome (ADR 0006).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
127 lines
3.7 KiB
JSON
127 lines
3.7 KiB
JSON
{
|
|
"name": "sar",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "SAR — Força de Vendas · JCS Sistemas (monorepo Nx)",
|
|
"license": "UNLICENSED",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=24.0.0",
|
|
"pnpm": ">=11.1.0"
|
|
},
|
|
"packageManager": "pnpm@11.1.0",
|
|
"scripts": {
|
|
"build": "nx run-many -t build",
|
|
"lint": "nx run-many -t lint",
|
|
"test": "nx run-many -t test",
|
|
"e2e": "nx run-many -t e2e",
|
|
"dev:api": "nx run api:serve",
|
|
"dev:web": "nx run web:serve",
|
|
"workspace:provision": "tsx scripts/provision-workspace.ts",
|
|
"dev:up": "docker compose -f docker-compose.dev.yml up -d",
|
|
"dev:down": "docker compose -f docker-compose.dev.yml down",
|
|
"dev:logs": "docker compose -f docker-compose.dev.yml logs -f",
|
|
"graph": "nx graph",
|
|
"affected": "nx affected",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^21.0.1",
|
|
"@commitlint/config-conventional": "^21.0.1",
|
|
"@eslint/js": "^9.8.0",
|
|
"@nestjs/schematics": "^11.0.0",
|
|
"@nestjs/testing": "^11.0.0",
|
|
"@nx/devkit": "22.7.4",
|
|
"@nx/eslint": "^22.7.4",
|
|
"@nx/eslint-plugin": "22.7.4",
|
|
"@nx/jest": "22.7.4",
|
|
"@nx/js": "^22.7.4",
|
|
"@nx/nest": "^22.7.4",
|
|
"@nx/node": "^22.7.4",
|
|
"@nx/playwright": "^22.7.4",
|
|
"@nx/react": "^22.7.4",
|
|
"@nx/vite": "^22.7.4",
|
|
"@nx/vitest": "22.7.4",
|
|
"@nx/web": "^22.7.4",
|
|
"@nx/webpack": "22.7.4",
|
|
"@nx/workspace": "^22.7.4",
|
|
"@playwright/test": "^1.36.0",
|
|
"@prisma/client-runtime-utils": "7.8.0",
|
|
"@swc-node/register": "~1.11.1",
|
|
"@swc/cli": "~0.8.0",
|
|
"@swc/core": "~1.15.5",
|
|
"@swc/helpers": "~0.5.18",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@testing-library/react": "16.3.0",
|
|
"@types/compression": "^1.8.1",
|
|
"@types/express": "^5.0.6",
|
|
"@types/jest": "~30.0.0",
|
|
"@types/node": "catalog:",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^6.0.0",
|
|
"@vitest/coverage-v8": "~4.1.0",
|
|
"@vitest/ui": "~4.1.0",
|
|
"eslint": "^9.8.0",
|
|
"eslint-config-prettier": "^10.0.0",
|
|
"eslint-plugin-import": "2.31.0",
|
|
"eslint-plugin-jsx-a11y": "6.10.1",
|
|
"eslint-plugin-playwright": "^1.6.2",
|
|
"eslint-plugin-react": "7.35.0",
|
|
"eslint-plugin-react-hooks": "5.0.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "~30.3.0",
|
|
"jest-environment-node": "~30.3.0",
|
|
"jest-util": "~30.3.0",
|
|
"jiti": "2.4.2",
|
|
"jsdom": "~22.1.0",
|
|
"jsonc-eslint-parser": "^2.1.0",
|
|
"lint-staged": "^17.0.5",
|
|
"nx": "^22.7.4",
|
|
"prettier": "^3.8.3",
|
|
"ts-jest": "^29.4.0",
|
|
"ts-node": "10.9.1",
|
|
"tsx": "^4.22.3",
|
|
"typescript": "catalog:",
|
|
"typescript-eslint": "^8.40.0",
|
|
"vite": "^8.0.0",
|
|
"vitest": "~4.1.0",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,mts,mjs,cts,cjs}": "eslint --max-warnings=0",
|
|
"*.{ts,tsx,js,jsx,mts,mjs,cts,cjs,json,md,yaml,yml,css}": "prettier --check"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/common": "^11.0.0",
|
|
"@nestjs/config": "^4.0.4",
|
|
"@nestjs/core": "^11.0.0",
|
|
"@nestjs/platform-express": "^11.0.0",
|
|
"@nestjs/terminus": "^11.1.1",
|
|
"@prisma/adapter-pg": "^7.8.0",
|
|
"@prisma/client": "^7.8.0",
|
|
"axios": "^1.6.0",
|
|
"compression": "^1.8.1",
|
|
"helmet": "^8.2.0",
|
|
"jose": "^6.2.3",
|
|
"lru-cache": "^11.5.0",
|
|
"nestjs-cls": "^5.4.3",
|
|
"nestjs-pino": "^4.6.1",
|
|
"nestjs-zod": "^4.3.1",
|
|
"pg": "^8.21.0",
|
|
"pino": "^9.14.0",
|
|
"pino-http": "^10.5.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"prisma": "^7.8.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rxjs": "^7.8.0",
|
|
"tslib": "^2.3.0",
|
|
"zod": "catalog:"
|
|
}
|
|
}
|