Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

chore: Update package.json

robinc2e1cfe0ca95
diff --git a/ui/package.json b/ui/package.json
index a0510378..d07bca70 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -9,6 +9,7 @@
"lint": "eslint . --cache --fix --ext .ts,.tsx",
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"preinstall": "node ./scripts/preinstall.js",
+ "prepare": "pnpm build:packages",
"pre-commit": "lint-staged",
"build:packages": "pnpm -r --filter=./src/plugins/* run build",
"clean": "rm -rf node_modules && rm -rf src/plugins/**/node_modules"
diff --git a/ui/pnpm-lock.yaml b/ui/pnpm-lock.yaml
index b18f2286..4e8b3301 100644
--- a/ui/pnpm-lock.yaml
+++ b/ui/pnpm-lock.yaml
@@ -48,7 +48,6 @@ importers:
eslint-plugin-react-hooks: ^4.6.0
husky: ^8.0.1
i18next: ^21.9.0
- katex: ^0.16.2
lint-staged: ^13.0.3
lodash: ^4.17.21
marked: ^4.0.19
@@ -86,7 +85,6 @@ importers:
dayjs: 1.11.5
diff: 5.1.0
i18next: 21.9.2
- katex: 0.16.2
lodash: 4.17.21
marked: 4.1.0
md5: 2.3.0