@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lastbrain/app",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Framework modulaire Next.js avec CLI et système de modules",
5
5
  "private": false,
6
6
  "type": "module",
@@ -42,21 +42,21 @@
42
42
  "react-dom": "^19.0.0",
43
43
  "@lastbrain/core": "0.1.0",
44
44
  "@lastbrain/module-auth": "0.1.1",
45
- "@lastbrain/ui": "0.1.3"
45
+ "@lastbrain/ui": "0.1.4"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "next": ">=15.0.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@heroui/theme": "^2.4.23",
52
+ "@tailwindcss/postcss": "^4.1.17",
52
53
  "@types/fs-extra": "^11.0.4",
53
54
  "@types/inquirer": "^9.0.9",
54
55
  "@types/node": "^20.0.0",
55
- "autoprefixer": "^10.4.0",
56
56
  "inquirer": "^13.0.1",
57
57
  "postcss": "^8.4.0",
58
58
  "postcss-cli": "^11.0.0",
59
- "tailwindcss": "^3.4.0",
59
+ "tailwindcss": "^4.1.17",
60
60
  "typescript": "^5.4.0"
61
61
  },
62
62
  "scripts": {
@@ -247,9 +247,9 @@ async function addDependencies(
247
247
 
248
248
  // DevDependencies
249
249
  const requiredDevDeps = {
250
- tailwindcss: "^3.4.0",
250
+ tailwindcss: "^4.1.0",
251
+ "@tailwindcss/postcss": "^4.1.0",
251
252
  postcss: "^8.4.0",
252
- autoprefixer: "^10.4.20",
253
253
  typescript: "^5.4.0",
254
254
  "@types/node": "^20.0.0",
255
255
  "@types/react": "^18.3.0",
@@ -371,9 +371,7 @@ export default function RootLayout({ children }: PropsWithChildren<{}>) {
371
371
  // Créer globals.css
372
372
  const globalsPath = path.join(stylesDir, "globals.css");
373
373
  if (!fs.existsSync(globalsPath) || force) {
374
- const globalsContent = `@tailwind base;
375
- @tailwind components;
376
- @tailwind utilities;
374
+ const globalsContent = `@import "tailwindcss";
377
375
  `;
378
376
  await fs.writeFile(globalsPath, globalsContent);
379
377
  console.log(chalk.green("✓ styles/globals.css créé"));
@@ -692,9 +690,6 @@ const config = {
692
690
  "./node_modules/@lastbrain/*/src/**/*.{js,jsx,ts,tsx}",
693
691
  "./node_modules/@heroui/*/src/**/*.{js,jsx,ts,tsx}"
694
692
  ],
695
- theme: {
696
- extend: {},
697
- },
698
693
  darkMode: "class",
699
694
  plugins: [heroui()],
700
695
  }
@@ -745,8 +740,7 @@ export default config;
745
740
  if (!fs.existsSync(postcssConfigPath) || force) {
746
741
  const postcssConfig = `export default {
747
742
  plugins: {
748
- tailwindcss: {},
749
- autoprefixer: {},
743
+ '@tailwindcss/postcss': {},
750
744
  },
751
745
  };
752
746
  `;
package/src/styles.css CHANGED
@@ -1,5 +1,5 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
1
+ @import "tailwindcss";
2
+
3
+ @config "../tailwind.config.js";
4
4
 
5
5
  /* Styles pour les composants @lastbrain/app */