Skip to content

Commit

Permalink
build: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jul 14, 2024
1 parent f66acef commit d05452d
Show file tree
Hide file tree
Showing 19 changed files with 2,557 additions and 2,472 deletions.
22 changes: 11 additions & 11 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
},
"devDependencies": {
"@fancyapps/ui": "5.0.36",
"@vuepress/bundler-vite": "2.0.0-rc.13",
"@vuepress/helper": "2.0.0-rc.34",
"@vuepress/plugin-comment": "2.0.0-rc.34",
"@vuepress/plugin-docsearch": "2.0.0-rc.34",
"@vuepress/plugin-redirect": "2.0.0-rc.34",
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/helper": "2.0.0-rc.38",
"@vuepress/plugin-comment": "2.0.0-rc.38",
"@vuepress/plugin-docsearch": "2.0.0-rc.38",
"@vuepress/plugin-redirect": "2.0.0-rc.38",
"@waline/client": "workspace:*",
"marked": "12.0.2",
"marked": "13.0.2",
"mathjax-full": "3.2.2",
"vidstack": "1.11.21",
"vue": "3.4.27",
"vuepress": "2.0.0-rc.13",
"vuepress-shared": "2.0.0-rc.48",
"vuepress-theme-hope": "2.0.0-rc.48"
"vidstack": "1.11.28",
"vue": "3.4.31",
"vuepress": "2.0.0-rc.14",
"vuepress-shared": "2.0.0-rc.51",
"vuepress-theme-hope": "2.0.0-rc.51"
}
}
6 changes: 2 additions & 4 deletions docs/src/.vuepress/client.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Fancybox } from '@fancyapps/ui/dist/fancybox/fancybox.esm.js';
import {
type WalineOptions,
defineWalineConfig,
} from '@vuepress/plugin-comment/client';
import type { WalineOptions } from '@vuepress/plugin-comment/client';
import { defineWalineConfig } from '@vuepress/plugin-comment/client';
import { onBeforeUnmount, onMounted } from 'vue';
import { defineClientConfig } from 'vuepress/client';

Expand Down
18 changes: 9 additions & 9 deletions docs/src/en/reference/server/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ You should set through `Settings` - `Environment Variables` when using Vercel.

## Basic

| Environment Variables | Required | Description |
| --------------------- | -------- | ------------------------------------------------------- |
| `LEAN_ID` || LeanCloud Application ID |
| `LEAN_KEY` || LeanCloud Application Key |
| `LEAN_MASTER_KEY` || LeanCloud Application Master Key |
| `LEAN_SERVER` || LeanCloud server address if you're leancloud china user |
| `SITE_NAME` | | site name |
| `SITE_URL` | | site url |
| `LOGIN` | | User need login before comment when `LOGIN=force` |
| Environment Variables | Required | Description |
| --------------------- | -------- | ------------------------------------------------------------------------------------------ |
| `LEAN_ID` || LeanCloud Application ID |
| `LEAN_KEY` || LeanCloud Application Key |
| `LEAN_MASTER_KEY` || LeanCloud Application Master Key |
| `LEAN_SERVER` || LeanCloud server address if you're leancloud china user |
| `SITE_NAME` | | site name |
| `SITE_URL` | | site url |
| `LOGIN` | | User need login before comment when `LOGIN=force` |
| `SERVER_URL` | | the url of the Waline Server, useful when the automatically generated address is incorrect |

## Display
Expand Down
20 changes: 10 additions & 10 deletions docs/src/reference/server/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ Vercel 需要在 <kbd>Settings</kbd> - <kbd>Environment Variables</kbd> 中进

## 主要配置

