@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.js
CHANGED
|
@@ -372,7 +372,7 @@ const ChangesetConfigLive = Layer.effect(ChangesetConfig, Effect.gen(function* (
|
|
|
372
372
|
}));
|
|
373
373
|
|
|
374
374
|
//#endregion
|
|
375
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
375
|
+
//#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
|
|
376
376
|
/**
|
|
377
377
|
* Base constant for {@link CatalogAssemblyError}.
|
|
378
378
|
*
|
|
@@ -400,7 +400,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
|
400
400
|
};
|
|
401
401
|
|
|
402
402
|
//#endregion
|
|
403
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
403
|
+
//#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
|
|
404
404
|
/**
|
|
405
405
|
* Base constant for {@link CatalogResolutionError}.
|
|
406
406
|
*
|
|
@@ -427,7 +427,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
|
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
//#endregion
|
|
430
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
430
|
+
//#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
|
|
431
431
|
/**
|
|
432
432
|
* Base constant for {@link GitReadError}.
|
|
433
433
|
*
|
|
@@ -453,7 +453,7 @@ var GitReadError = class extends GitReadErrorBase {
|
|
|
453
453
|
};
|
|
454
454
|
|
|
455
455
|
//#endregion
|
|
456
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
456
|
+
//#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
|
|
457
457
|
/**
|
|
458
458
|
* Base constant for {@link PackageNotFoundError}.
|
|
459
459
|
*
|
|
@@ -505,7 +505,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
|
|
|
505
505
|
};
|
|
506
506
|
|
|
507
507
|
//#endregion
|
|
508
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
508
|
+
//#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
|
|
509
509
|
/**
|
|
510
510
|
* Base constant for {@link WorkspaceDiscoveryError}.
|
|
511
511
|
*
|
|
@@ -557,7 +557,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
|
|
|
557
557
|
};
|
|
558
558
|
|
|
559
559
|
//#endregion
|
|
560
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
560
|
+
//#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
|
|
561
561
|
/**
|
|
562
562
|
* Base constant for {@link WorkspaceRootNotFoundError}.
|
|
563
563
|
*
|
|
@@ -608,7 +608,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
608
608
|
};
|
|
609
609
|
|
|
610
610
|
//#endregion
|
|
611
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
611
|
+
//#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
|
|
612
612
|
/**
|
|
613
613
|
* Service for discovering workspace packages in a monorepo.
|
|
614
614
|
*
|
|
@@ -659,7 +659,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
659
659
|
var WorkspaceDiscovery = class extends Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
|
|
660
660
|
|
|
661
661
|
//#endregion
|
|
662
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
662
|
+
//#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
|
|
663
663
|
/**
|
|
664
664
|
* Service for finding the workspace root directory.
|
|
665
665
|
*
|
|
@@ -707,7 +707,7 @@ var WorkspaceDiscovery = class extends Context.Tag("@spencerbeggs/workspaces-eff
|
|
|
707
707
|
var WorkspaceRoot = class extends Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceRoot")() {};
|
|
708
708
|
|
|
709
709
|
//#endregion
|
|
710
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
710
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlComposerError.js
|
|
711
711
|
/**
|
|
712
712
|
* YAML composer error type.
|
|
713
713
|
*
|
|
@@ -766,7 +766,7 @@ var YamlComposerError = class extends YamlComposerErrorBase {
|
|
|
766
766
|
};
|
|
767
767
|
|
|
768
768
|
//#endregion
|
|
769
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
769
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlErrorDetail.js
|
|
770
770
|
/**
|
|
771
771
|
* YAML error detail schema and error code types.
|
|
772
772
|
*
|
|
@@ -820,7 +820,7 @@ var YamlErrorDetail = class extends Schema.Class("YamlErrorDetail")({
|
|
|
820
820
|
}) {};
|
|
821
821
|
|
|
822
822
|
//#endregion
|
|
823
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
823
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/CstNode.js
|
|
824
824
|
/**
|
|
825
825
|
* YAML CST node schema and node type literal union.
|
|
826
826
|
*
|
|
@@ -857,7 +857,7 @@ var CstNode = class CstNode extends Schema.Class("CstNode")({
|
|
|
857
857
|
}) {};
|
|
858
858
|
|
|
859
859
|
//#endregion
|
|
860
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
860
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlShared.js
|
|
861
861
|
/**
|
|
862
862
|
* Shared YAML structural types used across the parse/stringify/format pipeline.
|
|
863
863
|
*
|
|
@@ -932,7 +932,7 @@ var YamlEdit = class extends Schema.Class("YamlEdit")({
|
|
|
932
932
|
}) {};
|
|
933
933
|
|
|
934
934
|
//#endregion
|
|
935
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
935
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlAstNodes.js
|
|
936
936
|
/**
|
|
937
937
|
* Internal module defining all mutually-referential YAML AST node schemas in
|
|
938
938
|
* one place to avoid circular import cycles between individual schema files.
|
|
@@ -1144,7 +1144,7 @@ var YamlSeq = class extends Schema.TaggedClass()("YamlSeq", {
|
|
|
1144
1144
|
}) {};
|
|
1145
1145
|
|
|
1146
1146
|
//#endregion
|
|
1147
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1147
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlDocument.js
|
|
1148
1148
|
/**
|
|
1149
1149
|
* YAML document and directive schemas.
|
|
1150
1150
|
*
|
|
@@ -1223,7 +1223,7 @@ var YamlDocument = class extends Schema.Class("YamlDocument")({
|
|
|
1223
1223
|
}) {};
|
|
1224
1224
|
|
|
1225
1225
|
//#endregion
|
|
1226
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1226
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlToken.js
|
|
1227
1227
|
/**
|
|
1228
1228
|
* YAML token schema and token kind literal union.
|
|
1229
1229
|
*
|
|
@@ -1259,7 +1259,7 @@ var YamlToken = class extends Schema.Class("YamlToken")({
|
|
|
1259
1259
|
}) {};
|
|
1260
1260
|
|
|
1261
1261
|
//#endregion
|
|
1262
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1262
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/lexer.js
|
|
1263
1263
|
/**
|
|
1264
1264
|
* YAML 1.2 lexer — tokenizes raw YAML text into a stream of {@link YamlToken} values.
|
|
1265
1265
|
*
|
|
@@ -2265,7 +2265,7 @@ function lexAll(text) {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
|
|
2267
2267
|
//#endregion
|
|
2268
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
2268
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/parser.js
|
|
2269
2269
|
/**
|
|
2270
2270
|
* YAML 1.2 CST parser — transforms a token stream into a Concrete Syntax Tree.
|
|
2271
2271
|
*
|
|
@@ -2911,7 +2911,7 @@ function parseCSTAll(text) {
|
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
2913
|
//#endregion
|
|
2914
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
2914
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/composer.js
|
|
2915
2915
|
/**
|
|
2916
2916
|
* YAML 1.2 Composer — transforms CST nodes into AST nodes with typed values.
|
|
2917
2917
|
*
|
|
@@ -2920,16 +2920,29 @@ function parseCSTAll(text) {
|
|
|
2920
2920
|
*
|
|
2921
2921
|
* @packageDocumentation
|
|
2922
2922
|
*/
|
|
2923
|
+
let lineStartsText;
|
|
2924
|
+
let lineStartsCache = [];
|
|
2925
|
+
function getLineStarts(text) {
|
|
2926
|
+
if (lineStartsText === text) return lineStartsCache;
|
|
2927
|
+
const starts = [0];
|
|
2928
|
+
for (let i = 0; i < text.length; i++) if (text[i] === "\n") starts.push(i + 1);
|
|
2929
|
+
lineStartsText = text;
|
|
2930
|
+
lineStartsCache = starts;
|
|
2931
|
+
return starts;
|
|
2932
|
+
}
|
|
2923
2933
|
function lineCol(text, offset) {
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2934
|
+
const starts = getLineStarts(text);
|
|
2935
|
+
const pos = Math.min(Math.max(offset, 0), text.length);
|
|
2936
|
+
let lo = 0;
|
|
2937
|
+
let hi = starts.length - 1;
|
|
2938
|
+
while (lo < hi) {
|
|
2939
|
+
const mid = lo + hi + 1 >> 1;
|
|
2940
|
+
if (starts[mid] <= pos) lo = mid;
|
|
2941
|
+
else hi = mid - 1;
|
|
2942
|
+
}
|
|
2930
2943
|
return {
|
|
2931
|
-
line,
|
|
2932
|
-
column
|
|
2944
|
+
line: lo,
|
|
2945
|
+
column: pos - starts[lo]
|
|
2933
2946
|
};
|
|
2934
2947
|
}
|
|
2935
2948
|
const NULL_RE = /^(?:null|Null|NULL|~)$/;
|
|
@@ -6389,7 +6402,7 @@ function parse$2(text, options) {
|
|
|
6389
6402
|
}
|
|
6390
6403
|
|
|
6391
6404
|
//#endregion
|
|
6392
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6405
|
+
//#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
|
|
6393
6406
|
/**
|
|
6394
6407
|
* Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
|
|
6395
6408
|
* slice. Pure with respect to the filesystem.
|
|
@@ -6465,7 +6478,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
6465
6478
|
}
|
|
6466
6479
|
|
|
6467
6480
|
//#endregion
|
|
6468
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6481
|
+
//#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
|
|
6469
6482
|
/** Merge catalog sources; later sources win per dependency within a catalog. */
|
|
6470
6483
|
function mergeCatalogs(...sources) {
|
|
6471
6484
|
const result = {};
|
|
@@ -6550,7 +6563,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
6550
6563
|
}
|
|
6551
6564
|
|
|
6552
6565
|
//#endregion
|
|
6553
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6566
|
+
//#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
|
|
6554
6567
|
const DEP_FIELDS = [
|
|
6555
6568
|
"dependencies",
|
|
6556
6569
|
"devDependencies",
|
|
@@ -6621,7 +6634,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
|
|
|
6621
6634
|
}
|
|
6622
6635
|
|
|
6623
6636
|
//#endregion
|
|
6624
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6637
|
+
//#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
|
|
6625
6638
|
/**
|
|
6626
6639
|
* An immutable, fully-normalized catalog collection with the one
|
|
6627
6640
|
* resolution semantic shared by live and point-in-time resolution.
|
|
@@ -6712,7 +6725,7 @@ var CatalogSet = class CatalogSet extends Schema.Class("CatalogSet")({ entries:
|
|
|
6712
6725
|
};
|
|
6713
6726
|
|
|
6714
6727
|
//#endregion
|
|
6715
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6728
|
+
//#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
|
|
6716
6729
|
/**
|
|
6717
6730
|
* The ONE code path that reads the working tree's catalog sources
|
|
6718
6731
|
* (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
|
|
@@ -8268,7 +8281,7 @@ minimatch.escape = escape;
|
|
|
8268
8281
|
minimatch.unescape = unescape;
|
|
8269
8282
|
|
|
8270
8283
|
//#endregion
|
|
8271
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8284
|
+
//#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
|
|
8272
8285
|
/**
|
|
8273
8286
|
* Schema for supported package manager identifiers.
|
|
8274
8287
|
*
|
|
@@ -8596,7 +8609,7 @@ var WorkspaceInfo = class extends Schema.Class("WorkspaceInfo")({
|
|
|
8596
8609
|
}) {};
|
|
8597
8610
|
|
|
8598
8611
|
//#endregion
|
|
8599
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8612
|
+
//#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
|
|
8600
8613
|
const DepRecord = Schema.optionalWith(Schema.Record({
|
|
8601
8614
|
key: Schema.String,
|
|
8602
8615
|
value: Schema.String
|
|
@@ -8666,7 +8679,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
8666
8679
|
};
|
|
8667
8680
|
|
|
8668
8681
|
//#endregion
|
|
8669
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8682
|
+
//#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
|
|
8670
8683
|
/**
|
|
8671
8684
|
* Service for reading a monorepo's workspace state at a specific moment: any
|
|
8672
8685
|
* git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
|
|
@@ -8694,7 +8707,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
8694
8707
|
var PointInTimeWorkspace = class extends Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
|
|
8695
8708
|
|
|
8696
8709
|
//#endregion
|
|
8697
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8710
|
+
//#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
|
|
8698
8711
|
const normalize$2 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
|
|
8699
8712
|
const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
|
|
8700
8713
|
/**
|
|
@@ -8738,7 +8751,7 @@ const compileWorkspaceGlobs = (patterns) => {
|
|
|
8738
8751
|
};
|
|
8739
8752
|
|
|
8740
8753
|
//#endregion
|
|
8741
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8754
|
+
//#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
|
|
8742
8755
|
/**
|
|
8743
8756
|
* Stderr shapes that mean "the path is not present at this ref" rather than
|
|
8744
8757
|
* "the git command failed."
|
|
@@ -8831,7 +8844,7 @@ const makeGitReader = (executor, options) => {
|
|
|
8831
8844
|
};
|
|
8832
8845
|
|
|
8833
8846
|
//#endregion
|
|
8834
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8847
|
+
//#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
|
|
8835
8848
|
/**
|
|
8836
8849
|
* Live layer for the {@link PointInTimeWorkspace} service.
|
|
8837
8850
|
*
|
|
@@ -8973,7 +8986,7 @@ const PointInTimeWorkspaceLive = Layer.effect(PointInTimeWorkspace, Effect.gen(f
|
|
|
8973
8986
|
}));
|
|
8974
8987
|
|
|
8975
8988
|
//#endregion
|
|
8976
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8989
|
+
//#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
|
|
8977
8990
|
/**
|
|
8978
8991
|
* Schema for package publish targets.
|
|
8979
8992
|
*
|
|
@@ -9017,7 +9030,7 @@ var PublishTarget = class extends Schema.Class("PublishTarget")({
|
|
|
9017
9030
|
}) {};
|
|
9018
9031
|
|
|
9019
9032
|
//#endregion
|
|
9020
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9033
|
+
//#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
|
|
9021
9034
|
/**
|
|
9022
9035
|
* Service for detecting whether a workspace package is publishable and
|
|
9023
9036
|
* identifying its publish targets (npm, GitHub Packages, etc.).
|
|
@@ -9080,7 +9093,7 @@ var PublishTarget = class extends Schema.Class("PublishTarget")({
|
|
|
9080
9093
|
var PublishabilityDetector = class extends Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
|
|
9081
9094
|
|
|
9082
9095
|
//#endregion
|
|
9083
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9096
|
+
//#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
|
|
9084
9097
|
/**
|
|
9085
9098
|
* Default live implementation of the {@link PublishabilityDetector} service.
|
|
9086
9099
|
*
|
|
@@ -9153,7 +9166,7 @@ const PublishabilityDetectorLive = Layer.succeed(PublishabilityDetector, { detec
|
|
|
9153
9166
|
}).pipe(Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
|
|
9154
9167
|
|
|
9155
9168
|
//#endregion
|
|
9156
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9169
|
+
//#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
|
|
9157
9170
|
/**
|
|
9158
9171
|
* Live implementation of the {@link WorkspaceDiscovery} service.
|
|
9159
9172
|
*
|
|
@@ -9441,7 +9454,7 @@ const WorkspaceDiscoveryLive = Layer.effect(WorkspaceDiscovery, Effect.gen(funct
|
|
|
9441
9454
|
}));
|
|
9442
9455
|
|
|
9443
9456
|
//#endregion
|
|
9444
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9457
|
+
//#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
|
|
9445
9458
|
/**
|
|
9446
9459
|
* Live implementation of the {@link WorkspaceRoot} service.
|
|
9447
9460
|
*
|
|
@@ -34464,7 +34477,7 @@ var ChangelogTransformer = class ChangelogTransformer {
|
|
|
34464
34477
|
};
|
|
34465
34478
|
|
|
34466
34479
|
//#endregion
|
|
34467
|
-
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.
|
|
34480
|
+
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.5/node_modules/fdir/dist/index.mjs
|
|
34468
34481
|
var __require = /* @__PURE__ */ createRequire$1(import.meta.url);
|
|
34469
34482
|
function cleanPath(path) {
|
|
34470
34483
|
let normalized = normalize$1(path);
|
|
@@ -34973,7 +34986,7 @@ var Builder = class {
|
|
|
34973
34986
|
};
|
|
34974
34987
|
|
|
34975
34988
|
//#endregion
|
|
34976
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34989
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js
|
|
34977
34990
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34978
34991
|
const WIN_SLASH = "\\\\/";
|
|
34979
34992
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -35147,7 +35160,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35147
35160
|
}));
|
|
35148
35161
|
|
|
35149
35162
|
//#endregion
|
|
35150
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
35163
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js
|
|
35151
35164
|
var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
35152
35165
|
const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants();
|
|
35153
35166
|
exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -35196,7 +35209,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35196
35209
|
}));
|
|
35197
35210
|
|
|
35198
35211
|
//#endregion
|
|
35199
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
35212
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js
|
|
35200
35213
|
var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35201
35214
|
const utils = require_utils$1();
|
|
35202
35215
|
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();
|
|
@@ -35484,7 +35497,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35484
35497
|
}));
|
|
35485
35498
|
|
|
35486
35499
|
//#endregion
|
|
35487
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
35500
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js
|
|
35488
35501
|
var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35489
35502
|
const constants = require_constants();
|
|
35490
35503
|
const utils = require_utils$1();
|
|
@@ -35639,7 +35652,10 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35639
35652
|
}
|
|
35640
35653
|
}
|
|
35641
35654
|
};
|
|
35642
|
-
const
|
|
35655
|
+
const buildCharClassStar = (chars) => {
|
|
35656
|
+
return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
|
|
35657
|
+
};
|
|
35658
|
+
const getStarExtglobSequenceChars = (pattern) => {
|
|
35643
35659
|
let index = 0;
|
|
35644
35660
|
const chars = [];
|
|
35645
35661
|
while (index < pattern.length) {
|
|
@@ -35653,7 +35669,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35653
35669
|
index += match.end + 1;
|
|
35654
35670
|
}
|
|
35655
35671
|
if (chars.length < 1) return;
|
|
35656
|
-
return
|
|
35672
|
+
return chars;
|
|
35657
35673
|
};
|
|
35658
35674
|
const repeatedExtglobRecursion = (pattern) => {
|
|
35659
35675
|
let depth = 0;
|
|
@@ -35673,14 +35689,28 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35673
35689
|
if (branches.length > 1) {
|
|
35674
35690
|
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
|
|
35675
35691
|
}
|
|
35692
|
+
const safeChars = [];
|
|
35693
|
+
let sawStarSequence = false;
|
|
35694
|
+
let combinable = true;
|
|
35676
35695
|
for (const branch of branches) {
|
|
35677
|
-
const
|
|
35678
|
-
if (
|
|
35679
|
-
|
|
35680
|
-
|
|
35681
|
-
|
|
35696
|
+
const chars = getStarExtglobSequenceChars(branch);
|
|
35697
|
+
if (chars) {
|
|
35698
|
+
sawStarSequence = true;
|
|
35699
|
+
safeChars.push(...chars);
|
|
35700
|
+
continue;
|
|
35701
|
+
}
|
|
35702
|
+
const literal = normalizeSimpleBranch(branch);
|
|
35703
|
+
if (literal && literal.length === 1) {
|
|
35704
|
+
safeChars.push(literal);
|
|
35705
|
+
continue;
|
|
35706
|
+
}
|
|
35707
|
+
combinable = false;
|
|
35682
35708
|
if (repeatedExtglobRecursion(branch) > max) return { risky: true };
|
|
35683
35709
|
}
|
|
35710
|
+
if (sawStarSequence) return combinable ? {
|
|
35711
|
+
risky: true,
|
|
35712
|
+
safeOutput: buildCharClassStar([...new Set(safeChars)])
|
|
35713
|
+
} : { risky: true };
|
|
35684
35714
|
return { risky: false };
|
|
35685
35715
|
};
|
|
35686
35716
|
/**
|
|
@@ -36542,7 +36572,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36542
36572
|
}));
|
|
36543
36573
|
|
|
36544
36574
|
//#endregion
|
|
36545
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
36575
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js
|
|
36546
36576
|
var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
36547
36577
|
const scan = require_scan();
|
|
36548
36578
|
const parse = require_parse$1();
|
|
@@ -36563,6 +36593,18 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36563
36593
|
* const isMatch = picomatch('*.!(*a)');
|
|
36564
36594
|
* console.log(isMatch('a.a')); //=> false
|
|
36565
36595
|
* console.log(isMatch('a.b')); //=> true
|
|
36596
|
+
*
|
|
36597
|
+
* // For environments without `node.js`, `picomatch/posix` provides you a dependency-free matcher, without automatic OS detection.
|
|
36598
|
+
* const picomatch = require('picomatch/posix');
|
|
36599
|
+
* // the same API, defaulting to posix paths
|
|
36600
|
+
* const isMatch = picomatch('a/*');
|
|
36601
|
+
* console.log(isMatch('a\\b')); //=> false
|
|
36602
|
+
* console.log(isMatch('a/b')); //=> true
|
|
36603
|
+
*
|
|
36604
|
+
* // you can still configure the matcher function to accept windows paths
|
|
36605
|
+
* const isMatch = picomatch('a/*', { options: windows });
|
|
36606
|
+
* console.log(isMatch('a\\b')); //=> true
|
|
36607
|
+
* console.log(isMatch('a/b')); //=> true
|
|
36566
36608
|
* ```
|
|
36567
36609
|
* @name picomatch
|
|
36568
36610
|
* @param {String|Array} `globs` One or more glob patterns.
|
|
@@ -36681,8 +36723,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36681
36723
|
* @return {Boolean}
|
|
36682
36724
|
* @api public
|
|
36683
36725
|
*/
|
|
36684
|
-
picomatch.matchBase = (input, glob, options) => {
|
|
36685
|
-
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input));
|
|
36726
|
+
picomatch.matchBase = (input, glob, options, posix = options && options.windows) => {
|
|
36727
|
+
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input, { windows: posix }));
|
|
36686
36728
|
};
|
|
36687
36729
|
/**
|
|
36688
36730
|
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
@@ -36843,7 +36885,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36843
36885
|
}));
|
|
36844
36886
|
|
|
36845
36887
|
//#endregion
|
|
36846
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
36888
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/index.js
|
|
36847
36889
|
var require_picomatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
36848
36890
|
const pico = require_picomatch$1();
|
|
36849
36891
|
const utils = require_utils$1();
|