File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ raw.githubusercontent.com 在大陆的访问常常无法访问
101
101
102
102
您可以改成 ` gkd-subscription-xxxx ` 其中 ` xxxx ` 是订阅的 id 或者随机字母数字, 总之不冲突就行
103
103
104
+ 或者改成 ` @your_npm_name/subscription ` , 这种类型是 scope 名称, 其中 ` your_npm_name ` 是你下面要注册的 npm 用户名
105
+
104
106
![ image] ( https://github.com/gkd-kit/gkd/assets/38517192/79817967-6f97-4935-9bf3-179bbf50b3aa )
105
107
106
108
接下来获取 token, 你需要先注册 < https://www.npmjs.com > , 然后到 Access Tokens 界面点击 Generate New Token 选择 Classic Token 后随便输入 Name 选择 Publish 即可生成并复制
@@ -125,6 +127,12 @@ https://registry.npmmirror.com/gkd-subscription-xxxx/latest/files/dist/gkd.json5
125
127
126
128
注: 将 gkd-subscription-xxxx 换成您的包名
127
129
130
+ 如果你的包名是 ` @your_npm_name/subscription ` 这种类型, 加速链接是
131
+
132
+ ``` txt
133
+ https://registry.npmmirror.com/@your_npm_name/subscription/latest/files/dist/gkd.json5
134
+ ```
135
+
128
136
## 自定义配置文件
129
137
130
138
注意: ** 大多数情况下, 你不需要自定义, 使用默认配置时, 下面此节教程无需了解**
You can’t perform that action at this time.
0 commit comments