Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Dec 5, 2023
1 parent c86f481 commit 91de8cf
Show file tree
Hide file tree
Showing 21 changed files with 1,701 additions and 1,361 deletions.
14 changes: 6 additions & 8 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { getDirname, path } from "@vuepress/utils";
import { defineUserConfig } from "vuepress";
import { docsearchPlugin } from "@vuepress/plugin-docsearch";
import { sitemapPlugin } from "vuepress-plugin-sitemap2";
import theme from "./theme.js";

const __dirname = getDirname(import.meta.url);
Expand All @@ -21,14 +20,16 @@ export default defineUserConfig({
["script", { src: "//at.alicdn.com/t/c/font_2601581_144d8yxi3ht.js" }],
["script", { src: "/js/baidu.js" }],
[
'script', {}, `
"script",
{},
`
(function() {
if (location.href.indexOf('gitee.io') > -1 || location.href.indexOf('sheng90.wang') > -1) {
location.href = 'https://api-buddy.cn'
}
})();
`
]
`,
],

// ["script", { src: "https://cdn.wwads.cn/js/makemoney.js" }],
],
Expand Down Expand Up @@ -74,17 +75,14 @@ export default defineUserConfig({
},
},
}),
sitemapPlugin({
hostname: "https://api-buddy.cn",
}),
],

pagePatterns: ["**/*.md", "!*.snippet.md", "!.vuepress", "!node_modules"],

alias: {
"@theme-hope/layouts/Layout": path.resolve(
__dirname,
"./layouts/Layout.vue",
"./layouts/Layout.vue"
),
// "@theme-hope/components/HomePage": path.resolve(
// __dirname,
Expand Down
3 changes: 2 additions & 1 deletion docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const __dirname = getDirname(import.meta.url);

export default hopeTheme(
{
hostname: "https://api-buddy.cn",
logo: "/img/fastRequest.svg",

repo: "https://github.com/dromara/fast-request",
Expand Down Expand Up @@ -107,5 +108,5 @@ export default hopeTheme(
},
},
},
{ custom: true },
{ custom: true }
);
2 changes: 1 addition & 1 deletion docs/en/guide/buy.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Log in to your JetBrains account.

## Tips💡

::: danger License info
::: caution License info

**Please keep your activation code information safe and do not leak the License information.**
![](/img/buy/accountLicense.png)
Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Operation method:

Using this function, you can easily share your existing APIs with other developers, or import to IDEA on other devices

::: danger Attention
::: caution Attention

- A new file named fastRequestCollection.xml will be added when exporting,You can't rename it, it is exported to the current project path by default.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/features/apiImportExport.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Version Required: <Badge text="2022.1.4" />

Using this function, you can easily share your existing APIs with other developers or import them to IDEA on other devices.

::: danger Attention
::: caution Attention

- A new file named fastRequestCollection.xml will be added when exporting. You should not rename it. The plugin will export it to the current project path by default.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/features/curlImport.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Version required: <Badge text="2022.2.1" />

::: danger Note
::: caution Note
If you want to bind a method, you need to place the cursor on the method name.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/features/projectLevelDomainConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This function allows developers to add a domain quickly.

Version required: <Badge text="2023.1.1+"/>

::: danger Suggestion
::: caution Suggestion
It is recommended to use project-level domain config,original config [<ColorIcon icon="tool" /> Setting manager](./settingManager.md) will be used as global config and will have a lower priority than project level config.

The advantage of using project-level config is that when there are many projects, the drop-down box options will be reduced (excluding the config of other projects)
Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/getstarted/projectEnv.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project/Env/Domain
icon: config2
---

::: danger Suggestion
::: caution Suggestion
It is recommended to use [<ColorIcon icon="domainConfig" /> Project-level domain config](../features/projectLevelDomainConfig.md),original config will be used as global config and will have a lower priority than project level config.

The advantage of using project-level config is that when there are many projects, the drop-down box options will be reduced (excluding the config of other projects).
Expand Down
4 changes: 2 additions & 2 deletions docs/en/guide/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ feat: <Badge text="New function" type="tip"/> <span>&nbsp;&nbsp;&nbsp;&nbsp;</sp
Because developing version is still in development, the documentation of developing version may not be entirely accurate and is subject to change.
:::

