@savvy-web/silk 3.8.1 → 3.8.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.
@@ -2335,7 +2335,7 @@ var GlobSet = class GlobSet extends effect.Schema.Class("GlobSet")(effect.Schema
2335
2335
  }
2336
2336
  };
2337
2337
  //#endregion
2338
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/BunExtension.js
2338
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/BunExtension.js
2339
2339
  /**
2340
2340
  * Extension data specific to bun lockfiles, attached to `Lockfile.extension`
2341
2341
  * when the format is `"bun"`.
@@ -4139,7 +4139,7 @@ input: effect.Schema.String }) {
4139
4139
  }
4140
4140
  };
4141
4141
  const CATALOG_PREFIX = "catalog:";
4142
- const WORKSPACE_PREFIX = "workspace:";
4142
+ const WORKSPACE_PREFIX$1 = "workspace:";
4143
4143
  const isBarePath = (value) => value.startsWith("./") || value.startsWith("../") || value.startsWith("~/") || value.startsWith("/");
4144
4144
  const isGitHubShorthand = (value) => !value.startsWith(".") && !value.startsWith("~") && !value.startsWith("/") && /^[a-zA-Z0-9_.-]+\/[a-zA-Z0-9_.-]+(#.*)?$/.test(value);
4145
4145
  const isGit = (value) => value.startsWith("git+") || value.startsWith("git://") || value.startsWith("github:") || value.startsWith("gist:") || value.startsWith("bitbucket:") || value.startsWith("gitlab:") || isGitHubShorthand(value);
@@ -4147,7 +4147,7 @@ const isLocal = (value) => value.startsWith("file:") || value.startsWith("link:"
4147
4147
  const isLink = (value) => value.startsWith("link:");
4148
4148
  const isPortal = (value) => value.startsWith("portal:");
4149
4149
  const isCatalog = (value) => value.startsWith(CATALOG_PREFIX);
4150
- const isWorkspace = (value) => value.startsWith(WORKSPACE_PREFIX);
4150
+ const isWorkspace = (value) => value.startsWith(WORKSPACE_PREFIX$1);
4151
4151
  const isUrl$1 = (value) => value.startsWith("http://") || value.startsWith("https://");
4152
4152
  const parseRange = (value) => {
4153
4153
  const exit = effect.Schema.decodeUnknownExit(Range$2.FromString)(value);
@@ -4156,7 +4156,7 @@ const parseRange = (value) => {
4156
4156
  const isRange = (value) => effect.Option.isSome(parseRange(value));
4157
4157
  const protocolOf = (value) => {
4158
4158
  if (value.startsWith(CATALOG_PREFIX)) return "catalog";
4159
- if (value.startsWith(WORKSPACE_PREFIX)) return "workspace";
4159
+ if (value.startsWith(WORKSPACE_PREFIX$1)) return "workspace";
4160
4160
  if (value.startsWith("link:")) return "link";
4161
4161
  if (value.startsWith("portal:")) return "portal";
4162
4162
  if (value.startsWith("file:") || isBarePath(value)) return "file";
@@ -5569,7 +5569,7 @@ var ReleaseAgeGate = class ReleaseAgeGate extends effect.Schema.Class("ReleaseAg
5569
5569
  }
5570
5570
  };
5571
5571
  //#endregion
5572
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/ImporterDependency.js
5572
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/ImporterDependency.js
5573
5573
  /**
5574
5574
  * One declared dependency of one workspace importer, as the lockfile records it.
5575
5575
  *
@@ -5607,7 +5607,7 @@ var ImporterDependency = class extends effect.Schema.Class("ImporterDependency")
5607
5607
  depType: DependencyField
5608
5608
  }) {};
5609
5609
  //#endregion
5610
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/LockfileImporter.js
5610
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/LockfileImporter.js
5611
5611
  /**
5612
5612
  * One workspace importer's declared dependencies, as the lockfile records them.
5613
5613
  *
@@ -5631,7 +5631,7 @@ var LockfileImporter = class extends effect.Schema.Class("LockfileImporter")({
5631
5631
  dependencies: effect.Schema.Array(ImporterDependency)
5632
5632
  }) {};
5633
5633
  //#endregion
5634
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/ResolvedPackage.js
5634
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/ResolvedPackage.js
5635
5635
  const EMPTY_DEPENDENCIES = {};
5636
5636
  const EMPTY_PEER_META = {};
5637
5637
  const EMPTY_EDGE_NAMES = [];
@@ -5721,7 +5721,7 @@ var ResolvedPackage = class extends effect.Schema.Class("ResolvedPackage")({
5721
5721
  unresolvedEdges: effect.Schema.Array(effect.Schema.String).pipe(effect.Schema.withDecodingDefaultKey(effect.Effect.succeed(EMPTY_EDGE_NAMES)), effect.Schema.withConstructorDefault(effect.Effect.succeed(EMPTY_EDGE_NAMES)))
5722
5722
  }) {};
5723
5723
  //#endregion
5724
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/WorkspaceDependency.js
5724
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/WorkspaceDependency.js
5725
5725
  /**
5726
5726
  * A directed dependency edge between two workspace packages as recorded in
5727
5727
  * the lockfile.
@@ -5743,7 +5743,7 @@ var WorkspaceDependency = class extends effect.Schema.Class("WorkspaceDependency
5743
5743
  constraint: effect.Schema.String
5744
5744
  }) {};
5745
5745
  //#endregion
5746
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/PnpmExtension.js
5746
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/PnpmExtension.js
5747
5747
  /**
5748
5748
  * Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
5749
5749
  * when the format is `"pnpm"`.
@@ -5768,7 +5768,7 @@ var PnpmExtension = class extends effect.Schema.Class("PnpmExtension")({
5768
5768
  }))
5769
5769
  }) {};
5770
5770
  //#endregion
5771
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/LockfileFormat.js
5771
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/LockfileFormat.js
5772
5772
  /**
5773
5773
  * The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
5774
5774
  * `package-lock.json` (JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
@@ -5810,7 +5810,7 @@ const FILENAMES = {
5810
5810
  */
