Skip to content

Commit

Permalink
fix: missing .proto files (#329)
Browse files Browse the repository at this point in the history
Submit a pull request for this project.

<!-- If you have an Issue that related to this Pull Request, you can
copy this Issue's description -->

# Why? 
<!-- 
> Related to which issue?
> Why we need this pull request?
> What is the user story for this pull request? 
-->
[fix: docker image missing .proto
files](#261 (comment))

# What?
<!-- 
> Can you describe this feature in detail?
> Who can benefit from it? 
-->
The docker image lost .proto files once in a while, the reason might be
a typescript compiler issue

# How?
<!-- 
> Do you have a simple description of how this pull request is
implemented?
-->
- [x] upgrade dependency @nestjs/cli to v8.1.4
- [x] writing a script to copy assets
  • Loading branch information
Troy(FengJun) committed Feb 8, 2023
1 parent 05e9113 commit a6171e9
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 249 deletions.
5 changes: 3 additions & 2 deletions packages/room-server/package.json
Expand Up @@ -22,7 +22,8 @@
"test:ut": "DOTENV_CONFIG_PATH=src/env/.env.dev-test jest --config ./jest-ut.config.json --colors --logHeapUsage --verbose --silent --ci --detectOpenHandles --forceExit",
"test:ut:cov": "jest --config ./jest-ut.config.json --logHeapUsage --verbose --silent --ci --updateSnapshot --runInBand --detectOpenHandles --forceExit --coverage --coverageDirectory=coverage",
"grpc:build": "tsproto --path src/proto --output src/proto/generated",
"grpc:clean": "rimraf src/proto/generated"
"grpc:clean": "rimraf src/proto/generated",
"copy:assets": "cp -r 'src/grpc/' 'dist/grpc/' && cp 'src/shared/helpers/list.lock.lua' 'dist/shared/helpers/list.lock.lua'"
},
"engines": {
"node": "16.15.0"
Expand Down Expand Up @@ -97,7 +98,7 @@
"zipkin-transport-http": "^0.22.0"
},
"devDependencies": {
"@nestjs/cli": "^7.5.6",
"@nestjs/cli": "8.1.4",
"@nestjs/schematics": "^8.0.4",
"@nestjs/testing": "^8.1.2",
"@types/cache-manager": "^3.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/socket-server/package.json
Expand Up @@ -51,7 +51,7 @@
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@nestjs/cli": "^7.0.0",
"@nestjs/cli": "8.1.4",
"@nestjs/schematics": "^8.0.4",
"@nestjs/testing": "^8.1.2",
"@types/express": "^4.17.14",
Expand Down

0 comments on commit a6171e9

Please sign in to comment.