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.
- package/package.json +1 -1
- package/src/cli/index.ts +9 -1
package/package.json
CHANGED
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:
|
|
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
|
};
|