5811
5811
  const filenameFor = (format) => FILENAMES[format][0];
5812
5812
  //#endregion
5813
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/internal/shared.js
5813
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/internal/shared.js
5814
5814
  /**
5815
5815
  * The four dependency sections of a manifest, in a stable order — the shared
5816
5816
  * dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
@@ -7812,7 +7812,7 @@ var JsoncModifier = class {
7812
7812
  });
7813
7813
  };
7814
7814
  //#endregion
7815
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/internal/bun.js
7815
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/internal/bun.js
7816
7816
  const DepRecord$2 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
7817
7817
  const OptionalPeers = effect.Schema.optionalKey(effect.Schema.Array(effect.Schema.String));
7818
7818
  const BunWorkspaceEntry = effect.Schema.Struct({
@@ -7989,7 +7989,7 @@ const toFields$3 = (raw) => effect.Effect.gen(function* () {
7989
7989
  };
7990
7990
  });
7991
7991
  //#endregion
7992
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/internal/npm.js
7992
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/internal/npm.js
7993
7993
  const DepRecord$1 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
7994
7994
  const PeerMetaRecord = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.Struct({ optional: effect.Schema.optionalKey(effect.Schema.Boolean) })));
7995
7995
  const NpmPackageEntry = effect.Schema.Struct({
@@ -15857,7 +15857,7 @@ function deepEqualValues(a, b) {
15857
15857
  return false;
15858
15858
  }
15859
15859
  //#endregion
15860
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/internal/documents.js
15860
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/internal/documents.js
15861
15861
  /**
15862
15862
  * An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
15863
15863
  * and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
@@ -15927,7 +15927,7 @@ const selectSoleDocument = (content) => effect.Effect.gen(function* () {
15927
15927
  };
15928
15928
  });
15929
15929
  //#endregion
15930
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/internal/pnpm.js
15930
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/internal/pnpm.js
15931
15931
  const PnpmImporterDeps = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.Struct({
15932
15932
  specifier: effect.Schema.String,
15933
15933
  version: effect.Schema.String
@@ -16057,6 +16057,31 @@ const resolveLinkTarget = (importerPath, target) => {
16057
16057
  }
16058
16058
  return segments.length === 0 ? void 0 : segments.join("/");
16059
16059
  };
16060
+ /** The specifier protocol pnpm resolves through the workspace itself. @internal */
16061
+ const WORKSPACE_PREFIX = "workspace:";
16062
+ /**
16063
+ * The importer a `link:` target lands INSIDE, longest path first.
16064
+ *
16065
+ * pnpm's `publishConfig.linkDirectory` makes a workspace link point at the
16066
+ * package's publish directory rather than its root — `link:../bundler/dist/dev/pkg`
16067
+ * where `packages/bundler` is the importer — so the target itself is a build
16068
+ * output that is no importer and never will be. The owning importer is the
16069
+ * longest ancestor of the target that IS one; longest-first so a nested importer
16070
+ * beats its parent.
16071
+ *
16072
+ * The root importer (`"."`) is deliberately unreachable here: it is an ancestor
16073
+ * of every path in the workspace, so admitting it would resolve every stray link
16074
+ * to the root rather than leaving it unnamed.
16075
+ *
16076
+ * @internal
16077
+ */
16078
+ const owningImporter = (target, importerPaths) => {
16079
+ const segments = target.split("/");
16080
+ for (let end = segments.length - 1; end > 0; end--) {
16081
+ const candidate = segments.slice(0, end).join("/");
16082
+ if (importerPaths.has(candidate)) return candidate;
16083
+ }
16084
+ };
16060
16085
  /**
16061
16086
  * Resolve one importer's outgoing edges. pnpm records `{ specifier, version }`
16062
16087
  * per importer dependency, where the version is either a registry version (the
@@ -16064,9 +16089,22 @@ const resolveLinkTarget = (importerPath, target) => {
16064
16089
  * naming another importer — normalized against this importer's own path. Both
16065
16090
  * are checked against the lockfile's instance ids before being emitted.
16066
16091
  *
16092
+ * A `link:` target that is no importer gets one further chance, and only under
16093
+ * a `workspace:` SPECIFIER: pnpm resolved that edge through the workspace, so
16094
+ * the target directory is known to belong to a workspace package, and
16095
+ * {@link owningImporter} names it. The specifier is what makes this a
16096
+ * resolution rather than a guess — a hand-written `link:../vendor/stub`
16097
+ * specifier names a directory pnpm never claimed was a workspace package, and
16098
+ * attributing it to whichever importer happens to contain it would answer with
16099
+ * the wrong package's peers instead of admitting it could not name the edge.
16100
+ *
16101
+ * The snapshot path ({@link resolveEdges}) deliberately does NOT do this: a
16102
+ * snapshot body records `name: link:<path>` with no specifier beside it, so the
16103
+ * evidence this rule turns on is not available there.
16104
+ *
16067
16105
  * @internal
16068
16106
  */
