@absolutejs/absolute 0.19.0-beta.1119 → 0.19.0-beta.1120

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.
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-dCpCal/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-PVD3kc/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-dCpCal/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-PVD3kc/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
48
48
  getWarningController()?.maybeWarn(primitiveName);
49
49
  };
50
50
 
51
- // .angular-partial-tmp-dCpCal/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-PVD3kc/src/core/streamingSlotRegistry.ts
52
52
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
53
53
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
54
54
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
package/dist/cli/index.js CHANGED
@@ -1168,7 +1168,7 @@ import {
1168
1168
  rmSync as rmSync3,
1169
1169
  writeFileSync as writeFileSync5
1170
1170
  } from "fs";
1171
- import { dirname as dirname3, resolve as resolve4 } from "path";
1171
+ import { dirname as dirname3, relative, resolve as resolve4 } from "path";
1172
1172
  var DEFAULT_CACHE_LOCATION = ".absolutejs/eslint-cache", CACHE_CONTRACT_VERSION = "1", CACHE_FINGERPRINT_SUFFIX = ".fingerprint", flagValue = (args, flag) => {
1173
1173
  const assignment = args.find((arg) => arg.startsWith(`${flag}=`));
1174
1174
  if (assignment)
@@ -1262,7 +1262,7 @@ var DEFAULT_CACHE_LOCATION = ".absolutejs/eslint-cache", CACHE_CONTRACT_VERSION
1262
1262
  hash.update(`absolute-eslint-cache:${CACHE_CONTRACT_VERSION}\x00`);
1263
1263
  const configPath2 = findConfigPath(cwd);
1264
1264
  if (configPath2)
1265
- addFileToFingerprint(hash, configPath2, configPath2);
1265
+ addFileToFingerprint(hash, configPath2, relative(cwd, configPath2));
1266
1266
  for (const dependency of lintDependencyNames(cwd, configPath2).sort()) {
1267
1267
  const manifestPath = findInstalledManifest(cwd, dependency);
1268
1268
  if (manifestPath)
@@ -10472,11 +10472,11 @@ ${lanes.join(`
10472
10472
  return toComponents;
10473
10473
  }
10474
10474
  const components = toComponents.slice(start);
10475
- const relative = [];
10475
+ const relative2 = [];
10476
10476
  for (;start < fromComponents.length; start++) {
10477
- relative.push("..");
10477
+ relative2.push("..");
10478
10478
  }
10479
- return ["", ...relative, ...components];
10479
+ return ["", ...relative2, ...components];
10480
10480
  }
10481
10481
  function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) {
10482
10482
  Debug.assert(getRootLength(fromDirectory) > 0 === getRootLength(to) > 0, "Paths must either both be absolute or both be relative");
@@ -47772,9 +47772,9 @@ ${lanes.join(`
47772
47772
  if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) {
47773
47773
  return;
47774
47774
  }
47775
- const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName);
47775
+ const relative2 = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName);
47776
47776
  for (const symlinkDirectory of symlinkDirectories) {
47777
- const option = resolvePath(symlinkDirectory, relative);
47777
+ const option = resolvePath(symlinkDirectory, relative2);
47778
47778
  const result2 = cb(option, target === referenceRedirect);
47779
47779
  shouldFilterIgnoredPaths = true;
47780
47780
  if (result2)
@@ -170347,7 +170347,7 @@ var isRecord = (value) => typeof value === "object" && value !== null, getIsland
170347
170347
  var init_islands = () => {};
170348
170348
 
170349
170349
  // src/build/islandEntries.ts
170350
- import { dirname as dirname4, extname, join as join8, relative, resolve as resolve6 } from "path";
170350
+ import { dirname as dirname4, extname, join as join8, relative as relative2, resolve as resolve6 } from "path";
170351
170351
  var import_typescript, frameworks, isRecord2 = (value) => typeof value === "object" && value !== null, resolveRegistryExport = (mod) => {
170352
170352
  if (isRecord2(mod.islandRegistry))
170353
170353
  return mod.islandRegistry;
@@ -171667,7 +171667,7 @@ import {
171667
171667
  writeFileSync as writeFileSync7
171668
171668
  } from "fs";
171669
171669
  import { tmpdir as tmpdir2 } from "os";
171670
- import { delimiter, dirname as dirname5, relative as relative2, resolve as resolve11 } from "path";
171670
+ import { delimiter, dirname as dirname5, relative as relative3, resolve as resolve11 } from "path";
171671
171671
  var DEFAULT_PROOF_LOCATION = ".absolutejs/lint-proof.json", PROOF_CONTRACT_VERSION = 1, FLAG_NOT_FOUND = -1, runGit = (args, options) => {
171672
171672
  const proc = Bun.spawnSync(["git", ...args], {
171673
171673
  cwd: options.cwd,
@@ -171681,7 +171681,7 @@ var DEFAULT_PROOF_LOCATION = ".absolutejs/lint-proof.json", PROOF_CONTRACT_VERSI
171681
171681
  }
171682
171682
  return proc.stdout.toString().trim();
171683
171683
  }, gitRoot = (cwd) => resolve11(runGit(["rev-parse", "--show-toplevel"], { cwd })), isInside = (parent, candidate) => {
171684
- const path = relative2(parent, candidate);
171684
+ const path = relative3(parent, candidate);
171685
171685
  return path === "" || !path.startsWith("../") && path !== "..";
171686
171686
  }, attestationPayload = (proof) => Buffer.from([
171687
171687
  "absolute-lint-proof-attestation:1",
@@ -171719,7 +171719,7 @@ var DEFAULT_PROOF_LOCATION = ".absolutejs/lint-proof.json", PROOF_CONTRACT_VERSI
171719
171719
  }, createLintSourceTree = (cwd = process.cwd(), proofLocation = DEFAULT_PROOF_LOCATION) => {
171720
171720
  const root = gitRoot(cwd);
171721
171721
  const proofPath = resolve11(cwd, proofLocation);
171722
- const proofRelative = relative2(root, proofPath).replaceAll("\\", "/");
171722
+ const proofRelative = relative3(root, proofPath).replaceAll("\\", "/");
171723
171723
  if (proofRelative === ".." || proofRelative.startsWith("../") || proofRelative === "") {
171724
171724
  throw new Error("lint proof must live inside the Git working tree");
171725
171725
  }
@@ -172000,7 +172000,7 @@ __export(exports_ls, {
172000
172000
  runLs: () => runLs
172001
172001
  });
172002
172002
  import { existsSync as existsSync13, readFileSync as readFileSync15, statSync } from "fs";
172003
- import { basename as basename5, extname as extname2, join as join13, relative as relative3 } from "path";
172003
+ import { basename as basename5, extname as extname2, join as join13, relative as relative4 } from "path";
172004
172004
  var DEFAULT_BUILD_DIR = "build", LABEL_ORDER, ARTIFACT_SUFFIXES, FRAMEWORK_FIELDS, readStringField = (source, key) => {
172005
172005
  const value = Reflect.get(source, key);
172006
172006
  return typeof value === "string" ? value : undefined;
@@ -172015,7 +172015,7 @@ var DEFAULT_BUILD_DIR = "build", LABEL_ORDER, ARTIFACT_SUFFIXES, FRAMEWORK_FIELD
172015
172015
  } catch {
172016
172016
  return null;
172017
172017
  }
172018
- }, relativeOrSelf = (target) => relative3(process.cwd(), target) || target, configCandidates = (raw) => isWorkspaceConfig(raw) ? Object.values(raw).map((service) => ({
172018
+ }, relativeOrSelf = (target) => relative4(process.cwd(), target) || target, configCandidates = (raw) => isWorkspaceConfig(raw) ? Object.values(raw).map((service) => ({
172019
172019
  baseDir: readStringField(service, "cwd") ?? ".",
172020
172020
  source: service
172021
172021
  })) : [{ baseDir: ".", source: raw }], specsFor = (source, baseDir) => FRAMEWORK_FIELDS.flatMap((framework) => {
@@ -173647,7 +173647,7 @@ var init_frameworks = __esm(() => {
173647
173647
  });
173648
173648
 
173649
173649
  // src/cli/generate/context.ts
173650
- import { dirname as dirname6, isAbsolute, join as join14, relative as relative4, resolve as resolve14 } from "path";
173650
+ import { dirname as dirname6, isAbsolute, join as join14, relative as relative5, resolve as resolve14 } from "path";
173651
173651
  var asString = (value) => typeof value === "string" ? value : undefined, isRecord5 = (value) => typeof value === "object" && value !== null, resolveDir = (cwd, value) => isAbsolute(value) ? value : resolve14(cwd, value), resolveStylesDir = (cwd, config) => {
173652
173652
  const styles = config.stylesConfig;
173653
173653
  if (typeof styles === "string")
@@ -173711,7 +173711,7 @@ var asString = (value) => typeof value === "string" ? value : undefined, isRecor
173711
173711
  ok: false
173712
173712
  };
173713
173713
  }, sharedDirFor = (project, framework) => join14(frontendRootFor(project, framework), "shared"), toModuleSpecifier = (fromDir, toFileNoExt) => {
173714
- const rel = relative4(fromDir, toFileNoExt).split("\\").join("/");
173714
+ const rel = relative5(fromDir, toFileNoExt).split("\\").join("/");
173715
173715
  return rel.startsWith(".") ? rel : `./${rel}`;
173716
173716
  };
173717
173717
  var init_context = __esm(() => {
@@ -174434,12 +174434,12 @@ import {
174434
174434
  readdirSync as readdirSync5,
174435
174435
  writeFileSync as writeFileSync13
174436
174436
  } from "fs";
174437
- import { dirname as dirname11, join as join19, relative as relative5 } from "path";
174437
+ import { dirname as dirname11, join as join19, relative as relative6 } from "path";
174438
174438
  var writeNew = (path, contents) => {
174439
174439
  mkdirSync13(dirname11(path), { recursive: true });
174440
174440
  writeFileSync13(path, contents, "utf-8");
174441
174441
  }, toHref = (fromDir, toFile) => {
174442
- const rel = relative5(fromDir, toFile).split("\\").join("/");
174442
+ const rel = relative6(fromDir, toFile).split("\\").join("/");
174443
174443
  return rel.startsWith(".") ? rel : `./${rel}`;
174444
174444
  }, staticPageFiles = (project) => ["html", "htmx"].map((key) => project.frameworkDirs[key]).map((dir) => dir ? join19(dir, "pages") : null).filter((pagesDir) => pagesDir !== null && existsSync22(pagesDir)).flatMap((pagesDir) => readdirSync5(pagesDir).filter((name) => name.endsWith(".html")).map((name) => join19(pagesDir, name))), resyncPage = (file, items) => {
174445
174445
  const html = readFileSync21(file, "utf-8");
@@ -174531,7 +174531,7 @@ var exports_generate = {};
174531
174531
  __export(exports_generate, {
174532
174532
  runGenerate: () => runGenerate
174533
174533
  });
174534
- import { relative as relative6 } from "path";
174534
+ import { relative as relative7 } from "path";
174535
174535
  var SUBCOMMANDS, write = (text) => process.stdout.write(`${text}
174536
174536
  `), fail = (message) => {
174537
174537
  process.stdout.write(`${colors.red}${message}${colors.reset}
@@ -174563,7 +174563,7 @@ var SUBCOMMANDS, write = (text) => process.stdout.write(`${text}
174563
174563
  return;
174564
174564
  write(` ${colors.dim}${label}${colors.reset}`);
174565
174565
  for (const path of paths)
174566
- write(` ${relative6(cwd, path)}`);
174566
+ write(` ${relative7(cwd, path)}`);
174567
174567
  }, printSummary = (title, outcome, cwd) => {
174568
174568
  for (const note of outcome.notes) {
174569
174569
  write(`${colors.yellow}!${colors.reset} ${note}`);
@@ -175460,7 +175460,7 @@ var init_resolveAuthSettings = __esm(() => {
175460
175460
 
175461
175461
  // src/cli/config/auth/resolveAuthState.ts
175462
175462
  import { existsSync as existsSync25, readdirSync as readdirSync6, readFileSync as readFileSync25 } from "fs";
175463
- import { join as join21, relative as relative7, resolve as resolve16 } from "path";
175463
+ import { join as join21, relative as relative8, resolve as resolve16 } from "path";
175464
175464
  var import_typescript10, AUTH_PACKAGE2 = "@absolutejs/auth", REPO_URL = "https://github.com/absolutejs/absolute-auth", NPM_URL = "https://www.npmjs.com/package/@absolutejs/auth", SKIP_DIRS, MAX_FILES = 4000, SETUP_EXPORTS, isRecord7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value), readJson = (path) => {
175465
175465
  if (!existsSync25(path))
175466
175466
  return null;
@@ -175599,7 +175599,7 @@ var import_typescript10, AUTH_PACKAGE2 = "@absolutejs/auth", REPO_URL = "https:/
175599
175599
  if (found === null)
175600
175600
  continue;
175601
175601
  match = found;
175602
- setupPath = relative7(cwd, resolve16(file));
175602
+ setupPath = relative8(cwd, resolve16(file));
175603
175603
  break;
175604
175604
  }
175605
175605
  const keys = match?.keys ?? new Set;
@@ -175638,7 +175638,7 @@ var init_resolveAuthState = __esm(() => {
175638
175638
 
175639
175639
  // src/cli/config/auth/scaffoldAuthFeature.ts
175640
175640
  import { existsSync as existsSync26, writeFileSync as writeFileSync15 } from "fs";
175641
- import { dirname as dirname12, join as join22, relative as relative8, resolve as resolve17 } from "path";
175641
+ import { dirname as dirname12, join as join22, relative as relative9, resolve as resolve17 } from "path";
175642
175642
  var renderScaffold = (scaffold) => {
175643
175643
  const importNames = [...scaffold.imports, `type ${scaffold.typeName}`];
175644
175644
  const importLine = `import { ${importNames.join(", ")} } from '@absolutejs/auth';`;
@@ -175679,7 +175679,7 @@ ${scaffold.configKey}: ${scaffold.exportName}`, failure2 = (message) => ({
175679
175679
  if (!scaffold)
175680
175680
  return failure2(`Unknown auth feature "${id}".`);
175681
175681
  const filePath = join22(targetDir(cwd), `${scaffold.exportName}.ts`);
175682
- const relPath = relative8(cwd, filePath);
175682
+ const relPath = relative9(cwd, filePath);
175683
175683
  if (existsSync26(filePath)) {
175684
175684
  return {
175685
175685
  created: null,
@@ -175744,7 +175744,7 @@ var exports_add = {};
175744
175744
  __export(exports_add, {
175745
175745
  runAdd: () => runAdd
175746
175746
  });
175747
- import { dirname as dirname13, join as join24, relative as relative9 } from "path";
175747
+ import { dirname as dirname13, join as join24, relative as relative10 } from "path";
175748
175748
  var write2 = (text) => process.stdout.write(`${text}
175749
175749
  `), fail2 = (message) => {
175750
175750
  process.stdout.write(`${colors.red}${message}${colors.reset}
@@ -175755,7 +175755,7 @@ var write2 = (text) => process.stdout.write(`${text}
175755
175755
  return;
175756
175756
  write2(` ${colors.dim}${label}${colors.reset}`);
175757
175757
  for (const path of paths)
175758
- write2(` ${relative9(cwd, path)}`);
175758
+ write2(` ${relative10(cwd, path)}`);
175759
175759
  }, frontendRoot = (project, cwd) => {
175760
175760
  const [firstKey] = configuredFrameworks(project);
175761
175761
  const firstDir = firstKey ? project.frameworkDirs[firstKey] : undefined;
@@ -175824,7 +175824,7 @@ var write2 = (text) => process.stdout.write(`${text}
175824
175824
  return;
175825
175825
  }
175826
175826
  const dirAbs = join24(frontendRoot(project, cwd), framework);
175827
- const dirRel = `./${relative9(cwd, dirAbs).split("\\").join("/")}`;
175827
+ const dirRel = `./${relative10(cwd, dirAbs).split("\\").join("/")}`;
175828
175828
  let depNote = "Skipped dependency install (--no-install).";
175829
175829
  if (!noInstall) {
175830
175830
  write2(`${colors.dim}Installing ${frameworks2[framework].label} dependencies\u2026${colors.reset}`);
@@ -176260,7 +176260,7 @@ __export(exports_remove, {
176260
176260
  runRemove: () => runRemove
176261
176261
  });
176262
176262
  import { existsSync as existsSync29, readFileSync as readFileSync28 } from "fs";
176263
- import { relative as relative10 } from "path";
176263
+ import { relative as relative11 } from "path";
176264
176264
  var write3 = (text) => process.stdout.write(`${text}
176265
176265
  `), fail3 = (message) => {
176266
176266
  process.stdout.write(`${colors.red}${message}${colors.reset}
@@ -176309,10 +176309,10 @@ var write3 = (text) => process.stdout.write(`${text}
176309
176309
  }
176310
176310
  write3(`${colors.green}\u2713${colors.reset} Removed ${framework}Directory from absolute.config.ts
176311
176311
  `);
176312
- write3(` ${colors.dim}Kept${colors.reset} ${relative10(cwd, frameworkDir)} \u2014 delete its source manually if no longer needed.`);
176312
+ write3(` ${colors.dim}Kept${colors.reset} ${relative11(cwd, frameworkDir)} \u2014 delete its source manually if no longer needed.`);
176313
176313
  const refs = referencingFiles(project.serverEntry, HANDLER_NAME[framework]);
176314
176314
  for (const file of refs) {
176315
- write3(` ${colors.yellow}Still references${colors.reset} ${relative10(cwd, file)} (calls ${HANDLER_NAME[framework]})`);
176315
+ write3(` ${colors.yellow}Still references${colors.reset} ${relative11(cwd, file)} (calls ${HANDLER_NAME[framework]})`);
176316
176316
  }
176317
176317
  const deps = frameworkDependencyNames(framework);
176318
176318
  if (prune && deps.length > 0) {
@@ -177607,7 +177607,7 @@ __export(exports_islands, {
177607
177607
  runIslands: () => runIslands
177608
177608
  });
177609
177609
  import { existsSync as existsSync36, readFileSync as readFileSync34, statSync as statSync5 } from "fs";
177610
- import { join as join30, relative as relative11, resolve as resolve21 } from "path";
177610
+ import { join as join30, relative as relative12, resolve as resolve21 } from "path";
177611
177611
  var FRAMEWORK_DIR_KEY, FRAMEWORK_COLOR, printDim6 = (message) => process.stdout.write(`${colors.dim}${message}${colors.reset}
177612
177612
  `), hostFrameworkOf = (pagePath, cwd, config) => {
177613
177613
  const resolved = resolve21(cwd, pagePath);
@@ -177648,7 +177648,7 @@ var FRAMEWORK_DIR_KEY, FRAMEWORK_COLOR, printDim6 = (message) => process.stdout.
177648
177648
  crossFramework: hostFramework !== null && hostFramework !== definition.framework,
177649
177649
  hostFramework,
177650
177650
  hydrate: usage2.hydrate ?? "load",
177651
- page: relative11(cwd, resolve21(cwd, usage2.page))
177651
+ page: relative12(cwd, resolve21(cwd, usage2.page))
177652
177652
  };
177653
177653
  });
177654
177654
  const key = getIslandManifestKey(definition.framework, definition.component);
@@ -177687,7 +177687,7 @@ var FRAMEWORK_DIR_KEY, FRAMEWORK_COLOR, printDim6 = (message) => process.stdout.
177687
177687
  ` ${color}\u2B21${colors.reset} ${colors.bold}${island.component}${colors.reset} ${meta}${sizeText}`
177688
177688
  ];
177689
177689
  if (island.source) {
177690
- lines.push(` ${colors.dim}${relative11(cwd, island.source)}${colors.reset}`);
177690
+ lines.push(` ${colors.dim}${relative12(cwd, island.source)}${colors.reset}`);
177691
177691
  }
177692
177692
  if (pages.length === 0) {
177693
177693
  lines.push(` ${colors.dim}(registered but not mounted on any page)${colors.reset}`);
@@ -177828,7 +177828,7 @@ import {
177828
177828
  dirname as dirname17,
177829
177829
  isAbsolute as isAbsolute2,
177830
177830
  join as join32,
177831
- relative as relative12,
177831
+ relative as relative13,
177832
177832
  resolve as resolve23
177833
177833
  } from "path";
177834
177834
  var cliTag4 = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[cli]\x1B[0m ${color}${message}\x1B[0m`, compileBanner = (version2) => {
@@ -178046,7 +178046,7 @@ var cliTag4 = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[c
178046
178046
  force: true,
178047
178047
  recursive: true,
178048
178048
  filter(source) {
178049
- const rel = relative12(srcDir, source);
178049
+ const rel = relative13(srcDir, source);
178050
178050
  const [firstSegment] = rel.split(/[\\/]/);
178051
178051
  return firstSegment !== "node_modules" && firstSegment !== ".git";
178052
178052
  }
@@ -178103,7 +178103,7 @@ var cliTag4 = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[c
178103
178103
  }
178104
178104
  return specifiers.sort((firstSpecifier, secondSpecifier) => secondSpecifier.length - firstSpecifier.length);
178105
178105
  }, ensureRelativeModuleSpecifier = (fromFile, toFile) => {
178106
- const rel = relative12(dirname17(fromFile), toFile).replace(/\\/g, "/");
178106
+ const rel = relative13(dirname17(fromFile), toFile).replace(/\\/g, "/");
178107
178107
  return rel.startsWith(".") ? rel : `./${rel}`;
178108
178108
  }, pickExportEntry = (value) => {
178109
178109
  if (typeof value === "string")
@@ -178235,12 +178235,12 @@ var cliTag4 = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[c
178235
178235
  "_compile_entrypoint.ts"
178236
178236
  ]);
178237
178237
  const embeddedFiles = allFiles.filter((file) => {
178238
- const rel = relative12(distDir, file);
178238
+ const rel = relative13(distDir, file);
178239
178239
  if (embeddedSkip.has(rel))
178240
178240
  return false;
178241
178241
  return true;
178242
178242
  });
178243
- const clientFiles = embeddedFiles.filter((file) => shouldEmbedCompiledAsset(relative12(distDir, file), assetSkip));
178243
+ const clientFiles = embeddedFiles.filter((file) => shouldEmbedCompiledAsset(relative13(distDir, file), assetSkip));
178244
178244
  const imports = [];
178245
178245
  const nativeImports = [];
178246
178246
  const nativeMappings = [];
@@ -178255,14 +178255,14 @@ var cliTag4 = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[c
178255
178255
  nativeMappings.push(` [${JSON.stringify(asset.env)}, resolveNativeAssetPath(${varName})],`);
178256
178256
  });
178257
178257
  embeddedFiles.forEach((filePath, idx) => {
178258
- const rel = relative12(distDir, filePath).replace(/\\/g, "/");
178258
+ const rel = relative13(distDir, filePath).replace(/\\/g, "/");
178259
178259
  const varName = `__a${idx}`;
178260
178260
  embeddedVarMap.set(rel, varName);
178261
178261
  imports.push(`import ${varName} from "./${rel}" with { type: "file" };`);
178262
178262
  embeddedMappings.push(` ["${rel}", ${varName}],`);
178263
178263
  });
178264
178264
  clientFiles.forEach((filePath) => {
178265
- const rel = relative12(distDir, filePath).replace(/\\/g, "/");
178265
+ const rel = relative13(distDir, filePath).replace(/\\/g, "/");
178266
178266
  const varName = embeddedVarMap.get(rel);
178267
178267
  if (!varName)
178268
178268
  return;
@@ -178276,7 +178276,7 @@ var cliTag4 = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[c
178276
178276
  const pageVarMap = new Map;
178277
178277
  const prerenderEntries = Array.from(prerenderMap.entries());
178278
178278
  prerenderEntries.forEach(([route, filePath]) => {
178279
- const rel = relative12(distDir, filePath).replace(/\\/g, "/");
178279
+ const rel = relative13(distDir, filePath).replace(/\\/g, "/");
178280
178280
  const varName = embeddedVarMap.get(rel);
178281
178281
  if (varName)
178282
178282
  pageVarMap.set(route, varName);
@@ -178825,7 +178825,7 @@ console.log(\`
178825
178825
  if (scope !== "angular" || rest.length === 0)
178826
178826
  continue;
178827
178827
  const specifier = `@angular/${rest.join("/")}`;
178828
- const relPath = relative12(dirname17(outputPath), resolve23(vendorDir, file));
178828
+ const relPath = relative13(dirname17(outputPath), resolve23(vendorDir, file));
178829
178829
  angularServerVendorPaths[specifier] = relPath.startsWith(".") ? relPath : `./${relPath}`;
178830
178830
  }
178831
178831
  if (Object.keys(angularServerVendorPaths).length > 0) {
package/package.json CHANGED
@@ -693,7 +693,7 @@
693
693
  ]
694
694
  }
695
695
  },
696
- "version": "0.19.0-beta.1119",
696
+ "version": "0.19.0-beta.1120",
697
697
  "workspaces": [
698
698
  "tests/fixtures/*",
699
699
  "tests/fixtures/_packages/*"