@savvy-web/silk 3.7.0 → 3.7.1
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 +125 -50
- package/changesets-changelog.d.cts +2 -2
- package/changesets-changelog.d.ts +2 -2
- package/changesets-changelog.js +126 -51
- package/changesets-markdownlint.cjs +125 -50
- package/changesets-markdownlint.d.cts +2 -2
- package/changesets-markdownlint.d.ts +2 -2
- package/changesets-markdownlint.js +126 -51
- package/package.json +4 -4
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
|
@@ -17496,7 +17496,7 @@ const SpdxExpressionUnion = effect.Schema.Union([
|
|
|
17496
17496
|
AndNode,
|
|
17497
17497
|
OrNode
|
|
17498
17498
|
]);
|
|
17499
|
-
function materialize(raw) {
|
|
17499
|
+
function materialize$1(raw) {
|
|
17500
17500
|
switch (raw.kind) {
|
|
17501
17501
|
case "license": return LicenseNode.make({
|
|
17502
17502
|
id: raw.id,
|
|
@@ -17514,12 +17514,12 @@ function materialize(raw) {
|
|
|
17514
17514
|
exception: raw.exception
|
|
17515
17515
|
});
|
|
17516
17516
|
case "and": return AndNode.make({
|
|
17517
|
-
left: materialize(raw.left),
|
|
17518
|
-
right: materialize(raw.right)
|
|
17517
|
+
left: materialize$1(raw.left),
|
|
17518
|
+
right: materialize$1(raw.right)
|
|
17519
17519
|
});
|
|
17520
17520
|
case "or": return OrNode.make({
|
|
17521
|
-
left: materialize(raw.left),
|
|
17522
|
-
right: materialize(raw.right)
|
|
17521
|
+
left: materialize$1(raw.left),
|
|
17522
|
+
right: materialize$1(raw.right)
|
|
17523
17523
|
});
|
|
17524
17524
|
}
|
|
17525
17525
|
}
|
|
@@ -17536,7 +17536,7 @@ function materialize(raw) {
|
|
|
17536
17536
|
*/
|
|
17537
17537
|
const parseResult = (input) => {
|
|
17538
17538
|
const raw = parse$2(input);
|
|
17539
|
-
return raw === void 0 ? effect.Result.fail(new InvalidSpdxExpressionError({ input })) : effect.Result.succeed(materialize(raw));
|
|
17539
|
+
return raw === void 0 ? effect.Result.fail(new InvalidSpdxExpressionError({ input })) : effect.Result.succeed(materialize$1(raw));
|
|
17540
17540
|
};
|
|
17541
17541
|
/**
|
|
17542
17542
|
* Whether `input` is a syntactically and catalog-valid SPDX license expression.
|
|
@@ -18634,7 +18634,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
|
|
|
18634
18634
|
}
|
|
18635
18635
|
};
|
|
18636
18636
|
//#endregion
|
|
18637
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
18637
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspacePackage.js
|
|
18638
18638
|
const EMPTY$1 = Object.freeze(Object.create(null));
|
|
18639
18639
|
const EMPTY_MANIFEST = Object.freeze(Object.create(null));
|
|
18640
18640
|
/**
|
|
@@ -19232,7 +19232,7 @@ var Walker$1 = class {
|
|
|
19232
19232
|
static findRoot = findRoot$1;
|
|
19233
19233
|
};
|
|
19234
19234
|
//#endregion
|
|
19235
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19235
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceRoot.js
|
|
19236
19236
|
/**
|
|
19237
19237
|
* The marker filenames {@link WorkspaceRoot} probes for, in priority order.
|
|
19238
19238
|
*
|
|
@@ -19419,7 +19419,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
|
|
|
19419
19419
|
static layerTest = (root) => effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.makeTest(root)).pipe(effect.Layer.provide(effect.Path.layer));
|
|
19420
19420
|
};
|
|
19421
19421
|
//#endregion
|
|
19422
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19422
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/limits.js
|
|
19423
19423
|
/**
|
|
19424
19424
|
* Hard ceiling on directories the enumerator will visit for one pattern set.
|
|
19425
19425
|
* Guards the pathological case a depth cap alone does not: a wide, shallow
|
|
@@ -19437,7 +19437,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
|
|
|
19437
19437
|
*/
|
|
19438
19438
|
const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
19439
19439
|
//#endregion
|
|
19440
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19440
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/traverse.js
|
|
19441
19441
|
/** Directory names never descended into. */
|
|
19442
19442
|
const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
|
|
19443
19443
|
/** Join root-relative POSIX segments; `""` is the root itself. */
|
|
@@ -19527,7 +19527,7 @@ var Traversal = class {
|
|
|
19527
19527
|
}
|
|
19528
19528
|
};
|
|
19529
19529
|
//#endregion
|
|
19530
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19530
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/enumerate.js
|
|
19531
19531
|
/** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
|
|
19532
19532
|
const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
|
|
19533
19533
|
/**
|
|
@@ -19597,7 +19597,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
|
|
|
19597
19597
|
return results;
|
|
19598
19598
|
});
|
|
19599
19599
|
//#endregion
|
|
19600
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19600
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/patterns.js
|
|
19601
19601
|
const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
19602
19602
|
/** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
|
|
19603
19603
|
const pnpmPatternsOf = (document) => {
|
|
@@ -19654,7 +19654,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
|
|
|
19654
19654
|
return manifestPatternsOf(manifest);
|
|
19655
19655
|
});
|
|
19656
19656
|
//#endregion
|
|
19657
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19657
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceDiscovery.js
|
|
19658
19658
|
/**
|
|
19659
19659
|
* Raised when a workspace member's `package.json` cannot be read, parsed, or
|
|
19660
19660
|
* used — it is missing, malformed, or lacks a `name` or `version`.
|
|
@@ -20110,15 +20110,16 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
|
|
|
20110
20110
|
};
|
|
20111
20111
|
const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
|
|
20112
20112
|
//#endregion
|
|
20113
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20113
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/DependencyGraph.js
|
|
20114
20114
|
/**
|
|
20115
20115
|
* Raised when the workspace dependency graph cannot be topologically ordered
|
|
20116
20116
|
* because it contains a cycle.
|
|
20117
20117
|
*
|
|
20118
20118
|
* @remarks
|
|
20119
|
-
* `cycle`
|
|
20120
|
-
*
|
|
20121
|
-
* set to break, not necessarily
|
|
20119
|
+
* `cycle` names the actual cycle members — the sorted union of every strongly
|
|
20120
|
+
* connected component with more than one package. Packages merely downstream
|
|
20121
|
+
* of a cycle are excluded, so it is exactly the set to break, not necessarily
|
|
20122
|
+
* a single ordered loop.
|
|
20122
20123
|
*
|
|
20123
20124
|
* @public
|
|
20124
20125
|
*/
|
|
@@ -20273,7 +20274,11 @@ packages: effect.Schema.Array(WorkspacePackage) }) {
|
|
|
20273
20274
|
* the whole adjacency map per processed node. Each level is sorted
|
|
20274
20275
|
* lexicographically, so the output is deterministic.
|
|
20275
20276
|
*/
|
|
20276
|
-
levels = effect.Effect.fn("DependencyGraph.levels")(() => effect.Effect.suspend(() =>
|
|
20277
|
+
levels = effect.Effect.fn("DependencyGraph.levels")(() => effect.Effect.suspend(() => {
|
|
20278
|
+
const edges = this.#index();
|
|
20279
|
+
const result = kahn(edges);
|
|
20280
|
+
return result.stalled.length > 0 ? effect.Effect.fail(new CyclicDependencyError({ cycle: cycleMembers(edges) })) : effect.Effect.succeed(result.levels);
|
|
20281
|
+
}));
|
|
20277
20282
|
/** The flattened topological order — `levels()` concatenated. */
|
|
20278
20283
|
sort = effect.Effect.fn("DependencyGraph.sort")(() => this.levels().pipe(effect.Effect.map((levels) => levels.flat())));
|
|
20279
20284
|
/**
|
|
@@ -20303,17 +20308,78 @@ packages: effect.Schema.Array(WorkspacePackage) }) {
|
|
|
20303
20308
|
subForward.set(node, deps);
|
|
20304
20309
|
for (const dep of deps) subReverse.get(dep)?.add(node);
|
|
20305
20310
|
}
|
|
20306
|
-
const
|
|
20311
|
+
const subEdges = {
|
|
20307
20312
|
forward: subForward,
|
|
20308
20313
|
reverse: subReverse
|
|
20309
|
-
}
|
|
20310
|
-
|
|
20314
|
+
};
|
|
20315
|
+
const result = kahn(subEdges);
|
|
20316
|
+
return result.stalled.length > 0 ? effect.Effect.fail(new CyclicDependencyError({ cycle: cycleMembers(subEdges) })) : effect.Effect.succeed(result.levels.flat());
|
|
20311
20317
|
}));
|
|
20318
|
+
/**
|
|
20319
|
+
* The graph rendered as a Mermaid `flowchart TD`. Total.
|
|
20320
|
+
*
|
|
20321
|
+
* @remarks
|
|
20322
|
+
* Renders through core's `Graph.toMermaid` over a transient graph built from
|
|
20323
|
+
* the edge index. Node IDs are numeric indexes assigned in sorted-name order
|
|
20324
|
+
* and package names appear only inside quoted labels, so scoped names
|
|
20325
|
+
* (`@scope/a`) never break Mermaid syntax. Nodes and each node's edges are
|
|
20326
|
+
* emitted in sorted order — the output is deterministic regardless of
|
|
20327
|
+
* manifest key order.
|
|
20328
|
+
*/
|
|
20329
|
+
toMermaid() {
|
|
20330
|
+
return effect.Graph.toMermaid(materialize(this.#index()).graph, { edgeLabel: () => "" });
|
|
20331
|
+
}
|
|
20332
|
+
};
|
|
20333
|
+
/**
|
|
20334
|
+
* Materializes the forward map into a transient core `Graph`: nodes in
|
|
20335
|
+
* sorted-name order (so `NodeIndex` *i* is `names[i]`) and each node's edges
|
|
20336
|
+
* in sorted-target order, making the graph — and everything derived from it —
|
|
20337
|
+
* deterministic for a given edge index.
|
|
20338
|
+
*/
|
|
20339
|
+
const materialize = (edges) => {
|
|
20340
|
+
const names = [...edges.forward.keys()].sort();
|
|
20341
|
+
return {
|
|
20342
|
+
graph: effect.Graph.directed((mutable) => {
|
|
20343
|
+
const indexOf = /* @__PURE__ */ new Map();
|
|
20344
|
+
for (const name of names) indexOf.set(name, effect.Graph.addNode(mutable, name));
|
|
20345
|
+
for (const name of names) {
|
|
20346
|
+
const source = indexOf.get(name);
|
|
20347
|
+
if (source === void 0) continue;
|
|
20348
|
+
for (const dependency of [...edges.forward.get(name) ?? []].sort()) {
|
|
20349
|
+
const target = indexOf.get(dependency);
|
|
20350
|
+
if (target !== void 0) effect.Graph.addEdge(mutable, source, target, "");
|
|
20351
|
+
}
|
|
20352
|
+
}
|
|
20353
|
+
}),
|
|
20354
|
+
names
|
|
20355
|
+
};
|
|
20356
|
+
};
|
|
20357
|
+
/**
|
|
20358
|
+
* The packages participating in a dependency cycle — the sorted union of every
|
|
20359
|
+
* strongly connected component with more than one member, via core's
|
|
20360
|
+
* `Graph.stronglyConnectedComponents`. Self-edges are dropped at index time,
|
|
20361
|
+
* so a single-member component is never cyclic here.
|
|
20362
|
+
*/
|
|
20363
|
+
const cycleMembers = (edges) => {
|
|
20364
|
+
const { graph, names } = materialize(edges);
|
|
20365
|
+
const members = /* @__PURE__ */ new Set();
|
|
20366
|
+
for (const component of effect.Graph.stronglyConnectedComponents(graph)) {
|
|
20367
|
+
if (component.length < 2) continue;
|
|
20368
|
+
for (const index of component) {
|
|
20369
|
+
const name = names[index];
|
|
20370
|
+
if (name !== void 0) members.add(name);
|
|
20371
|
+
}
|
|
20372
|
+
}
|
|
20373
|
+
return [...members].sort();
|
|
20312
20374
|
};
|
|
20313
20375
|
/**
|
|
20314
20376
|
* Kahn's algorithm. `forward[A] = {B}` reads "A depends on B", so level 0 is
|
|
20315
20377
|
* the set with an out-degree of zero and each completed level decrements its
|
|
20316
20378
|
* dependents through the reverse index.
|
|
20379
|
+
*
|
|
20380
|
+
* A non-empty `stalled` only signals *that* a cycle exists — it holds every
|
|
20381
|
+
* unprocessed node, including ones merely downstream of a cycle. The error
|
|
20382
|
+
* payload names the actual members via `cycleMembers`.
|
|
20317
20383
|
*/
|
|
20318
20384
|
const kahn = (edges) => {
|
|
20319
20385
|
const remaining = /* @__PURE__ */ new Map();
|
|
@@ -23602,7 +23668,7 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
|
|
|
23602
23668
|
static layerTest = (overrides = {}) => effect.Layer.succeed(Git, Git.makeTest(overrides));
|
|
23603
23669
|
};
|
|
23604
23670
|
//#endregion
|
|
23605
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
23671
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/ChangeDetector.js
|
|
23606
23672
|
/**
|
|
23607
23673
|
* Which git refs to compare, and whether to fold in the working tree.
|
|
23608
23674
|
*
|
|
@@ -23858,7 +23924,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
23858
23924
|
};
|
|
23859
23925
|
}
|
|
23860
23926
|
//#endregion
|
|
23861
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
23927
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/catalogs.js
|
|
23862
23928
|
/** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
|
|
23863
23929
|
const inlineCatalogs = (manifest) => {
|
|
23864
23930
|
if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
|
|
@@ -23922,7 +23988,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
|
|
|
23922
23988
|
});
|
|
23923
23989
|
};
|
|
23924
23990
|
//#endregion
|
|
23925
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
23991
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/ConfigDependencyHooks.js
|
|
23926
23992
|
/** Whether `value` is a non-null, non-array object. */
|
|
23927
23993
|
const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
23928
23994
|
/**
|
|
@@ -24333,7 +24399,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
|
|
|
24333
24399
|
}));
|
|
24334
24400
|
};
|
|
24335
24401
|
//#endregion
|
|
24336
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
24402
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/PackageManagerName.js
|
|
24337
24403
|
/**
|
|
24338
24404
|
* The four package managers this package understands.
|
|
24339
24405
|
*
|
|
@@ -24661,7 +24727,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
|
|
|
24661
24727
|
static layerTest = (overrides = {}) => effect.Layer.succeed(PackageManagerDetector, PackageManagerDetector.makeTest(overrides));
|
|
24662
24728
|
};
|
|
24663
24729
|
//#endregion
|
|
24664
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
24730
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/LockfileReader.js
|
|
24665
24731
|
/**
|
|
24666
24732
|
* Raised when the workspace's lockfile cannot be read off disk.
|
|
24667
24733
|
*
|
|
@@ -24841,7 +24907,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
|
|
|
24841
24907
|
static layerTest = (overrides = {}) => effect.Layer.succeed(LockfileReader, LockfileReader.makeTest(overrides));
|
|
24842
24908
|
};
|
|
24843
24909
|
//#endregion
|
|
24844
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
24910
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/Publishability.js
|
|
24845
24911
|
/** The public npm registry, used when `publishConfig.registry` says nothing. */
|
|
24846
24912
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
|
|
24847
24913
|
/**
|
|
@@ -25000,7 +25066,7 @@ var PublishabilityDetector = class extends effect.Context.Service()("@effected/w
|
|
|
25000
25066
|
static layerNone = effect.Layer.succeed(this, this.none);
|
|
25001
25067
|
};
|
|
25002
25068
|
//#endregion
|
|
25003
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25069
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/importerVersions.js
|
|
25004
25070
|
/**
|
|
25005
25071
|
* Strip pnpm's peer-disambiguation suffix from a recorded importer version.
|
|
25006
25072
|
*
|
|
@@ -25086,7 +25152,7 @@ const unanimousVersionOf = (index, dependency) => {
|
|
|
25086
25152
|
return agreed;
|
|
25087
25153
|
};
|
|
25088
25154
|
//#endregion
|
|
25089
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25155
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceCatalogs.js
|
|
25090
25156
|
/**
|
|
25091
25157
|
* An immutable, fully-normalized catalog collection — the one catalog
|
|
25092
25158
|
* resolution semantic in the package.
|
|
@@ -25613,7 +25679,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
|
|
|
25613
25679
|
}));
|
|
25614
25680
|
};
|
|
25615
25681
|
//#endregion
|
|
25616
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25682
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
|
|
25617
25683
|
const EMPTY = Object.freeze(Object.create(null));
|
|
25618
25684
|
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)));
|
|
25619
25685
|
/**
|
|
@@ -25836,7 +25902,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
25836
25902
|
}
|
|
25837
25903
|
};
|
|
25838
25904
|
//#endregion
|
|
25839
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25905
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceSnapshots.js
|
|
25840
25906
|
/** Whether `value` is a non-null, non-array object. */
|
|
25841
25907
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
25842
25908
|
/** Whether every value in a record is a string — a usable dependency map. */
|
|
@@ -26113,7 +26179,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
|
|
|
26113
26179
|
static layerTest = (overrides = {}) => effect.Layer.succeed(WorkspaceSnapshots, WorkspaceSnapshots.makeTest(overrides));
|
|
26114
26180
|
};
|
|
26115
26181
|
//#endregion
|
|
26116
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
26182
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/Workspaces.js
|
|
26117
26183
|
const compose = (options, catalogsFactory) => {
|
|
26118
26184
|
const roots = WorkspaceRoot.layer;
|
|
26119
26185
|
const detector = PackageManagerDetector.layer;
|
|
@@ -28027,7 +28093,7 @@ function validateChangesetOptions(input) {
|
|
|
28027
28093
|
})));
|
|
28028
28094
|
}
|
|
28029
28095
|
//#endregion
|
|
28030
|
-
//#region ../../node_modules/.pnpm/@changesets+get-github-info@1.0.0
|
|
28096
|
+
//#region ../../node_modules/.pnpm/@changesets+get-github-info@1.0.0/node_modules/@changesets/get-github-info/dist/index.mjs
|
|
28031
28097
|
var import_dataloader = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
28032
28098
|
/**
|
|
28033
28099
|
* Copyright (c) 2019-present, GraphQL Foundation
|
|
@@ -64151,7 +64217,7 @@ function validatePackages(packages) {
|
|
|
64151
64217
|
}
|
|
64152
64218
|
}
|
|
64153
64219
|
//#endregion
|
|
64154
|
-
//#region ../../node_modules/.pnpm/@changesets+get-dependents-graph@3.0.0
|
|
64220
|
+
//#region ../../node_modules/.pnpm/@changesets+get-dependents-graph@3.0.0/node_modules/@changesets/get-dependents-graph/dist/index.mjs
|
|
64155
64221
|
var src_default = new Proxy({}, { get(target, color) {
|
|
64156
64222
|
target[color] ??= (text) => (0, node_util.styleText)(color, text);
|
|
64157
64223
|
return target[color];
|
|
@@ -64271,14 +64337,14 @@ function getDependentsGraph(packages, opts) {
|
|
|
64271
64337
|
return simplifiedDependentsGraph;
|
|
64272
64338
|
}
|
|
64273
64339
|
//#endregion
|
|
64274
|
-
//#region ../../node_modules/.pnpm/@changesets+should-skip-package@1.0.0
|
|
64340
|
+
//#region ../../node_modules/.pnpm/@changesets+should-skip-package@1.0.0/node_modules/@changesets/should-skip-package/dist/index.mjs
|
|
64275
64341
|
function shouldSkipPackage({ packageJson }, { ignore, allowPrivatePackages }) {
|
|
64276
64342
|
if (ignore.includes(packageJson.name)) return true;
|
|
64277
64343
|
if (packageJson.private && !allowPrivatePackages) return true;
|
|
64278
64344
|
return !packageJson.version;
|
|
64279
64345
|
}
|
|
64280
64346
|
//#endregion
|
|
64281
|
-
//#region ../../node_modules/.pnpm/@changesets+config@4.0.0
|
|
64347
|
+
//#region ../../node_modules/.pnpm/@changesets+config@4.0.0/node_modules/@changesets/config/dist/index.mjs
|
|
64282
64348
|
const DEFAULT_CONFIG = {
|
|
64283
64349
|
lang: void 0,
|
|
64284
64350
|
message: void 0,
|
|
@@ -65192,7 +65258,7 @@ async function readConfig(cwd, packages) {
|
|
|
65192
65258
|
packages ??= await getPackages(cwd);
|
|
65193
65259
|
return validateConfig(JSON.parse(await node_fs_promises.readFile(node_path.join(packages.rootDir, ".changeset", "config.json"), "utf8")), packages);
|
|
65194
65260
|
}
|
|
65195
|
-
var version = "4.0.0
|
|
65261
|
+
var version = "4.0.0";
|
|
65196
65262
|
const defaultConfig = normalizeWrittenConfig({
|
|
65197
65263
|
packageNames: [],
|
|
65198
65264
|
writtenConfig: parse(WrittenConfigSchema, {
|
|
@@ -66264,7 +66330,7 @@ const x = (command, args, userOptions) => {
|
|
|
66264
66330
|
};
|
|
66265
66331
|
const exec = x;
|
|
66266
66332
|
//#endregion
|
|
66267
|
-
//#region ../../node_modules/.pnpm/@changesets+format@0.1.
|
|
66333
|
+
//#region ../../node_modules/.pnpm/@changesets+format@0.1.2/node_modules/@changesets/format/dist/index.js
|
|
66268
66334
|
/**
|
|
66269
66335
|
* Traverse upwards from `startDir` to `stopDir` (inclusive), calling `cb` in each directory. If
|
|
66270
66336
|
* `cb` returns a non-null value, it'll stop and return that value.
|
|
@@ -66325,6 +66391,7 @@ const formatters = {
|
|
|
66325
66391
|
await packageManagerExecute(await ctx.getPackageManager(), [
|
|
66326
66392
|
"prettier",
|
|
66327
66393
|
"--write",
|
|
66394
|
+
"--no-error-on-unmatched-pattern",
|
|
66328
66395
|
...files
|
|
66329
66396
|
], ctx.cwd);
|
|
66330
66397
|
}
|
|
@@ -66343,6 +66410,7 @@ const formatters = {
|
|
|
66343
66410
|
"@biomejs/biome",
|
|
66344
66411
|
"format",
|
|
66345
66412
|
"--write",
|
|
66413
|
+
"--no-errors-on-unmatched",
|
|
66346
66414
|
...files
|
|
66347
66415
|
], ctx.cwd);
|
|
66348
66416
|
}
|
|
@@ -66353,12 +66421,14 @@ const formatters = {
|
|
|
66353
66421
|
configFiles: [
|
|
66354
66422
|
".oxfmtrc.json",
|
|
66355
66423
|
".oxfmtrc.jsonc",
|
|
66356
|
-
"oxfmt.config.ts"
|
|
66424
|
+
"oxfmt.config.ts",
|
|
66425
|
+
"oxfmt.config.mts"
|
|
66357
66426
|
],
|
|
66358
66427
|
async format(files, ctx) {
|
|
66359
66428
|
await packageManagerExecute(await ctx.getPackageManager(), [
|
|
66360
66429
|
"oxfmt",
|
|
66361
66430
|
"--write",
|
|
66431
|
+
"--no-error-on-unmatched-pattern",
|
|
66362
66432
|
...files
|
|
66363
66433
|
], ctx.cwd);
|
|
66364
66434
|
}
|
|
@@ -66374,7 +66444,11 @@ const formatters = {
|
|
|
66374
66444
|
}
|
|
66375
66445
|
],
|
|
66376
66446
|
async format(files, ctx) {
|
|
66377
|
-
await spawnProcess("deno", [
|
|
66447
|
+
await spawnProcess("deno", [
|
|
66448
|
+
"fmt",
|
|
66449
|
+
"--permit-no-files",
|
|
66450
|
+
...files
|
|
66451
|
+
], ctx.cwd);
|
|
66378
66452
|
}
|
|
66379
66453
|
},
|
|
66380
66454
|
dprint: {
|
|
@@ -66390,6 +66464,7 @@ const formatters = {
|
|
|
66390
66464
|
await packageManagerExecute(await ctx.getPackageManager(), [
|
|
66391
66465
|
"dprint",
|
|
66392
66466
|
"fmt",
|
|
66467
|
+
"--allow-no-files",
|
|
66393
66468
|
...files
|
|
66394
66469
|
], ctx.cwd);
|
|
66395
66470
|
}
|
|
@@ -66439,7 +66514,8 @@ function checkConfigFileWithKeyExists(configFile, key) {
|
|
|
66439
66514
|
}
|
|
66440
66515
|
/**
|
|
66441
66516
|
* Format the given patterns with a specified or auto-detected formatter. It returns `true` if a
|
|
66442
|
-
* formatter is found and the formatting process passes
|
|
66517
|
+
* formatter is found and the formatting process passes (even if the patterns didn't match any
|
|
66518
|
+
* files), otherwise returns `false`.
|
|
66443
66519
|
*/
|
|
66444
66520
|
async function format$1(patterns, options = {}) {
|
|
66445
66521
|
const formatterName = options.formatter ?? await detect({
|
|
@@ -66462,7 +66538,7 @@ async function format$1(patterns, options = {}) {
|
|
|
66462
66538
|
return true;
|
|
66463
66539
|
}
|
|
66464
66540
|
//#endregion
|
|
66465
|
-
//#region ../../node_modules/.pnpm/@changesets+errors@1.0.0
|
|
66541
|
+
//#region ../../node_modules/.pnpm/@changesets+errors@1.0.0/node_modules/@changesets/errors/dist/index.mjs
|
|
66466
66542
|
var GitError = class extends Error {
|
|
66467
66543
|
code;
|
|
66468
66544
|
constructor(code, message) {
|
|
@@ -66476,7 +66552,7 @@ var InternalError = class extends Error {
|
|
|
66476
66552
|
}
|
|
66477
66553
|
};
|
|
66478
66554
|
//#endregion
|
|
66479
|
-
//#region ../../node_modules/.pnpm/@changesets+git@4.0.0
|
|
66555
|
+
//#region ../../node_modules/.pnpm/@changesets+git@4.0.0/node_modules/@changesets/git/dist/index.mjs
|
|
66480
66556
|
async function getDivergedCommit(cwd, ref) {
|
|
66481
66557
|
const cmd = await exec("git", [
|
|
66482
66558
|
"merge-base",
|
|
@@ -68631,7 +68707,7 @@ function applyEdits(text, edits) {
|
|
|
68631
68707
|
return text;
|
|
68632
68708
|
}
|
|
68633
68709
|
//#endregion
|
|
68634
|
-
//#region ../../node_modules/.pnpm/@changesets+apply-release-plan@8.0.0
|
|
68710
|
+
//#region ../../node_modules/.pnpm/@changesets+apply-release-plan@8.0.0/node_modules/@changesets/apply-release-plan/dist/index.mjs
|
|
68635
68711
|
/**
|
|
68636
68712
|
* A simple JSON editing utility that preserves formatting. They specified operation keys
|
|
68637
68713
|
* must exist in the JSON for this implementation.
|
|
@@ -68983,7 +69059,7 @@ async function updateChangelog(changelogPath, changelog, name) {
|
|
|
68983
69059
|
await node_fs_promises.writeFile(changelogPath, newChangelog);
|
|
68984
69060
|
}
|
|
68985
69061
|
//#endregion
|
|
68986
|
-
//#region ../../node_modules/.pnpm/@changesets+assemble-release-plan@7.0.0
|
|
69062
|
+
//#region ../../node_modules/.pnpm/@changesets+assemble-release-plan@7.0.0/node_modules/@changesets/assemble-release-plan/dist/index.mjs
|
|
68987
69063
|
function getHighestReleaseType(releases) {
|
|
68988
69064
|
if (releases.length === 0) throw new Error(`Large internal Changesets error when calculating highest release type in the set of releases. Please contact the maintainers`);
|
|
68989
69065
|
let highestReleaseType = "none";
|
|
@@ -69324,7 +69400,7 @@ function getPreInfo(packagesByName, config, preState) {
|
|
|
69324
69400
|
};
|
|
69325
69401
|
}
|
|
69326
69402
|
//#endregion
|
|
69327
|
-
//#region ../../node_modules/.pnpm/@changesets+pre@3.0.0
|
|
69403
|
+
//#region ../../node_modules/.pnpm/@changesets+pre@3.0.0/node_modules/@changesets/pre/dist/index.mjs
|
|
69328
69404
|
async function outputFile(filePath, content) {
|
|
69329
69405
|
await node_fs_promises.mkdir(node_path.dirname(filePath), { recursive: true });
|
|
69330
69406
|
await node_fs_promises.writeFile(filePath, content, "utf8");
|
|
@@ -69365,7 +69441,7 @@ async function migratePreState(rootDir, preState) {
|
|
|
69365
69441
|
return preState;
|
|
69366
69442
|
}
|
|
69367
69443
|
//#endregion
|
|
69368
|
-
//#region ../../node_modules/.pnpm/@changesets+parse@1.0.0
|
|
69444
|
+
//#region ../../node_modules/.pnpm/@changesets+parse@1.0.0/node_modules/@changesets/parse/dist/index.mjs
|
|
69369
69445
|
const mdRegex = /\s*---([^]*?)\r?\n\s*---(\s*(?:\n|$)[^]*)/;
|
|
69370
69446
|
const EXAMPLE_FORMAT = `---\n"package-name": patch\n---`;
|
|
69371
69447
|
const validVersionTypes = [
|
|
@@ -69418,7 +69494,7 @@ YAML error: ${e instanceof Error ? e.message : String(e)}\nFrontmatter content:\
|
|
|
69418
69494
|
};
|
|
69419
69495
|
}
|
|
69420
69496
|
//#endregion
|
|
69421
|
-
//#region ../../node_modules/.pnpm/@changesets+read@1.0.0
|
|
69497
|
+
//#region ../../node_modules/.pnpm/@changesets+read@1.0.0/node_modules/@changesets/read/dist/index.mjs
|
|
69422
69498
|
const ignoredMdFiles = [
|
|
69423
69499
|
/^README\.md$/i,
|
|
69424
69500
|
"AGENTS.md",
|
|
@@ -69446,7 +69522,6 @@ async function readChangesets(rootDir, sinceRef) {
|
|
|
69446
69522
|
} catch (err) {
|
|
69447
69523
|
if (err.code !== "ENOENT") throw err;
|
|
69448
69524
|
}
|
|
69449
|
-
console.log(changesets);
|
|
69450
69525
|
if (sinceRef != null) changesets = await filterChangesetsSinceRef(changesets, changesetBase, sinceRef);
|
|
69451
69526
|
changesets = changesets.filter((file) => {
|
|
69452
69527
|
file = node_path.basename(file);
|
|
@@ -69461,7 +69536,7 @@ async function readChangesets(rootDir, sinceRef) {
|
|
|
69461
69536
|
return await Promise.all(changesetContents);
|
|
69462
69537
|
}
|
|
69463
69538
|
//#endregion
|
|
69464
|
-
//#region ../../node_modules/.pnpm/@changesets+get-release-plan@5.0.0
|
|
69539
|
+
//#region ../../node_modules/.pnpm/@changesets+get-release-plan@5.0.0/node_modules/@changesets/get-release-plan/dist/index.mjs
|
|
69465
69540
|
async function getReleasePlan(cwd, sinceRef, passedConfig) {
|
|
69466
69541
|
const packages = await getPackages(cwd);
|
|
69467
69542
|
const configResult = await readConfig(packages.rootDir, packages);
|
|
@@ -6744,7 +6744,7 @@ declare class Package extends Package_base {
|
|
|
6744
6744
|
toJsonString(options?: PackageFormatOptions): string;
|
|
6745
6745
|
}
|
|
6746
6746
|
//#endregion
|
|
6747
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
6747
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/index.d.ts
|
|
6748
6748
|
//#region src/WorkspacePackage.d.ts
|
|
6749
6749
|
declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
|
|
6750
6750
|
/** Scoped-package visibility. Its presence overrides `private`. */
|
|
@@ -9065,7 +9065,7 @@ declare class Categories {
|
|
|
9065
9065
|
static isValidHeading(heading: string): boolean;
|
|
9066
9066
|
}
|
|
9067
9067
|
//#endregion
|
|
9068
|
-
//#region ../../node_modules/.pnpm/@changesets+types@7.0.0
|
|
9068
|
+
//#region ../../node_modules/.pnpm/@changesets+types@7.0.0/node_modules/@changesets/types/dist/index.d.mts
|
|
9069
9069
|
//#region src/index.d.ts
|
|
9070
9070
|
type MaybePromise<T> = T | Promise<T>;
|
|
9071
9071
|
type VersionType$1 = "major" | "minor" | "patch" | "none";
|
|
@@ -6744,7 +6744,7 @@ declare class Package extends Package_base {
|
|
|
6744
6744
|
toJsonString(options?: PackageFormatOptions): string;
|
|
6745
6745
|
}
|
|
6746
6746
|
//#endregion
|
|
6747
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
6747
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/index.d.ts
|
|
6748
6748
|
//#region src/WorkspacePackage.d.ts
|
|
6749
6749
|
declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
|
|
6750
6750
|
/** Scoped-package visibility. Its presence overrides `private`. */
|
|
@@ -9065,7 +9065,7 @@ declare class Categories {
|
|
|
9065
9065
|
static isValidHeading(heading: string): boolean;
|
|
9066
9066
|
}
|
|
9067
9067
|
//#endregion
|
|
9068
|
-
//#region ../../node_modules/.pnpm/@changesets+types@7.0.0
|
|
9068
|
+
//#region ../../node_modules/.pnpm/@changesets+types@7.0.0/node_modules/@changesets/types/dist/index.d.mts
|
|
9069
9069
|
//#region src/index.d.ts
|
|
9070
9070
|
type MaybePromise<T> = T | Promise<T>;
|
|
9071
9071
|
type VersionType$1 = "major" | "minor" | "patch" | "none";
|