From f48de084dcc16f1b1b971c93e0babed95365fdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Wang=28=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7=29?= <308487730@qq.com> Date: Thu, 18 Apr 2024 17:17:45 +0800 Subject: [PATCH] feat: add `.npmrc` to template --- template-react-ts/.npmrc | 6 ++++++ template-vanilla-ts/.npmrc | 6 ++++++ template-vue-ts/.npmrc | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 template-react-ts/.npmrc create mode 100644 template-vanilla-ts/.npmrc create mode 100644 template-vue-ts/.npmrc diff --git a/template-react-ts/.npmrc b/template-react-ts/.npmrc new file mode 100644 index 0000000..45c8cd7 --- /dev/null +++ b/template-react-ts/.npmrc @@ -0,0 +1,6 @@ +# For electron-builder +# https://github.com/electron-userland/electron-builder/issues/6289#issuecomment-1042620422 +shamefully-hoist=true + +# For China 🇨🇳 developers +# electron_mirror=https://npmmirror.com/mirrors/electron/ diff --git a/template-vanilla-ts/.npmrc b/template-vanilla-ts/.npmrc new file mode 100644 index 0000000..45c8cd7 --- /dev/null +++ b/template-vanilla-ts/.npmrc @@ -0,0 +1,6 @@ +# For electron-builder +# https://github.com/electron-userland/electron-builder/issues/6289#issuecomment-1042620422 +shamefully-hoist=true + +# For China 🇨🇳 developers +# electron_mirror=https://npmmirror.com/mirrors/electron/ diff --git a/template-vue-ts/.npmrc b/template-vue-ts/.npmrc new file mode 100644 index 0000000..45c8cd7 --- /dev/null +++ b/template-vue-ts/.npmrc @@ -0,0 +1,6 @@ +# For electron-builder +# https://github.com/electron-userland/electron-builder/issues/6289#issuecomment-1042620422 +shamefully-hoist=true + +# For China 🇨🇳 developers +# electron_mirror=https://npmmirror.com/mirrors/electron/