@teamscala/service-boot 0.23.293 → 0.23.294

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 CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "@teamscala/service-boot",
8
8
  "type": "module",
9
- "version": "0.23.293",
9
+ "version": "0.23.294",
10
10
  "sideEffects": false,
11
11
  "files": [
12
12
  "src"
@@ -24,6 +24,7 @@
24
24
  import { createHash } from "node:crypto";
25
25
  import { existsSync } from "node:fs";
26
26
  import { dirname, join, relative, resolve } from "node:path";
27
+ import { firstPartyScopeAlternation } from "@teamscala/os/workspace-topology/first-party-scopes";
27
28
 
28
29
  // Resolve + hash the content of every `@import` in app.css's @teamscala/*
29
30
  // stylesheet chain — INCLUDING transitive @imports (generic-ui/styles.css
@@ -59,7 +60,7 @@ export async function hashResolvedPackageStylesheets(
59
60
  }
60
61
  };
61
62
  for (const spec of [
62
- ...appCss.matchAll(/@import\s+["'](@teamgbg\/[^"']+)["']/g),
63
+ ...appCss.matchAll(new RegExp(`@import\\s+["']((?:${firstPartyScopeAlternation()})\\/[^"']+)['"]`, "g")),
63
64
  ].map((m) => m[1].trim())) {
64
65
  await hashSpec(spec, join(cwd, "src"));
65
66
  }