@lastbrain/app 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,9 +188,9 @@ async function addDependencies(targetDir, useHeroUI, withAuth, selectedModules =
188
188
  }
189
189
  // DevDependencies
190
190
  const requiredDevDeps = {
191
- tailwindcss: "^3.4.0",
191
+ tailwindcss: "^4.1.0",
192
+ "@tailwindcss/postcss": "^4.1.0",
192
193
  postcss: "^8.4.0",
193
- autoprefixer: "^10.4.20",
194
194
  typescript: "^5.4.0",
195
195
  "@types/node": "^20.0.0",
196
196
  "@types/react": "^18.3.0",
@@ -297,9 +297,7 @@ export default function RootLayout({ children }: PropsWithChildren<{}>) {
297
297
  // Créer globals.css
298
298
  const globalsPath = path.join(stylesDir, "globals.css");
299
299
  if (!fs.existsSync(globalsPath) || force) {
300
- const globalsContent = `@tailwind base;
301
- @tailwind components;
302
- @tailwind utilities;
300
+ const globalsContent = `@import "tailwindcss";
303
301
  `;
304
302
  await fs.writeFile(globalsPath, globalsContent);
305
303
  console.log(chalk.green("✓ styles/globals.css créé"));
@@ -583,9 +581,6 @@ const config = {
583
581
  "./node_modules/@lastbrain/*/src/**/*.{js,jsx,ts,tsx}",
584
582
  "./node_modules/@heroui/*/src/**/*.{js,jsx,ts,tsx}"
585
583
  ],
586
- theme: {
587
- extend: {},
588
- },
589
584
  darkMode: "class",
590
585
  plugins: [heroui()],
591
586
  }
@@ -635,8 +630,7 @@ export default config;
635
630
  if (!fs.existsSync(postcssConfigPath) || force) {
636
631
  const postcssConfig = `export default {
637
632
  plugins: {
638
- tailwindcss: {},
639
- autoprefixer: {},
633
+ '@tailwindcss/postcss': {},
640
634
  },
641
635
  };
642
636
  `;