brisa-tailwindcss 0.2.1 → 0.2.2-canary.2

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.
Files changed (2) hide show
  1. package/index.ts +7 -1
  2. package/package.json +3 -3
package/index.ts CHANGED
@@ -49,7 +49,13 @@ export default function brisaTailwindcss({ embedded = true } = defaultConfig) {
49
49
  const to = path.join(destNodeModules, lib);
50
50
 
51
51
  if (await fs.exists(from)) {
52
- return fs.cp(from, to, { recursive: true });
52
+ const toBinPath = path.join(to, 'node_modules', '.bin');
53
+
54
+ await fs.cp(from, to, { recursive: true });
55
+ // Delete .bin folder in submodules if exists. Could contain broken symlinks as we are moving the node_modules folder.
56
+ if (await fs.exists(toBinPath)) {
57
+ await fs.rm(toBinPath, { recursive: true, force: true });
58
+ }
53
59
  }
54
60
  }),
55
61
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brisa-tailwindcss",
3
- "version": "0.2.1",
3
+ "version": "0.2.2-canary.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -29,9 +29,9 @@
29
29
  "postcss": "8.4.48",
30
30
  "tailwindcss": "4.0.0-alpha.33"
31
31
  },
32
- "packageManager": "bun@1.1.40",
32
+ "packageManager": "bun@1.1.42",
33
33
  "engines": {
34
- "bun": ">= 1.1.40",
34
+ "bun": ">= 1.1.42",
35
35
  "npm": ">= 10.0.0",
36
36
  "yarn": ">= 3.0.0",
37
37
  "pnpm": ">= 9.8.0"