From 30c67dcd8cb40df30d330ca7b826a5873619c4ec Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 3 Aug 2023 13:20:52 +0800 Subject: [PATCH] fix: package changed made build pipe fail again (#732) --- web/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/package.json b/web/package.json index 862bc7931f..438b53167f 100644 --- a/web/package.json +++ b/web/package.json @@ -9,7 +9,7 @@ "lint": "next lint", "fix": "next lint --fix", "eslint-fix": "eslint --fix", - "prepare": "cd ../ && husky install ./web/.husky", + "prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install ./web/.husky", "gen-icons": "node ./app/components/base/icons/script.js", "uglify-embed": "node ./bin/uglify-embed" }, @@ -24,7 +24,10 @@ "@next/mdx": "^13.2.4", "@sentry/react": "^7.54.0", "@sentry/utils": "^7.54.0", + "@tailwindcss/line-clamp": "^0.4.4", + "@tailwindcss/typography": "^0.5.9", "ahooks": "^3.7.5", + "autoprefixer": "^10.4.14", "classnames": "^2.3.2", "copy-to-clipboard": "^3.3.3", "crypto-js": "^4.1.1", @@ -32,7 +35,6 @@ "echarts": "^5.4.1", "echarts-for-react": "^3.0.2", "emoji-mart": "^5.5.2", - "husky": "^8.0.3", "i18next": "^22.4.13", "i18next-resources-to-backend": "^1.1.3", "immer": "^9.0.19", @@ -68,14 +70,13 @@ "sortablejs": "^1.15.0", "swr": "^2.1.0", "tailwindcss": "^3.3.3", + "typescript": "4.9.5", "use-context-selector": "^1.4.1" }, "devDependencies": { "@antfu/eslint-config": "^0.36.0", "@faker-js/faker": "^7.6.0", "@rgrove/parse-xml": "^4.1.0", - "@tailwindcss/line-clamp": "^0.4.4", - "@tailwindcss/typography": "^0.5.9", "@types/crypto-js": "^4.1.1", "@types/js-cookie": "^3.0.3", "@types/lodash-es": "^4.17.7", @@ -90,15 +91,14 @@ "@types/react-window-infinite-loader": "^1.0.6", "@types/recordrtc": "^5.6.11", "@types/sortablejs": "^1.15.1", - "autoprefixer": "^10.4.14", "eslint": "8.36.0", "eslint-config-next": "^13.4.7", "eslint-plugin-react-hooks": "^4.6.0", + "husky": "^8.0.3", "lint-staged": "^13.2.2", "miragejs": "^0.1.47", "postcss": "^8.4.21", "sass": "^1.61.0", - "typescript": "4.9.5", "uglify-js": "^3.17.4" }, "lint-staged": {