From 6ae2fc52a180ca4986dbcef78a4039a610a8d1f6 Mon Sep 17 00:00:00 2001 From: mrdulin Date: Tue, 21 Feb 2023 11:25:40 +0800 Subject: [PATCH] fix: node version campatible issue --- .npmrc | 2 ++ package.json | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..aa900f2 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +registry=https://registry.npmjs.org/ +engine-strict=true \ No newline at end of file diff --git a/package.json b/package.json index 25e5d80..82ff963 100644 --- a/package.json +++ b/package.json @@ -74,5 +74,8 @@ "typescript": "^4.9.4", "vite": "^4.0.0", "vite-tsconfig-paths": "^4.0.2" + }, + "engines": { + "node": "^14.18.0 || ^16.0.0" } }