16069
- const resolveImporterEdges = (importer, importerPath, instanceIds) => {
16107
+ const resolveImporterEdges = (importer, importerPath, instanceIds, importerPaths) => {
16070
16108
  const edges = /* @__PURE__ */ new Map();
16071
16109
  const unnameable = /* @__PURE__ */ new Set();
16072
16110
  for (const group of importerDepGroups(importer)) {
@@ -16075,7 +16113,8 @@ const resolveImporterEdges = (importer, importerPath, instanceIds) => {
16075
16113
  if (name === "") continue;
16076
16114
  if (info.version.startsWith(LINK_PREFIX)) {
16077
16115
  const target = resolveLinkTarget(importerPath, info.version.slice(5));
16078
- if (target !== void 0 && instanceIds.has(target)) edges.set(name, target);
16116
+ const owner = target === void 0 ? void 0 : instanceIds.has(target) ? target : info.specifier.startsWith(WORKSPACE_PREFIX) ? owningImporter(target, importerPaths) : void 0;
16117
+ if (owner !== void 0) edges.set(name, owner);
16079
16118
  else unnameable.add(name);
16080
16119
  continue;
16081
16120
  }
@@ -16135,6 +16174,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
16135
16174
  ...raw.packages ? Object.keys(raw.packages) : [],
16136
16175
  ...Object.keys(raw.importers)
16137
16176
  ]);
16177
+ const importerPaths = new Set(Object.keys(raw.importers).filter((path) => path !== "." && path !== ""));
16138
16178
  const emitted = /* @__PURE__ */ new Set();
16139
16179
  for (const [importerPath, importer] of Object.entries(raw.importers)) {
16140
16180
  if (importerPath === "." || importerPath === "") continue;
@@ -16144,7 +16184,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
16144
16184
  instanceId: importerPath,
16145
16185
  isWorkspace: true,
16146
16186
  relativePath: importerPath,
16147
- ...resolveImporterEdges(importer, importerPath, instanceIds)
16187
+ ...resolveImporterEdges(importer, importerPath, instanceIds, importerPaths)
16148
16188
  }));
