@barefootjs/cli 0.15.0 → 0.15.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 +3 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -23581,7 +23581,9 @@ async function processBundleEntries(config, clientJsOutDir, clientJsSubdir, allE
23581
23581
  if (!config.bundleEntries || config.bundleEntries.length === 0) return false;
23582
23582
  let anyChanged = false;
23583
23583
  for (const entry of config.bundleEntries) {
23584
- const entryExternals = [...allExternals, ...entry.externals ?? []];
23584
+ const entryExternals = [
23585
+ .../* @__PURE__ */ new Set([...BF_CLIENT_DEDUP_KEYS, ...allExternals, ...entry.externals ?? []])
23586
+ ];
23585
23587
  const outfilePath = resolve6(clientJsOutDir, entry.outfile);
23586
23588
  const absEntry = resolve6(entry.entry);
23587
23589
  const cacheKey = `${BUNDLE_KEY_PREFIX}${absEntry}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/cli",
3
- "version": "0.15.0",
3
+ "version": "0.15.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.15.0",
33
- "@barefootjs/shared": "0.15.0"
32
+ "@barefootjs/client": "0.15.2",
33
+ "@barefootjs/shared": "0.15.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@barefootjs/jsx": "0.15.0",
36
+ "@barefootjs/jsx": "0.15.2",
37
37
  "@types/node": "^22.0.0",
38
38
  "@happy-dom/global-registrator": "^20.0.11",
39
39
  "happy-dom": "^20.0.11"