Skip to content

Commit

Permalink
fix(scripts): fix a bug in the elements script, bump throttler (#855)
Browse files Browse the repository at this point in the history
- [x] fix the script that generates the elements bootstrap script;
- [x] bump nestjs throttler;
  • Loading branch information
rfprod authored Jun 15, 2024
1 parent 5a58315 commit 548a976
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@nestjs/platform-ws": "10.3.9",
"@nestjs/serve-static": "4.0.2",
"@nestjs/swagger": "7.3.1",
"@nestjs/throttler": "5.1.2",
"@nestjs/throttler": "5.2.0",
"@nestjs/websockets": "10.3.9",
"axios": "1.7.2",
"cache-manager": "5.6.1",
Expand Down
9 changes: 5 additions & 4 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@grpc/grpc-js": "1.10.9",
"@grpc/proto-loader": "0.7.13",
"@nestjs/apollo": "12.1.0",
"@nestjs/throttler": "5.1.2",
"@nestjs/throttler": "5.2.0",
"@nestjs/axios": "3.0.2",
"@nestjs/common": "10.3.9",
"@nestjs/config": "3.2.2",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"@nestjs/platform-ws": "10.3.9",
"@nestjs/serve-static": "4.0.2",
"@nestjs/swagger": "7.3.1",
"@nestjs/throttler": "5.1.2",
"@nestjs/throttler": "5.2.0",
"@nestjs/websockets": "10.3.9",
"apollo-angular": "7.0.2",
"apollo-upload-client": "18.0.1",
Expand Down
4 changes: 2 additions & 2 deletions tools/shell/generate-elements-bootstrap-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ generateBootstrapScript() {

local BOOTSTRAP_SCRIPT_DIST_PATH="$1/$2"
local EMELENT_PROJECT_NAME="$2"
local DIST_INDEX_HTML_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/index.html"
local BOOTSTRAP_SCRIPT_FILE_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/bootstrap.js"
local DIST_INDEX_HTML_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/browser/index.html"
local BOOTSTRAP_SCRIPT_FILE_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/browser/bootstrap.js"

printNameAndValue "boostrap script file path" "$BOOTSTRAP_SCRIPT_FILE_PATH"
printGap
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5461,10 +5461,10 @@
dependencies:
tslib "2.6.2"

"@nestjs/throttler@5.1.2":
version "5.1.2"
resolved "https://registry.yarnpkg.com/@nestjs/throttler/-/throttler-5.1.2.tgz#dc65634153c8b887329b1cc6061db2e556517dcb"
integrity sha512-60MqhSLYUqWOgc38P6C6f76JIpf6mVjly7gpuPBCKtVd0p5e8Fq855j7bJuO4/v25vgaOo1OdVs0U1qtgYioGw==
"@nestjs/throttler@5.2.0":
version "5.2.0"
resolved "https://registry.yarnpkg.com/@nestjs/throttler/-/throttler-5.2.0.tgz#9a70f1e13b3015977ed0fe740e23e3c5cba2d49a"
integrity sha512-G/G/MV3xf6sy1DwmnJsgeL+d2tQ/xGRNa9ZhZjm9Kyxp+3+ylGzwJtcnhWlN82PMEp3TiDQpTt+9waOIg/bpPg==

"@nestjs/[email protected]":
version "10.3.9"
Expand Down Expand Up @@ -20167,6 +20167,7 @@ preserve@^0.2.0:
integrity sha512-s/46sYeylUfHNjI+sA/78FAHlmIuKqI9wNnzEOGehAlUUYeObv5C2mOinXBjyUyWmJ2SfcS2/ydApH4hTF4WXQ==

"prettier-fallback@npm:prettier@^3", prettier@^3.1.1:
name prettier-fallback
version "3.3.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a"
integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==
Expand Down

0 comments on commit 548a976

Please sign in to comment.