From 0f140a61b2e4a4d7f3183e4962b7098278947aac Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Fri, 20 Sep 2024 11:11:49 +0800 Subject: [PATCH] chore: lock the version --- .npmrc | 5 ++++- pnpm-lock.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.npmrc b/.npmrc index c770f70f..3de15a2c 100644 --- a/.npmrc +++ b/.npmrc @@ -1,5 +1,8 @@ # China mirror of npm -# registry = https://registry.npmmirror.com +registry = https://registry.npmmirror.com # 通过该配置兜底解决组件没有类型提示的问题 shamefully-hoist = true + +# 安装依赖时锁定版本号 +save-exact = true diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 414a6279..d5c17217 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -663,8 +663,8 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - '@polka/url@1.0.0-next.27': - resolution: {integrity: sha512-MU0SYgcrBdSVLu7Tfow3VY4z1odzlaTYRjt3WQ0z8XbjDWReuy+EALt2HdjhrwD2HPiW2GY+KTSw4HLv4C/EOA==} + '@polka/url@1.0.0-next.28': + resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} '@rollup/pluginutils@5.1.0': resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} @@ -3898,7 +3898,7 @@ snapshots: '@pkgr/core@0.1.1': {} - '@polka/url@1.0.0-next.27': {} + '@polka/url@1.0.0-next.28': {} '@rollup/pluginutils@5.1.0(rollup@4.22.0)': dependencies: @@ -6442,7 +6442,7 @@ snapshots: sirv@2.0.4: dependencies: - '@polka/url': 1.0.0-next.27 + '@polka/url': 1.0.0-next.28 mrmime: 2.0.0 totalist: 3.0.1