From: Haoqun Jiang Date: Wed, 1 Jun 2022 07:29:22 +0000 (+0800) Subject: chore: revert "chore: add minimum Node version to .npmrc to avoid accidental breakage" X-Git-Tag: v3.2.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d84302a0b59e57a191682ce83e4f68a19eeac7;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore: revert "chore: add minimum Node version to .npmrc to avoid accidental breakage" This reverts commit 0b16bd50bffb637dfd8b41258fbefee673a0913e. Seems `packageExtensions` cannot be used to patch `engines` field reliably (it works on the first install, but would fail on a subsequent `pnpm i`) Anyway, we have Node.js 14 environment in the CI, so it's not a must-have. --- diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 19f359c4..00000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -engine-strict=true -node-version=14.16.0 diff --git a/package.json b/package.json index 767a394b..c6d2274f 100644 --- a/package.json +++ b/package.json @@ -52,14 +52,5 @@ "*.{js,ts,vue,json}": [ "prettier --write" ] - }, - "pnpm": { - "packageExtensions": { - "zx": { - "engines": { - "node": ">= 14.16.0" - } - } - } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 31b78a88..c2411382 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,5 @@ lockfileVersion: 5.4 -packageExtensionsChecksum: 210dc6f38ad5e77519dd55e799036854 - importers: .: