electrobun 1.17.3-beta.0 → 1.17.3-beta.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/package.json +1 -1
  2. package/src/cli/index.ts +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "1.17.3-beta.0",
3
+ "version": "1.17.3-beta.2",
4
4
  "description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",
package/src/cli/index.ts CHANGED
@@ -3108,7 +3108,15 @@ Categories=Utility;Application;
3108
3108
  description: carrotConfig.description || config.app.description || "",
3109
3109
  mode: carrotConfig.mode || "window",
3110
3110
  permissions: carrotConfig.permissions || {},
3111
- dependencies: carrotConfig.dependencies || {},
3111
+ dependencies: Object.fromEntries(
3112
+ Object.entries(carrotConfig.dependencies || {}).map(([id, spec]) => [
3113
+ id,
3114
+ // Strip file:/workspace: specifiers for artifact manifests — just keep the carrot ID
3115
+ typeof spec === "string" && (spec.startsWith("file:") || spec.startsWith("workspace:"))
3116
+ ? "*"
3117
+ : spec,
3118
+ ]),
3119
+ ),
3112
3120
  worker: { relativePath: "worker.js" },
3113
3121
  view: existsSync(viewsSrc) ? { relativePath: "views/index.html" } : undefined,
3114
3122
  };