From 5c66dc80e7dc570cc5a3eb25ddde827c0338a11f Mon Sep 17 00:00:00 2001 From: Jeroen de Bruijn Date: Mon, 17 Jun 2024 21:49:13 +0200 Subject: [PATCH] chore(deps): temporary override conventional-changelog-conventionalcommits to v8 This fixes semantic-release/release-notes-generator#657 until @commitlint/config-conventional is updated, see conventional-changelog/commitlint#4063. --- package-lock.json | 9 ++++----- package.json | 3 +++ src/content/package.ts | 2 ++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f19371..1c6adc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4351,16 +4351,15 @@ } }, "node_modules/conventional-changelog-conventionalcommits": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", - "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-8.0.0.tgz", + "integrity": "sha512-eOvlTO6OcySPyyyk8pKz2dP4jjElYunj9hn9/s0OB+gapTO8zwS9UQWrZ1pmF2hFs3vw1xhonOLGcGjy/zgsuA==", "dev": true, - "license": "ISC", "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/conventional-changelog-writer": { diff --git a/package.json b/package.json index 84d9a1f..8da7c08 100644 --- a/package.json +++ b/package.json @@ -231,5 +231,8 @@ }, "publishConfig": { "access": "public" + }, + "overrides": { + "conventional-changelog-conventionalcommits": ">= 8.0.0" } } diff --git a/src/content/package.ts b/src/content/package.ts index 5543266..60d391d 100644 --- a/src/content/package.ts +++ b/src/content/package.ts @@ -58,6 +58,7 @@ const schema = z .object({access: z.literal('public')}) .strict() .optional(), + overrides: z.record(z.unknown()).optional(), }) .strict(); @@ -93,6 +94,7 @@ class Package extends File { delete this._package.bin; delete this._package.dependencies; delete this._package.scripts.postinstall; + delete this._package.overrides; if (this._options.public) { delete this._package.private; } else {