| 环境变量名称 | 必填 | 备注 |
| ----------------- | ---- | -------------------------------------------- |
| `LEAN_ID` || LeanCloud 应用的 App ID |
| `LEAN_KEY` || LeanCloud 应用的 App Key |
| `LEAN_MASTER_KEY` || LeanCloud 应用的 Master Key 用于后台修改数据 |
| `LEAN_SERVER` || LeanCloud 服务地址,国内版用户需要配置此项 |
| `SITE_NAME` | | 博客名称 |
| `SITE_URL` | | 博客地址 |
| `LOGIN` | | 当设置为 LOGIN=force 时会要求登录才能评论 |
| `SERVER_URL` | | 设置 Waline Server 的地址,适合在自动生成的地址不正确时填写 |
| 环境变量名称 | 必填 | 备注 |
| ----------------- | ---- | ----------------------------------------------------------- |
| `LEAN_ID` || LeanCloud 应用的 App ID |
| `LEAN_KEY` || LeanCloud 应用的 App Key |
| `LEAN_MASTER_KEY` || LeanCloud 应用的 Master Key 用于后台修改数据 |
| `LEAN_SERVER` || LeanCloud 服务地址,国内版用户需要配置此项 |
| `SITE_NAME` | | 博客名称 |
| `SITE_URL` | | 博客地址 |
| `LOGIN` | | 当设置为 LOGIN=force 时会要求登录才能评论 |
| `SERVER_URL` | | 设置 Waline Server 的地址,适合在自动生成的地址不正确时填写 |

## 显示

Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,47 +40,47 @@
"singleQuote": true
},
"devDependencies": {
"@babel/core": "7.24.6",
"@babel/plugin-transform-runtime": "7.24.6",
"@babel/preset-env": "7.24.6",
"@babel/preset-react": "7.24.6",
"@babel/runtime": "7.24.6",
"@babel/core": "7.24.8",
"@babel/plugin-transform-runtime": "7.24.7",
"@babel/preset-env": "7.24.8",
"@babel/preset-react": "7.24.7",
"@babel/runtime": "7.24.8",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.6",
"@types/node": "20.14.2",
"@vitejs/plugin-react": "4.3.0",
"@rollup/plugin-replace": "5.0.7",
"@types/node": "20.14.10",
"@vitejs/plugin-react": "4.3.1",
"apidoc": "1.2.0",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.57.0",
"eslint-config-mister-hope": "0.1.0",
"eslint-plugin-react": "7.34.2",
"eslint-config-mister-hope": "0.1.1",
"eslint-plugin-react": "7.34.4",
"eslint-plugin-vue": "9.27.0",
"husky": "9.0.11",
"markdownlint-cli2": "0.13.0",
"nano-staged": "0.8.0",
"postcss": "8.4.38",
"prettier": "3.3.1",
"rimraf": "5.0.7",
"rollup": "4.18.0",
"postcss": "8.4.39",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"rollup": "4.18.1",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"rollup-plugin-ts": "3.4.5",
"sass": "1.77.4",
"sass": "1.77.8",
"sort-package-json": "2.10.0",
"stylelint": "16.6.1",
"stylelint-config-hope": "6.0.1",
"stylelint": "16.7.0",
"stylelint-config-hope": "7.0.2",
"tslib": "2.6.3",
"typescript": "5.4.5",
"vercel": "34.2.7",
"vite": "5.2.11",
"typescript": "5.5.3",
"vercel": "34.3.1",
"vite": "5.3.3",
"vite-plugin-css-injected-by-js": "3.5.1",
"vite-plugin-svgr": "4.2.0",
"vitest": "1.6.0"
"vitest": "2.0.2"
},
"packageManager": "pnpm@9.5.0",
"apidoc": {
Expand Down
6 changes: 3 additions & 3 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
"@rematch/core": "2.2.0",
"base-icon": "2.3.2",
"classnames": "2.5.1",
"i18next": "23.11.5",
"i18next": "23.12.1",
"i18next-browser-languagedetector": "8.0.0",
"md5": "2.3.0",
"qrcode.react": "3.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-i18next": "14.1.2",
"react-redux": "9.1.2",
"react-router-dom": "6.23.1",
"react-router-dom": "6.24.1",
"redux": "5.0.1",
"typescript": "5.4.5"
"typescript": "5.5.3"
},
"publishConfig": {
"provenance": true
Expand Down
14 changes: 7 additions & 7 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,22 +82,22 @@
]
},
"dependencies": {
"@vueuse/core": "^10.10.0",
"@vueuse/core": "^10.11.0",
"@waline/api": "1.0.0-alpha.8",
"autosize": "^6.0.1",
"marked": "^12.0.2",
"marked-highlight": "^2.1.1",
"marked": "^13.0.2",
"marked-highlight": "^2.1.3",
"recaptcha-v3": "^1.10.0",
"vue": "^3.4.27"
"vue": "^3.4.31"
},
"devDependencies": {
"@babel/core": "7.24.6",
"@babel/preset-env": "7.24.6",
"@babel/core": "7.24.8",
"@babel/preset-env": "7.24.8",
"@giphy/js-types": "5.1.0",
"@types/autosize": "4.0.3",
"@vitejs/plugin-vue": "5.0.5",
"user-agent-data-types": "0.4.2",
"vite": "5.2.11"
"vite": "5.3.3"
},
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/config/i18n/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/naming-convention */
import de from './de.js';
import en from './en.js';
import fr from './fr.js';
import jp from './jp.js';
Expand All @@ -7,7 +8,6 @@ import ru from './ru.js';
import viVN from './vi-VN.js';
import zhCN from './zh-CN.js';
import zhTW from './zh-TW.js';
import de from './de.js';
import type { WalineLocale } from '../../typings/index.js';

