From c81b158e5f832b88f4bb03586b61f887c1982db1 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Mon, 14 Aug 2023 22:48:33 +0200 Subject: Use looser version for main Starlight peer in Tailwind plugin (#503) --- .changeset/tidy-timers-sparkle.md | 5 +++++ packages/tailwind/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/tidy-timers-sparkle.md diff --git a/.changeset/tidy-timers-sparkle.md b/.changeset/tidy-timers-sparkle.md new file mode 100644 index 00000000..a5ba7cd9 --- /dev/null +++ b/.changeset/tidy-timers-sparkle.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight-tailwind': patch +--- + +Loosen `@astrojs/starlight` peer dependency range to allow higher minor versions. diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index a435757e..5c40a00b 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -28,7 +28,7 @@ "vitest": "^0.33.0" }, "peerDependencies": { - "@astrojs/starlight": "^0.7.0", + "@astrojs/starlight": ">=0.7.0", "@astrojs/tailwind": "^4.0.0", "tailwindcss": "^3.3.3" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 411823e6..52052902 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + importers: .: @@ -193,7 +197,7 @@ importers: packages/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.7.0 + specifier: '>=0.7.0' version: link:../starlight '@astrojs/tailwind': specifier: ^4.0.0 @@ -7009,7 +7013,3 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false -- cgit