ZaiZai před 1 rokem
rodič
revize
a42947df28
7 změnil soubory, kde provedl 23 přidání a 32 odebrání
  1. 16 16
      README.md
  2. 0 0
      dist/chunk-FQJFFBZV.js
  3. 1 1
      dist/index.js
  4. 1 1
      dist/prm.js
  5. 1 1
      dist/yrm.js
  6. 1 10
      package.json
  7. 3 3
      registries.json

+ 16 - 16
README.md

@@ -8,7 +8,7 @@ hcny = 泓创 npm、yarn (h = 泓、c = 创、n = npm、 y = yarn)
 
 ```sh
 
-npm install -g hcny --registry http://47.110.251.215:9000/
+npm install -g hcny --registry http://39.108.216.210:9000/
 
 ```
 
@@ -28,13 +28,13 @@ hcny ls
 # hprm ls
 
 # 切换源
-hcny use hcxxy
-# hnrm use hcxxy
-# hyrm use hcxxy
-# hprm use hcxxy
+hcny use hc
+# hnrm use hc
+# hyrm use hc
+# hprm use hc
 
 # 设置本地的 `.npmrc`
-hnrm use hcxxy -l
+hnrm use hc -l
 
 #测试源的响应时间
 hcny test
@@ -48,13 +48,13 @@ hcny test
 ```sh
 
 #如果您使用 npm
-hnrm use hcxxy
+hnrm use hc
 
 #如果您使用 yarn
-hyrm use hcxxy
+hyrm use hc
 
 #如果您使用 pnpm
-hprm use hcxxy
+hprm use hc
 
 ```
 
@@ -109,7 +109,7 @@ hnrm remove example
 - tencent ---- <https://mirrors.cloud.tencent.com/npm/>
 - npmMirror -- <https://skimdb.npmjs.com/registry/>
 - github ----- <https://npm.pkg.github.com/>
-- hcxxy ----- <http://47.110.251.215:9000/> (私有npm仓库源)
+- hc ----- <http://39.108.216.210:9000/> (私有npm仓库源)
 
 
 ## 如果你不想使用 hcny ,也可以自行修改 npm 或 yarn 的配置
@@ -120,19 +120,19 @@ hnrm remove example
 ```shell
 
 #安装全部依赖
-npm install --registry http://47.110.251.215:9000/
+npm install --registry http://39.108.216.210:9000/
 
 #安装某个依赖
-npm install 包名称 --registry http://47.110.251.215:9000/
+npm install 包名称 --registry http://39.108.216.210:9000/
 
 #注册一个私有npm仓库账号,不发包的话,不需要注册
-npm adduser --registry http://47.110.251.215:9000/
+npm adduser --registry http://39.108.216.210:9000/
 
 #登录到私有npm仓库,不发包的话,不需要登录
-npm login --registry http://47.110.251.215:9000/
+npm login --registry http://39.108.216.210:9000/
 
 #发表到私有npm仓库,不发包的话,不需要推送
-npm publish --registry http://47.110.251.215:9000/
+npm publish --registry http://39.108.216.210:9000/
 
 ```
 
@@ -142,7 +142,7 @@ npm publish --registry http://47.110.251.215:9000/
 ```shell
 
 #设置为私有npm仓库的镜像源
-yarn config set registry http://47.110.251.215:9000/
+yarn config set registry http://39.108.216.210:9000/
 
 #设置为yarn官方的镜像源
 yarn config set registry https://registry.yarnpkg.com/

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/chunk-FQJFFBZV.js


+ 1 - 1
dist/index.js

@@ -3,4 +3,4 @@
     import { createRequire as topLevelCreateRequire } from 'module';
     const require = topLevelCreateRequire(import.meta.url);
     
-import{a as n}from"./chunk-3XDXA2U7.js";import"./chunk-XVZDMLED.js";n("npm");
+import{a as n}from"./chunk-FQJFFBZV.js";import"./chunk-XVZDMLED.js";n("npm");

+ 1 - 1
dist/prm.js

@@ -3,4 +3,4 @@
     import { createRequire as topLevelCreateRequire } from 'module';
     const require = topLevelCreateRequire(import.meta.url);
     
-import{a as n}from"./chunk-3XDXA2U7.js";import"./chunk-XVZDMLED.js";n("pnpm");
+import{a as n}from"./chunk-FQJFFBZV.js";import"./chunk-XVZDMLED.js";n("pnpm");

+ 1 - 1
dist/yrm.js

@@ -3,4 +3,4 @@
     import { createRequire as topLevelCreateRequire } from 'module';
     const require = topLevelCreateRequire(import.meta.url);
     
-import{a as n}from"./chunk-3XDXA2U7.js";import"./chunk-XVZDMLED.js";n("yarn");
+import{a as n}from"./chunk-FQJFFBZV.js";import"./chunk-XVZDMLED.js";n("yarn");

+ 1 - 10
package.json

@@ -35,16 +35,7 @@
     "lint": "eslint .",
     "ls": "node dist/index.js ls",
     "play": "node dist/index.js",
-    "test": "npm run ls && npm run test:add && npm run test:remove && npm run test:use && npm run test:test",
-    "test:add": "node dist/index.js add yyj https://www.yunyoujun.cn",
-    "test:remove": "node dist/index.js remove yyj",
-    "test:test": "node dist/index.js test",
-    "test:use": "node dist/index.js use 0x3f && node dist/index.js use taobao",
-    "test:unit": "vitest",
-    "typecheck": "tsc --noEmit",
-    "prepublishOnly": "npm run build",
-    "postinstall": "echo '`\\x1b[33mnnrm -h\\x1b[0m` to see usage \n`\\x1b[33mnnrm ls\\x1b[0m` to see registries'",
-    "release": "bumpp --commit --push --tag"
+    "prepublishOnly": "npm run build"
   },
   "devDependencies": {
     "@antfu/eslint-config": "^0.39.4",

+ 3 - 3
registries.json

@@ -23,8 +23,8 @@
     "home": "https://npm.pkg.github.com/",
     "registry": "https://npm.pkg.github.com/"
   },
-  "hcxxy": {
-    "home": "http://47.110.251.215:9000/",
-    "registry": "http://47.110.251.215:9000/"
+  "hc": {
+    "home": "http://39.108.216.210:9000/",
+    "registry": "http://39.108.216.210:9000/"
   }
 }

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů