diff --git a/web/.npmrc b/web/.npmrc index 8f46dd2575..5677efaaae 100644 --- a/web/.npmrc +++ b/web/.npmrc @@ -1,2 +1,2 @@ +engine-strict=true registry=https://registry.npmmirror.com/ - diff --git a/web/package-lock.json b/web/package-lock.json index d071d5082f..99591b6337 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -106,6 +106,9 @@ "ts-node": "^10.9.2", "typescript": "^5.0.3", "umi-plugin-icons": "^0.1.1" + }, + "engines": { + "node": ">=18.20.4" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/web/package.json b/web/package.json index f54dd04c12..d4ed83b1a1 100644 --- a/web/package.json +++ b/web/package.json @@ -117,5 +117,8 @@ "ts-node": "^10.9.2", "typescript": "^5.0.3", "umi-plugin-icons": "^0.1.1" + }, + "engines": { + "node": ">=18.20.4" } }