::: danger Performance issues caused by themes
::: caution Performance issues caused by themes
At present, it is found that [Material Theme UI](https://plugins.jetbrains.com/plugin/8006-material-theme-ui) has modified some of its own UI components,
and some plug-in versions are rendering components under specific systems (such as Windows). There are performance issues. If you find right-clicking or other operations stuck, upgrade the theme plug-in or use the native IDEA theme.
:::
Expand Down Expand Up @@ -271,7 +271,7 @@ Move from the original button where it is easy to block the text to the upper ri

:::

::: danger SearchEveryWhere style confusion
::: caution SearchEveryWhere style confusion
This issue accompanies many versions and this version completely fixes it.

SearchEveryWhere, from now on, will not have the problem of the tab width increasing and causing the tab to not be fully displayed.
Expand Down
4 changes: 2 additions & 2 deletions docs/en/guide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ icon: install-fill
title: Install
---

::: danger
::: caution
Please do not install other similar plugins. It will cause conflicts or data loss, and we are not responsible for this.
:::

Expand Down Expand Up @@ -39,7 +39,7 @@ To install the EAP version, you need to download the corresponding EAP package.

[Download eap package](https://plugins.jetbrains.com/plugin/16988-restful-fast-request/versions/eap)

::: danger Note
::: caution Note
When using EAP versions, it is essential to note that upgrading from a lower version to a higher version of EAP will not cause any problems,
but when downgrading from a higher version to a lower stable version, some data generated by the new features in the EAP version may be lost.
:::
2 changes: 1 addition & 1 deletion docs/en/guide/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The groovy syntax is almost identical to Java.

## Built-in variable

::: danger Notice
::: caution Notice

Developers should pay attention to the fact that the built-in variable has been declared in the script edited by themselves instead of creating a new Request or Response object. Otherwise, it may cause unexpected errors.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/buy.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ icon: buy

## Tips💡

::: danger License 信息
::: caution License 信息

**请妥善保存好您的激活码信息,不要泄露证书信息**
![](/img/buy/accountLicense.png)
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ API Navigate树默认是懒加载的,需要点击刷新按钮,同样每次

利用改功能,你可以非常方便得将自己已有的 APIs 分享给别的开发者,或者导入到其他设备上的 IDEA

::: danger 注意点
::: caution 注意点

- 导出的时候会新增一个名为 fastRequestCollection.xml 的 xml 文件,你不能重命名它, 默认导出到当前项目路径下

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/features/apiImportExport.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

利用该功能,你可以非常方便得将自己已有的 APIs 分享给别的开发者,或者导入到其他设备上的 IDEA。

::: danger 注意点
::: caution 注意点

- 导出的时候会新增一个名为 fastRequestCollection.xml 的 xml 文件,你不能重命名它, 默认导出到当前项目路径下。

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/features/projectLevelDomainConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

版本要求: <Badge text="2023.1.1+"/>

::: danger 建议
::: caution 建议
建议使用项目级别域名配置,原来的[<ColorIcon icon="tool" /> 管理配置](./settingManager.md)将作为全配置配置,并且优先级小于项目级别配置,建议项目域名以项目级别隔离而不要使用全局配置。

使用项目级别配置的好处是当项目多的时候,下拉框选项将减少(排除了其他项目的配置),只取本项目级别域名与全局域名配置的交集。
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/getstarted/projectEnv.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 项目/环境/域名
icon: config2
---

::: danger 建议
::: caution 建议
建议使用[<ColorIcon icon="domainConfig" /> 项目级别域名配置](../features/projectLevelDomainConfig.md),原来的配置将作为全配置配置,并且优先级小于项目级别配置。

使用项目级别配置的好处是当项目多的时候,下拉框选项将减少(排除了其他项目的配置),只取本项目级别域名与全局域名配置的交集。
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ feat: <Badge text="新功能" type="tip"/> <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
由于开发版本仍在开发中,开发版本的文档可能不完全准确,可能会发生变化。
:::

::: danger 主题导致的性能问题
::: caution 主题导致的性能问题
目前发现[Material Theme UI](https://plugins.jetbrains.com/plugin/8006-material-theme-ui)由于修改了一部分自带的UI组件,某些插件版本版本在某些系统(例如windows)下面渲染组件的时候存在性能问题,如果发现右键或者其他操作卡顿,则需要升级主题插件或者使用原生IDEA主题
:::

Expand Down Expand Up @@ -264,7 +264,7 @@ public Set<String> test3(@RequestBody Set<String>set) {

:::

::: danger SearchEveryWhere 样式错乱
::: caution SearchEveryWhere 样式错乱
这个问题伴随了很多版本,该版本彻底修复了。SearchEveryWhere 不会出现 Tab 宽度变大而导致 Tab 显示不全
:::

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ icon: install-fill
title: 安装
---

::: danger
::: caution
请不要安装其他类似插件,引起冲突或者数据丢失概不负责!
:::

Expand Down Expand Up @@ -37,7 +37,7 @@ eap 版本需要先去下载对应的 eap 压缩包,安装请参考方式**离

[前往下载](https://plugins.jetbrains.com/plugin/16988-restful-fast-request/versions/eap)

::: danger 注意
::: caution 注意
使用 eap 版本的时候需要注意,一般低版本升级到高版本的 eap 不大会出什么问题,但是从高版本的 eap 版本降级到低版本的稳定版本,eap 版本中一些新的功能保存的数据,
可能会丢失
:::
2 changes: 1 addition & 1 deletion docs/guide/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ headerDepth: 4

## 内置变量

::: danger 注意
::: caution 注意

开发者在自己编辑的脚本中,应该注意内置变量已被声明,而不是再去 new 一个 Request 或者 Response 对象,对象名是 request 或者 response,否则可能会造成不可预期的错误

Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@
"docs:clean-dev": "vuepress dev docs --no-cache",
"packages:update": "pnpm dlx vp-update"
},
"packageManager": "pnpm@8.9.2",
"packageManager": "pnpm@8.11.0",
"dependencies": {
"@vuepress/client": "2.0.0-beta.67",
"@vuepress/plugin-docsearch": "2.0.0-beta.67",
"@vuepress/utils": "2.0.0-beta.67",
"chart.js": "^4.4.0",
"vue": "^3.3.7",
"@vuepress/client": "2.0.0-rc.0",
"@vuepress/plugin-docsearch": "2.0.0-rc.0",
"@vuepress/utils": "2.0.0-rc.0",
"chart.js": "^4.4.1",
"vue": "^3.3.10",
"vue-router": "^4.2.5",
"vuepress": "2.0.0-beta.67",
"vuepress-theme-hope": "2.0.0-beta.241"
"vuepress": "2.0.0-rc.0",
"vuepress-theme-hope": "2.0.0-rc.2"
},
"devDependencies": {
"prettier": "3.0.3",
"vuepress-plugin-sitemap2": "2.0.0-beta.244"
"prettier": "3.1.0"
}
}
Loading

0 comments on commit 91de8cf

Please sign in to comment.