@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
|
@@ -2339,7 +2339,7 @@ var GlobSet = class GlobSet extends effect.Schema.Class("GlobSet")(effect.Schema
|
|
|
2339
2339
|
}
|
|
2340
2340
|
};
|
|
2341
2341
|
//#endregion
|
|
2342
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
2342
|
+
//#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
|
|
2343
2343
|
/**
|
|
2344
2344
|
* Extension data specific to bun lockfiles, attached to `Lockfile.extension`
|
|
2345
2345
|
* when the format is `"bun"`.
|
|
@@ -4143,7 +4143,7 @@ input: effect.Schema.String }) {
|
|
|
4143
4143
|
}
|
|
4144
4144
|
};
|
|
4145
4145
|
const CATALOG_PREFIX = "catalog:";
|
|
4146
|
-
const WORKSPACE_PREFIX = "workspace:";
|
|
4146
|
+
const WORKSPACE_PREFIX$1 = "workspace:";
|
|
4147
4147
|
const isBarePath = (value) => value.startsWith("./") || value.startsWith("../") || value.startsWith("~/") || value.startsWith("/");
|
|
4148
4148
|
const isGitHubShorthand = (value) => !value.startsWith(".") && !value.startsWith("~") && !value.startsWith("/") && /^[a-zA-Z0-9_.-]+\/[a-zA-Z0-9_.-]+(#.*)?$/.test(value);
|
|
4149
4149
|
const isGit = (value) => value.startsWith("git+") || value.startsWith("git://") || value.startsWith("github:") || value.startsWith("gist:") || value.startsWith("bitbucket:") || value.startsWith("gitlab:") || isGitHubShorthand(value);
|
|
@@ -4151,7 +4151,7 @@ const isLocal = (value) => value.startsWith("file:") || value.startsWith("link:"
|
|
|
4151
4151
|
const isLink = (value) => value.startsWith("link:");
|
|
4152
4152
|
const isPortal = (value) => value.startsWith("portal:");
|
|
4153
4153
|
const isCatalog = (value) => value.startsWith(CATALOG_PREFIX);
|
|
4154
|
-
const isWorkspace = (value) => value.startsWith(WORKSPACE_PREFIX);
|
|
4154
|
+
const isWorkspace = (value) => value.startsWith(WORKSPACE_PREFIX$1);
|
|
4155
4155
|
const isUrl$1 = (value) => value.startsWith("http://") || value.startsWith("https://");
|
|
4156
4156
|
const parseRange = (value) => {
|
|
4157
4157
|
const exit = effect.Schema.decodeUnknownExit(Range$2.FromString)(value);
|
|
@@ -4160,7 +4160,7 @@ const parseRange = (value) => {
|
|
|
4160
4160
|
const isRange = (value) => effect.Option.isSome(parseRange(value));
|
|
4161
4161
|
const protocolOf = (value) => {
|
|
4162
4162
|
if (value.startsWith(CATALOG_PREFIX)) return "catalog";
|
|
4163
|
-
if (value.startsWith(WORKSPACE_PREFIX)) return "workspace";
|
|
4163
|
+
if (value.startsWith(WORKSPACE_PREFIX$1)) return "workspace";
|
|
4164
4164
|
if (value.startsWith("link:")) return "link";
|
|
4165
4165
|
if (value.startsWith("portal:")) return "portal";
|
|
4166
4166
|
if (value.startsWith("file:") || isBarePath(value)) return "file";
|
|
@@ -5573,7 +5573,7 @@ var ReleaseAgeGate = class ReleaseAgeGate extends effect.Schema.Class("ReleaseAg
|
|
|
5573
5573
|
}
|
|
5574
5574
|
};
|
|
5575
5575
|
//#endregion
|
|
5576
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5576
|
+
//#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
|
|
5577
5577
|
/**
|
|
5578
5578
|
* One declared dependency of one workspace importer, as the lockfile records it.
|
|
5579
5579
|
*
|
|
@@ -5611,7 +5611,7 @@ var ImporterDependency = class extends effect.Schema.Class("ImporterDependency")
|
|
|
5611
5611
|
depType: DependencyField
|
|
5612
5612
|
}) {};
|
|
5613
5613
|
//#endregion
|
|
5614
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5614
|
+
//#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
|
|
5615
5615
|
/**
|
|
5616
5616
|
* One workspace importer's declared dependencies, as the lockfile records them.
|
|
5617
5617
|
*
|
|
@@ -5635,7 +5635,7 @@ var LockfileImporter = class extends effect.Schema.Class("LockfileImporter")({
|
|
|
5635
5635
|
dependencies: effect.Schema.Array(ImporterDependency)
|
|
5636
5636
|
}) {};
|
|
5637
5637
|
//#endregion
|
|
5638
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5638
|
+
//#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
|
|
5639
5639
|
const EMPTY_DEPENDENCIES = {};
|
|
5640
5640
|
const EMPTY_PEER_META = {};
|
|
5641
5641
|
const EMPTY_EDGE_NAMES = [];
|
|
@@ -5725,7 +5725,7 @@ var ResolvedPackage = class extends effect.Schema.Class("ResolvedPackage")({
|
|
|
5725
5725
|
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)))
|
|
5726
5726
|
}) {};
|
|
5727
5727
|
//#endregion
|
|
5728
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5728
|
+
//#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
|
|
5729
5729
|
/**
|
|
5730
5730
|
* A directed dependency edge between two workspace packages as recorded in
|
|
5731
5731
|
* the lockfile.
|
|
@@ -5747,7 +5747,7 @@ var WorkspaceDependency = class extends effect.Schema.Class("WorkspaceDependency
|
|
|
5747
5747
|
constraint: effect.Schema.String
|
|
5748
5748
|
}) {};
|
|
5749
5749
|
//#endregion
|
|
5750
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5750
|
+
//#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
|
|
5751
5751
|
/**
|
|
5752
5752
|
* Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
|
|
5753
5753
|
* when the format is `"pnpm"`.
|
|
@@ -5772,7 +5772,7 @@ var PnpmExtension = class extends effect.Schema.Class("PnpmExtension")({
|
|
|
5772
5772
|
}))
|
|
5773
5773
|
}) {};
|
|
5774
5774
|
//#endregion
|
|
5775
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5775
|
+
//#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
|
|
5776
5776
|
/**
|
|
5777
5777
|
* The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
|
|
5778
5778
|
* `package-lock.json` (JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
|
|
@@ -5814,7 +5814,7 @@ const FILENAMES = {
|
|
|
5814
5814
|
*/
|
|
5815
5815
|
const filenameFor = (format) => FILENAMES[format][0];
|
|
5816
5816
|
//#endregion
|
|
5817
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
5817
|
+
//#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
|
|
5818
5818
|
/**
|
|
5819
5819
|
* The four dependency sections of a manifest, in a stable order — the shared
|
|
5820
5820
|
* dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
|
|
@@ -7816,7 +7816,7 @@ var JsoncModifier = class {
|
|
|
7816
7816
|
});
|
|
7817
7817
|
};
|
|
7818
7818
|
//#endregion
|
|
7819
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
7819
|
+
//#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
|
|
7820
7820
|
const DepRecord$2 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
|
|
7821
7821
|
const OptionalPeers = effect.Schema.optionalKey(effect.Schema.Array(effect.Schema.String));
|
|
7822
7822
|
const BunWorkspaceEntry = effect.Schema.Struct({
|
|
@@ -7993,7 +7993,7 @@ const toFields$3 = (raw) => effect.Effect.gen(function* () {
|
|
|
7993
7993
|
};
|
|
7994
7994
|
});
|
|
7995
7995
|
//#endregion
|
|
7996
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
7996
|
+
//#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
|
|
7997
7997
|
const DepRecord$1 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
|
|
7998
7998
|
const PeerMetaRecord = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.Struct({ optional: effect.Schema.optionalKey(effect.Schema.Boolean) })));
|
|
7999
7999
|
const NpmPackageEntry = effect.Schema.Struct({
|
|
@@ -15861,7 +15861,7 @@ function deepEqualValues(a, b) {
|
|
|
15861
15861
|
return false;
|
|
15862
15862
|
}
|
|
15863
15863
|
//#endregion
|
|
15864
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
15864
|
+
//#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
|
|
15865
15865
|
/**
|
|
15866
15866
|
* An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
|
|
15867
15867
|
* and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
|
|
@@ -15931,7 +15931,7 @@ const selectSoleDocument = (content) => effect.Effect.gen(function* () {
|
|
|
15931
15931
|
};
|
|
15932
15932
|
});
|
|
15933
15933
|
//#endregion
|
|
15934
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
15934
|
+
//#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
|
|
15935
15935
|
const PnpmImporterDeps = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.Struct({
|
|
15936
15936
|
specifier: effect.Schema.String,
|
|
15937
15937
|
version: effect.Schema.String
|
|
@@ -16061,6 +16061,31 @@ const resolveLinkTarget = (importerPath, target) => {
|
|
|
16061
16061
|
}
|
|
16062
16062
|
return segments.length === 0 ? void 0 : segments.join("/");
|
|
16063
16063
|
};
|
|
16064
|
+
/** The specifier protocol pnpm resolves through the workspace itself. @internal */
|
|
16065
|
+
const WORKSPACE_PREFIX = "workspace:";
|
|
16066
|
+
/**
|
|
16067
|
+
* The importer a `link:` target lands INSIDE, longest path first.
|
|
16068
|
+
*
|
|
16069
|
+
* pnpm's `publishConfig.linkDirectory` makes a workspace link point at the
|
|
16070
|
+
* package's publish directory rather than its root — `link:../bundler/dist/dev/pkg`
|
|
16071
|
+
* where `packages/bundler` is the importer — so the target itself is a build
|
|
16072
|
+
* output that is no importer and never will be. The owning importer is the
|
|
16073
|
+
* longest ancestor of the target that IS one; longest-first so a nested importer
|
|
16074
|
+
* beats its parent.
|
|
16075
|
+
*
|
|
16076
|
+
* The root importer (`"."`) is deliberately unreachable here: it is an ancestor
|
|
16077
|
+
* of every path in the workspace, so admitting it would resolve every stray link
|
|
16078
|
+
* to the root rather than leaving it unnamed.
|
|
16079
|
+
*
|
|
16080
|
+
* @internal
|
|
16081
|
+
*/
|
|
16082
|
+
const owningImporter = (target, importerPaths) => {
|
|
16083
|
+
const segments = target.split("/");
|
|
16084
|
+
for (let end = segments.length - 1; end > 0; end--) {
|
|
16085
|
+
const candidate = segments.slice(0, end).join("/");
|
|
16086
|
+
if (importerPaths.has(candidate)) return candidate;
|
|
16087
|
+
}
|
|
16088
|
+
};
|
|
16064
16089
|
/**
|
|
16065
16090
|
* Resolve one importer's outgoing edges. pnpm records `{ specifier, version }`
|
|
16066
16091
|
* per importer dependency, where the version is either a registry version (the
|
|
@@ -16068,9 +16093,22 @@ const resolveLinkTarget = (importerPath, target) => {
|
|
|
16068
16093
|
* naming another importer — normalized against this importer's own path. Both
|
|
16069
16094
|
* are checked against the lockfile's instance ids before being emitted.
|
|
16070
16095
|
*
|
|
16096
|
+
* A `link:` target that is no importer gets one further chance, and only under
|
|
16097
|
+
* a `workspace:` SPECIFIER: pnpm resolved that edge through the workspace, so
|
|
16098
|
+
* the target directory is known to belong to a workspace package, and
|
|
16099
|
+
* {@link owningImporter} names it. The specifier is what makes this a
|
|
16100
|
+
* resolution rather than a guess — a hand-written `link:../vendor/stub`
|
|
16101
|
+
* specifier names a directory pnpm never claimed was a workspace package, and
|
|
16102
|
+
* attributing it to whichever importer happens to contain it would answer with
|
|
16103
|
+
* the wrong package's peers instead of admitting it could not name the edge.
|
|
16104
|
+
*
|
|
16105
|
+
* The snapshot path ({@link resolveEdges}) deliberately does NOT do this: a
|
|
16106
|
+
* snapshot body records `name: link:<path>` with no specifier beside it, so the
|
|
16107
|
+
* evidence this rule turns on is not available there.
|
|
16108
|
+
*
|
|
16071
16109
|
* @internal
|
|
16072
16110
|
*/
|
|
16073
|
-
const resolveImporterEdges = (importer, importerPath, instanceIds) => {
|
|
16111
|
+
const resolveImporterEdges = (importer, importerPath, instanceIds, importerPaths) => {
|
|
16074
16112
|
const edges = /* @__PURE__ */ new Map();
|
|
16075
16113
|
const unnameable = /* @__PURE__ */ new Set();
|
|
16076
16114
|
for (const group of importerDepGroups(importer)) {
|
|
@@ -16079,7 +16117,8 @@ const resolveImporterEdges = (importer, importerPath, instanceIds) => {
|
|
|
16079
16117
|
if (name === "") continue;
|
|
16080
16118
|
if (info.version.startsWith(LINK_PREFIX)) {
|
|
16081
16119
|
const target = resolveLinkTarget(importerPath, info.version.slice(5));
|
|
16082
|
-
|
|
16120
|
+
const owner = target === void 0 ? void 0 : instanceIds.has(target) ? target : info.specifier.startsWith(WORKSPACE_PREFIX) ? owningImporter(target, importerPaths) : void 0;
|
|
16121
|
+
if (owner !== void 0) edges.set(name, owner);
|
|
16083
16122
|
else unnameable.add(name);
|
|
16084
16123
|
continue;
|
|
16085
16124
|
}
|
|
@@ -16139,6 +16178,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
|
|
|
16139
16178
|
...raw.packages ? Object.keys(raw.packages) : [],
|
|
16140
16179
|
...Object.keys(raw.importers)
|
|
16141
16180
|
]);
|
|
16181
|
+
const importerPaths = new Set(Object.keys(raw.importers).filter((path) => path !== "." && path !== ""));
|
|
16142
16182
|
const emitted = /* @__PURE__ */ new Set();
|
|
16143
16183
|
for (const [importerPath, importer] of Object.entries(raw.importers)) {
|
|
16144
16184
|
if (importerPath === "." || importerPath === "") continue;
|
|
@@ -16148,7 +16188,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
|
|
|
16148
16188
|
instanceId: importerPath,
|
|
16149
16189
|
isWorkspace: true,
|
|
16150
16190
|
relativePath: importerPath,
|
|
16151
|
-
...resolveImporterEdges(importer, importerPath, instanceIds)
|
|
16191
|
+
...resolveImporterEdges(importer, importerPath, instanceIds, importerPaths)
|
|
16152
16192
|
}));
|
|
16153
16193
|
}
|
|
16154
16194
|
const emit = (instanceId, meta, edges) => effect.Effect.gen(function* () {
|
|
@@ -16193,7 +16233,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
|
|
|
16193
16233
|
};
|
|
16194
16234
|
});
|
|
16195
16235
|
//#endregion
|
|
16196
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16236
|
+
//#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
|
|
16197
16237
|
const YarnLockfileRaw = effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown);
|
|
16198
16238
|
const DepRecord = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
|
|
16199
16239
|
const YarnEntry = effect.Schema.Struct({
|
|
@@ -16369,7 +16409,7 @@ const cleanYarnDeps = (deps) => {
|
|
|
16369
16409
|
return Object.fromEntries(Object.entries(deps).map(([name, value]) => [name, value.startsWith("npm:") ? value.slice(4) : value]));
|
|
16370
16410
|
};
|
|
16371
16411
|
//#endregion
|
|
16372
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16412
|
+
//#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
|
|
16373
16413
|
const EMPTY_IMPORTERS = [];
|
|
16374
16414
|
/**
|
|
16375
16415
|
* Failure of `Lockfile.parse`: the given content is not a valid lockfile of
|
|
@@ -16618,7 +16658,7 @@ var Lockfile = class Lockfile extends effect.Schema.Class("Lockfile")({
|
|
|
16618
16658
|
}
|
|
16619
16659
|
};
|
|
16620
16660
|
//#endregion
|
|
16621
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.6.
|
|
16661
|
+
//#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
|
|
16622
16662
|
/**
|
|
16623
16663
|
* The minimal manifest shape {@link LockfileIntegrity.compare} checks a
|
|
16624
16664
|
* lockfile against: a package name plus the four optional dependency maps.
|
|
@@ -19431,7 +19471,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
|
|
|
19431
19471
|
}
|
|
19432
19472
|
};
|
|
19433
19473
|
//#endregion
|
|
19434
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
19474
|
+
//#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
|
|
19435
19475
|
const EMPTY$1 = Object.freeze(Object.create(null));
|
|
19436
19476
|
const EMPTY_MANIFEST = Object.freeze(Object.create(null));
|
|
19437
19477
|
/**
|
|
@@ -20029,7 +20069,7 @@ var Walker$1 = class {
|
|
|
20029
20069
|
static findRoot = findRoot$1;
|
|
20030
20070
|
};
|
|
20031
20071
|
//#endregion
|
|
20032
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20072
|
+
//#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
|
|
20033
20073
|
/**
|
|
20034
20074
|
* The marker filenames {@link WorkspaceRoot} probes for, in priority order.
|
|
20035
20075
|
*
|
|
@@ -20216,7 +20256,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
|
|
|
20216
20256
|
static layerTest = (root) => effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.makeTest(root)).pipe(effect.Layer.provide(effect.Path.layer));
|
|
20217
20257
|
};
|
|
20218
20258
|
//#endregion
|
|
20219
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20259
|
+
//#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
|
|
20220
20260
|
/**
|
|
20221
20261
|
* Hard ceiling on directories the enumerator will visit for one pattern set.
|
|
20222
20262
|
* Guards the pathological case a depth cap alone does not: a wide, shallow
|
|
@@ -20234,7 +20274,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
|
|
|
20234
20274
|
*/
|
|
20235
20275
|
const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
20236
20276
|
//#endregion
|
|
20237
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20277
|
+
//#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
|
|
20238
20278
|
/** Directory names never descended into. */
|
|
20239
20279
|
const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
|
|
20240
20280
|
/** Join root-relative POSIX segments; `""` is the root itself. */
|
|
@@ -20324,7 +20364,7 @@ var Traversal = class {
|
|
|
20324
20364
|
}
|
|
20325
20365
|
};
|
|
20326
20366
|
//#endregion
|
|
20327
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20367
|
+
//#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
|
|
20328
20368
|
/** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
|
|
20329
20369
|
const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
|
|
20330
20370
|
/**
|
|
@@ -20394,7 +20434,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
|
|
|
20394
20434
|
return results;
|
|
20395
20435
|
});
|
|
20396
20436
|
//#endregion
|
|
20397
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20437
|
+
//#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
|
|
20398
20438
|
const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
20399
20439
|
/** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
|
|
20400
20440
|
const pnpmPatternsOf = (document) => {
|
|
@@ -20451,7 +20491,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
|
|
|
20451
20491
|
return manifestPatternsOf(manifest);
|
|
20452
20492
|
});
|
|
20453
20493
|
//#endregion
|
|
20454
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20494
|
+
//#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
|
|
20455
20495
|
/**
|
|
20456
20496
|
* Raised when a workspace member's `package.json` cannot be read, parsed, or
|
|
20457
20497
|
* used — it is missing, malformed, or lacks a `name` or `version`.
|
|
@@ -20907,7 +20947,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
|
|
|
20907
20947
|
};
|
|
20908
20948
|
const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
|
|
20909
20949
|
//#endregion
|
|
20910
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
20950
|
+
//#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
|
|
20911
20951
|
/**
|
|
20912
20952
|
* Raised when the workspace dependency graph cannot be topologically ordered
|
|
20913
20953
|
* because it contains a cycle.
|
|
@@ -24603,7 +24643,7 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
|
|
|
24603
24643
|
static layerTest = (overrides = {}) => effect.Layer.succeed(Git, Git.makeTest(overrides));
|
|
24604
24644
|
};
|
|
24605
24645
|
//#endregion
|
|
24606
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
24646
|
+
//#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
|
|
24607
24647
|
/**
|
|
24608
24648
|
* Which git refs to compare, and whether to fold in the working tree.
|
|
24609
24649
|
*
|
|
@@ -24859,7 +24899,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
24859
24899
|
};
|
|
24860
24900
|
}
|
|
24861
24901
|
//#endregion
|
|
24862
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
24902
|
+
//#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
|
|
24863
24903
|
/** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
|
|
24864
24904
|
const inlineCatalogs = (manifest) => {
|
|
24865
24905
|
if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
|
|
@@ -25388,7 +25428,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
|
|
|
25388
25428
|
}));
|
|
25389
25429
|
};
|
|
25390
25430
|
//#endregion
|
|
25391
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
25431
|
+
//#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
|
|
25392
25432
|
/**
|
|
25393
25433
|
* The four package managers this package understands.
|
|
25394
25434
|
*
|
|
@@ -25763,7 +25803,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
|
|
|
25763
25803
|
static layerTest = (overrides = {}) => effect.Layer.succeed(PackageManagerDetector, PackageManagerDetector.makeTest(overrides));
|
|
25764
25804
|
};
|
|
25765
25805
|
//#endregion
|
|
25766
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
25806
|
+
//#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
|
|
25767
25807
|
/**
|
|
25768
25808
|
* Raised when the workspace's lockfile cannot be read off disk.
|
|
25769
25809
|
*
|
|
@@ -25943,7 +25983,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
|
|
|
25943
25983
|
static layerTest = (overrides = {}) => effect.Layer.succeed(LockfileReader, LockfileReader.makeTest(overrides));
|
|
25944
25984
|
};
|
|
25945
25985
|
//#endregion
|
|
25946
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
25986
|
+
//#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
|
|
25947
25987
|
/** The public npm registry, used when `publishConfig.registry` says nothing. */
|
|
25948
25988
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
|
|
25949
25989
|
/**
|
|
@@ -26102,7 +26142,7 @@ var PublishabilityDetector = class extends effect.Context.Service()("@effected/w
|
|
|
26102
26142
|
static layerNone = effect.Layer.succeed(this, this.none);
|
|
26103
26143
|
};
|
|
26104
26144
|
//#endregion
|
|
26105
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26145
|
+
//#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
|
|
26106
26146
|
/**
|
|
26107
26147
|
* Strip pnpm's peer-disambiguation suffix from a recorded importer version.
|
|
26108
26148
|
*
|
|
@@ -26188,7 +26228,7 @@ const unanimousVersionOf = (index, dependency) => {
|
|
|
26188
26228
|
return agreed;
|
|
26189
26229
|
};
|
|
26190
26230
|
//#endregion
|
|
26191
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26231
|
+
//#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
|
|
26192
26232
|
/**
|
|
26193
26233
|
* An immutable, fully-normalized catalog collection — the one catalog
|
|
26194
26234
|
* resolution semantic in the package.
|
|
@@ -26758,7 +26798,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
|
|
|
26758
26798
|
}));
|
|
26759
26799
|
};
|
|
26760
26800
|
//#endregion
|
|
26761
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
26801
|
+
//#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
|
|
26762
26802
|
const EMPTY = Object.freeze(Object.create(null));
|
|
26763
26803
|
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)));
|
|
26764
26804
|
/**
|
|
@@ -26981,7 +27021,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
26981
27021
|
}
|
|
26982
27022
|
};
|
|
26983
27023
|
//#endregion
|
|
26984
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
27024
|
+
//#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
|
|
26985
27025
|
/** Whether `value` is a non-null, non-array object. */
|
|
26986
27026
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
26987
27027
|
/** Whether every value in a record is a string — a usable dependency map. */
|
|
@@ -27258,7 +27298,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
|
|
|
27258
27298
|
static layerTest = (overrides = {}) => effect.Layer.succeed(WorkspaceSnapshots, WorkspaceSnapshots.makeTest(overrides));
|
|
27259
27299
|
};
|
|
27260
27300
|
//#endregion
|
|
27261
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.15.
|
|
27301
|
+
//#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
|
|
27262
27302
|
const compose = (options, catalogsFactory) => {
|
|
27263
27303
|
const roots = WorkspaceRoot.layer;
|
|
27264
27304
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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`. */
|