@b9g/shovel 0.2.18 → 0.2.19

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to Shovel will be documented in this file.
4
4
 
5
+ ## [0.2.19] - 2026-03-17
6
+
7
+ ### Bug Fixes
8
+
9
+ - **Glob asset import clobbers individual import** — When the same file was imported both individually and via a glob pattern with different `assetBase` values, the glob import overwrote the individual import's manifest entry. Both URLs now coexist correctly. (fixes [#81](https://github.com/bikeshaving/shovel/issues/81))
10
+
5
11
  ## [0.2.18] - 2026-03-16
6
12
 
7
13
  ### Features
package/bin/cli.js CHANGED
@@ -75,7 +75,7 @@ program.command("develop <entrypoint>").description("Start development server wi
75
75
  DEFAULTS.WORKERS
76
76
  ).option("--platform <name>", "Runtime platform (node, cloudflare, bun)").action(async (entrypoint, options) => {
77
77
  checkPlatformReexec(options);
78
- const { developCommand } = await import("../src/_chunks/develop-CJOPWKU5.js");
78
+ const { developCommand } = await import("../src/_chunks/develop-Y2BWTIZ6.js");
79
79
  await developCommand(entrypoint, options, config);
80
80
  });
81
81
  program.command("create [name]").description("Create a new Shovel project").action(async (name) => {
@@ -91,7 +91,7 @@ program.command("build <entrypoint>").description("Build app for production").op
91
91
  "Run ServiceWorker lifecycle after build (install or activate, default: activate)"
92
92
  ).action(async (entrypoint, options) => {
93
93
  checkPlatformReexec(options);
94
- const { buildCommand } = await import("../src/_chunks/build-CVI2DIGJ.js");
94
+ const { buildCommand } = await import("../src/_chunks/build-YQCWR6LD.js");
95
95
  await buildCommand(entrypoint, options, config);
96
96
  process.exit(0);
97
97
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b9g/shovel",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "ServiceWorker-first universal deployment platform. Write ServiceWorker apps once, deploy anywhere (Node/Bun/Cloudflare). Registry-based multi-app orchestration.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServerBundler,
3
3
  loadPlatformModule
4
- } from "./chunk-5Z2WUZM5.js";
4
+ } from "./chunk-JY5SZDJK.js";
5
5
  import {
6
6
  findProjectRoot,
7
7
  findWorkspaceRoot
@@ -322,9 +322,9 @@ function assetsPlugin(options = {}) {
322
322
  size: content.length,
323
323
  type: mimeType
324
324
  };
325
- manifest.assets[sourcePath] = manifestEntry;
325
+ manifest.assets[publicURL] = manifestEntry;
326
326
  if (sharedManifest) {
327
- sharedManifest.assets[sourcePath] = manifestEntry;
327
+ sharedManifest.assets[publicURL] = manifestEntry;
328
328
  sharedManifest.generated = manifest.generated;
329
329
  }
330
330
  return {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServerBundler,
3
3
  loadPlatformModule
4
- } from "./chunk-5Z2WUZM5.js";
4
+ } from "./chunk-JY5SZDJK.js";
5
5
  import {
6
6
  DEFAULTS
7
7
  } from "./chunk-MUNERPYV.js";