Compare commits

..

2 Commits

Author SHA1 Message Date
limix
bb2878d897 Merge 2307faf31a into 5ec18caa72 2024-09-29 10:10:30 +08:00
limix
2307faf31a Update README.zh-CN.md
添加局限性描述
2024-08-20 23:29:41 +08:00
3 changed files with 12 additions and 10 deletions

View File

@@ -90,6 +90,9 @@
[Rubick Plugin CLI](https://github.com/rubickCenter/rubick-plugin-cli)
## 局限性
npm包最终大小不宜超过100MB,所以插件包大小也不宜超过此大小,建议20MB以内,如果包体积过大,预期会导致推送npm仓库失败
## 赞助
### 1. 加入知识星球
我们在知识星球积累了大量的关于 rubick 的知识和常见问题,您可以付费加入我们的知识星球来一起讨论。我们将随时解答!

View File

@@ -1,6 +1,6 @@
import axios from 'axios';
let baseURL = 'https://gitee.com/monkeyWang/rubickdatabase/raw/master';
let baseURL = 'https://gitcode.net/rubickcenter/rubick-database/-/raw/master';
let access_token = '';
try {
@@ -23,10 +23,9 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
console.log('total plugsin', res);
return res.data;
},
@@ -35,7 +34,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@@ -46,7 +45,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@@ -56,7 +55,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@@ -72,7 +71,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@@ -82,7 +81,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@@ -92,7 +91,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;

View File

@@ -1,6 +1,6 @@
{
"name": "rubick",
"version": "4.2.9",
"version": "4.2.7",
"author": "muwoo <2424880409@qq.com>",
"private": true,
"scripts": {