Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
"packageManager": "pnpm@9.1.0",
"scripts": {
"build": "nest build",
"build:backend": "pnpm build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "ts-prune \"{src,apps,libs,test}/**/*.ts\" && eslint \"{src,apps,libs,test}/**/*.ts\" --fix ",
"start": "nest start",
"start:dev": "NODE_OPTIONS=\"--experimental-specifier-resolution=node\" nest start --watch",
"start:backend": "pnpm start",
"dev": "pnpm start:dev",
"dev:backend": "pnpm start:dev",
"start:debug": "nest start --debug --watch",
Expand Down
2 changes: 2 additions & 0 deletions codefox-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
],
"scripts": {
"build": "pnpm run build:cjs && pnpm run build:esm && pnpm run build:types",
"build:frontend": "pnpm run build",
"build:backend": "pnpm run build",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"private": true,
"scripts": {
"build": "next build",
"build:frontend": "next build",
"dev": "next dev",
"start:dev": "next dev",
"start:frontend": "next start",
"start:dev-watch": "tmuxinator start -p .tmuxinator/build.yml",
"dev:watch": "tmuxinator start -p .tmuxinator/dev.yml",
"start": "next start",
Expand Down
6 changes: 4 additions & 2 deletions llm-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"type": "module",
"scripts": {
"start": "NODE_OPTIONS='--enable-source-maps' nodemon --watch \"src/**/*.ts\" --exec \"tsx\" src/main.ts",
"start:backend": "pnpm start",
"dev": "NODE_OPTIONS='--enable-source-maps' nodemon --watch \"src/**/*.ts\" --exec \"tsx\" src/main.ts",
"dev:backend": "pnpm dev",
"build": " tsc",
"build": "tsc",
"build:backend": "pnpm build",
"serve": "node --enable-source-maps dist/main.js",
"format": "prettier --write \"src/**/*.ts\" ",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.js",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.js --watch",
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@
"scripts": {
"build": "turbo build",
"build:common": "pnpm --filter codefox-common run build",
"build:frontend": "turbo build:frontend",
"build:backend": "turbo build:backend",
"dev:turbo": "turbo dev",
"dev": "tmuxinator start -p .tmuxinator/dev.yml",
"lint": "eslint . --ext .js,.ts,.tsx",
"format": "prettier --write .",
"dev:backend": "turbo dev:backend",
"test": "turbo test",
"fix": "eslint . --ext .js,.ts,.tsx --fix",
"start": "turbo start"
"start": "turbo start",
"start:frontend": "turbo start:frontend",
"start:backend": "turbo start:backend"
},
"postinstall": "pnpm --filter codefox-common run build",
"keywords": [],
Expand Down
16 changes: 16 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@
"start": {
"dependsOn": ["^build"],
"cache": false
},
"start:frontend": {
"dependsOn": ["^build"],
"cache": false
},
"start:backend": {
"dependsOn": ["^build"],
"cache": false
},
"build:frontend": {
"dependsOn": ["^build:frontend"],
"cache": true
},
"build:backend": {
"dependsOn": ["^build:backend"],
"cache": true
}
}
}
Loading