Define pnpm workspace and scope dev script to backend and frontend

This commit is contained in:
2026-04-23 21:11:19 +04:00
parent d50a22a7b8
commit d5d666c56a
6 changed files with 16584 additions and 181 deletions

View File

@@ -18,16 +18,5 @@
"devDependencies": {
"nodemon": "3.1.14",
"uuid": "14.0.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"argon2",
"sqlite3",
"sharp",
"esbuild",
"keyv",
"isolated-vm",
"protobufjs"
]
}
}

View File

@@ -43,10 +43,5 @@
"tailwindcss": "4.1.16",
"typescript": "5.9.3",
"vite": "6.4.2"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}

View File

@@ -1,4 +1,4 @@
# The URL where your API can be reached on the web.
NEXT_PUBLIC_DIRECTUS_API_URL="https://admin.pca-pijac.dev.civokram.com"
NEXT_PUBLIC_DIRECTUS_API_URL="http://localhost:8055"
NEXT_PUBLIC_GLOBALS_ID="4f8d9e66-ec95-4bdd-a5e7-34df8ea68a45"

View File

@@ -6,23 +6,22 @@
"author": "Marko Marković <okram@civokram.com>",
"license": "MIT",
"scripts": {
"dev": "ultra -r dev"
"dev": "pnpm --parallel --filter=./backend --filter=./frontend run dev"
},
"engines": {
"node": ">=22",
"pnpm": ">=10"
},
"packageManager": "pnpm@10.33.2",
"devDependencies": {
"ultra-runner": "3.10.5"
},
"pnpm": {
"onlyBuiltDependencies": [
"argon2",
"sqlite3",
"sharp",
"esbuild",
"keyv"
"keyv",
"isolated-vm",
"protobufjs"
]
}
}

16731
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

3
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,3 @@
packages:
- backend
- frontend