pull/243/head
xiaojunnuo 2024-11-06 01:29:13 +08:00
parent 80f8fd49f1
commit 0c3a812825
4 changed files with 4 additions and 8 deletions

View File

@ -26,7 +26,6 @@
"nanoid": "^5.0.7", "nanoid": "^5.0.7",
"node-forge": "^1.3.1", "node-forge": "^1.3.1",
"nodemailer": "^6.9.3" "nodemailer": "^6.9.3"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.3.10", "@types/chai": "^4.3.10",

View File

@ -1,6 +1,6 @@
// LRUCache // LRUCache
import { LRUCache } from "lru-cache"; import { LRUCache } from 'lru-cache';
export const cache = new LRUCache<string, any>({ export const cache = new LRUCache<string, any>({
max: 1000, max: 1000,

View File

@ -23,7 +23,8 @@
"build-on-docker": "node ./before-build.js && npm run build", "build-on-docker": "node ./before-build.js && npm run build",
"up-mw-deps": "npx midway-version -u -w", "up-mw-deps": "npx midway-version -u -w",
"heap": "cross-env NODE_ENV=pgpl clinic heapprofiler -- node ./bootstrap.js", "heap": "cross-env NODE_ENV=pgpl clinic heapprofiler -- node ./bootstrap.js",
"flame": "clinic flame -- node ./bootstrap.js" "flame": "clinic flame -- node ./bootstrap.js",
"tsc": "tsc --skipLibCheck"
}, },
"dependencies": { "dependencies": {
"@alicloud/pop-core": "^1.7.10", "@alicloud/pop-core": "^1.7.10",

View File

@ -26,9 +26,5 @@
"dist", "dist",
"node_modules", "node_modules",
"test" "test"
], ]
"include": [
"src/**/*.ts",
"node_modules/@certd/**/src/**/*.ts"
],
} }