From 7f7e418dc72bb6f6d146df440f23a1c90388ab2b Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 16 Oct 2023 16:08:59 +0800 Subject: [PATCH] chore: upgrade np version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 61c87471..ae254dd7 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"", "test": "rc-test", "test:coverage": "umi-test --coverage", - "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", + "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish --any-branch", "lint": "eslint src/ --ext .tsx,.ts", "lint:tsc": "tsc -p tsconfig.json --noEmit", "now-build": "npm run docs:build" @@ -67,7 +67,7 @@ "father": "^4.0.0", "gh-pages": "^3.1.0", "jest": "^29.0.0", - "np": "^5.0.3", + "np": "^5.0.0", "prettier": "^2.1.2", "rc-test": "^7.0.15", "react": "^18.0.0",