From c122fad3e1eebd569df7f3c2e4fce6e8ae7d222d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= Date: Mon, 18 May 2026 19:02:35 +0800 Subject: [PATCH] chore: upgrade father plugin --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 74b2356..69ca577 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "gh-pages": "npm run docs:build && npm run docs:deploy", "lint": "eslint src --ext .tsx,.ts,.jsx,.js", "now-build": "npm run docs:build", - "prepublishOnly": "npm run compile && np --yolo --no-publish", + "prepublishOnly": "npm run compile && rc-np", "prettier": "prettier . --write", "postpublish": "npm run gh-pages", "start": "dumi dev", @@ -49,7 +49,8 @@ "@babel/runtime": "^7.24.4" }, "devDependencies": { - "@rc-component/father-plugin": "^1.0.2", + "@rc-component/father-plugin": "^2.2.0", + "@rc-component/np": "^1.0.3", "@types/jest": "^29.5.12", "@types/react": "18.x", "@types/react-dom": "18.x", @@ -59,7 +60,6 @@ "father": "^4.4.0", "gh-pages": "^6.1.1", "lint-staged": "^15.2.2", - "np": "^10.0.3", "prettier": "^3.2.5", "rc-test": "^7.0.15", "react": "^18.2.0",