@orkestrel/scaffold 0.0.30 → 0.0.32

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.
@@ -2603,6 +2603,10 @@ var Materializer = class Materializer {
2603
2603
  let budget = remaining;
2604
2604
  for (const entry of matched) {
2605
2605
  const path = this.#remap(artifact, entry.destination);
2606
+ if (_src_core.WORKSPACE_OWNED_PATHS.includes(path)) {
2607
+ expanded.push(this.#presence(artifact, path, entry.destination));
2608
+ continue;
2609
+ }
2606
2610
  if (this.#deferred(path)) {
2607
2611
  expanded.push(this.#presence(artifact, path, entry.destination));
2608
2612
  continue;
@@ -2619,7 +2623,11 @@ var Materializer = class Materializer {
2619
2623
  host: this.#host,
2620
2624
  source
2621
2625
  });
2622
- if (isPhysicalFile(full)) return [this.#deferred(artifact.path) ? this.#presence(artifact, artifact.path, source) : this.#hydrated(artifact, artifact.path, source, this.#read(source, remaining))];
2626
+ if (isPhysicalFile(full)) {
2627
+ if (_src_core.WORKSPACE_OWNED_PATHS.includes(artifact.path)) return [this.#presence(artifact, artifact.path, source)];
2628
+ if (this.#deferred(artifact.path)) return [this.#presence(artifact, artifact.path, source)];
2629
+ return [this.#hydrated(artifact, artifact.path, source, this.#read(source, remaining))];
2630
+ }
2623
2631
  if (!isPhysicalDirectory(full)) throw this.#error("TARGET", `The host source at ${source} is not a readable file.`, {
2624
2632
  host: this.#host,
2625
2633
  source
@@ -2629,6 +2637,10 @@ var Materializer = class Materializer {
2629
2637
  for (const name of listFiles(full)) {
2630
2638
  const path = `${artifact.path}/${name}`;
2631
2639
  const destination = `${source}/${name}`;
2640
+ if (_src_core.WORKSPACE_OWNED_PATHS.includes(path)) {
2641
+ expanded.push(this.#presence(artifact, path, destination));
2642
+ continue;
2643
+ }
2632
2644
  if (this.#deferred(path)) {
2633
2645
  expanded.push(this.#presence(artifact, path, destination));
2634
2646
  continue;