@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.
- package/changesets-changelog.cjs +79 -39
- package/changesets-changelog.d.cts +2 -2
- package/changesets-changelog.d.ts +2 -2
- package/changesets-changelog.js +80 -40
- package/changesets-markdownlint.cjs +79 -39
- package/changesets-markdownlint.d.cts +2 -2
- package/changesets-markdownlint.d.ts +2 -2
- package/changesets-markdownlint.js +80 -40
- package/package.json +9 -9
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
package/changesets-changelog.js
CHANGED
|
@@ -2353,7 +2353,7 @@ var GlobSet = class GlobSet extends Schema.Class("GlobSet")(Schema.Struct({ patt
|
|
|
2353
2353
|
};
|
|
2354
2354
|
|
|
2355
2355
|
//#endregion
|
|
2356
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
2356
|
+
//#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
|
|
2357
2357
|
/**
|
|
2358
2358
|
* Extension data specific to bun lockfiles, attached to `Lockfile.extension`
|
|
2359
2359
|
* when the format is `"bun"`.
|
|
@@ -4170,7 +4170,7 @@ input: Schema.String }) {
|
|
|
4170
4170
|
}
|
|
4171
4171
|
};
|
|
4172
4172
|
const CATALOG_PREFIX = "catalog:";
|
|
4173
|
-
const WORKSPACE_PREFIX = "workspace:";
|
|
4173
|
+
const WORKSPACE_PREFIX$1 = "workspace:";
|
|
4174
4174
|
const isBarePath = (value) => value.startsWith("./") || value.startsWith("../") || value.startsWith("~/") || value.startsWith("/");
|
|
4175
4175
|
const isGitHubShorthand = (value) => !value.startsWith(".") && !value.startsWith("~") && !value.startsWith("/") && /^[a-zA-Z0-9_.-]+\/[a-zA-Z0-9_.-]+(#.*)?$/.test(value);
|
|
4176
4176
|
const isGit = (value) => value.startsWith("git+") || value.startsWith("git://") || value.startsWith("github:") || value.startsWith("gist:") || value.startsWith("bitbucket:") || value.startsWith("gitlab:") || isGitHubShorthand(value);
|
|
@@ -4178,7 +4178,7 @@ const isLocal = (value) => value.startsWith("file:") || value.startsWith("link:"
|
|
|
4178
4178
|
const isLink = (value) => value.startsWith("link:");
|
|
4179
4179
|
const isPortal = (value) => value.startsWith("portal:");
|
|
4180
4180
|
const isCatalog = (value) => value.startsWith(CATALOG_PREFIX);
|
|
4181
|
-
const isWorkspace = (value) => value.startsWith(WORKSPACE_PREFIX);
|
|
4181
|
+
const isWorkspace = (value) => value.startsWith(WORKSPACE_PREFIX$1);
|
|
4182
4182
|
const isUrl$1 = (value) => value.startsWith("http://") || value.startsWith("https://");
|
|
4183
4183
|
const parseRange = (value) => {
|
|
4184
4184
|
const exit = Schema.decodeUnknownExit(Range$1.FromString)(value);
|
|
@@ -4187,7 +4187,7 @@ const parseRange = (value) => {
|
|
|
4187
4187
|
const isRange = (value) => Option.isSome(parseRange(value));
|
|
4188
4188
|
const protocolOf = (value) => {
|
|
4189
4189
|
if (value.startsWith(CATALOG_PREFIX)) return "catalog";
|
|
4190
|
-
if (value.startsWith(WORKSPACE_PREFIX)) return "workspace";
|
|
4190
|
+
if (value.startsWith(WORKSPACE_PREFIX$1)) return "workspace";
|
|
4191
4191
|
if (value.startsWith("link:")) return "link";
|
|
4192
4192
|
if (value.startsWith("portal:")) return "portal";
|
|
4193
4193
|
if (value.startsWith("file:") || isBarePath(value)) return "file";
|
|
@@ -5621,7 +5621,7 @@ var ReleaseAgeGate = class ReleaseAgeGate extends Schema.Class("ReleaseAgeGate")
|
|
|
5621
5621
|
};
|
|
5622
5622
|
|
|
5623
5623
|
//#endregion
|
|
5624
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5624
|
+
//#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
|
|
5625
5625
|
/**
|
|
5626
5626
|
* One declared dependency of one workspace importer, as the lockfile records it.
|
|
5627
5627
|
*
|
|
@@ -5660,7 +5660,7 @@ var ImporterDependency = class extends Schema.Class("ImporterDependency")({
|
|
|
5660
5660
|
}) {};
|
|
5661
5661
|
|
|
5662
5662
|
//#endregion
|
|
5663
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5663
|
+
//#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
|
|
5664
5664
|
/**
|
|
5665
5665
|
* One workspace importer's declared dependencies, as the lockfile records them.
|
|
5666
5666
|
*
|
|
@@ -5685,7 +5685,7 @@ var LockfileImporter = class extends Schema.Class("LockfileImporter")({
|
|
|
5685
5685
|
}) {};
|
|
5686
5686
|
|
|
5687
5687
|
//#endregion
|
|
5688
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5688
|
+
//#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
|
|
5689
5689
|
const EMPTY_DEPENDENCIES = {};
|
|
5690
5690
|
const EMPTY_PEER_META = {};
|
|
5691
5691
|
const EMPTY_EDGE_NAMES = [];
|
|
@@ -5776,7 +5776,7 @@ var ResolvedPackage = class extends Schema.Class("ResolvedPackage")({
|
|
|
5776
5776
|
}) {};
|
|
5777
5777
|
|
|
5778
5778
|
//#endregion
|
|
5779
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5779
|
+
//#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
|
|
5780
5780
|
/**
|
|
5781
5781
|
* A directed dependency edge between two workspace packages as recorded in
|
|
5782
5782
|
* the lockfile.
|
|
@@ -5799,7 +5799,7 @@ var WorkspaceDependency = class extends Schema.Class("WorkspaceDependency")({
|
|
|
5799
5799
|
}) {};
|
|
5800
5800
|
|
|
5801
5801
|
//#endregion
|
|
5802
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5802
|
+
//#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
|
|
5803
5803
|
/**
|
|
5804
5804
|
* Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
|
|
5805
5805
|
* when the format is `"pnpm"`.
|
|
@@ -5825,7 +5825,7 @@ var PnpmExtension = class extends Schema.Class("PnpmExtension")({
|
|
|
5825
5825
|
}) {};
|
|
5826
5826
|
|
|
5827
5827
|
//#endregion
|
|
5828
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5828
|
+
//#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
|
|
5829
5829
|
/**
|
|
5830
5830
|
* The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
|
|
5831
5831
|
* `package-lock.json` (JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
|
|
@@ -5868,7 +5868,7 @@ const FILENAMES = {
|
|
|
5868
5868
|
const filenameFor = (format) => FILENAMES[format][0];
|
|
5869
5869
|
|
|
5870
5870
|
//#endregion
|
|
5871
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5871
|
+
//#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
|
|
5872
5872
|
/**
|
|
5873
5873
|
* The four dependency sections of a manifest, in a stable order — the shared
|
|
5874
5874
|
* dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
|
|
@@ -7913,7 +7913,7 @@ var JsoncModifier = class {
|
|
|
7913
7913
|
};
|
|
7914
7914
|
|
|
7915
7915
|
//#endregion
|
|
7916
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
7916
|
+
//#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
|
|
7917
7917
|
const DepRecord$2 = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
7918
7918
|
const OptionalPeers = Schema.optionalKey(Schema.Array(Schema.String));
|
|
7919
7919
|
const BunWorkspaceEntry = Schema.Struct({
|
|
@@ -8091,7 +8091,7 @@ const toFields$3 = (raw) => Effect.gen(function* () {
|
|
|
8091
8091
|
});
|
|
8092
8092
|
|
|
8093
8093
|
//#endregion
|
|
8094
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
8094
|
+
//#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
|
|
8095
8095
|
const DepRecord$1 = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
8096
8096
|
const PeerMetaRecord = Schema.optionalKey(Schema.Record(Schema.String, Schema.Struct({ optional: Schema.optionalKey(Schema.Boolean) })));
|
|
8097
8097
|
const NpmPackageEntry = Schema.Struct({
|
|
@@ -16064,7 +16064,7 @@ function deepEqualValues(a, b) {
|
|
|
16064
16064
|
}
|
|
16065
16065
|
|
|
16066
16066
|
//#endregion
|
|
16067
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16067
|
+
//#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
|
|
16068
16068
|
/**
|
|
16069
16069
|
* An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
|
|
16070
16070
|
* and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
|
|
@@ -16135,7 +16135,7 @@ const selectSoleDocument = (content) => Effect.gen(function* () {
|
|
|
16135
16135
|
});
|
|
16136
16136
|
|
|
16137
16137
|
//#endregion
|
|
16138
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16138
|
+
//#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
|
|
16139
16139
|
const PnpmImporterDeps = Schema.optionalKey(Schema.Record(Schema.String, Schema.Struct({
|
|
16140
16140
|
specifier: Schema.String,
|
|
16141
16141
|
version: Schema.String
|
|
@@ -16265,6 +16265,31 @@ const resolveLinkTarget = (importerPath, target) => {
|
|
|
16265
16265
|
}
|
|
16266
16266
|
return segments.length === 0 ? void 0 : segments.join("/");
|
|
16267
16267
|
};
|
|
16268
|
+
/** The specifier protocol pnpm resolves through the workspace itself. @internal */
|
|
16269
|
+
const WORKSPACE_PREFIX = "workspace:";
|
|
16270
|
+
/**
|
|
16271
|
+
* The importer a `link:` target lands INSIDE, longest path first.
|
|
16272
|
+
*
|
|
16273
|
+
* pnpm's `publishConfig.linkDirectory` makes a workspace link point at the
|
|
16274
|
+
* package's publish directory rather than its root — `link:../bundler/dist/dev/pkg`
|
|
16275
|
+
* where `packages/bundler` is the importer — so the target itself is a build
|
|
16276
|
+
* output that is no importer and never will be. The owning importer is the
|
|
16277
|
+
* longest ancestor of the target that IS one; longest-first so a nested importer
|
|
16278
|
+
* beats its parent.
|
|
16279
|
+
*
|
|
16280
|
+
* The root importer (`"."`) is deliberately unreachable here: it is an ancestor
|
|
16281
|
+
* of every path in the workspace, so admitting it would resolve every stray link
|
|
16282
|
+
* to the root rather than leaving it unnamed.
|
|
16283
|
+
*
|
|
16284
|
+
* @internal
|
|
16285
|
+
*/
|
|
16286
|
+
const owningImporter = (target, importerPaths) => {
|
|
16287
|
+
const segments = target.split("/");
|
|
16288
|
+
for (let end = segments.length - 1; end > 0; end--) {
|
|
16289
|
+
const candidate = segments.slice(0, end).join("/");
|
|
16290
|
+
if (importerPaths.has(candidate)) return candidate;
|
|
16291
|
+
}
|
|
16292
|
+
};
|
|
16268
16293
|
/**
|
|
16269
16294
|
* Resolve one importer's outgoing edges. pnpm records `{ specifier, version }`
|
|
16270
16295
|
* per importer dependency, where the version is either a registry version (the
|
|
@@ -16272,9 +16297,22 @@ const resolveLinkTarget = (importerPath, target) => {
|
|
|
16272
16297
|
* naming another importer — normalized against this importer's own path. Both
|
|
16273
16298
|
* are checked against the lockfile's instance ids before being emitted.
|
|
16274
16299
|
*
|
|
16300
|
+
* A `link:` target that is no importer gets one further chance, and only under
|
|
16301
|
+
* a `workspace:` SPECIFIER: pnpm resolved that edge through the workspace, so
|
|
16302
|
+
* the target directory is known to belong to a workspace package, and
|
|
16303
|
+
* {@link owningImporter} names it. The specifier is what makes this a
|
|
16304
|
+
* resolution rather than a guess — a hand-written `link:../vendor/stub`
|
|
16305
|
+
* specifier names a directory pnpm never claimed was a workspace package, and
|
|
16306
|
+
* attributing it to whichever importer happens to contain it would answer with
|
|
16307
|
+
* the wrong package's peers instead of admitting it could not name the edge.
|
|
16308
|
+
*
|
|
16309
|
+
* The snapshot path ({@link resolveEdges}) deliberately does NOT do this: a
|
|
16310
|
+
* snapshot body records `name: link:<path>` with no specifier beside it, so the
|
|
16311
|
+
* evidence this rule turns on is not available there.
|
|
16312
|
+
*
|
|
16275
16313
|
* @internal
|
|
16276
16314
|
*/
|
|
16277
|
-
const resolveImporterEdges = (importer, importerPath, instanceIds) => {
|
|
16315
|
+
const resolveImporterEdges = (importer, importerPath, instanceIds, importerPaths) => {
|
|
16278
16316
|
const edges = /* @__PURE__ */ new Map();
|
|
16279
16317
|
const unnameable = /* @__PURE__ */ new Set();
|
|
16280
16318
|
for (const group of importerDepGroups(importer)) {
|
|
@@ -16283,7 +16321,8 @@ const resolveImporterEdges = (importer, importerPath, instanceIds) => {
|
|
|
16283
16321
|
if (name === "") continue;
|
|
16284
16322
|
if (info.version.startsWith(LINK_PREFIX)) {
|
|
16285
16323
|
const target = resolveLinkTarget(importerPath, info.version.slice(5));
|
|
16286
|
-
|
|
16324
|
+
const owner = target === void 0 ? void 0 : instanceIds.has(target) ? target : info.specifier.startsWith(WORKSPACE_PREFIX) ? owningImporter(target, importerPaths) : void 0;
|
|
16325
|
+
if (owner !== void 0) edges.set(name, owner);
|
|
16287
16326
|
else unnameable.add(name);
|
|
16288
16327
|
continue;
|
|
16289
16328
|
}
|
|
@@ -16343,6 +16382,7 @@ const toFields$1 = (raw) => Effect.gen(function* () {
|
|
|
16343
16382
|
...raw.packages ? Object.keys(raw.packages) : [],
|
|
16344
16383
|
...Object.keys(raw.importers)
|
|
16345
16384
|
]);
|
|
16385
|
+
const importerPaths = new Set(Object.keys(raw.importers).filter((path) => path !== "." && path !== ""));
|
|
16346
16386
|
const emitted = /* @__PURE__ */ new Set();
|
|
16347
16387
|
for (const [importerPath, importer] of Object.entries(raw.importers)) {
|
|
16348
16388
|
if (importerPath === "." || importerPath === "") continue;
|
|
@@ -16352,7 +16392,7 @@ const toFields$1 = (raw) => Effect.gen(function* () {
|
|
|
16352
16392
|
instanceId: importerPath,
|
|
16353
16393
|
isWorkspace: true,
|
|
16354
16394
|
relativePath: importerPath,
|
|
16355
|
-
...resolveImporterEdges(importer, importerPath, instanceIds)
|
|
16395
|
+
...resolveImporterEdges(importer, importerPath, instanceIds, importerPaths)
|
|
16356
16396
|
}));
|
|
16357
16397
|
}
|
|
16358
16398
|
const emit = (instanceId, meta, edges) => Effect.gen(function* () {
|
|
@@ -16398,7 +16438,7 @@ const toFields$1 = (raw) => Effect.gen(function* () {
|
|
|
16398
16438
|
});
|
|
16399
16439
|
|
|
16400
16440
|
//#endregion
|
|
16401
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16441
|
+
//#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
|
|
16402
16442
|
const YarnLockfileRaw = Schema.Record(Schema.String, Schema.Unknown);
|
|
16403
16443
|
const DepRecord = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
16404
16444
|
const YarnEntry = Schema.Struct({
|
|
@@ -16575,7 +16615,7 @@ const cleanYarnDeps = (deps) => {
|
|
|
16575
16615
|
};
|
|
16576
16616
|
|
|
16577
16617
|
//#endregion
|
|
16578
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16618
|
+
//#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
|
|
16579
16619
|
const EMPTY_IMPORTERS = [];
|
|
16580
16620
|
/**
|
|
16581
16621
|
* Failure of `Lockfile.parse`: the given content is not a valid lockfile of
|
|
@@ -16825,7 +16865,7 @@ var Lockfile = class Lockfile extends Schema.Class("Lockfile")({
|
|
|
16825
16865
|
};
|
|
16826
16866
|
|
|
16827
16867
|
//#endregion
|
|
16828
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16868
|
+
//#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
|
|
16829
16869
|
/**
|
|
16830
16870
|
* The minimal manifest shape {@link LockfileIntegrity.compare} checks a
|
|
16831
16871
|
* lockfile against: a package name plus the four optional dependency maps.
|
|
@@ -19701,7 +19741,7 @@ var Package = class Package extends Schema.Class("Package")({
|
|
|
19701
19741
|
};
|
|
19702
19742
|
|
|
19703
19743
|
//#endregion
|
|
19704
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
19744
|
+
//#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
|
|
19705
19745
|
const EMPTY$1 = Object.freeze(Object.create(null));
|
|
19706
19746
|
const EMPTY_MANIFEST = Object.freeze(Object.create(null));
|
|
19707
19747
|
/**
|
|
@@ -20303,7 +20343,7 @@ var Walker$1 = class {
|
|
|
20303
20343
|
};
|
|
20304
20344
|
|
|
20305
20345
|
//#endregion
|
|
20306
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20346
|
+
//#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
|
|
20307
20347
|
/**
|
|
20308
20348
|
* The marker filenames {@link WorkspaceRoot} probes for, in priority order.
|
|
20309
20349
|
*
|
|
@@ -20491,7 +20531,7 @@ var WorkspaceRoot = class WorkspaceRoot extends Context.Service()("@effected/wor
|
|
|
20491
20531
|
};
|
|
20492
20532
|
|
|
20493
20533
|
//#endregion
|
|
20494
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20534
|
+
//#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
|
|
20495
20535
|
/**
|
|
20496
20536
|
* Hard ceiling on directories the enumerator will visit for one pattern set.
|
|
20497
20537
|
* Guards the pathological case a depth cap alone does not: a wide, shallow
|
|
@@ -20510,7 +20550,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
|
|
|
20510
20550
|
const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
20511
20551
|
|
|
20512
20552
|
//#endregion
|
|
20513
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20553
|
+
//#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
|
|
20514
20554
|
/** Directory names never descended into. */
|
|
20515
20555
|
const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
|
|
20516
20556
|
/** Join root-relative POSIX segments; `""` is the root itself. */
|
|
@@ -20601,7 +20641,7 @@ var Traversal = class {
|
|
|
20601
20641
|
};
|
|
20602
20642
|
|
|
20603
20643
|
//#endregion
|
|
20604
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20644
|
+
//#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
|
|
20605
20645
|
/** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
|
|
20606
20646
|
const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
|
|
20607
20647
|
/**
|
|
@@ -20672,7 +20712,7 @@ const enumerate = (root, globs, options) => Effect.gen(function* () {
|
|
|
20672
20712
|
});
|
|
20673
20713
|
|
|
20674
20714
|
//#endregion
|
|
20675
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20715
|
+
//#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
|
|
20676
20716
|
const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
20677
20717
|
/** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
|
|
20678
20718
|
const pnpmPatternsOf = (document) => {
|
|
@@ -20730,7 +20770,7 @@ const readPatterns = (root) => Effect.gen(function* () {
|
|
|
20730
20770
|
});
|
|
20731
20771
|
|
|
20732
20772
|
//#endregion
|
|
20733
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20773
|
+
//#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
|
|
20734
20774
|
/**
|
|
20735
20775
|
* Raised when a workspace member's `package.json` cannot be read, parsed, or
|
|
20736
20776
|
* used — it is missing, malformed, or lacks a `name` or `version`.
|
|
@@ -21187,7 +21227,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends Context.Service()("@ef
|
|
|
21187
21227
|
const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
|
|
21188
21228
|
|
|
21189
21229
|
//#endregion
|
|
21190
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
21230
|
+
//#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
|
|
21191
21231
|
/**
|
|
21192
21232
|
* Raised when the workspace dependency graph cannot be topologically ordered
|
|
21193
21233
|
* because it contains a cycle.
|
|
@@ -24887,7 +24927,7 @@ var Git = class Git extends Context.Service()("@effected/git/Git") {
|
|
|
24887
24927
|
};
|
|
24888
24928
|
|
|
24889
24929
|
//#endregion
|
|
24890
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
24930
|
+
//#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
|
|
24891
24931
|
/**
|
|
24892
24932
|
* Which git refs to compare, and whether to fold in the working tree.
|
|
24893
24933
|
*
|
|
@@ -25187,7 +25227,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
25187
25227
|
}
|
|
25188
25228
|
|
|
25189
25229
|
//#endregion
|
|
25190
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
25230
|
+
//#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
|
|
25191
25231
|
/** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
|
|
25192
25232
|
const inlineCatalogs = (manifest) => {
|
|
25193
25233
|
if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
|
|
@@ -25253,7 +25293,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
|
|
|
25253
25293
|
};
|
|
25254
25294
|
|
|
25255
25295
|
//#endregion
|
|
25256
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
25296
|
+
//#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/ConfigDependencyHooks.js
|
|
25257
25297
|
/**
|
|
25258
25298
|
* The empty {@link PeerDependencyRules}: every axis present and empty.
|
|
25259
25299
|
*
|
|
@@ -25736,7 +25776,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends Context.Service(
|
|
|
25736
25776
|
};
|
|
25737
25777
|
|
|
25738
25778
|
//#endregion
|
|
25739
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
25779
|
+
//#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
|
|
25740
25780
|
/**
|
|
25741
25781
|
* The four package managers this package understands.
|
|
25742
25782
|
*
|
|
@@ -26112,7 +26152,7 @@ var PackageManagerDetector = class PackageManagerDetector extends Context.Servic
|
|
|
26112
26152
|
};
|
|
26113
26153
|
|
|
26114
26154
|
//#endregion
|
|
26115
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26155
|
+
//#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
|
|
26116
26156
|
/**
|
|
26117
26157
|
* Raised when the workspace's lockfile cannot be read off disk.
|
|
26118
26158
|
*
|
|
@@ -26293,7 +26333,7 @@ var LockfileReader = class LockfileReader extends Context.Service()("@effected/w
|
|
|
26293
26333
|
};
|
|
26294
26334
|
|
|
26295
26335
|
//#endregion
|
|
26296
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26336
|
+
//#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
|
|
26297
26337
|
/** The public npm registry, used when `publishConfig.registry` says nothing. */
|
|
26298
26338
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
|
|
26299
26339
|
/**
|
|
@@ -26453,7 +26493,7 @@ var PublishabilityDetector = class extends Context.Service()("@effected/workspac
|
|
|
26453
26493
|
};
|
|
26454
26494
|
|
|
26455
26495
|
//#endregion
|
|
26456
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26496
|
+
//#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
|
|
26457
26497
|
/**
|
|
26458
26498
|
* Strip pnpm's peer-disambiguation suffix from a recorded importer version.
|
|
26459
26499
|
*
|
|
@@ -26540,7 +26580,7 @@ const unanimousVersionOf = (index, dependency) => {
|
|
|
26540
26580
|
};
|
|
26541
26581
|
|
|
26542
26582
|
//#endregion
|
|
26543
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26583
|
+
//#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
|
|
26544
26584
|
/**
|
|
26545
26585
|
* An immutable, fully-normalized catalog collection — the one catalog
|
|
26546
26586
|
* resolution semantic in the package.
|
|
@@ -27111,7 +27151,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
27111
27151
|
};
|
|
27112
27152
|
|
|
27113
27153
|
//#endregion
|
|
27114
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
27154
|
+
//#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
|
|
27115
27155
|
const EMPTY = Object.freeze(Object.create(null));
|
|
27116
27156
|
const DependencyMap = Schema.Record(Schema.String, Schema.String).pipe(Schema.withDecodingDefaultKey(Effect.succeed(EMPTY)), Schema.withConstructorDefault(Effect.succeed(EMPTY)));
|
|
27117
27157
|
/**
|
|
@@ -27335,7 +27375,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
27335
27375
|
};
|
|
27336
27376
|
|
|
27337
27377
|
//#endregion
|
|
27338
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
27378
|
+
//#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
|
|
27339
27379
|
/** Whether `value` is a non-null, non-array object. */
|
|
27340
27380
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
27341
27381
|
/** Whether every value in a record is a string — a usable dependency map. */
|
|
@@ -27613,7 +27653,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
27613
27653
|
};
|
|
27614
27654
|
|
|
27615
27655
|
//#endregion
|
|
27616
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
27656
|
+
//#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
|
|
27617
27657
|
const compose = (options, catalogsFactory) => {
|
|
27618
27658
|
const roots = WorkspaceRoot.layer;
|
|
27619
27659
|
const detector = PackageManagerDetector.layer;
|