Skip to content

The Open Standard for Generative UI

build fix

abhishek24eaa2b77e38
diff --git a/frontend-sdk/packages/react-ui/package.json b/frontend-sdk/packages/react-ui/package.json
index 9af71f764..7dd8eabf8 100644
--- a/frontend-sdk/packages/react-ui/package.json
+++ b/frontend-sdk/packages/react-ui/package.json
@@ -88,6 +88,7 @@
"@storybook/test": "^8.5.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.12.0",
+ "@types/postcss-js": "^4.0.4",
"@types/react": ">=18.0.0",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"eslint": "^9.17.0",
diff --git a/frontend-sdk/packages/react-ui/src/components/FormControl/formControl.scss b/frontend-sdk/packages/react-ui/src/components/FormControl/formControl.scss
index 28db2db3b..68ce6abfc 100644
--- a/frontend-sdk/packages/react-ui/src/components/FormControl/formControl.scss
+++ b/frontend-sdk/packages/react-ui/src/components/FormControl/formControl.scss
@@ -7,4 +7,4 @@
display: flex;
flex-direction: column;
gap: map.get(cssUtils.$spacing, "xs");
-}
\ No newline at end of file
+}
diff --git a/frontend-sdk/packages/react-ui/src/lib/tailwind/generateTailwindPlugin.ts b/frontend-sdk/packages/react-ui/src/lib/tailwind/generateTailwindPlugin.ts
index 4a2c2874f..a97339f11 100644
--- a/frontend-sdk/packages/react-ui/src/lib/tailwind/generateTailwindPlugin.ts
+++ b/frontend-sdk/packages/react-ui/src/lib/tailwind/generateTailwindPlugin.ts
@@ -174,7 +174,7 @@ const generateComponentDependencyMap = async () => {
for (const component of componentsAndPaths) {
const dependencies = await getComponentsDependencies([component.name]);
if (!dependencies) continue;
- componentDepsMap[component.name] = dependencies;
+ componentDepsMap[component.name] = dependencies as string[];
}
return componentDepsMap;
diff --git a/frontend-sdk/packages/react-ui/tsconfig.json b/frontend-sdk/packages/react-ui/tsconfig.json
index 19697d569..fd30bea7f 100644
--- a/frontend-sdk/packages/react-ui/tsconfig.json
+++ b/frontend-sdk/packages/react-ui/tsconfig.json
@@ -2,7 +2,6 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.json",
"include": ["src/**/*"],
- "exclude": ["./src/lib/tailwind"],
"compilerOptions": {
"moduleResolution": "bundler",
"module": "ESNext",