export type Locales = Record<string, WalineLocale>;
Expand Down
3 changes: 1 addition & 2 deletions packages/client/src/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@

cursor: pointer;
user-select: none;
touch-action: manipulation;

transition-duration: 0.4s;

touch-action: manipulation;

&:hover,
&:active {
border-color: var(--waline-theme-color);
Expand Down
6 changes: 3 additions & 3 deletions packages/client/src/styles/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

.verified-icon {
position: absolute;
top: calc(var(--avatar-size) * 3 / 4);
inset-inline-start: calc(var(--avatar-size) * 3 / 4);
top: calc(var(--avatar-size) * 3 / 4);

border-radius: 50%;

Expand Down Expand Up @@ -182,9 +182,9 @@
content: '';

position: absolute;
inset-inline-start: 0;
top: 0;
bottom: 3.15em;
inset-inline-start: 0;
z-index: 999;

display: block;
Expand All @@ -198,8 +198,8 @@
content: attr(data-expand);

position: absolute;
bottom: 0;
inset-inline-start: 0;
bottom: 0;
z-index: 999;

display: block;
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/styles/emoji.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.wl-emoji-popup {
position: absolute;
top: 100%;
inset-inline-start: 1.25em;
top: 100%;
z-index: 10;

display: none;
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/styles/gif.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.wl-gif-popup {
position: absolute;
top: 100%;
inset-inline-start: 1.25em;
top: 100%;
z-index: 10;

width: calc(100% - 3em);
Expand All @@ -18,6 +18,7 @@
transition:
transform 0.2s ease-out,
opacity 0.2s ease-out;

transform: scale(0.9, 0.9);
transform-origin: 0 0;

Expand All @@ -29,7 +30,6 @@

input {
box-sizing: border-box;

width: 100%;
margin-bottom: 10px;
padding: 3px 5px;
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/styles/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
// katex support
.katex-display {
overflow: auto hidden;
-webkit-overflow-scrolling: touch;
padding-top: 0.2em;
padding-bottom: 0.2em;
-webkit-overflow-scrolling: touch;

&::-webkit-scrollbar {
height: 3px;
Expand Down
12 changes: 6 additions & 6 deletions packages/client/src/styles/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

.wl-close {
position: absolute;
top: -4px;
inset-inline-end: -4px;
top: -4px;

padding: 0;
border: none;
Expand All @@ -27,8 +27,8 @@

.wl-logout-btn {
position: absolute;
top: -10px;
inset-inline-end: -10px;
top: -10px;

padding: 3px;
border: none;
Expand Down Expand Up @@ -109,14 +109,14 @@
input {
flex: 1;

resize: none;

width: 0;
padding: 0.5em;

background: transparent;

font-size: 0.625em;

resize: none;
}
}

Expand Down Expand Up @@ -155,6 +155,8 @@
.wl-editor {
position: relative;

resize: vertical;

width: calc(100% - 1em);
min-height: 8.75em;
margin: 0.75em 0.5em;
Expand All @@ -163,8 +165,6 @@
background: transparent;

font-size: 0.875em;

resize: vertical;
}

.wl-editor,
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/styles/reaction.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@

.wl-reaction-loading {
position: absolute;
top: -4px;
inset-inline-end: -5px;
top: -4px;

width: 18px;
height: 18px;
Expand All @@ -73,8 +73,8 @@

.wl-reaction-votes {
position: absolute;
top: -9px;
inset-inline-end: -9px;
top: -9px;

min-width: 1em;
padding: 2px;
Expand Down
Loading

0 comments on commit d05452d

Please sign in to comment.