@barefootjs/cli 0.9.1 → 0.9.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 +5 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -132,10 +132,11 @@ function commandsFor(pm) {
132
132
  // package.json scripts surface as Deno tasks, so `deno task
133
133
  // <script>` mirrors `bun run <script>` / `pnpm <script>`.
134
134
  run: (s) => `deno task ${s}`,
135
- // One-shot binaries run straight from npm via the `npm:`
136
- // specifier; `-A` grants the filesystem/network access `bf`
137
- // needs to download and write components.
138
- exec: (c) => `deno run -A npm:${c}`,
135
+ // One-shot binaries run straight from npm via `deno x` (Deno
136
+ // 2.6+, the `npx` equivalent) with the `npm:` specifier. `deno x`
137
+ // defaults to `--allow-all`, so no explicit `-A` is needed for
138
+ // the filesystem/network access the CLI uses to write components.
139
+ exec: (c) => `deno x npm:${c}`,
139
140
  // The scaffold's `test` task forwards extra args without a `--`
140
141
  // separator (like bun/pnpm/yarn), so the targeted form just
141
142
  // appends the path.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/cli",
3
- "version": "0.9.1",
3
+ "version": "0.9.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.9.1",
34
+ "@barefootjs/jsx": "0.9.2",
35
35
  "@types/node": "^22.0.0"
36
36
  }
37
37
  }