Skip to content

Commit 01b74b1

Browse files
committed
fix: 修复pnpm-lock丢失导致库依赖不一致报错问题
1 parent 5d575de commit 01b74b1

File tree

3 files changed

+7452
-2
lines changed

3 files changed

+7452
-2
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ pnpm-debug.log*
2222
*.sln
2323
*.sw?
2424

25-
.npmrc
2625
yarn.lock
27-
pnpm-lock.yaml
26+
# pnpm-lock.yaml # https://github.com/ikuaitu/vue-fabric-editor/issues/554
2827
package-lock.json
2928
typings/auto-imports.d.ts
3029
.eslintrc-auto-import.json

.npmrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
registry = https://registry.npmmirror.com # 镜像源
2+
canvas_binary_host_mirror = https://registry.npmmirror.com/-/binary/canvas # canvas安装慢的问题
3+
4+
ignore-workspace-root-check = true
5+
shamefully-hoist = true
6+
strict-peer-dependencies = false
7+
auto-install-peers = true

0 commit comments

Comments
 (0)