From fed5980a3357fd37647c1da71d5a97203ccc0af0 Mon Sep 17 00:00:00 2001 From: misitebao Date: Wed, 15 Dec 2021 21:40:51 +0800 Subject: [PATCH] feat: add npm version limit field --- frontend/package.tmpl.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/package.tmpl.json b/frontend/package.tmpl.json index 81bd621..1194260 100644 --- a/frontend/package.tmpl.json +++ b/frontend/package.tmpl.json @@ -9,8 +9,8 @@ }, "author": "{{.AuthorName}}", "license": "ISC", - "workspaces": [ - "JS", - "TS" - ] + "workspaces": ["JS", "TS"], + "engines": { + "npm": "^7.0.0" + } }