From 40fd13c6b912e6a01f0b7e6b8cb455647defbafb Mon Sep 17 00:00:00 2001 From: avivkeller Date: Wed, 21 May 2025 17:23:06 -0400 Subject: [PATCH] chore(ui): don't depend on pnpm syntax --- packages/ui-components/package.json | 1 - packages/ui-components/types.ts | 10 +++++----- pnpm-lock.yaml | 3 --- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/ui-components/package.json b/packages/ui-components/package.json index 83dea8a3b919d..a61f6c129f9a2 100644 --- a/packages/ui-components/package.json +++ b/packages/ui-components/package.json @@ -48,7 +48,6 @@ "tailwindcss": "~4.0.17" }, "devDependencies": { - "@node-core/website-i18n": "workspace:*", "@storybook/addon-controls": "^8.6.12", "@storybook/addon-interactions": "^8.6.12", "@storybook/addon-styling-webpack": "^1.0.1", diff --git a/packages/ui-components/types.ts b/packages/ui-components/types.ts index 319b3be22d6e4..86088827f76e8 100644 --- a/packages/ui-components/types.ts +++ b/packages/ui-components/types.ts @@ -1,4 +1,3 @@ -import type { LocaleConfig } from '@node-core/website-i18n/types'; import type { SVGProps, AnchorHTMLAttributes, @@ -19,7 +18,8 @@ export type FormattedMessage = | ReactElement> | ReadonlyArray; -export type SimpleLocaleConfig = Pick< - LocaleConfig, - 'name' | 'code' | 'localName' ->; +export type SimpleLocaleConfig = { + code: string; + localName: string; + name: string; +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75aae31ba9fdd..73837f5cf921c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -368,9 +368,6 @@ importers: specifier: ~4.0.17 version: 4.0.17 devDependencies: - '@node-core/website-i18n': - specifier: workspace:* - version: link:../i18n '@storybook/addon-controls': specifier: ^8.6.12 version: 8.6.12(storybook@8.6.12(prettier@3.5.3))