From d7be1e20519162bf18759e61a7db2626372f44f0 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Fri, 16 Aug 2024 16:02:45 +0800 Subject: [PATCH] feat: test publish to local Verdaccio --- test-npm-publish/.npmrc | 2 ++ test-npm-publish/package.json | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 test-npm-publish/.npmrc diff --git a/test-npm-publish/.npmrc b/test-npm-publish/.npmrc new file mode 100644 index 0000000..49708f8 --- /dev/null +++ b/test-npm-publish/.npmrc @@ -0,0 +1,2 @@ +# @abearxiong:registry=https://registry.npmjs.org/ +@abearxiong:registry=https://npm.xiongxiao.me \ No newline at end of file diff --git a/test-npm-publish/package.json b/test-npm-publish/package.json index eaf5a8f..e25fc38 100644 --- a/test-npm-publish/package.json +++ b/test-npm-publish/package.json @@ -1,6 +1,6 @@ { - "name": "@abear/test-publish", - "version": "1.0.0", + "name": "@abearxiong/test-publish", + "version": "1.0.1", "description": "", "private": false, "main": "dist/index.js", @@ -8,7 +8,7 @@ "scripts": { "build": "tsc", "prepublish": "npm run build", - "spublish": "npm publish --registry https://registry.npmjs.org/" + "publish:me": "npm publish --registry https://npm.xiongxiao.me" }, "files": [ "dist" @@ -23,4 +23,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file