From 88529ea200cc52eda2f7dab1c3974a189266248d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Sun, 29 Nov 2026 05:05:55 +0000 Subject: [PATCH] chore: publish 7.x releases with the 7x dist-tag Once 8.0.0 is the `latest` release, publishing a 7.x patch without a tag would make it `latest` again. Like 6.x with `6x`, 7.x releases now use the `7x` dist-tag. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38ca4d9..5e01686 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "test": "jest --env node --coverage", "prerelease": "npm t && npm run lint", "release": "standard-version", - "postrelease": "git push --follow-tags origin HEAD && npm publish", + "postrelease": "git push --follow-tags origin HEAD && npm publish --tag 7x", "prepare": "husky" }, "jest": {