@savvy-web/silk 2.1.0 → 2.1.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 +99 -57
- package/changesets-changelog.d.cts +1 -1
- package/changesets-changelog.d.ts +1 -1
- package/changesets-changelog.js +100 -58
- package/changesets-markdownlint.cjs +99 -57
- package/changesets-markdownlint.d.cts +1 -1
- package/changesets-markdownlint.d.ts +1 -1
- package/changesets-markdownlint.js +100 -58
- package/package.json +4 -4
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
package/changesets-changelog.cjs
CHANGED
|
@@ -358,7 +358,7 @@ const ChangesetConfigLive = effect.Layer.effect(ChangesetConfig, effect.Effect.g
|
|
|
358
358
|
};
|
|
359
359
|
}));
|
|
360
360
|
//#endregion
|
|
361
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
361
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogAssemblyError.js
|
|
362
362
|
/**
|
|
363
363
|
* Base constant for {@link CatalogAssemblyError}.
|
|
364
364
|
*
|
|
@@ -385,7 +385,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
//#endregion
|
|
388
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
388
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogResolutionError.js
|
|
389
389
|
/**
|
|
390
390
|
* Base constant for {@link CatalogResolutionError}.
|
|
391
391
|
*
|
|
@@ -411,7 +411,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
|
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
//#endregion
|
|
414
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
414
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/GitReadError.js
|
|
415
415
|
/**
|
|
416
416
|
* Base constant for {@link GitReadError}.
|
|
417
417
|
*
|
|
@@ -436,7 +436,7 @@ var GitReadError = class extends GitReadErrorBase {
|
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
438
|
//#endregion
|
|
439
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
439
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/PackageNotFoundError.js
|
|
440
440
|
/**
|
|
441
441
|
* Base constant for {@link PackageNotFoundError}.
|
|
442
442
|
*
|
|
@@ -487,7 +487,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
|
|
|
487
487
|
}
|
|
488
488
|
};
|
|
489
489
|
//#endregion
|
|
490
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
490
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceDiscoveryError.js
|
|
491
491
|
/**
|
|
492
492
|
* Base constant for {@link WorkspaceDiscoveryError}.
|
|
493
493
|
*
|
|
@@ -538,7 +538,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
|
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
540
|
//#endregion
|
|
541
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
541
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceRootNotFoundError.js
|
|
542
542
|
/**
|
|
543
543
|
* Base constant for {@link WorkspaceRootNotFoundError}.
|
|
544
544
|
*
|
|
@@ -588,7 +588,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
588
588
|
}
|
|
589
589
|
};
|
|
590
590
|
//#endregion
|
|
591
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
591
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceDiscovery.js
|
|
592
592
|
/**
|
|
593
593
|
* Service for discovering workspace packages in a monorepo.
|
|
594
594
|
*
|
|
@@ -638,7 +638,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
638
638
|
*/
|
|
639
639
|
var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
|
|
640
640
|
//#endregion
|
|
641
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
641
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceRoot.js
|
|
642
642
|
/**
|
|
643
643
|
* Service for finding the workspace root directory.
|
|
644
644
|
*
|
|
@@ -685,7 +685,7 @@ var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspa
|
|
|
685
685
|
*/
|
|
686
686
|
var WorkspaceRoot = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceRoot")() {};
|
|
687
687
|
//#endregion
|
|
688
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
688
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlComposerError.js
|
|
689
689
|
/**
|
|
690
690
|
* YAML composer error type.
|
|
691
691
|
*
|
|
@@ -743,7 +743,7 @@ var YamlComposerError = class extends YamlComposerErrorBase {
|
|
|
743
743
|
}
|
|
744
744
|
};
|
|
745
745
|
//#endregion
|
|
746
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
746
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlErrorDetail.js
|
|
747
747
|
/**
|
|
748
748
|
* YAML error detail schema and error code types.
|
|
749
749
|
*
|
|
@@ -796,7 +796,7 @@ var YamlErrorDetail = class extends effect.Schema.Class("YamlErrorDetail")({
|
|
|
796
796
|
column: effect.Schema.Int.pipe(effect.Schema.nonNegative())
|
|
797
797
|
}) {};
|
|
798
798
|
//#endregion
|
|
799
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
799
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/CstNode.js
|
|
800
800
|
/**
|
|
801
801
|
* YAML CST node schema and node type literal union.
|
|
802
802
|
*
|
|
@@ -832,7 +832,7 @@ var CstNode = class CstNode extends effect.Schema.Class("CstNode")({
|
|
|
832
832
|
children: effect.Schema.optional(effect.Schema.Array(effect.Schema.suspend(() => CstNode)))
|
|
833
833
|
}) {};
|
|
834
834
|
//#endregion
|
|
835
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
835
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlShared.js
|
|
836
836
|
/**
|
|
837
837
|
* Shared YAML structural types used across the parse/stringify/format pipeline.
|
|
838
838
|
*
|
|
@@ -860,7 +860,7 @@ effect.Schema.Class("YamlEdit")({
|
|
|
860
860
|
content: effect.Schema.String
|
|
861
861
|
});
|
|
862
862
|
//#endregion
|
|
863
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
863
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlAstNodes.js
|
|
864
864
|
/**
|
|
865
865
|
* Internal module defining all mutually-referential YAML AST node schemas in
|
|
866
866
|
* one place to avoid circular import cycles between individual schema files.
|
|
@@ -1071,7 +1071,7 @@ var YamlSeq = class extends effect.Schema.TaggedClass()("YamlSeq", {
|
|
|
1071
1071
|
length: effect.Schema.Int.pipe(effect.Schema.nonNegative())
|
|
1072
1072
|
}) {};
|
|
1073
1073
|
//#endregion
|
|
1074
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1074
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlDocument.js
|
|
1075
1075
|
/**
|
|
1076
1076
|
* YAML document and directive schemas.
|
|
1077
1077
|
*
|
|
@@ -1149,7 +1149,7 @@ var YamlDocument = class extends effect.Schema.Class("YamlDocument")({
|
|
|
1149
1149
|
hasDocumentStartTab: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
1150
1150
|
}) {};
|
|
1151
1151
|
//#endregion
|
|
1152
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1152
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlToken.js
|
|
1153
1153
|
/**
|
|
1154
1154
|
* YAML token schema and token kind literal union.
|
|
1155
1155
|
*
|
|
@@ -1184,7 +1184,7 @@ var YamlToken = class extends effect.Schema.Class("YamlToken")({
|
|
|
1184
1184
|
column: effect.Schema.Int.pipe(effect.Schema.nonNegative())
|
|
1185
1185
|
}) {};
|
|
1186
1186
|
//#endregion
|
|
1187
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1187
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/lexer.js
|
|
1188
1188
|
/**
|
|
1189
1189
|
* YAML 1.2 lexer — tokenizes raw YAML text into a stream of {@link YamlToken} values.
|
|
1190
1190
|
*
|
|
@@ -2189,7 +2189,7 @@ function lexAll(text) {
|
|
|
2189
2189
|
return effect.Stream.runCollect(lex(text)).pipe(effect.Effect.map((chunk) => [...chunk]));
|
|
2190
2190
|
}
|
|
2191
2191
|
//#endregion
|
|
2192
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
2192
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/parser.js
|
|
2193
2193
|
/**
|
|
2194
2194
|
* YAML 1.2 CST parser — transforms a token stream into a Concrete Syntax Tree.
|
|
2195
2195
|
*
|
|
@@ -2834,7 +2834,7 @@ function parseCSTAll(text) {
|
|
|
2834
2834
|
return lexAll(text).pipe(effect.Effect.map((tokens) => parseDocuments(tokens, text)));
|
|
2835
2835
|
}
|
|
2836
2836
|
//#endregion
|
|
2837
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
2837
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/composer.js
|
|
2838
2838
|
/**
|
|
2839
2839
|
* YAML 1.2 Composer — transforms CST nodes into AST nodes with typed values.
|
|
2840
2840
|
*
|
|
@@ -2843,16 +2843,29 @@ function parseCSTAll(text) {
|
|
|
2843
2843
|
*
|
|
2844
2844
|
* @packageDocumentation
|
|
2845
2845
|
*/
|
|
2846
|
+
let lineStartsText;
|
|
2847
|
+
let lineStartsCache = [];
|
|
2848
|
+
function getLineStarts(text) {
|
|
2849
|
+
if (lineStartsText === text) return lineStartsCache;
|
|
2850
|
+
const starts = [0];
|
|
2851
|
+
for (let i = 0; i < text.length; i++) if (text[i] === "\n") starts.push(i + 1);
|
|
2852
|
+
lineStartsText = text;
|
|
2853
|
+
lineStartsCache = starts;
|
|
2854
|
+
return starts;
|
|
2855
|
+
}
|
|
2846
2856
|
function lineCol(text, offset) {
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2857
|
+
const starts = getLineStarts(text);
|
|
2858
|
+
const pos = Math.min(Math.max(offset, 0), text.length);
|
|
2859
|
+
let lo = 0;
|
|
2860
|
+
let hi = starts.length - 1;
|
|
2861
|
+
while (lo < hi) {
|
|
2862
|
+
const mid = lo + hi + 1 >> 1;
|
|
2863
|
+
if (starts[mid] <= pos) lo = mid;
|
|
2864
|
+
else hi = mid - 1;
|
|
2865
|
+
}
|
|
2853
2866
|
return {
|
|
2854
|
-
line,
|
|
2855
|
-
column
|
|
2867
|
+
line: lo,
|
|
2868
|
+
column: pos - starts[lo]
|
|
2856
2869
|
};
|
|
2857
2870
|
}
|
|
2858
2871
|
const NULL_RE = /^(?:null|Null|NULL|~)$/;
|
|
@@ -6311,7 +6324,7 @@ function parse$2(text, options) {
|
|
|
6311
6324
|
}));
|
|
6312
6325
|
}
|
|
6313
6326
|
//#endregion
|
|
6314
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6327
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/workspace-manifest.js
|
|
6315
6328
|
/**
|
|
6316
6329
|
* Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
|
|
6317
6330
|
* slice. Pure with respect to the filesystem.
|
|
@@ -6379,7 +6392,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
6379
6392
|
if (manifest.catalog != null && manifest.catalogs?.default != null) throw new PnpmError("INVALID_CATALOGS_CONFIGURATION", "The 'default' catalog was defined multiple times. Use the 'catalog' field or 'catalogs.default', but not both.");
|
|
6380
6393
|
}
|
|
6381
6394
|
//#endregion
|
|
6382
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6395
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/assemble.js
|
|
6383
6396
|
/** Merge catalog sources; later sources win per dependency within a catalog. */
|
|
6384
6397
|
function mergeCatalogs(...sources) {
|
|
6385
6398
|
const result = {};
|
|
@@ -6460,7 +6473,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
6460
6473
|
};
|
|
6461
6474
|
}
|
|
6462
6475
|
//#endregion
|
|
6463
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6476
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/resolve.js
|
|
6464
6477
|
const DEP_FIELDS = [
|
|
6465
6478
|
"dependencies",
|
|
6466
6479
|
"devDependencies",
|
|
@@ -6530,7 +6543,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
|
|
|
6530
6543
|
return out;
|
|
6531
6544
|
}
|
|
6532
6545
|
//#endregion
|
|
6533
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6546
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/CatalogSet.js
|
|
6534
6547
|
/**
|
|
6535
6548
|
* An immutable, fully-normalized catalog collection with the one
|
|
6536
6549
|
* resolution semantic shared by live and point-in-time resolution.
|
|
@@ -6620,7 +6633,7 @@ var CatalogSet = class CatalogSet extends effect.Schema.Class("CatalogSet")({ en
|
|
|
6620
6633
|
}
|
|
6621
6634
|
};
|
|
6622
6635
|
//#endregion
|
|
6623
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6636
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/worktree-catalogs.js
|
|
6624
6637
|
/**
|
|
6625
6638
|
* The ONE code path that reads the working tree's catalog sources
|
|
6626
6639
|
* (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
|
|
@@ -8165,7 +8178,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
8165
8178
|
minimatch.escape = escape;
|
|
8166
8179
|
minimatch.unescape = unescape;
|
|
8167
8180
|
//#endregion
|
|
8168
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8181
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/core.js
|
|
8169
8182
|
/**
|
|
8170
8183
|
* Schema for supported package manager identifiers.
|
|
8171
8184
|
*
|
|
@@ -8427,7 +8440,7 @@ effect.Schema.Class("WorkspaceInfo")({
|
|
|
8427
8440
|
patterns: effect.Schema.Array(effect.Schema.String)
|
|
8428
8441
|
});
|
|
8429
8442
|
//#endregion
|
|
8430
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8443
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/WorkspaceStateSnapshot.js
|
|
8431
8444
|
const DepRecord = effect.Schema.optionalWith(effect.Schema.Record({
|
|
8432
8445
|
key: effect.Schema.String,
|
|
8433
8446
|
value: effect.Schema.String
|
|
@@ -8496,7 +8509,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
8496
8509
|
}
|
|
8497
8510
|
};
|
|
8498
8511
|
//#endregion
|
|
8499
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8512
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PointInTimeWorkspace.js
|
|
8500
8513
|
/**
|
|
8501
8514
|
* Service for reading a monorepo's workspace state at a specific moment: any
|
|
8502
8515
|
* git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
|
|
@@ -8523,7 +8536,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
8523
8536
|
*/
|
|
8524
8537
|
var PointInTimeWorkspace = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
|
|
8525
8538
|
//#endregion
|
|
8526
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8539
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/discovery/glob-core.js
|
|
8527
8540
|
const normalize$1 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
|
|
8528
8541
|
const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
|
|
8529
8542
|
/**
|
|
@@ -8566,7 +8579,7 @@ const compileWorkspaceGlobs = (patterns) => {
|
|
|
8566
8579
|
};
|
|
8567
8580
|
};
|
|
8568
8581
|
//#endregion
|
|
8569
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8582
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/git.js
|
|
8570
8583
|
/**
|
|
8571
8584
|
* Stderr shapes that mean "the path is not present at this ref" rather than
|
|
8572
8585
|
* "the git command failed."
|
|
@@ -8658,7 +8671,7 @@ const makeGitReader = (executor, options) => {
|
|
|
8658
8671
|
};
|
|
8659
8672
|
};
|
|
8660
8673
|
//#endregion
|
|
8661
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8674
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PointInTimeWorkspaceLive.js
|
|
8662
8675
|
/**
|
|
8663
8676
|
* Live layer for the {@link PointInTimeWorkspace} service.
|
|
8664
8677
|
*
|
|
@@ -8799,7 +8812,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
|
|
|
8799
8812
|
});
|
|
8800
8813
|
}));
|
|
8801
8814
|
//#endregion
|
|
8802
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8815
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/publish.js
|
|
8803
8816
|
/**
|
|
8804
8817
|
* Schema for package publish targets.
|
|
8805
8818
|
*
|
|
@@ -8842,7 +8855,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
8842
8855
|
provenance: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
8843
8856
|
}) {};
|
|
8844
8857
|
//#endregion
|
|
8845
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8858
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PublishabilityDetector.js
|
|
8846
8859
|
/**
|
|
8847
8860
|
* Service for detecting whether a workspace package is publishable and
|
|
8848
8861
|
* identifying its publish targets (npm, GitHub Packages, etc.).
|
|
@@ -8904,7 +8917,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
8904
8917
|
*/
|
|
8905
8918
|
var PublishabilityDetector = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
|
|
8906
8919
|
//#endregion
|
|
8907
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8920
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PublishabilityDetectorLive.js
|
|
8908
8921
|
/**
|
|
8909
8922
|
* Default live implementation of the {@link PublishabilityDetector} service.
|
|
8910
8923
|
*
|
|
@@ -8976,7 +8989,7 @@ const PublishabilityDetectorLive = effect.Layer.succeed(PublishabilityDetector,
|
|
|
8976
8989
|
return targets;
|
|
8977
8990
|
}).pipe(effect.Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
|
|
8978
8991
|
//#endregion
|
|
8979
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8992
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceDiscoveryLive.js
|
|
8980
8993
|
/**
|
|
8981
8994
|
* Live implementation of the {@link WorkspaceDiscovery} service.
|
|
8982
8995
|
*
|
|
@@ -9263,7 +9276,7 @@ const WorkspaceDiscoveryLive = effect.Layer.effect(WorkspaceDiscovery, effect.Ef
|
|
|
9263
9276
|
};
|
|
9264
9277
|
}));
|
|
9265
9278
|
//#endregion
|
|
9266
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9279
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceRootLive.js
|
|
9267
9280
|
/**
|
|
9268
9281
|
* Live implementation of the {@link WorkspaceRoot} service.
|
|
9269
9282
|
*
|
|
@@ -34052,7 +34065,7 @@ var ChangelogTransformer = class ChangelogTransformer {
|
|
|
34052
34065
|
}
|
|
34053
34066
|
};
|
|
34054
34067
|
//#endregion
|
|
34055
|
-
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.
|
|
34068
|
+
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.5/node_modules/fdir/dist/index.mjs
|
|
34056
34069
|
var __require = /* @__PURE__ */ (0, module$1.createRequire)(require("url").pathToFileURL(__filename).href);
|
|
34057
34070
|
function cleanPath(path$11) {
|
|
34058
34071
|
let normalized = (0, path.normalize)(path$11);
|
|
@@ -34560,7 +34573,7 @@ var Builder = class {
|
|
|
34560
34573
|
}
|
|
34561
34574
|
};
|
|
34562
34575
|
//#endregion
|
|
34563
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34576
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js
|
|
34564
34577
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34565
34578
|
const WIN_SLASH = "\\\\/";
|
|
34566
34579
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -34729,7 +34742,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34729
34742
|
};
|
|
34730
34743
|
}));
|
|
34731
34744
|
//#endregion
|
|
34732
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34745
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js
|
|
34733
34746
|
var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
34734
34747
|
const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants();
|
|
34735
34748
|
exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -34777,7 +34790,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34777
34790
|
};
|
|
34778
34791
|
}));
|
|
34779
34792
|
//#endregion
|
|
34780
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34793
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js
|
|
34781
34794
|
var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34782
34795
|
const utils = require_utils$1();
|
|
34783
34796
|
const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants();
|
|
@@ -35064,7 +35077,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35064
35077
|
module.exports = scan;
|
|
35065
35078
|
}));
|
|
35066
35079
|
//#endregion
|
|
35067
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
35080
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js
|
|
35068
35081
|
var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35069
35082
|
const constants = require_constants();
|
|
35070
35083
|
const utils = require_utils$1();
|
|
@@ -35219,7 +35232,10 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35219
35232
|
}
|
|
35220
35233
|
}
|
|
35221
35234
|
};
|
|
35222
|
-
const
|
|
35235
|
+
const buildCharClassStar = (chars) => {
|
|
35236
|
+
return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
|
|
35237
|
+
};
|
|
35238
|
+
const getStarExtglobSequenceChars = (pattern) => {
|
|
35223
35239
|
let index = 0;
|
|
35224
35240
|
const chars = [];
|
|
35225
35241
|
while (index < pattern.length) {
|
|
@@ -35233,7 +35249,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35233
35249
|
index += match.end + 1;
|
|
35234
35250
|
}
|
|
35235
35251
|
if (chars.length < 1) return;
|
|
35236
|
-
return
|
|
35252
|
+
return chars;
|
|
35237
35253
|
};
|
|
35238
35254
|
const repeatedExtglobRecursion = (pattern) => {
|
|
35239
35255
|
let depth = 0;
|
|
@@ -35253,14 +35269,28 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35253
35269
|
if (branches.length > 1) {
|
|
35254
35270
|
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
|
|
35255
35271
|
}
|
|
35272
|
+
const safeChars = [];
|
|
35273
|
+
let sawStarSequence = false;
|
|
35274
|
+
let combinable = true;
|
|
35256
35275
|
for (const branch of branches) {
|
|
35257
|
-
const
|
|
35258
|
-
if (
|
|
35259
|
-
|
|
35260
|
-
|
|
35261
|
-
|
|
35276
|
+
const chars = getStarExtglobSequenceChars(branch);
|
|
35277
|
+
if (chars) {
|
|
35278
|
+
sawStarSequence = true;
|
|
35279
|
+
safeChars.push(...chars);
|
|
35280
|
+
continue;
|
|
35281
|
+
}
|
|
35282
|
+
const literal = normalizeSimpleBranch(branch);
|
|
35283
|
+
if (literal && literal.length === 1) {
|
|
35284
|
+
safeChars.push(literal);
|
|
35285
|
+
continue;
|
|
35286
|
+
}
|
|
35287
|
+
combinable = false;
|
|
35262
35288
|
if (repeatedExtglobRecursion(branch) > max) return { risky: true };
|
|
35263
35289
|
}
|
|
35290
|
+
if (sawStarSequence) return combinable ? {
|
|
35291
|
+
risky: true,
|
|
35292
|
+
safeOutput: buildCharClassStar([...new Set(safeChars)])
|
|
35293
|
+
} : { risky: true };
|
|
35264
35294
|
return { risky: false };
|
|
35265
35295
|
};
|
|
35266
35296
|
/**
|
|
@@ -36121,7 +36151,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36121
36151
|
module.exports = parse;
|
|
36122
36152
|
}));
|
|
36123
36153
|
//#endregion
|
|
36124
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
36154
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js
|
|
36125
36155
|
var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
36126
36156
|
const scan = require_scan();
|
|
36127
36157
|
const parse = require_parse$1();
|
|
@@ -36142,6 +36172,18 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36142
36172
|
* const isMatch = picomatch('*.!(*a)');
|
|
36143
36173
|
* console.log(isMatch('a.a')); //=> false
|
|
36144
36174
|
* console.log(isMatch('a.b')); //=> true
|
|
36175
|
+
*
|
|
36176
|
+
* // For environments without `node.js`, `picomatch/posix` provides you a dependency-free matcher, without automatic OS detection.
|
|
36177
|
+
* const picomatch = require('picomatch/posix');
|
|
36178
|
+
* // the same API, defaulting to posix paths
|
|
36179
|
+
* const isMatch = picomatch('a/*');
|
|
36180
|
+
* console.log(isMatch('a\\b')); //=> false
|
|
36181
|
+
* console.log(isMatch('a/b')); //=> true
|
|
36182
|
+
*
|
|
36183
|
+
* // you can still configure the matcher function to accept windows paths
|
|
36184
|
+
* const isMatch = picomatch('a/*', { options: windows });
|
|
36185
|
+
* console.log(isMatch('a\\b')); //=> true
|
|
36186
|
+
* console.log(isMatch('a/b')); //=> true
|
|
36145
36187
|
* ```
|
|
36146
36188
|
* @name picomatch
|
|
36147
36189
|
* @param {String|Array} `globs` One or more glob patterns.
|
|
@@ -36260,8 +36302,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36260
36302
|
* @return {Boolean}
|
|
36261
36303
|
* @api public
|
|
36262
36304
|
*/
|
|
36263
|
-
picomatch.matchBase = (input, glob, options) => {
|
|
36264
|
-
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input));
|
|
36305
|
+
picomatch.matchBase = (input, glob, options, posix = options && options.windows) => {
|
|
36306
|
+
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input, { windows: posix }));
|
|
36265
36307
|
};
|
|
36266
36308
|
/**
|
|
36267
36309
|
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
@@ -3325,7 +3325,7 @@ interface Catalog {
|
|
|
3325
3325
|
readonly [dependencyName: string]: string | undefined;
|
|
3326
3326
|
}
|
|
3327
3327
|
//#endregion
|
|
3328
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
3328
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3329
3329
|
//#region src/errors/CatalogAssemblyError.d.ts
|
|
3330
3330
|
/**
|
|
3331
3331
|
* Base constant for {@link CatalogAssemblyError}.
|
|
@@ -3325,7 +3325,7 @@ interface Catalog {
|
|
|
3325
3325
|
readonly [dependencyName: string]: string | undefined;
|
|
3326
3326
|
}
|
|
3327
3327
|
//#endregion
|
|
3328
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
3328
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3329
3329
|
//#region src/errors/CatalogAssemblyError.d.ts
|
|
3330
3330
|
/**
|
|
3331
3331
|
* Base constant for {@link CatalogAssemblyError}.
|