From 34cff6a363af1d44ef2055c78034bc4363f385d3 Mon Sep 17 00:00:00 2001 From: Brion Date: Mon, 21 Oct 2024 18:43:38 +0530 Subject: [PATCH] fix(examples): use workspace protocol for internal packages --- examples/multi-brand-identity/package.json | 4 ++-- pnpm-lock.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/multi-brand-identity/package.json b/examples/multi-brand-identity/package.json index 6e5c56f9..a99f54b2 100644 --- a/examples/multi-brand-identity/package.json +++ b/examples/multi-brand-identity/package.json @@ -32,8 +32,8 @@ "dependencies": { "@fontsource/inter": "^4.5.14", "@fontsource/montserrat": "^4.5.13", - "@oxygen-ui/primitives": "1.15.0", - "@oxygen-ui/react": "1.15.0", + "@oxygen-ui/primitives": "workspace:*", + "@oxygen-ui/react": "workspace:../../packages/react/dist", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 80c13456..6febf648 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -112,11 +112,11 @@ importers: specifier: ^4.5.13 version: 4.5.13 '@oxygen-ui/primitives': - specifier: 1.15.0 + specifier: workspace:* version: link:../../packages/primitives '@oxygen-ui/react': - specifier: 1.15.0 - version: link:../../packages/react + specifier: workspace:../../packages/react/dist + version: link:../../packages/react/dist react: specifier: ^18.2.0 version: 18.2.0