From c0ec66ebfcf8fe1da49eac380e5e46943d42e2a2 Mon Sep 17 00:00:00 2001 From: Park Dahyeon Date: Tue, 18 Nov 2025 08:23:09 +0000 Subject: [PATCH] Configures package publishing to internal registry Configures the project to publish packages to an internal registry. This ensures that the packages are only available within the organization. --- .npmrc | 2 ++ package.json | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6c1dad --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +@dahyeon:registry=https://git.dahyeon.us/api/packages/dahyeon/npm/ +//git.dahyeon.us/api/packages/dahyeon/npm/:_authToken=${NPM_TOKEN} diff --git a/package.json b/package.json index d230c30..88d0b80 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "private": false, "version": "0.0.0", "type": "module", + "publishConfig": { + "registry": "https://git.dahyeon.us/api/packages/dahyeon/npm/" + }, "module": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist"],