@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
package/changesets-changelog.cjs
CHANGED
|
@@ -17492,7 +17492,7 @@ const SpdxExpressionUnion = effect.Schema.Union([
|
|
|
17492
17492
|
AndNode,
|
|
17493
17493
|
OrNode
|
|
17494
17494
|
]);
|
|
17495
|
-
function materialize(raw) {
|
|
17495
|
+
function materialize$1(raw) {
|
|
17496
17496
|
switch (raw.kind) {
|
|
17497
17497
|
case "license": return LicenseNode.make({
|
|
17498
17498
|
id: raw.id,
|
|
@@ -17510,12 +17510,12 @@ function materialize(raw) {
|
|
|
17510
17510
|
exception: raw.exception
|
|
17511
17511
|
});
|
|
17512
17512
|
case "and": return AndNode.make({
|
|
17513
|
-
left: materialize(raw.left),
|
|
17514
|
-
right: materialize(raw.right)
|
|
17513
|
+
left: materialize$1(raw.left),
|
|
17514
|
+
right: materialize$1(raw.right)
|
|
17515
17515
|
});
|
|
17516
17516
|
case "or": return OrNode.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
|
}
|
|
17521
17521
|
}
|
|
@@ -17532,7 +17532,7 @@ function materialize(raw) {
|
|
|
17532
17532
|
*/
|
|
17533
17533
|
const parseResult = (input) => {
|
|
17534
17534
|
const raw = parse$2(input);
|
|
17535
|
-
return raw === void 0 ? effect.Result.fail(new InvalidSpdxExpressionError({ input })) : effect.Result.succeed(materialize(raw));
|
|
17535
|
+
return raw === void 0 ? effect.Result.fail(new InvalidSpdxExpressionError({ input })) : effect.Result.succeed(materialize$1(raw));
|
|
17536
17536
|
};
|
|
17537
17537
|
/**
|
|
17538
17538
|
* Whether `input` is a syntactically and catalog-valid SPDX license expression.
|
|
@@ -18630,7 +18630,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
|
|
|
18630
18630
|
}
|
|
18631
18631
|
};
|
|
18632
18632
|
//#endregion
|
|
18633
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
18633
|
+
//#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
|
|
18634
18634
|
const EMPTY$1 = Object.freeze(Object.create(null));
|
|
18635
18635
|
const EMPTY_MANIFEST = Object.freeze(Object.create(null));
|
|
18636
18636
|
/**
|
|
@@ -19228,7 +19228,7 @@ var Walker$1 = class {
|
|
|
19228
19228
|
static findRoot = findRoot$1;
|
|
19229
19229
|
};
|
|
19230
19230
|
//#endregion
|
|
19231
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19231
|
+
//#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
|
|
19232
19232
|
/**
|
|
19233
19233
|
* The marker filenames {@link WorkspaceRoot} probes for, in priority order.
|
|
19234
19234
|
*
|
|
@@ -19415,7 +19415,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
|
|
|
19415
19415
|
static layerTest = (root) => effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.makeTest(root)).pipe(effect.Layer.provide(effect.Path.layer));
|
|
19416
19416
|
};
|
|
19417
19417
|
//#endregion
|
|
19418
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19418
|
+
//#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
|
|
19419
19419
|
/**
|
|
19420
19420
|
* Hard ceiling on directories the enumerator will visit for one pattern set.
|
|
19421
19421
|
* Guards the pathological case a depth cap alone does not: a wide, shallow
|
|
@@ -19433,7 +19433,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
|
|
|
19433
19433
|
*/
|
|
19434
19434
|
const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
19435
19435
|
//#endregion
|
|
19436
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19436
|
+
//#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
|
|
19437
19437
|
/** Directory names never descended into. */
|
|
19438
19438
|
const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
|
|
19439
19439
|
/** Join root-relative POSIX segments; `""` is the root itself. */
|
|
@@ -19523,7 +19523,7 @@ var Traversal = class {
|
|
|
19523
19523
|
}
|
|
19524
19524
|
};
|
|
19525
19525
|
//#endregion
|
|
19526
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19526
|
+
//#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
|
|
19527
19527
|
/** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
|
|
19528
19528
|
const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
|
|
19529
19529
|
/**
|
|
@@ -19593,7 +19593,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
|
|
|
19593
19593
|
return results;
|
|
19594
19594
|
});
|
|
19595
19595
|
//#endregion
|
|
19596
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19596
|
+
//#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
|
|
19597
19597
|
const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
19598
19598
|
/** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
|
|
19599
19599
|
const pnpmPatternsOf = (document) => {
|
|
@@ -19650,7 +19650,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
|
|
|
19650
19650
|
return manifestPatternsOf(manifest);
|
|
19651
19651
|
});
|
|
19652
19652
|
//#endregion
|
|
19653
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19653
|
+
//#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
|
|
19654
19654
|
/**
|
|
19655
19655
|
* Raised when a workspace member's `package.json` cannot be read, parsed, or
|
|
19656
19656
|
* used — it is missing, malformed, or lacks a `name` or `version`.
|
|
@@ -20106,15 +20106,16 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
|
|
|
20106
20106
|
};
|
|
20107
20107
|
const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
|
|
20108
20108
|
//#endregion
|
|
20109
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20109
|
+
//#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
|
|
20110
20110
|
/**
|
|
20111
20111
|
* Raised when the workspace dependency graph cannot be topologically ordered
|
|
20112
20112
|
* because it contains a cycle.
|
|
20113
20113
|
*
|
|
20114
20114
|
* @remarks
|
|
20115
|
-
* `cycle`
|
|
20116
|
-
*
|
|
20117
|
-
* set to break, not necessarily
|
|
20115
|
+
* `cycle` names the actual cycle members — the sorted union of every strongly
|
|
20116
|
+
* connected component with more than one package. Packages merely downstream
|
|
20117
|
+
* of a cycle are excluded, so it is exactly the set to break, not necessarily
|
|
20118
|
+
* a single ordered loop.
|
|
20118
20119
|
*
|
|
20119
20120
|
* @public
|
|
20120
20121
|
*/
|
|
@@ -20269,7 +20270,11 @@ packages: effect.Schema.Array(WorkspacePackage) }) {
|
|
|
20269
20270
|
* the whole adjacency map per processed node. Each level is sorted
|
|
20270
20271
|
* lexicographically, so the output is deterministic.
|
|
20271
20272
|
*/
|
|
20272
|
-
levels = effect.Effect.fn("DependencyGraph.levels")(() => effect.Effect.suspend(() =>
|
|
20273
|
+
levels = effect.Effect.fn("DependencyGraph.levels")(() => effect.Effect.suspend(() => {
|
|
20274
|
+
const edges = this.#index();
|
|
20275
|
+
const result = kahn(edges);
|
|
20276
|
+
return result.stalled.length > 0 ? effect.Effect.fail(new CyclicDependencyError({ cycle: cycleMembers(edges) })) : effect.Effect.succeed(result.levels);
|
|
20277
|
+
}));
|
|
20273
20278
|
/** The flattened topological order — `levels()` concatenated. */
|
|
20274
20279
|
sort = effect.Effect.fn("DependencyGraph.sort")(() => this.levels().pipe(effect.Effect.map((levels) => levels.flat())));
|
|
20275
20280
|
/**
|
|
@@ -20299,17 +20304,78 @@ packages: effect.Schema.Array(WorkspacePackage) }) {
|
|
|
20299
20304
|
subForward.set(node, deps);
|
|
20300
20305
|
for (const dep of deps) subReverse.get(dep)?.add(node);
|
|
20301
20306
|
}
|
|
20302
|
-
const
|
|
20307
|
+
const subEdges = {
|
|
20303
20308
|
forward: subForward,
|
|
20304
20309
|
reverse: subReverse
|
|
20305
|
-
}
|
|
20306
|
-
|
|
20310
|
+
};
|
|
20311
|
+
const result = kahn(subEdges);
|
|
20312
|
+
return result.stalled.length > 0 ? effect.Effect.fail(new CyclicDependencyError({ cycle: cycleMembers(subEdges) })) : effect.Effect.succeed(result.levels.flat());
|
|
20307
20313
|
}));
|
|
20314
|
+
/**
|
|
20315
|
+
* The graph rendered as a Mermaid `flowchart TD`. Total.
|
|
20316
|
+
*
|
|
20317
|
+
* @remarks
|
|
20318
|
+
* Renders through core's `Graph.toMermaid` over a transient graph built from
|
|
20319
|
+
* the edge index. Node IDs are numeric indexes assigned in sorted-name order
|
|
20320
|
+
* and package names appear only inside quoted labels, so scoped names
|
|
20321
|
+
* (`@scope/a`) never break Mermaid syntax. Nodes and each node's edges are
|
|
20322
|
+
* emitted in sorted order — the output is deterministic regardless of
|
|
20323
|
+
* manifest key order.
|
|
20324
|
+
*/
|
|
20325
|
+
toMermaid() {
|
|
20326
|
+
return effect.Graph.toMermaid(materialize(this.#index()).graph, { edgeLabel: () => "" });
|
|
20327
|
+
}
|
|
20328
|
+
};
|
|
20329
|
+
/**
|
|
20330
|
+
* Materializes the forward map into a transient core `Graph`: nodes in
|
|
20331
|
+
* sorted-name order (so `NodeIndex` *i* is `names[i]`) and each node's edges
|
|
20332
|
+
* in sorted-target order, making the graph — and everything derived from it —
|
|
20333
|
+
* deterministic for a given edge index.
|
|
20334
|
+
*/
|
|
20335
|
+
const materialize = (edges) => {
|
|
20336
|
+
const names = [...edges.forward.keys()].sort();
|
|
20337
|
+
return {
|
|
20338
|
+
graph: effect.Graph.directed((mutable) => {
|
|
20339
|
+
const indexOf = /* @__PURE__ */ new Map();
|
|
20340
|
+
for (const name of names) indexOf.set(name, effect.Graph.addNode(mutable, name));
|
|
20341
|
+
for (const name of names) {
|
|
20342
|
+
const source = indexOf.get(name);
|
|
20343
|
+
if (source === void 0) continue;
|
|
20344
|
+
for (const dependency of [...edges.forward.get(name) ?? []].sort()) {
|
|
20345
|
+
const target = indexOf.get(dependency);
|
|
20346
|
+
if (target !== void 0) effect.Graph.addEdge(mutable, source, target, "");
|
|
20347
|
+
}
|
|
20348
|
+
}
|
|
20349
|
+
}),
|
|
20350
|
+
names
|
|
20351
|
+
};
|
|
20352
|
+
};
|
|
20353
|
+
/**
|
|
20354
|
+
* The packages participating in a dependency cycle — the sorted union of every
|
|
20355
|
+
* strongly connected component with more than one member, via core's
|
|
20356
|
+
* `Graph.stronglyConnectedComponents`. Self-edges are dropped at index time,
|
|
20357
|
+
* so a single-member component is never cyclic here.
|
|
20358
|
+
*/
|
|
20359
|
+
const cycleMembers = (edges) => {
|
|
20360
|
+
const { graph, names } = materialize(edges);
|
|
20361
|
+
const members = /* @__PURE__ */ new Set();
|
|
20362
|
+
for (const component of effect.Graph.stronglyConnectedComponents(graph)) {
|
|
20363
|
+
if (component.length < 2) continue;
|
|
20364
|
+
for (const index of component) {
|
|
20365
|
+
const name = names[index];
|
|
20366
|
+
if (name !== void 0) members.add(name);
|
|
20367
|
+
}
|
|
20368
|
+
}
|
|
20369
|
+
return [...members].sort();
|
|
20308
20370
|
};
|
|
20309
20371
|
/**
|
|
20310
20372
|
* Kahn's algorithm. `forward[A] = {B}` reads "A depends on B", so level 0 is
|
|
20311
20373
|
* the set with an out-degree of zero and each completed level decrements its
|
|
20312
20374
|
* dependents through the reverse index.
|
|
20375
|
+
*
|
|
20376
|
+
* A non-empty `stalled` only signals *that* a cycle exists — it holds every
|
|
20377
|
+
* unprocessed node, including ones merely downstream of a cycle. The error
|
|
20378
|
+
* payload names the actual members via `cycleMembers`.
|
|
20313
20379
|
*/
|
|
20314
20380
|
const kahn = (edges) => {
|
|
20315
20381
|
const remaining = /* @__PURE__ */ new Map();
|
|
@@ -23598,7 +23664,7 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
|
|
|
23598
23664
|
static layerTest = (overrides = {}) => effect.Layer.succeed(Git, Git.makeTest(overrides));
|
|
23599
23665
|
};
|
|
23600
23666
|
//#endregion
|
|
23601
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
23667
|
+
//#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
|
|
23602
23668
|
/**
|
|
23603
23669
|
* Which git refs to compare, and whether to fold in the working tree.
|
|
23604
23670
|
*
|
|
@@ -23854,7 +23920,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
23854
23920
|
};
|
|
23855
23921
|
}
|
|
23856
23922
|
//#endregion
|
|
23857
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
23923
|
+
//#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
|
|
23858
23924
|
/** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
|
|
23859
23925
|
const inlineCatalogs = (manifest) => {
|
|
23860
23926
|
if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
|
|
@@ -23918,7 +23984,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
|
|
|
23918
23984
|
});
|
|
23919
23985
|
};
|
|
23920
23986
|
//#endregion
|
|
23921
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
23987
|
+
//#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
|
|
23922
23988
|
/** Whether `value` is a non-null, non-array object. */
|
|
23923
23989
|
const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
23924
23990
|
/**
|
|
@@ -24329,7 +24395,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
|
|
|
24329
24395
|
}));
|
|
24330
24396
|
};
|
|
24331
24397
|
//#endregion
|
|
24332
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
24398
|
+
//#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
|
|
24333
24399
|
/**
|
|
24334
24400
|
* The four package managers this package understands.
|
|
24335
24401
|
*
|
|
@@ -24657,7 +24723,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
|
|
|
24657
24723
|
static layerTest = (overrides = {}) => effect.Layer.succeed(PackageManagerDetector, PackageManagerDetector.makeTest(overrides));
|
|
24658
24724
|
};
|
|
24659
24725
|
//#endregion
|
|
24660
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
24726
|
+
//#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
|
|
24661
24727
|
/**
|
|
24662
24728
|
* Raised when the workspace's lockfile cannot be read off disk.
|
|
24663
24729
|
*
|
|
@@ -24837,7 +24903,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
|
|
|
24837
24903
|
static layerTest = (overrides = {}) => effect.Layer.succeed(LockfileReader, LockfileReader.makeTest(overrides));
|
|
24838
24904
|
};
|
|
24839
24905
|
//#endregion
|
|
24840
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
24906
|
+
//#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
|
|
24841
24907
|
/** The public npm registry, used when `publishConfig.registry` says nothing. */
|
|
24842
24908
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
|
|
24843
24909
|
/**
|
|
@@ -24996,7 +25062,7 @@ var PublishabilityDetector = class extends effect.Context.Service()("@effected/w
|
|
|
24996
25062
|
static layerNone = effect.Layer.succeed(this, this.none);
|
|
24997
25063
|
};
|
|
24998
25064
|
//#endregion
|
|
24999
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25065
|
+
//#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
|
|
25000
25066
|
/**
|
|
25001
25067
|
* Strip pnpm's peer-disambiguation suffix from a recorded importer version.
|
|
25002
25068
|
*
|
|
@@ -25082,7 +25148,7 @@ const unanimousVersionOf = (index, dependency) => {
|
|
|
25082
25148
|
return agreed;
|
|
25083
25149
|
};
|
|
25084
25150
|
//#endregion
|
|
25085
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25151
|
+
//#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
|
|
25086
25152
|
/**
|
|
25087
25153
|
* An immutable, fully-normalized catalog collection — the one catalog
|
|
25088
25154
|
* resolution semantic in the package.
|
|
@@ -25609,7 +25675,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
|
|
|
25609
25675
|
}));
|
|
25610
25676
|
};
|
|
25611
25677
|
//#endregion
|
|
25612
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25678
|
+
//#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
|
|
25613
25679
|
const EMPTY = Object.freeze(Object.create(null));
|
|
25614
25680
|
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)));
|
|
25615
25681
|
/**
|
|
@@ -25832,7 +25898,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
25832
25898
|
}
|
|
25833
25899
|
};
|
|
25834
25900
|
//#endregion
|
|
25835
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
25901
|
+
//#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
|
|
25836
25902
|
/** Whether `value` is a non-null, non-array object. */
|
|
25837
25903
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
25838
25904
|
/** Whether every value in a record is a string — a usable dependency map. */
|
|
@@ -26109,7 +26175,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
|
|
|
26109
26175
|
static layerTest = (overrides = {}) => effect.Layer.succeed(WorkspaceSnapshots, WorkspaceSnapshots.makeTest(overrides));
|
|
26110
26176
|
};
|
|
26111
26177
|
//#endregion
|
|
26112
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
26178
|
+
//#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
|
|
26113
26179
|
const compose = (options, catalogsFactory) => {
|
|
26114
26180
|
const roots = WorkspaceRoot.layer;
|
|
26115
26181
|
const detector = PackageManagerDetector.layer;
|
|
@@ -28023,7 +28089,7 @@ function validateChangesetOptions(input) {
|
|
|
28023
28089
|
})));
|
|
28024
28090
|
}
|
|
28025
28091
|
//#endregion
|
|
28026
|
-
//#region ../../node_modules/.pnpm/@changesets+get-github-info@1.0.0
|
|
28092
|
+
//#region ../../node_modules/.pnpm/@changesets+get-github-info@1.0.0/node_modules/@changesets/get-github-info/dist/index.mjs
|
|
28027
28093
|
var import_dataloader = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
28028
28094
|
/**
|
|
28029
28095
|
* Copyright (c) 2019-present, GraphQL Foundation
|
|
@@ -64147,7 +64213,7 @@ function validatePackages(packages) {
|
|
|
64147
64213
|
}
|
|
64148
64214
|
}
|
|
64149
64215
|
//#endregion
|
|
64150
|
-
//#region ../../node_modules/.pnpm/@changesets+get-dependents-graph@3.0.0
|
|
64216
|
+
//#region ../../node_modules/.pnpm/@changesets+get-dependents-graph@3.0.0/node_modules/@changesets/get-dependents-graph/dist/index.mjs
|
|
64151
64217
|
var src_default = new Proxy({}, { get(target, color) {
|
|
64152
64218
|
target[color] ??= (text) => (0, node_util.styleText)(color, text);
|
|
64153
64219
|
return target[color];
|
|
@@ -64267,14 +64333,14 @@ function getDependentsGraph(packages, opts) {
|
|
|
64267
64333
|
return simplifiedDependentsGraph;
|
|
64268
64334
|
}
|
|
64269
64335
|
//#endregion
|
|
64270
|
-
//#region ../../node_modules/.pnpm/@changesets+should-skip-package@1.0.0
|
|
64336
|
+
//#region ../../node_modules/.pnpm/@changesets+should-skip-package@1.0.0/node_modules/@changesets/should-skip-package/dist/index.mjs
|
|
64271
64337
|
function shouldSkipPackage({ packageJson }, { ignore, allowPrivatePackages }) {
|
|
64272
64338
|
if (ignore.includes(packageJson.name)) return true;
|
|
64273
64339
|
if (packageJson.private && !allowPrivatePackages) return true;
|
|
64274
64340
|
return !packageJson.version;
|
|
64275
64341
|
}
|
|
64276
64342
|
//#endregion
|
|
64277
|
-
//#region ../../node_modules/.pnpm/@changesets+config@4.0.0
|
|
64343
|
+
//#region ../../node_modules/.pnpm/@changesets+config@4.0.0/node_modules/@changesets/config/dist/index.mjs
|
|
64278
64344
|
const DEFAULT_CONFIG = {
|
|
64279
64345
|
lang: void 0,
|
|
64280
64346
|
message: void 0,
|
|
@@ -65188,7 +65254,7 @@ async function readConfig(cwd, packages) {
|
|
|
65188
65254
|
packages ??= await getPackages(cwd);
|
|
65189
65255
|
return validateConfig(JSON.parse(await node_fs_promises.readFile(node_path.join(packages.rootDir, ".changeset", "config.json"), "utf8")), packages);
|
|
65190
65256
|
}
|
|
65191
|
-
var version = "4.0.0
|
|
65257
|
+
var version = "4.0.0";
|
|
65192
65258
|
const defaultConfig = normalizeWrittenConfig({
|
|
65193
65259
|
packageNames: [],
|
|
65194
65260
|
writtenConfig: parse(WrittenConfigSchema, {
|
|
@@ -66260,7 +66326,7 @@ const x = (command, args, userOptions) => {
|
|
|
66260
66326
|
};
|
|
66261
66327
|
const exec = x;
|
|
66262
66328
|
//#endregion
|
|
66263
|
-
//#region ../../node_modules/.pnpm/@changesets+format@0.1.
|
|
66329
|
+
//#region ../../node_modules/.pnpm/@changesets+format@0.1.2/node_modules/@changesets/format/dist/index.js
|
|
66264
66330
|
/**
|
|
66265
66331
|
* Traverse upwards from `startDir` to `stopDir` (inclusive), calling `cb` in each directory. If
|
|
66266
66332
|
* `cb` returns a non-null value, it'll stop and return that value.
|
|
@@ -66321,6 +66387,7 @@ const formatters = {
|
|
|
66321
66387
|
await packageManagerExecute(await ctx.getPackageManager(), [
|
|
66322
66388
|
"prettier",
|
|
66323
66389
|
"--write",
|
|
66390
|
+
"--no-error-on-unmatched-pattern",
|
|
66324
66391
|
...files
|
|
66325
66392
|
], ctx.cwd);
|
|
66326
66393
|
}
|
|
@@ -66339,6 +66406,7 @@ const formatters = {
|
|
|
66339
66406
|
"@biomejs/biome",
|
|
66340
66407
|
"format",
|
|
66341
66408
|
"--write",
|
|
66409
|
+
"--no-errors-on-unmatched",
|
|
66342
66410
|
...files
|
|
66343
66411
|
], ctx.cwd);
|
|
66344
66412
|
}
|
|
@@ -66349,12 +66417,14 @@ const formatters = {
|
|
|
66349
66417
|
configFiles: [
|
|
66350
66418
|
".oxfmtrc.json",
|
|
66351
66419
|
".oxfmtrc.jsonc",
|
|
66352
|
-
"oxfmt.config.ts"
|
|
66420
|
+
"oxfmt.config.ts",
|
|
66421
|
+
"oxfmt.config.mts"
|
|
66353
66422
|
],
|
|
66354
66423
|
async format(files, ctx) {
|
|
66355
66424
|
await packageManagerExecute(await ctx.getPackageManager(), [
|
|
66356
66425
|
"oxfmt",
|
|
66357
66426
|
"--write",
|
|
66427
|
+
"--no-error-on-unmatched-pattern",
|
|
66358
66428
|
...files
|
|
66359
66429
|
], ctx.cwd);
|
|
66360
66430
|
}
|
|
@@ -66370,7 +66440,11 @@ const formatters = {
|
|
|
66370
66440
|
}
|
|
66371
66441
|
],
|
|
66372
66442
|
async format(files, ctx) {
|
|
66373
|
-
await spawnProcess("deno", [
|
|
66443
|
+
await spawnProcess("deno", [
|
|
66444
|
+
"fmt",
|
|
66445
|
+
"--permit-no-files",
|
|
66446
|
+
...files
|
|
66447
|
+
], ctx.cwd);
|
|
66374
66448
|
}
|
|
66375
66449
|
},
|
|
66376
66450
|
dprint: {
|
|
@@ -66386,6 +66460,7 @@ const formatters = {
|
|
|
66386
66460
|
await packageManagerExecute(await ctx.getPackageManager(), [
|
|
66387
66461
|
"dprint",
|
|
66388
66462
|
"fmt",
|
|
66463
|
+
"--allow-no-files",
|
|
66389
66464
|
...files
|
|
66390
66465
|
], ctx.cwd);
|
|
66391
66466
|
}
|
|
@@ -66435,7 +66510,8 @@ function checkConfigFileWithKeyExists(configFile, key) {
|
|
|
66435
66510
|
}
|
|
66436
66511
|
/**
|
|
66437
66512
|
* Format the given patterns with a specified or auto-detected formatter. It returns `true` if a
|
|
66438
|
-
* formatter is found and the formatting process passes
|
|
66513
|
+
* formatter is found and the formatting process passes (even if the patterns didn't match any
|
|
66514
|
+
* files), otherwise returns `false`.
|
|
66439
66515
|
*/
|
|
66440
66516
|
async function format$1(patterns, options = {}) {
|
|
66441
66517
|
const formatterName = options.formatter ?? await detect({
|
|
@@ -66458,7 +66534,7 @@ async function format$1(patterns, options = {}) {
|
|
|
66458
66534
|
return true;
|
|
66459
66535
|
}
|
|
66460
66536
|
//#endregion
|
|
66461
|
-
//#region ../../node_modules/.pnpm/@changesets+errors@1.0.0
|
|
66537
|
+
//#region ../../node_modules/.pnpm/@changesets+errors@1.0.0/node_modules/@changesets/errors/dist/index.mjs
|
|
66462
66538
|
var GitError = class extends Error {
|
|
66463
66539
|
code;
|
|
66464
66540
|
constructor(code, message) {
|
|
@@ -66472,7 +66548,7 @@ var InternalError = class extends Error {
|
|
|
66472
66548
|
}
|
|
66473
66549
|
};
|
|
66474
66550
|
//#endregion
|
|
66475
|
-
//#region ../../node_modules/.pnpm/@changesets+git@4.0.0
|
|
66551
|
+
//#region ../../node_modules/.pnpm/@changesets+git@4.0.0/node_modules/@changesets/git/dist/index.mjs
|
|
66476
66552
|
async function getDivergedCommit(cwd, ref) {
|
|
66477
66553
|
const cmd = await exec("git", [
|
|
66478
66554
|
"merge-base",
|
|
@@ -68627,7 +68703,7 @@ function applyEdits(text, edits) {
|
|
|
68627
68703
|
return text;
|
|
68628
68704
|
}
|
|
68629
68705
|
//#endregion
|
|
68630
|
-
//#region ../../node_modules/.pnpm/@changesets+apply-release-plan@8.0.0
|
|
68706
|
+
//#region ../../node_modules/.pnpm/@changesets+apply-release-plan@8.0.0/node_modules/@changesets/apply-release-plan/dist/index.mjs
|
|
68631
68707
|
/**
|
|
68632
68708
|
* A simple JSON editing utility that preserves formatting. They specified operation keys
|
|
68633
68709
|
* must exist in the JSON for this implementation.
|
|
@@ -68979,7 +69055,7 @@ async function updateChangelog(changelogPath, changelog, name) {
|
|
|
68979
69055
|
await node_fs_promises.writeFile(changelogPath, newChangelog);
|
|
68980
69056
|
}
|
|
68981
69057
|
//#endregion
|
|
68982
|
-
//#region ../../node_modules/.pnpm/@changesets+assemble-release-plan@7.0.0
|
|
69058
|
+
//#region ../../node_modules/.pnpm/@changesets+assemble-release-plan@7.0.0/node_modules/@changesets/assemble-release-plan/dist/index.mjs
|
|
68983
69059
|
function getHighestReleaseType(releases) {
|
|
68984
69060
|
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`);
|
|
68985
69061
|
let highestReleaseType = "none";
|
|
@@ -69320,7 +69396,7 @@ function getPreInfo(packagesByName, config, preState) {
|
|
|
69320
69396
|
};
|
|
69321
69397
|
}
|
|
69322
69398
|
//#endregion
|
|
69323
|
-
//#region ../../node_modules/.pnpm/@changesets+pre@3.0.0
|
|
69399
|
+
//#region ../../node_modules/.pnpm/@changesets+pre@3.0.0/node_modules/@changesets/pre/dist/index.mjs
|
|
69324
69400
|
async function outputFile(filePath, content) {
|
|
69325
69401
|
await node_fs_promises.mkdir(node_path.dirname(filePath), { recursive: true });
|
|
69326
69402
|
await node_fs_promises.writeFile(filePath, content, "utf8");
|
|
@@ -69361,7 +69437,7 @@ async function migratePreState(rootDir, preState) {
|
|
|
69361
69437
|
return preState;
|
|
69362
69438
|
}
|
|
69363
69439
|
//#endregion
|
|
69364
|
-
//#region ../../node_modules/.pnpm/@changesets+parse@1.0.0
|
|
69440
|
+
//#region ../../node_modules/.pnpm/@changesets+parse@1.0.0/node_modules/@changesets/parse/dist/index.mjs
|
|
69365
69441
|
const mdRegex = /\s*---([^]*?)\r?\n\s*---(\s*(?:\n|$)[^]*)/;
|
|
69366
69442
|
const EXAMPLE_FORMAT = `---\n"package-name": patch\n---`;
|
|
69367
69443
|
const validVersionTypes = [
|
|
@@ -69414,7 +69490,7 @@ YAML error: ${e instanceof Error ? e.message : String(e)}\nFrontmatter content:\
|
|
|
69414
69490
|
};
|
|
69415
69491
|
}
|
|
69416
69492
|
//#endregion
|
|
69417
|
-
//#region ../../node_modules/.pnpm/@changesets+read@1.0.0
|
|
69493
|
+
//#region ../../node_modules/.pnpm/@changesets+read@1.0.0/node_modules/@changesets/read/dist/index.mjs
|
|
69418
69494
|
const ignoredMdFiles = [
|
|
69419
69495
|
/^README\.md$/i,
|
|
69420
69496
|
"AGENTS.md",
|
|
@@ -69442,7 +69518,6 @@ async function readChangesets(rootDir, sinceRef) {
|
|
|
69442
69518
|
} catch (err) {
|
|
69443
69519
|
if (err.code !== "ENOENT") throw err;
|
|
69444
69520
|
}
|
|
69445
|
-
console.log(changesets);
|
|
69446
69521
|
if (sinceRef != null) changesets = await filterChangesetsSinceRef(changesets, changesetBase, sinceRef);
|
|
69447
69522
|
changesets = changesets.filter((file) => {
|
|
69448
69523
|
file = node_path.basename(file);
|
|
@@ -69457,7 +69532,7 @@ async function readChangesets(rootDir, sinceRef) {
|
|
|
69457
69532
|
return await Promise.all(changesetContents);
|
|
69458
69533
|
}
|
|
69459
69534
|
//#endregion
|
|
69460
|
-
//#region ../../node_modules/.pnpm/@changesets+get-release-plan@5.0.0
|
|
69535
|
+
//#region ../../node_modules/.pnpm/@changesets+get-release-plan@5.0.0/node_modules/@changesets/get-release-plan/dist/index.mjs
|
|
69461
69536
|
async function getReleasePlan(cwd, sinceRef, passedConfig) {
|
|
69462
69537
|
const packages = await getPackages(cwd);
|
|
69463
69538
|
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";
|