From a765098ca3d4d7d7f23a9e255e81297b8c009a2f Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 3 Aug 2023 14:55:22 -0400 Subject: [PATCH] Use workspace dependency in Netlify test --- .../hosted/hosted-astro-project/package.json | 4 +-- pnpm-lock.yaml | 27 +++---------------- 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/packages/integrations/netlify/test/hosted/hosted-astro-project/package.json b/packages/integrations/netlify/test/hosted/hosted-astro-project/package.json index fa6f87aea..328f3048d 100644 --- a/packages/integrations/netlify/test/hosted/hosted-astro-project/package.json +++ b/packages/integrations/netlify/test/hosted/hosted-astro-project/package.json @@ -6,7 +6,7 @@ "build": "astro build" }, "dependencies": { - "@astrojs/netlify": "file:../../..", - "astro": "file:../../../../../astro" + "@astrojs/netlify": "workspace:*", + "astro": "workspace:*" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8b16c0815..ec541b082 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4529,11 +4529,11 @@ importers: packages/integrations/netlify/test/hosted/hosted-astro-project: dependencies: '@astrojs/netlify': - specifier: file:../../.. - version: file:packages/integrations/netlify(astro@2.10.0) + specifier: workspace:* + version: link:../../.. astro: - specifier: file:../../../../../astro - version: file:packages/astro(@types/node@18.16.18) + specifier: workspace:* + version: link:../../../../../astro packages/integrations/node: dependencies: @@ -5678,10 +5678,6 @@ packages: - supports-color dev: false - /@astrojs/underscore-redirects@0.2.0: - resolution: {integrity: sha512-TP+uEdqMGNC7Lyci6WmbHvvMElBDSyHlTsvGH9E9/2duvD/n4KJVyr59klycEroaZJiAi5tzlXL8Jsl9/R32gQ==} - dev: false - /@astrojs/webapi@2.2.0: resolution: {integrity: sha512-mHAOApWyjqSe5AQMOUD9rsZJqbMQqe3Wosb1a40JV6Okvyxj1G6GTlthwYadWCymq/lbgwh0PLiY8Fr4eFxtuQ==} dependencies: @@ -18813,21 +18809,6 @@ packages: solid-js: 1.7.6 dev: false - file:packages/integrations/netlify(astro@2.10.0): - resolution: {directory: packages/integrations/netlify, type: directory} - id: file:packages/integrations/netlify - name: '@astrojs/netlify' - version: 2.5.2 - peerDependencies: - astro: '*' - dependencies: - '@astrojs/underscore-redirects': 0.2.0 - '@astrojs/webapi': 2.2.0 - '@netlify/functions': 1.6.0 - astro: file:packages/astro(@types/node@18.16.18) - esbuild: 0.15.18 - dev: false - file:packages/integrations/vercel(astro@2.10.0): resolution: {directory: packages/integrations/vercel, type: directory} id: file:packages/integrations/vercel