Browse Source

更新说明

ZaiZai 1 year ago
parent
commit
fa92c1de93
2 changed files with 6 additions and 10 deletions
  1. 3 1
      README.md
  2. 3 9
      package.json

+ 3 - 1
README.md

@@ -2,6 +2,8 @@
 
 基于 nnrm 修改的 npm 源管理器,这是一个私有的工具,内置了私有npm仓库源。
 
+hcny = 泓创 npm、yarn (h = 泓、c = 创、n = npm、 y = yarn)
+
 ## 请先全局安装此库
 
 ```sh
@@ -110,7 +112,7 @@ hnrm remove example
 - hcxxy ----- <http://47.110.251.215:9000/> (私有npm仓库源)
 
 
-## 如果你不想使用 hnpm ,也可以自行修改 npm 或 yarn 的配置
+## 如果你不想使用 hcny ,也可以自行修改 npm 或 yarn 的配置
 
 #### 如果你使用npm,推荐你可以在需要时带上 --registry 参数,避免影响其它npm库
 

+ 3 - 9
package.json

@@ -1,8 +1,8 @@
 {
   "name": "hcny",
-  "version": "0.1.0",
+  "version": "0.1.1",
   "type": "module",
-  "description": "New npm registry manager.",
+  "description": "npm、yarn的 私有npm仓库的镜像源切换工具",
   "main": "index.js",
   "packageManager": "pnpm@7.10.0",
   "bin": {
@@ -25,14 +25,8 @@
     "npm",
     "registry",
     "toggle",
-    "manager"
+    "yarn"
   ],
-  "repository": "https://github.com/YunYouJun/nnrm",
-  "author": {
-    "email": "me@yunyoujun.cn",
-    "name": "YunYouJun",
-    "url": "https://www.yunyoujun.cn"
-  },
   "license": "MIT",
   "scripts": {
     "coverage": "vitest run --coverage",