From 09b389ff6a6ad66c988102833f07d0a6d55fd785 Mon Sep 17 00:00:00 2001 From: Robert Field Date: Mon, 30 Oct 2023 12:46:26 +0100 Subject: [PATCH] feat: use workspace --- examples/algolia/package.json | 4 ++-- examples/basic/package.json | 4 ++-- pnpm-lock.yaml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/algolia/package.json b/examples/algolia/package.json index 5482d8cb..37e946ac 100644 --- a/examples/algolia/package.json +++ b/examples/algolia/package.json @@ -21,8 +21,8 @@ }, "dependencies": { "@algolia/react-instantsearch-widget-color-refinement-list": "^1.4.7", - "@elasticpath/react-shopper-hooks": "^0.5.1", - "@elasticpath/shopper-common": "^0.1.1", + "@elasticpath/react-shopper-hooks": "workspace:^0.5.1", + "@elasticpath/shopper-common": "workspace:^0.1.1", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", "@moltin/sdk": "^25.0.2", diff --git a/examples/basic/package.json b/examples/basic/package.json index 7d3ab2e6..660d6e69 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -20,8 +20,8 @@ "start:e2e": "NODE_ENV=test next start" }, "dependencies": { - "@elasticpath/react-shopper-hooks": "^0.5.1", - "@elasticpath/shopper-common": "^0.1.1", + "@elasticpath/react-shopper-hooks": "workspace:^0.5.1", + "@elasticpath/shopper-common": "workspace:^0.1.1", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", "@moltin/sdk": "^25.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fbb156a..3be4d666 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -97,10 +97,10 @@ importers: specifier: ^1.4.7 version: 1.4.7(classnames@2.3.2)(react-instantsearch-dom@6.40.4)(react@18.2.0) '@elasticpath/react-shopper-hooks': - specifier: ^0.5.1 + specifier: workspace:^0.5.1 version: link:../../packages/react-shopper-hooks '@elasticpath/shopper-common': - specifier: ^0.1.1 + specifier: workspace:^0.1.1 version: link:../../packages/shopper-common '@headlessui/react': specifier: ^1.7.17 @@ -254,10 +254,10 @@ importers: examples/basic: dependencies: '@elasticpath/react-shopper-hooks': - specifier: ^0.5.1 + specifier: workspace:^0.5.1 version: link:../../packages/react-shopper-hooks '@elasticpath/shopper-common': - specifier: ^0.1.1 + specifier: workspace:^0.1.1 version: link:../../packages/shopper-common '@headlessui/react': specifier: ^1.7.17