From 52da1cb7f3480d7b335abcd35accd0e1608c3928 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Wed, 3 Apr 2024 10:39:50 -0300 Subject: [PATCH] fix: fixed peer dependencies on all packages --- .changeset/config.json | 5 ++++- .changeset/wet-bulldogs-bow.md | 7 +++++++ packages/fastify-html-plugin/package.json | 4 ++-- packages/html/package.json | 8 -------- packages/ts-html-plugin/package.json | 2 +- 5 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 .changeset/wet-bulldogs-bow.md diff --git a/.changeset/config.json b/.changeset/config.json index 01298c38..f8dfd84d 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,8 @@ "access": "public", "baseBranch": "master", "updateInternalDependencies": "patch", - "ignore": ["@kitajs/bench-*"] + "ignore": ["@kitajs/bench-*"], + "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { + "onlyUpdatePeerDependentsWhenOutOfRange": true + } } diff --git a/.changeset/wet-bulldogs-bow.md b/.changeset/wet-bulldogs-bow.md new file mode 100644 index 00000000..cf579a95 --- /dev/null +++ b/.changeset/wet-bulldogs-bow.md @@ -0,0 +1,7 @@ +--- +'@kitajs/fastify-html-plugin': patch +'@kitajs/ts-html-plugin': patch +'@kitajs/html': patch +--- + +Fixed peer dependencies diff --git a/packages/fastify-html-plugin/package.json b/packages/fastify-html-plugin/package.json index 07096095..cf04983f 100644 --- a/packages/fastify-html-plugin/package.json +++ b/packages/fastify-html-plugin/package.json @@ -35,8 +35,8 @@ "tslib": "^2.6.2" }, "peerDependencies": { - "@kitajs/html": "workspace:^", - "@kitajs/ts-html-plugin": "workspace:^" + "@kitajs/html": "workspace:^4", + "@kitajs/ts-html-plugin": "workspace:^4" }, "peerDependenciesMeta": { "@kitajs/ts-html-plugin": { diff --git a/packages/html/package.json b/packages/html/package.json index de5c7f0a..f3afd191 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -33,14 +33,6 @@ "tslib": "^2.6.2", "typescript": "^5.4.3" }, - "peerDependencies": { - "@kitajs/ts-html-plugin": "workspace:^" - }, - "peerDependenciesMeta": { - "@kitajs/ts-html-plugin": { - "optional": true - } - }, "engines": { "node": ">=12" } diff --git a/packages/ts-html-plugin/package.json b/packages/ts-html-plugin/package.json index 971bde10..ab30102b 100644 --- a/packages/ts-html-plugin/package.json +++ b/packages/ts-html-plugin/package.json @@ -39,7 +39,7 @@ "self": "file:." }, "peerDependencies": { - "@kitajs/html": "workspace:^", + "@kitajs/html": "workspace:^4", "typescript": "^5.3.3" } }