diff --git a/package.json b/package.json index 34402a7..8c16087 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "docs:deploy": "gh-pages -d .doc", "compile": "father build && lessc assets/index.less assets/index.css", "gh-pages": "npm run docs:build && npm run docs:deploy", - "prepublishOnly": "npm run compile && np --yolo --no-publish", + "prepublishOnly": "npm run compile && np --yolo --no-publish --branch=antd-5.x", "postpublish": "npm run gh-pages", "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", @@ -45,7 +45,7 @@ "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", - "rc-input": "~1.7.1", + "rc-input": "~1.8.0", "rc-resize-observer": "^1.0.0", "rc-util": "^5.27.0" }, diff --git a/tests/__snapshots__/allowClear.test.tsx.snap b/tests/__snapshots__/allowClear.test.tsx.snap index db1093c..a9783b9 100644 --- a/tests/__snapshots__/allowClear.test.tsx.snap +++ b/tests/__snapshots__/allowClear.test.tsx.snap @@ -12,6 +12,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef >