@barefootjs/cli 0.1.1 → 0.1.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 +9 -12
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -144,7 +144,7 @@ function testRunnerFor(pm) {
144
144
  return {
145
145
  importSource: "vitest",
146
146
  scriptValue: "vitest run",
147
- devDeps: { "@types/node": "^22.0.0", vitest: "^2.0.0" },
147
+ devDeps: { "@types/node": "^22.0.0", vitest: "^4.0.0" },
148
148
  typesEntry: ""
149
149
  };
150
150
  }
@@ -22031,12 +22031,10 @@ export default createConfig({
22031
22031
  "noEmit": true,
22032
22032
  "baseUrl": ".",
22033
22033
  "paths": {
22034
- // Source first so tsc resolves the authored file (with full
22035
- // types) rather than the bf-build output (which may have
22036
- // implicit-any lambdas). Wrangler's bundler follows the same
22037
- // mapping; the Hono JSX runtime renders hydration markers
22038
- // from source just as well as from the compiled template.
22039
- "@/components/*": ["./components/*", "./public/components/*"]
22034
+ // Build output first so wrangler resolves the compiled SSR
22035
+ // template (with hydration markers + script collection).
22036
+ // Source is the fallback for files not yet built.
22037
+ "@/components/*": ["./public/components/*", "./components/*"]
22040
22038
  }
22041
22039
  },
22042
22040
  "include": ["**/*.ts", "**/*.tsx"],
@@ -22336,11 +22334,10 @@ export default createConfig({
22336
22334
  "noEmit": true,
22337
22335
  "baseUrl": ".",
22338
22336
  "paths": {
22339
- // Source first so tsc resolves the authored file (with full
22340
- // types) rather than the bf-build output (which may have
22341
- // implicit-any lambdas). The Hono JSX runtime renders
22342
- // hydration markers from source at serve time.
22343
- "@/components/*": ["./components/*", "./dist/components/*"]
22337
+ // Build output first so the server resolves the compiled SSR
22338
+ // template (with hydration markers + script collection).
22339
+ // Source is the fallback for files not yet built.
22340
+ "@/components/*": ["./dist/components/*", "./components/*"]
22344
22341
  }
22345
22342
  },
22346
22343
  "include": ["**/*.ts", "**/*.tsx"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for agent-driven UI component discovery and scaffolding",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "typescript": "^5.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@barefootjs/jsx": "0.1.1",
34
+ "@barefootjs/jsx": "0.1.2",
35
35
  "@types/node": "^22.0.0"
36
36
  }
37
37
  }