From abd3e46a524b50330b451047a72fedd100096ff1 Mon Sep 17 00:00:00 2001 From: zhaoyingbo Date: Wed, 27 Nov 2024 13:14:50 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0bunfig.toml=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E5=B9=B6=E7=A7=BB=E9=99=A4.npmrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 1 - bunfig.toml | 5 +++++ docker/deploy/Dockerfile | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 .npmrc create mode 100644 bunfig.toml diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 4860fda..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@egg:registry=https://git.yingbo.im:333/api/packages/zhaoyingbo/npm/ \ No newline at end of file diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..5ce510c --- /dev/null +++ b/bunfig.toml @@ -0,0 +1,5 @@ +[install] +registry = "https://registry.npmjs.org" + +[install.scopes] +"@egg" = "https://git.yingbo.im:333/api/packages/zhaoyingbo/npm/" \ No newline at end of file diff --git a/docker/deploy/Dockerfile b/docker/deploy/Dockerfile index 0e96c07..5520a04 100644 --- a/docker/deploy/Dockerfile +++ b/docker/deploy/Dockerfile @@ -6,6 +6,8 @@ COPY package*.json ./ COPY bun.lockb ./ +COPY bunfig.toml ./ + RUN bun install COPY . .