@barefootjs/cli 0.18.0 → 0.18.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/dist/index.js +8 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -28984,7 +28984,14 @@ export default createConfig({
28984
28984
  devDependencies: {
28985
28985
  ...UNOCSS_DEV_DEPENDENCIES,
28986
28986
  "@barefootjs/cli": "latest",
28987
- "@cloudflare/workers-types": "^4.20250101.0",
28987
+ // Must track wrangler's `peerOptional @cloudflare/workers-types`
28988
+ // MAJOR: wrangler 4.108.0 moved it to `^5.20260706.1`, and with the
28989
+ // v4 pin every fresh scaffold's `npm install` fails with ERESOLVE
28990
+ // (bun tolerates the mismatch; npm does not — CI's smoke-publish
28991
+ // caught it). v5 still ships a root `index.d.ts`, so the generated
28992
+ // tsconfig's `"types": ["@cloudflare/workers-types", ...]` entry
28993
+ // resolves unchanged.
28994
+ "@cloudflare/workers-types": "^5.20260706.1",
28988
28995
  // `@barefootjs/test` powers `renderToTest()` — the canonical
28989
28996
  // millisecond IR test the docs (and `bf gen test`) point new users
28990
28997
  // at. Without it the scaffold's `test` script is a no-op and any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/cli",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "CLI for agent-driven UI component discovery and scaffolding",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "esbuild": "^0.25.0",
31
31
  "typescript": "^5.0.0",
32
- "@barefootjs/client": "0.18.0",
33
- "@barefootjs/shared": "0.18.0"
32
+ "@barefootjs/client": "0.18.2",
33
+ "@barefootjs/shared": "0.18.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@barefootjs/jsx": "0.18.0",
36
+ "@barefootjs/jsx": "0.18.2",
37
37
  "@types/node": "^22.0.0",
38
38
  "@happy-dom/global-registrator": "^20.0.11",
39
39
  "happy-dom": "^20.0.11"