mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 20:17:45 +00:00
fix(deps): add express-rate-limit to production dependencies
express-rate-limit was imported in auth-middleware.ts but only the @types/express-rate-limit package was declared in devDependencies. This caused "Cannot find module 'express-rate-limit'" error when running `ccs config` after installing v7.20.0 globally. Closes #333
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"chokidar": "^3.6.0",
|
||||
"cli-table3": "^0.6.5",
|
||||
"express": "^4.18.2",
|
||||
"express-rate-limit": "^8.2.1",
|
||||
"express-session": "^1.18.2",
|
||||
"get-port": "^5.1.1",
|
||||
"gradient-string": "^2.0.2",
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
"chokidar": "^3.6.0",
|
||||
"cli-table3": "^0.6.5",
|
||||
"express": "^4.18.2",
|
||||
"express-rate-limit": "^8.2.1",
|
||||
"express-session": "^1.18.2",
|
||||
"get-port": "^5.1.1",
|
||||
"gradient-string": "^2.0.2",
|
||||
|
||||
Reference in New Issue
Block a user