feat: enhance development scripts for improved workflow

- Added new development scripts in package.json for specific applications (web, server, docs) to streamline the development process using Turborepo.
- Updated the name of the frontend application in apps/web/package.json to align with the new naming convention.
This commit is contained in:
Daniel Luiz Alves
2025-07-02 16:47:19 -03:00
parent 6b0972c2ea
commit 3551732aa3
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
{ {
"name": "palmr-frontend", "name": "palmr-web",
"version": "3.1-beta", "version": "3.1-beta",
"description": "Frontend for Palmr", "description": "Frontend for Palmr",
"private": true, "private": true,

View File

@@ -8,6 +8,10 @@
"prepare": "git config core.hooksPath .husky && husky", "prepare": "git config core.hooksPath .husky && husky",
"postinstall": "cd apps/server && npx prisma generate", "postinstall": "cd apps/server && npx prisma generate",
"dev": "turbo run dev --ui=tui", "dev": "turbo run dev --ui=tui",
"dev:web": "turbo run dev --filter=palmr-web --ui=tui",
"dev:server": "turbo run dev --filter=palmr-api --ui=tui",
"dev:docs": "turbo run dev --filter=palmr-docs --ui=tui",
"dev:fullstack": "turbo run dev --filter=palmr-web --filter=palmr-api --ui=tui",
"build": "turbo run build", "build": "turbo run build",
"lint": "turbo run lint", "lint": "turbo run lint",
"lint:fix": "turbo run lint:fix", "lint:fix": "turbo run lint:fix",