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 Jan 26, 2024
1 parent 3b102b2 commit 6af6345
Show file tree
Hide file tree
Showing 14 changed files with 1,070 additions and 1,562 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm nano-staged
File renamed without changes.
19 changes: 9 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@
"private": true,
"type": "module",
"scripts": {
"build": "vuepress build src",
"dev": "vuepress dev src"
"build": "vuepress-vite build src",
"dev": "vuepress-vite dev src"
},
"devDependencies": {
"@fancyapps/ui": "5.0.33",
"@vuepress/client": "2.0.0-rc.0",
"@vuepress/plugin-docsearch": "2.0.0-rc.0",
"@vuepress/utils": "2.0.0-rc.0",
"@waline/client": "2.15.8",
"@vuepress/bundler-vite": "2.0.0-rc.2",
"@vuepress/plugin-docsearch": "2.0.0-rc.1",
"@waline/client": "workspace:*",
"marked": "11.1.1",
"mathjax-full": "3.2.2",
"vue": "3.4.15",
"vuepress": "2.0.0-rc.0",
"vuepress-plugin-redirect": "2.0.0-rc.11",
"vuepress-shared": "2.0.0-rc.11",
"vuepress-theme-hope": "2.0.0-rc.11"
"vuepress": "2.0.0-rc.2",
"vuepress-plugin-redirect": "2.0.0-rc.14",
"vuepress-shared": "2.0.0-rc.14",
"vuepress-theme-hope": "2.0.0-rc.14"
}
}
4 changes: 2 additions & 2 deletions docs/src/.vuepress/client.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineClientConfig } from '@vuepress/client';
import { onMounted, onBeforeUnmount } from 'vue';
import { Fancybox } from '@fancyapps/ui/dist/fancybox/fancybox.esm.js';
import { onMounted, onBeforeUnmount } from 'vue';
import { defineClientConfig } from 'vuepress/client';