16149
16189
  }
16150
16190
  const emit = (instanceId, meta, edges) => effect.Effect.gen(function* () {
@@ -16189,7 +16229,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
16189
16229
  };
16190
16230
  });
16191
16231
  //#endregion
16192
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/internal/yarn.js
16232
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/internal/yarn.js
16193
16233
  const YarnLockfileRaw = effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown);
16194
16234
  const DepRecord = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
16195
16235
  const YarnEntry = effect.Schema.Struct({
@@ -16365,7 +16405,7 @@ const cleanYarnDeps = (deps) => {
16365
16405
  return Object.fromEntries(Object.entries(deps).map(([name, value]) => [name, value.startsWith("npm:") ? value.slice(4) : value]));
16366
16406
  };
16367
16407
  //#endregion
16368
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/Lockfile.js
16408
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/Lockfile.js
16369
16409
  const EMPTY_IMPORTERS = [];
16370
16410
  /**
16371
16411
  * Failure of `Lockfile.parse`: the given content is not a valid lockfile of
@@ -16614,7 +16654,7 @@ var Lockfile = class Lockfile extends effect.Schema.Class("Lockfile")({
16614
16654
  }
16615
16655
  };
16616
16656
  //#endregion
16617
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/LockfileIntegrity.js
16657
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/LockfileIntegrity.js
16618
16658
  /**
16619
16659
  * The minimal manifest shape {@link LockfileIntegrity.compare} checks a
16620
16660
  * lockfile against: a package name plus the four optional dependency maps.
@@ -19427,7 +19467,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
19427
19467
  }
19428
19468
  };
19429
19469
  //#endregion
19430
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspacePackage.js
19470
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspacePackage.js
19431
19471
  const EMPTY$1 = Object.freeze(Object.create(null));
19432
19472
  const EMPTY_MANIFEST = Object.freeze(Object.create(null));
19433
19473
  /**
@@ -20025,7 +20065,7 @@ var Walker$1 = class {
20025
20065
  static findRoot = findRoot$1;
20026
20066
  };
20027
20067
  //#endregion
20028
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceRoot.js
20068
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceRoot.js
20029
20069
  /**
20030
20070
  * The marker filenames {@link WorkspaceRoot} probes for, in priority order.
20031
20071
  *
@@ -20212,7 +20252,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
20212
20252
  static layerTest = (root) => effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.makeTest(root)).pipe(effect.Layer.provide(effect.Path.layer));
20213
20253
  };
20214
20254
  //#endregion
20215
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/limits.js
20255
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/limits.js
20216
20256
  /**
20217
20257
  * Hard ceiling on directories the enumerator will visit for one pattern set.
20218
20258
  * Guards the pathological case a depth cap alone does not: a wide, shallow
@@ -20230,7 +20270,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
20230
20270
  */
20231
20271
  const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
20232
20272
  //#endregion
20233
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/traverse.js
20273
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/traverse.js
20234
20274
  /** Directory names never descended into. */
20235
20275
  const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
20236
20276
  /** Join root-relative POSIX segments; `""` is the root itself. */
@@ -20320,7 +20360,7 @@ var Traversal = class {
20320
20360
  }
20321
20361
  };
20322
20362
  //#endregion
20323
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/enumerate.js
20363
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/enumerate.js
20324
20364
  /** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
20325
20365
  const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
20326
20366
  /**
@@ -20390,7 +20430,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
20390
20430
  return results;
20391
20431
  });
20392
20432
  //#endregion
20393
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/patterns.js
20433
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/patterns.js
20394
20434
  const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
20395
20435
  /** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
20396
20436
  const pnpmPatternsOf = (document) => {
@@ -20447,7 +20487,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
20447
20487
  return manifestPatternsOf(manifest);
20448
20488
  });
20449
20489
  //#endregion
20450
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceDiscovery.js
20490
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceDiscovery.js
20451
20491
  /**
20452
20492
  * Raised when a workspace member's `package.json` cannot be read, parsed, or
20453
20493
  * used — it is missing, malformed, or lacks a `name` or `version`.
@@ -20903,7 +20943,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
20903
20943
  };
20904
20944
  const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
20905
20945
  //#endregion
20906
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/DependencyGraph.js
20946
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/DependencyGraph.js
20907
20947
  /**
20908
20948
  * Raised when the workspace dependency graph cannot be topologically ordered
20909
20949
  * because it contains a cycle.
@@ -24599,7 +24639,7 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
24599
24639
  static layerTest = (overrides = {}) => effect.Layer.succeed(Git, Git.makeTest(overrides));
24600
24640
  };
24601
24641
  //#endregion
24602
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/ChangeDetector.js
24642
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/ChangeDetector.js
24603
24643
  /**
24604
24644
  * Which git refs to compare, and whether to fold in the working tree.
24605
24645
  *
@@ -24855,7 +24895,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
24855
24895
  };
24856
24896
  }
24857
24897
  //#endregion
24858
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/catalogs.js
24898
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/catalogs.js
24859
24899
  /** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
24860
24900
  const inlineCatalogs = (manifest) => {
24861
24901
  if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
@@ -25384,7 +25424,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
25384
25424
  }));
25385
25425
  };
25386
25426
  //#endregion
25387
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/PackageManagerName.js
25427
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/PackageManagerName.js
25388
25428
  /**
25389
25429
  * The four package managers this package understands.
25390
25430
  *
@@ -25759,7 +25799,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
25759
25799
  static layerTest = (overrides = {}) => effect.Layer.succeed(PackageManagerDetector, PackageManagerDetector.makeTest(overrides));
25760
25800
  };
25761
25801
  //#endregion
25762
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/LockfileReader.js
25802
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/LockfileReader.js
25763
25803
  /**
25764
25804
  * Raised when the workspace's lockfile cannot be read off disk.
25765
25805
  *
@@ -25939,7 +25979,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
25939
25979
  static layerTest = (overrides = {}) => effect.Layer.succeed(LockfileReader, LockfileReader.makeTest(overrides));
25940
25980
  };
25941
25981
  //#endregion
25942
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/Publishability.js
25982
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/Publishability.js
25943
25983
  /** The public npm registry, used when `publishConfig.registry` says nothing. */
25944
25984
  const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
25945
25985
  /**
@@ -26098,7 +26138,7 @@ var PublishabilityDetector = class extends effect.Context.Service()("@effected/w
26098
26138
  static layerNone = effect.Layer.succeed(this, this.none);
26099
26139
  };
26100
26140
  //#endregion
26101
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/importerVersions.js
26141
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/internal/importerVersions.js
26102
26142
  /**
26103
26143
  * Strip pnpm's peer-disambiguation suffix from a recorded importer version.
26104
26144
  *
@@ -26184,7 +26224,7 @@ const unanimousVersionOf = (index, dependency) => {
26184
26224
  return agreed;
26185
26225
  };
26186
26226
  //#endregion
26187
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceCatalogs.js
26227
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceCatalogs.js
26188
26228
  /**
26189
26229
  * An immutable, fully-normalized catalog collection — the one catalog
26190
26230
  * resolution semantic in the package.
@@ -26754,7 +26794,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
26754
26794
  }));
26755
26795
  };
26756
26796
  //#endregion
26757
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
26797
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
26758
26798
  const EMPTY = Object.freeze(Object.create(null));
26759
26799
  const DependencyMap = effect.Schema.Record(effect.Schema.String, effect.Schema.String).pipe(effect.Schema.withDecodingDefaultKey(effect.Effect.succeed(EMPTY)), effect.Schema.withConstructorDefault(effect.Effect.succeed(EMPTY)));
26760
26800
  /**
@@ -26977,7 +27017,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
26977
27017
  }
26978
27018
  };
26979
27019
  //#endregion
26980
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceSnapshots.js
27020
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/WorkspaceSnapshots.js
26981
27021
  /** Whether `value` is a non-null, non-array object. */
26982
27022
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
26983
27023
  /** Whether every value in a record is a string — a usable dependency map. */
@@ -27254,7 +27294,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
27254
27294
  static layerTest = (overrides = {}) => effect.Layer.succeed(WorkspaceSnapshots, WorkspaceSnapshots.makeTest(overrides));
27255
27295
  };
