From a86a7e24bf8d7e4157875f4aa6e7e28ca9cd0c8e Mon Sep 17 00:00:00 2001 From: ineedjobtostartwork Date: Tue, 5 Mar 2024 15:25:58 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20=20Chore(tsuprc):=20add=20?= =?UTF-8?q?copy=20.npmignore=20and=20.npmrc=20to=20dist=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmignore | 2 ++ config/tsuprc/tsup.prod.ts | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..a720c6b --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +.npmignore +.npmrc \ No newline at end of file diff --git a/config/tsuprc/tsup.prod.ts b/config/tsuprc/tsup.prod.ts index 21b516b..c5b6270 100644 --- a/config/tsuprc/tsup.prod.ts +++ b/config/tsuprc/tsup.prod.ts @@ -15,6 +15,8 @@ export default defineConfig({ copy({ assets: [ { from: "./package.json", to: "./package.json" }, + { from: "./.npmrc", to: "./.npmrc" }, + { from: "./.npmignore", to: "./.npmignore" }, { from: "./README.npm.md", to: "./README.md" } ] })