export default defineClientConfig({
setup() {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/.vuepress/components/NormalPage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { usePageFrontmatter } from '@vuepress/client';
import { usePageFrontmatter } from 'vuepress/client';
import {
type ComponentOptions,
type VNode,
Expand Down
2 changes: 1 addition & 1 deletion docs/src/.vuepress/components/WalineTips.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { usePageFrontmatter, useRouteLocale } from '@vuepress/client';
import { usePageFrontmatter, useRouteLocale } from 'vuepress/client';
import { computed, defineComponent, h } from 'vue';

import type { VNode } from 'vue';
Expand Down
6 changes: 3 additions & 3 deletions docs/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { path } from '@vuepress/utils';
import { defineUserConfig } from 'vuepress';
import { type UserConfig, defineUserConfig } from 'vuepress';
import { path } from 'vuepress/utils';
import { redirectPlugin } from 'vuepress-plugin-redirect';
import { addViteSsrNoExternal } from 'vuepress-shared';

import theme from './theme.js';

export default defineUserConfig({
export default <UserConfig>defineUserConfig({
locales: {
'/': {
lang: 'zh-CN',
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,36 @@
"lint:stylelint": "stylelint packages/*/src/**/*.scss --fix",
"packages:check-update": "pnpm dlx npm-check-updates --deep",
"packages:update": "pnpm dlx npm-check-updates --deep -u && pnpm i && pnpm -r up",
"prepare": "husky install",
"prepare": "husky",
"server:dev": "vercel dev ./example --listen 9090",
"test": "vitest"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nano-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.md": "markdownlint --fix",
"*.{js,ts,vue}": "eslint --fix",
"package.json": "sort-package-json"
"**/package.json": "sort-package-json"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},
"devDependencies": {
"@babel/core": "7.23.7",
"@babel/plugin-transform-runtime": "7.23.7",
"@babel/preset-env": "7.23.8",
"@babel/core": "7.23.9",
"@babel/plugin-transform-runtime": "7.23.9",
"@babel/preset-env": "7.23.9",
"@babel/preset-react": "7.23.3",
"@babel/runtime": "7.23.8",
"@commitlint/cli": "18.5.0",
"@commitlint/config-conventional": "18.5.0",
"@babel/runtime": "7.23.9",
"@commitlint/cli": "18.6.0",
"@commitlint/config-conventional": "18.6.0",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@types/node": "20.11.6",
"@types/node": "20.11.7",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"@vitejs/plugin-react": "4.2.1",
Expand All @@ -67,23 +67,23 @@
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-vue": "9.20.1",
"husky": "8.0.3",
"husky": "9.0.6",
"markdownlint-cli": "0.38.0",
"nano-staged": "0.8.0",
"postcss": "8.4.33",
"prettier": "3.2.4",
"rimraf": "5.0.5",
"rollup": "4.9.6",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-esbuild": "6.1.0",
"rollup-plugin-esbuild": "6.1.1",
"rollup-plugin-ts": "3.4.5",
"sass": "1.70.0",
"sort-package-json": "2.6.0",
"stylelint": "16.2.0",
"stylelint-config-hope": "5.0.1",
"tslib": "2.6.2",
"typescript": "5.3.3",
"vercel": "33.2.0",
"vercel": "33.3.0",
"vite": "5.0.12",
"vite-plugin-css-injected-by-js": "3.3.1",
"vite-plugin-svgr": "4.2.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@waline/admin",
"version": "0.25.3",
"description": "management system for waline",
"type": "module",
"keywords": [
"waline",
"valine",
Expand All @@ -20,9 +19,10 @@
},
"license": "MIT",
"author": "lizheming <[email protected]>",
"type": "module",
"exports": "./dist/admin.js",
"main": "dist/admin.js",
"browser": "dist/admin.js",
"exports": "./dist/admin.js",
"files": [
"dist"
],
Expand All @@ -32,9 +32,6 @@
"dev": "vite",
"prepublishOnly": "pnpm build"
},
"publishConfig": {
"provenance": true
},
"browserslist": {
"production": [
">0.5%",
Expand All @@ -53,7 +50,7 @@
"@rematch/core": "2.2.0",
"base-icon": "2.2.1",
"classnames": "2.5.1",
"i18next": "23.7.18",
"i18next": "23.7.20",
"i18next-browser-languagedetector": "7.2.0",
"md5": "2.3.0",
"qrcode.react": "3.1.0",
Expand All @@ -64,5 +61,8 @@
"react-router-dom": "6.21.3",
"redux": "5.0.1",
"typescript": "5.3.3"
},
"publishConfig": {
"provenance": true
}
}
18 changes: 9 additions & 9 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@waline/api",
"version": "1.0.0-alpha.5",
"type": "module",
"description": "Client API for Waline comment system",
"keywords": [
"api",
Expand All @@ -17,10 +16,7 @@
"email": "[email protected]",
"url": "https://mrhope.site"
},
"main": "./dist/api.cjs",
"module": "./dist/api.js",
"browser": "./dist/api.umd.js",
"types": "./dist/api.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/api.d.ts",
Expand All @@ -29,14 +25,18 @@
"default": "./dist/api.js"
}
},
"main": "./dist/api.cjs",
"module": "./dist/api.js",
"browser": "./dist/api.umd.js",
"types": "./dist/api.d.ts",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf ./dist",
"build": "rollup -c rollup.config.ts --configPlugin esbuild",
"clean": "rimraf ./dist",
"prepublishOnly": "pnpm clean && pnpm build"
},
"files": [
"dist"
],
"engines": {
"node": ">=18"
},
Expand Down
18 changes: 9 additions & 9 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"comment",
"blog"
],
"type": "module",
"repository": {
"url": "https://github.com/walinejs/waline",
"directory": "packages/client"
Expand All @@ -19,6 +18,7 @@
"email": "[email protected]",
"url": "https://mister-hope.com"
},
"type": "module",
"exports": {
".": {
"types": "./dist/slim.d.ts",
Expand Down Expand Up @@ -66,9 +66,6 @@
"style:main": "sass ./src/styles/index.scss ./dist/waline.css --style=compressed",
"style:meta": "sass ./src/styles/meta.scss ./dist/waline-meta.css --style=compressed"
},
"publishConfig": {
"provenance": true
},
"browserslist": {
"production": [
">0.5%",
Expand All @@ -84,9 +81,6 @@
"last 2 safari version"
]
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@vueuse/core": "^10.7.2",
"@waline/api": "^1.0.0-alpha.5",
Expand All @@ -97,13 +91,19 @@
"vue": "^3.4.15"
},
"devDependencies": {
"@babel/core": "7.23.7",
"@babel/preset-env": "7.23.8",
"@babel/core": "7.23.9",
"@babel/preset-env": "7.23.9",
"@giphy/js-types": "5.0.0",
"@types/autosize": "4.0.3",
"@types/marked": "5.0.2",
"@vitejs/plugin-vue": "5.0.3",
"user-agent-data-types": "0.4.2",
"vite": "5.0.12"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"provenance": true
}
}
Loading

0 comments on commit 6af6345

Please sign in to comment.