-
Notifications
You must be signed in to change notification settings - Fork 257
[comp] Production Deploy #2147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
[comp] Production Deploy #2147
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
c6bc9f9
chore: merge release v1.83.1 back to main [skip ci]
github-actions[bot] 45035e9
[dev] [carhartlewis] lewis/comp-company-tasks (#2128)
github-actions[bot] 04ef343
fix(api): inline mergeDeviceLists to fix production runtime crash (#2…
tofikwest d91bcaa
fix(api): add @comp/company package to Dockerfile (#2148)
tofikwest File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,135 +1,131 @@ | ||
| { | ||
| "name": "@comp/api", | ||
| "description": "", | ||
| "version": "0.0.1", | ||
| "author": "", | ||
| "dependencies": { | ||
| "@ai-sdk/anthropic": "^2.0.53", | ||
| "@ai-sdk/groq": "^2.0.32", | ||
| "@ai-sdk/openai": "^2.0.65", | ||
| "@aws-sdk/client-s3": "^3.859.0", | ||
| "@aws-sdk/client-securityhub": "^3.948.0", | ||
| "@aws-sdk/client-sts": "^3.948.0", | ||
| "@aws-sdk/s3-request-presigner": "^3.859.0", | ||
| "@browserbasehq/sdk": "^2.6.0", | ||
| "@browserbasehq/stagehand": "^3.0.5", | ||
| "@comp/integration-platform": "workspace:*", | ||
| "@mendable/firecrawl-js": "^4.9.3", | ||
| "@nestjs/common": "^11.0.1", | ||
| "@nestjs/config": "^4.0.2", | ||
| "@nestjs/core": "^11.0.1", | ||
| "@nestjs/platform-express": "^11.1.5", | ||
| "@nestjs/swagger": "^11.2.0", | ||
| "@nestjs/throttler": "^6.5.0", | ||
| "@prisma/client": "6.18.0", | ||
| "@prisma/instrumentation": "^6.13.0", | ||
| "@react-email/components": "^0.0.41", | ||
| "@trigger.dev/build": "4.0.6", | ||
| "@trigger.dev/sdk": "4.0.6", | ||
| "@trycompai/db": "1.3.22", | ||
| "@trycompai/utils": "1.0.0", | ||
| "@trycompai/email": "workspace:*", | ||
| "@upstash/redis": "^1.34.2", | ||
| "@upstash/vector": "^1.2.2", | ||
| "adm-zip": "^0.5.16", | ||
| "ai": "^5.0.60", | ||
| "archiver": "^7.0.1", | ||
| "axios": "^1.12.2", | ||
| "better-auth": "^1.3.27", | ||
| "class-transformer": "^0.5.1", | ||
| "class-validator": "^0.14.2", | ||
| "dotenv": "^17.2.3", | ||
| "esbuild": "^0.27.1", | ||
| "exceljs": "^4.4.0", | ||
| "express": "^4.21.2", | ||
| "helmet": "^8.1.0", | ||
| "jose": "^6.0.12", | ||
| "jspdf": "^3.0.3", | ||
| "mammoth": "^1.8.0", | ||
| "nanoid": "^5.1.6", | ||
| "pdf-lib": "^1.17.1", | ||
| "playwright-core": "^1.57.0", | ||
| "prisma": "6.18.0", | ||
| "react": "^19.1.1", | ||
| "react-dom": "^19.1.0", | ||
| "reflect-metadata": "^0.2.2", | ||
| "resend": "^6.4.2", | ||
| "rxjs": "^7.8.1", | ||
| "safe-stable-stringify": "^2.5.0", | ||
| "swagger-ui-express": "^5.0.1", | ||
| "xlsx": "^0.18.5", | ||
| "zod": "^4.0.14" | ||
| }, | ||
| "devDependencies": { | ||
| "@eslint/eslintrc": "^3.2.0", | ||
| "@eslint/js": "^9.18.0", | ||
| "@nestjs/cli": "^11.0.0", | ||
| "@nestjs/schematics": "^11.0.0", | ||
| "@nestjs/testing": "^11.0.1", | ||
| "@types/adm-zip": "^0.5.7", | ||
| "@types/archiver": "^6.0.3", | ||
| "@types/express": "^5.0.0", | ||
| "@types/jest": "^30.0.0", | ||
| "@types/multer": "^1.4.12", | ||
| "@types/node": "^24.0.3", | ||
| "@types/supertest": "^6.0.2", | ||
| "@types/swagger-ui-express": "^4.1.8", | ||
| "eslint": "^9.18.0", | ||
| "eslint-config-prettier": "^10.0.1", | ||
| "eslint-plugin-prettier": "^5.2.2", | ||
| "globals": "^16.0.0", | ||
| "jest": "^30.0.0", | ||
| "prettier": "^3.5.3", | ||
| "source-map-support": "^0.5.21", | ||
| "supertest": "^7.0.0", | ||
| "ts-jest": "^29.2.5", | ||
| "ts-loader": "^9.5.2", | ||
| "ts-node": "^10.9.2", | ||
| "tsconfig-paths": "^4.2.0", | ||
| "typescript": "^5.8.3", | ||
| "typescript-eslint": "^8.20.0" | ||
| }, | ||
| "jest": { | ||
| "moduleFileExtensions": [ | ||
| "js", | ||
| "json", | ||
| "ts" | ||
| ], | ||
| "rootDir": "src", | ||
| "testRegex": ".*\\.spec\\.ts$", | ||
| "transform": { | ||
| "^.+\\.(t|j)s$": "ts-jest" | ||
| "name": "@comp/api", | ||
| "description": "", | ||
| "version": "0.0.1", | ||
| "author": "", | ||
| "dependencies": { | ||
| "@ai-sdk/anthropic": "^2.0.53", | ||
| "@ai-sdk/groq": "^2.0.32", | ||
| "@ai-sdk/openai": "^2.0.65", | ||
| "@aws-sdk/client-s3": "^3.859.0", | ||
| "@aws-sdk/client-securityhub": "^3.948.0", | ||
| "@aws-sdk/client-sts": "^3.948.0", | ||
| "@aws-sdk/s3-request-presigner": "^3.859.0", | ||
| "@browserbasehq/sdk": "^2.6.0", | ||
| "@browserbasehq/stagehand": "^3.0.5", | ||
| "@comp/company": "workspace:*", | ||
| "@comp/integration-platform": "workspace:*", | ||
| "@mendable/firecrawl-js": "^4.9.3", | ||
| "@nestjs/common": "^11.0.1", | ||
| "@nestjs/config": "^4.0.2", | ||
| "@nestjs/core": "^11.0.1", | ||
| "@nestjs/platform-express": "^11.1.5", | ||
| "@nestjs/swagger": "^11.2.0", | ||
| "@nestjs/throttler": "^6.5.0", | ||
| "@prisma/client": "6.18.0", | ||
| "@prisma/instrumentation": "^6.13.0", | ||
| "@react-email/components": "^0.0.41", | ||
| "@trigger.dev/build": "4.0.6", | ||
| "@trigger.dev/sdk": "4.0.6", | ||
| "@trycompai/db": "1.3.22", | ||
| "@trycompai/email": "workspace:*", | ||
| "@upstash/redis": "^1.34.2", | ||
| "@upstash/vector": "^1.2.2", | ||
| "adm-zip": "^0.5.16", | ||
| "ai": "^5.0.60", | ||
| "archiver": "^7.0.1", | ||
| "axios": "^1.12.2", | ||
| "better-auth": "^1.3.27", | ||
| "class-transformer": "^0.5.1", | ||
| "class-validator": "^0.14.2", | ||
| "dotenv": "^17.2.3", | ||
| "esbuild": "^0.27.1", | ||
| "exceljs": "^4.4.0", | ||
| "express": "^4.21.2", | ||
| "helmet": "^8.1.0", | ||
| "jose": "^6.0.12", | ||
| "jspdf": "^3.0.3", | ||
| "mammoth": "^1.8.0", | ||
| "nanoid": "^5.1.6", | ||
| "pdf-lib": "^1.17.1", | ||
| "playwright-core": "^1.57.0", | ||
| "prisma": "6.18.0", | ||
| "react": "^19.1.1", | ||
| "react-dom": "^19.1.0", | ||
| "reflect-metadata": "^0.2.2", | ||
| "resend": "^6.4.2", | ||
| "rxjs": "^7.8.1", | ||
| "safe-stable-stringify": "^2.5.0", | ||
| "swagger-ui-express": "^5.0.1", | ||
| "xlsx": "^0.18.5", | ||
| "zod": "^4.0.14" | ||
| }, | ||
| "collectCoverageFrom": [ | ||
| "**/*.(t|j)s" | ||
| ], | ||
| "coverageDirectory": "../coverage", | ||
| "testEnvironment": "node" | ||
| }, | ||
| "license": "UNLICENSED", | ||
| "private": true, | ||
| "scripts": { | ||
| "build": "nest build", | ||
| "build:docker": "bunx prisma generate && nest build", | ||
| "db:generate": "bun run db:getschema && bunx prisma generate", | ||
| "db:getschema": "node ../../packages/db/scripts/combine-schemas.js && cp ../../packages/db/dist/schema.prisma prisma/schema.prisma", | ||
| "db:migrate": "cd ../../packages/db && bunx prisma migrate dev && cd ../../apps/api", | ||
| "deploy:trigger-prod": "npx trigger.dev@4.0.6 deploy", | ||
| "dev": "bunx concurrently --kill-others --names \"nest,trigger\" --prefix-colors \"green,blue\" \"nest start --watch\" \"bunx trigger.dev@4.0.6 dev\"", | ||
| "dev:nest": "nest start --watch", | ||
| "dev:trigger": "bunx trigger.dev@4.0.6 dev", | ||
| "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
| "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
| "prebuild": "bun run db:generate", | ||
| "start": "nest start", | ||
| "start:debug": "nest start --debug --watch", | ||
| "start:dev": "nest start --watch", | ||
| "start:prod": "node dist/main", | ||
| "test": "jest", | ||
| "test:cov": "jest --coverage", | ||
| "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
| "test:e2e": "jest --config ./test/jest-e2e.json", | ||
| "test:watch": "jest --watch", | ||
| "typecheck": "tsc --noEmit" | ||
| } | ||
| "devDependencies": { | ||
| "@eslint/eslintrc": "^3.2.0", | ||
| "@eslint/js": "^9.18.0", | ||
| "@nestjs/cli": "^11.0.0", | ||
| "@nestjs/schematics": "^11.0.0", | ||
| "@nestjs/testing": "^11.0.1", | ||
| "@types/adm-zip": "^0.5.7", | ||
| "@types/archiver": "^6.0.3", | ||
| "@types/express": "^5.0.0", | ||
| "@types/jest": "^30.0.0", | ||
| "@types/multer": "^1.4.12", | ||
| "@types/node": "^24.0.3", | ||
| "@types/supertest": "^6.0.2", | ||
| "@types/swagger-ui-express": "^4.1.8", | ||
| "eslint": "^9.18.0", | ||
| "eslint-config-prettier": "^10.0.1", | ||
| "eslint-plugin-prettier": "^5.2.2", | ||
| "globals": "^16.0.0", | ||
| "jest": "^30.0.0", | ||
| "prettier": "^3.5.3", | ||
| "source-map-support": "^0.5.21", | ||
| "supertest": "^7.0.0", | ||
| "ts-jest": "^29.2.5", | ||
| "ts-loader": "^9.5.2", | ||
| "ts-node": "^10.9.2", | ||
| "tsconfig-paths": "^4.2.0", | ||
| "typescript": "^5.8.3", | ||
| "typescript-eslint": "^8.20.0" | ||
| }, | ||
| "jest": { | ||
| "moduleFileExtensions": [ | ||
| "js", "json", "ts" | ||
| ], | ||
| "rootDir": "src", | ||
| "testRegex": ".*\\.spec\\.ts$", | ||
| "transform": { | ||
| "^.+\\.(t|j)s$": "ts-jest" | ||
| }, | ||
| "collectCoverageFrom": ["**/*.(t|j)s"], | ||
| "coverageDirectory": "../coverage", | ||
| "testEnvironment": "node" | ||
| }, | ||
| "license": "UNLICENSED", | ||
| "private": true, | ||
| "scripts": { | ||
| "build": "nest build", | ||
| "build:docker": "bunx prisma generate && nest build", | ||
| "db:generate": "bun run db:getschema && bunx prisma generate", | ||
| "db:getschema": "node ../../packages/db/scripts/combine-schemas.js && cp ../../packages/db/dist/schema.prisma prisma/schema.prisma", | ||
| "db:migrate": "cd ../../packages/db && bunx prisma migrate dev && cd ../../apps/api", | ||
| "deploy:trigger-prod": "npx trigger.dev@4.0.6 deploy", | ||
| "dev": "bunx concurrently --kill-others --names \"nest,trigger\" --prefix-colors \"green,blue\" \"nest start --watch\" \"bunx trigger.dev@4.0.6 dev\"", | ||
| "dev:nest": "nest start --watch", | ||
| "dev:trigger": "bunx trigger.dev@4.0.6 dev", | ||
| "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
| "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
| "prebuild": "bun run db:generate", | ||
| "start": "nest start", | ||
| "start:debug": "nest start --debug --watch", | ||
| "start:dev": "nest start --watch", | ||
| "start:prod": "node dist/main", | ||
| "test": "jest", | ||
| "test:cov": "jest --coverage", | ||
| "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
| "test:e2e": "jest --config ./test/jest-e2e.json", | ||
| "test:watch": "jest --watch", | ||
| "typecheck": "tsc --noEmit" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate device merge utility added
Low Severity
mergeDeviceListswas reimplemented inapps/api/src/devices/devices.service.tseven though the same logic already exists inpackages/utils/src/devices.ts. This creates duplicated behavior that can drift over time and makes future fixes easy to miss in one path.