From 53b48a2d4632ac268847ec129d0135d012398b8e Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 22 Feb 2025 13:10:34 +1100 Subject: [PATCH] REPRO: @csstools/css-tokenizer issue --- integrations/react/package.json | 1 + integrations/react/src/index.ts | 2 ++ pnpm-lock.yaml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/integrations/react/package.json b/integrations/react/package.json index 1ad06d1..ec44130 100644 --- a/integrations/react/package.json +++ b/integrations/react/package.json @@ -26,6 +26,7 @@ "test:build": "vite build && vitest && publint --strict" }, "dependencies": { + "@csstools/css-tokenizer": "^3.0.3", "@tanstack/query-core": "catalog:", "react": "catalog:", "react-dom": "catalog:" diff --git a/integrations/react/src/index.ts b/integrations/react/src/index.ts index da5ed44..e53790c 100644 --- a/integrations/react/src/index.ts +++ b/integrations/react/src/index.ts @@ -1,3 +1,5 @@ export * from '@tanstack/query-core' export * from './use-client' export { test } from './nested/nested' + +export { TokenType, tokenize } from '@csstools/css-tokenizer' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f3249c3..15b91dd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,6 +185,9 @@ importers: integrations/react: dependencies: + '@csstools/css-tokenizer': + specifier: ^3.0.3 + version: 3.0.3 '@tanstack/query-core': specifier: 'catalog:' version: 5.66.4