diff --git a/CHANGELOG.md b/CHANGELOG.md index 7572309ca8..826e5c4a54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,12 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ## [Unreleased] -## [2.23.0] - 2021-05-14 +## [2.23.2] - 2021-05-15 + +### Changed +- [meta] add `safe-publish-latest`; use `prepublishOnly` script for npm 7+ + +## [2.23.1] - 2021-05-14 ### Fixed - [`newline-after-import`]: fix crash with `export {}` syntax ([#2063], [#2056], thanks [@ljharb]) @@ -1117,8 +1122,9 @@ for info on changes for earlier releases. [#119]: https://github.com/benmosher/eslint-plugin-import/issues/119 [#89]: https://github.com/benmosher/eslint-plugin-import/issues/89 -[Unreleased]: https://github.com/benmosher/eslint-plugin-import/compare/v2.23.1...HEAD -[2.23.0]: https://github.com/benmosher/eslint-plugin-import/compare/v2.23.0...v2.23.1 +[Unreleased]: https://github.com/benmosher/eslint-plugin-import/compare/v2.23.2...HEAD +[2.23.2]: https://github.com/benmosher/eslint-plugin-import/compare/v2.23.1...v2.23.2 +[2.23.1]: https://github.com/benmosher/eslint-plugin-import/compare/v2.23.0...v2.23.1 [2.23.0]: https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.0 [2.22.1]: https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1 [2.22.0]: https://github.com/benmosher/eslint-plugin-import/compare/v2.21.1...v2.22.0 @@ -1383,4 +1389,4 @@ for info on changes for earlier releases. [@aladdin-add]: https://github.com/aladdin-add [@davidbonnet]: https://github.com/davidbonnet [@hayes]: https://github.com/hayes -[@edemaine]: https://github.com/edemaine \ No newline at end of file +[@edemaine]: https://github.com/edemaine diff --git a/package.json b/package.json index 4ba95f4592..a1712e2b12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-import", - "version": "2.23.1", + "version": "2.23.2", "description": "Import with sanity.", "engines": { "node": ">=4" @@ -30,7 +30,8 @@ "test": "npm run tests-only", "test-compiled": "npm run prepublish && BABEL_ENV=testCompiled mocha --compilers js:babel-register tests/src", "test-all": "node --require babel-register ./scripts/testAll", - "prepublish": "not-in-publish || npm run build", + "prepublishOnly": "safe-publish-latest && npm run build", + "prepublish": "not-in-publish || npm run prepublishOnly", "coveralls": "nyc report --reporter lcovonly && coveralls < ./coverage/lcov.info" }, "repository": { @@ -88,6 +89,7 @@ "nyc": "^11.9.0", "redux": "^3.7.2", "rimraf": "^2.7.1", + "safe-publish-latest": "^1.1.4", "semver": "^6.3.0", "sinon": "^2.4.1", "typescript": "^2.8.1 || ~3.9.5",