|
7 | 7 | "license": "UNLICENSED", |
8 | 8 | "packageManager": "[email protected]", |
9 | 9 | "scripts": { |
10 | | - "build": "nest build", |
| 10 | + "build": "pnpm run build:common && nest build", |
| 11 | + "build:common": "pnpm --filter codefox-common run build", |
11 | 12 | "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", |
12 | 13 | "lint": "ts-prune \"{src,apps,libs,test}/**/*.ts\" && eslint \"{src,apps,libs,test}/**/*.ts\" --fix ", |
13 | 14 | "start": "nest start --watch", |
14 | | - "start:dev": "nest start --watch", |
15 | | - "dev": "pnpm start:dev", |
| 15 | + "start:dev": "NODE_OPTIONS=\"--experimental-specifier-resolution=node\" nest start --watch", |
| 16 | + "dev": "pnpm run build:common && pnpm start:dev", |
16 | 17 | "dev:backend": "pnpm start:dev", |
17 | 18 | "start:debug": "nest start --debug --watch", |
18 | | - "start:prod": "node dist/main", |
| 19 | + "start:prod": "node --experimental-specifier-resolution=node dist/main", |
19 | 20 | "test": "jest --passWithNoTests", |
20 | 21 | "test:watch": "jest --watch", |
21 | 22 | "test:cov": "jest --coverage", |
22 | 23 | "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
23 | 24 | "test:e2e": "jest --config ./test/jest-e2e.json", |
24 | | - "test:integration": "RUN_INTEGRATION_TESTS=true jest", |
| 25 | + "test:integration": "INTEGRATION_TEST=true jest", |
25 | 26 | "check-types": "tsc --noEmit" |
26 | 27 | }, |
27 | 28 | "dependencies": { |
|
41 | 42 | "@types/fs-extra": "^11.0.4", |
42 | 43 | "@types/normalize-path": "^3.0.2", |
43 | 44 | "@types/toposort": "^2.0.7", |
44 | | - "toposort": "^2.0.2", |
45 | 45 | "axios": "^1.7.7", |
46 | 46 | "bcrypt": "^5.1.1", |
47 | 47 | "class-validator": "^0.14.1", |
| 48 | + "dotenv": "^16.4.7", |
| 49 | + "eslint-plugin-unused-imports": "^4.1.4", |
| 50 | + "fastembed": "^1.14.1", |
48 | 51 | "fs-extra": "^11.2.0", |
| 52 | + "gpt-3-encoder": "^1.1.4", |
49 | 53 | "graphql": "^16.9.0", |
50 | 54 | "graphql-subscriptions": "^2.0.0", |
51 | 55 | "graphql-ws": "^5.16.0", |
52 | 56 | "lodash": "^4.17.21", |
53 | 57 | "markdown-to-txt": "^2.0.1", |
54 | 58 | "normalize-path": "^3.0.0", |
| 59 | + "openai": "^4.77.0", |
| 60 | + "p-queue-es5": "^6.0.2", |
55 | 61 | "reflect-metadata": "^0.2.2", |
56 | 62 | "rxjs": "^7.8.1", |
57 | 63 | "sqlite3": "^5.1.7", |
58 | 64 | "subscriptions-transport-ws": "^0.11.0", |
| 65 | + "toposort": "^2.0.2", |
59 | 66 | "typeorm": "^0.3.20", |
60 | 67 | "uuid": "^10.0.0" |
61 | 68 | }, |
|
70 | 77 | "@types/supertest": "^6.0.0", |
71 | 78 | "@typescript-eslint/eslint-plugin": "^8.0.0", |
72 | 79 | "@typescript-eslint/parser": "^8.0.0", |
| 80 | + "codefox-common": "workspace:*", |
73 | 81 | "eslint": "^8.57.1", |
74 | 82 | "eslint-config-prettier": "^9.0.0", |
75 | 83 | "eslint-plugin-prettier": "^5.0.0", |
|
0 commit comments