27256
27296
  //#endregion
27257
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/Workspaces.js
27297
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/Workspaces.js
27258
27298
  const compose = (options, catalogsFactory) => {
27259
27299
  const roots = WorkspaceRoot.layer;
27260
27300
  const detector = PackageManagerDetector.layer;
@@ -5829,7 +5829,7 @@ declare class GlobPattern extends GlobPattern_base {
5829
5829
  static readonly FromString: Schema.Codec<GlobPattern, string>;
5830
5830
  }
5831
5831
  //#endregion
5832
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/index.d.ts
5832
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/index.d.ts
5833
5833
  //#region src/BunExtension.d.ts
5834
5834
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
5835
5835
  readonly _tag: Schema.tag<"bun">;
@@ -6903,7 +6903,7 @@ declare class Package extends Package_base {
6903
6903
  toJsonString(options?: PackageFormatOptions): string;
6904
6904
  }
6905
6905
  //#endregion
6906
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/index.d.ts
6906
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/index.d.ts
6907
6907
  //#region src/WorkspacePackage.d.ts
6908
6908
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
6909
6909
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -5829,7 +5829,7 @@ declare class GlobPattern extends GlobPattern_base {
5829
5829
  static readonly FromString: Schema.Codec<GlobPattern, string>;
5830
5830
  }
5831
5831
  //#endregion
5832
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_060c8bbc0d868c806eb6e32fbf3c19ea/node_modules/@effected/lockfiles/index.d.ts
5832
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@effected+npm@0.11_b5e24f85b508eca09bd100b8bd2084bb/node_modules/@effected/lockfiles/index.d.ts
5833
5833
  //#region src/BunExtension.d.ts
5834
5834
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
5835
5835
  readonly _tag: Schema.tag<"bun">;
@@ -6903,7 +6903,7 @@ declare class Package extends Package_base {
6903
6903
  toJsonString(options?: PackageFormatOptions): string;
6904
6904
  }
6905
6905
  //#endregion
6906
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/index.d.ts
6906
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.15.1_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__effect@4.0.0-rc.109/node_modules/@effected/workspaces/index.d.ts
6907
6907
  //#region src/WorkspacePackage.d.ts
6908
6908
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
6909
6909
  /** Scoped-package visibility. Its presence overrides `private`. */