add isolated install scripts for each workspace

This commit is contained in:
Nathaniel Tampus
2023-10-09 12:15:50 +08:00
parent 93d991a9b2
commit 7d8d8850c0
2 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"isolated-install": "pnpm -w install:client",
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",

View File

@@ -4,6 +4,7 @@
"main": "./dist/server.js", "main": "./dist/server.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"isolated-install": "pnpm -w install:server",
"start": "node dist/server.js", "start": "node dist/server.js",
"build": "tsc", "build": "tsc",
"dev": "tsc-watch --noClear --onSuccess \"node dist/server.js\"" "dev": "tsc-watch --noClear --onSuccess \"node dist/server.js\""