@savvy-web/silk 1.2.0 → 1.3.0
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/_virtual/_rolldown/runtime.js +1 -1
- package/changesets-changelog.cjs +51 -71
- package/changesets-changelog.d.cts +22 -11
- package/changesets-changelog.d.ts +22 -11
- package/changesets-markdownlint.cjs +51 -71
- package/changesets-markdownlint.d.cts +22 -11
- package/changesets-markdownlint.d.ts +22 -11
- package/package.json +8 -8
- package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.cjs +0 -2
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.js +0 -2
- package/packages/silk-effects/dist/dev/pkg/changesets/constants.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/constants.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/errors.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/errors.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.cjs +2 -2
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js +2 -2
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.cjs +1 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.js +1 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.cjs +2 -3
- package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.js +2 -3
- package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.cjs +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.js +0 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.cjs +3 -4
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.js +3 -4
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.cjs +1 -1
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.js +1 -1
- package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.cjs +2 -1
- package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.js +2 -1
- package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.cjs +7 -3
- package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.js +7 -3
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.cjs +2 -0
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.js +2 -0
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.cjs +4 -2
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.js +4 -2
- package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.cjs +17 -13
- package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.js +17 -13
|
@@ -3298,7 +3298,7 @@ type Label = Label$1;
|
|
|
3298
3298
|
type Severity = Severity$1;
|
|
3299
3299
|
type Plugin<Tree extends Node$3 = Node$3, Option extends unknown = unknown> = (config?: [level: Label | Severity | boolean, option?: Option] | Label | Option | Severity) => ((tree: Tree, file: VFile, next: TransformCallback<Tree>) => undefined) | undefined;
|
|
3300
3300
|
//#endregion
|
|
3301
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.
|
|
3301
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3302
3302
|
/**
|
|
3303
3303
|
* Result of comparing two WorkspacePackage dependency snapshots.
|
|
3304
3304
|
* @public
|
|
@@ -6201,7 +6201,6 @@ declare const changelogFunctions$1: ChangelogFunctions; //#endregion
|
|
|
6201
6201
|
*
|
|
6202
6202
|
* @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
|
|
6203
6203
|
*
|
|
6204
|
-
* @packageDocumentation
|
|
6205
6204
|
*/
|
|
6206
6205
|
/**
|
|
6207
6206
|
* Base class for {@link ChangesetValidationError}.
|
|
@@ -6539,10 +6538,11 @@ declare const ChangesetConfigError_base: new <A extends Record<string, any> = {}
|
|
|
6539
6538
|
* Raised when the `.changeset/config.json` file cannot be read or decoded.
|
|
6540
6539
|
*
|
|
6541
6540
|
* @remarks
|
|
6542
|
-
* Returned by
|
|
6541
|
+
* Returned by `ChangesetConfigReader.read` when the file is missing,
|
|
6543
6542
|
* contains invalid JSON, or fails Effect Schema validation.
|
|
6544
6543
|
*
|
|
6545
6544
|
* @since 0.1.0
|
|
6545
|
+
* @public
|
|
6546
6546
|
*/
|
|
6547
6547
|
declare class ChangesetConfigError extends ChangesetConfigError_base<{
|
|
6548
6548
|
readonly path: string;
|
|
@@ -6556,11 +6556,12 @@ declare class ChangesetConfigError extends ChangesetConfigError_base<{
|
|
|
6556
6556
|
*
|
|
6557
6557
|
* @remarks
|
|
6558
6558
|
* Represents the parsed `.changeset/config.json` file. All fields are optional
|
|
6559
|
-
* to allow partial configs. Use {@link SilkChangesetConfigFile} when the Silk changelog
|
|
6559
|
+
* to allow partial configs. Use {@link (SilkChangesetConfigFile:type)} when the Silk changelog
|
|
6560
6560
|
* adapter is detected.
|
|
6561
6561
|
*
|
|
6562
6562
|
* @since 0.1.0
|
|
6563
6563
|
*/
|
|
6564
|
+
/** @public */
|
|
6564
6565
|
declare const ChangesetConfigFile: Schema.Struct<{
|
|
6565
6566
|
changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
|
|
6566
6567
|
commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
|
|
@@ -6582,18 +6583,22 @@ declare const ChangesetConfigFile: Schema.Struct<{
|
|
|
6582
6583
|
prereleaseTemplate: Schema.optional<typeof Schema.String>;
|
|
6583
6584
|
}>>;
|
|
6584
6585
|
}>;
|
|
6585
|
-
/**
|
|
6586
|
+
/**
|
|
6587
|
+
* @since 0.1.0
|
|
6588
|
+
* @public
|
|
6589
|
+
*/
|
|
6586
6590
|
type ChangesetConfigFile = typeof ChangesetConfigFile.Type;
|
|
6587
6591
|
/**
|
|
6588
6592
|
* Extended changeset config for repos using the `@savvy-web/changesets` changelog adapter.
|
|
6589
6593
|
*
|
|
6590
6594
|
* @remarks
|
|
6591
|
-
* Extends {@link ChangesetConfigFile} with a `_isSilk` marker flag that is automatically
|
|
6595
|
+
* Extends {@link (ChangesetConfigFile:type)} with a `_isSilk` marker flag that is automatically
|
|
6592
6596
|
* set to `true`. Detected by {@link ChangesetConfigReader} when the `changelog` field
|
|
6593
6597
|
* references `@savvy-web/changesets`.
|
|
6594
6598
|
*
|
|
6595
6599
|
* @since 0.1.0
|
|
6596
6600
|
*/
|
|
6601
|
+
/** @public */
|
|
6597
6602
|
declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
|
|
6598
6603
|
changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
|
|
6599
6604
|
commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
|
|
@@ -6619,7 +6624,10 @@ declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
|
|
|
6619
6624
|
default: () => true;
|
|
6620
6625
|
}>;
|
|
6621
6626
|
}>>;
|
|
6622
|
-
/**
|
|
6627
|
+
/**
|
|
6628
|
+
* @since 0.1.0
|
|
6629
|
+
* @public
|
|
6630
|
+
*/
|
|
6623
6631
|
type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
|
|
6624
6632
|
/**
|
|
6625
6633
|
* Versioning strategy classification for a workspace.
|
|
@@ -6630,6 +6638,7 @@ type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
|
|
|
6630
6638
|
* - `"independent"` — multiple publishable packages with independent version bumps.
|
|
6631
6639
|
*
|
|
6632
6640
|
* @since 0.1.0
|
|
6641
|
+
* @public
|
|
6633
6642
|
*/
|
|
6634
6643
|
//#endregion
|
|
6635
6644
|
//#region src/services/ChangesetConfigReader.d.ts
|
|
@@ -6649,8 +6658,8 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
|
|
|
6649
6658
|
*
|
|
6650
6659
|
* @remarks
|
|
6651
6660
|
* Automatically detects whether the config uses the Silk changelog adapter
|
|
6652
|
-
* (`@savvy-web/changesets`) and decodes as {@link SilkChangesetConfigFile} or the
|
|
6653
|
-
* standard {@link ChangesetConfigFile} accordingly.
|
|
6661
|
+
* (`@savvy-web/changesets`) and decodes as {@link (SilkChangesetConfigFile:type)} or the
|
|
6662
|
+
* standard {@link (ChangesetConfigFile:type)} accordingly.
|
|
6654
6663
|
*
|
|
6655
6664
|
* @example
|
|
6656
6665
|
* ```typescript
|
|
@@ -6666,6 +6675,7 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
|
|
|
6666
6675
|
* ```
|
|
6667
6676
|
*
|
|
6668
6677
|
* @since 0.1.0
|
|
6678
|
+
* @public
|
|
6669
6679
|
*/
|
|
6670
6680
|
declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
|
|
6671
6681
|
/**
|
|
@@ -6676,6 +6686,7 @@ declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
|
|
|
6676
6686
|
* `BunContext.layer` to satisfy this dependency.
|
|
6677
6687
|
*
|
|
6678
6688
|
* @since 0.1.0
|
|
6689
|
+
* @public
|
|
6679
6690
|
*/
|
|
6680
6691
|
//#endregion
|
|
6681
6692
|
//#region src/changesets/services/config-inspector.d.ts
|
|
@@ -6808,7 +6819,7 @@ declare class ConfigInspector extends ConfigInspectorBase {}
|
|
|
6808
6819
|
/**
|
|
6809
6820
|
* Live layer for {@link ConfigInspector}.
|
|
6810
6821
|
*
|
|
6811
|
-
* Requires {@link ChangesetConfigReader} and
|
|
6822
|
+
* Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
|
|
6812
6823
|
* in the environment.
|
|
6813
6824
|
*
|
|
6814
6825
|
* @public
|
|
@@ -8302,7 +8313,7 @@ declare function serializeDependencyTableToMarkdown(rows: DependencyTableRow[]):
|
|
|
8302
8313
|
* Compute the set of currently-publishable workspace package names.
|
|
8303
8314
|
*
|
|
8304
8315
|
* @remarks
|
|
8305
|
-
* Uses the currently-active {@link
|
|
8316
|
+
* Uses the currently-active {@link SilkPublishability} — wire the
|
|
8306
8317
|
* {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
|
|
8307
8318
|
*
|
|
8308
8319
|
* @param packages - The workspace packages to evaluate
|
|
@@ -637,7 +637,6 @@ var Categories = class {
|
|
|
637
637
|
*
|
|
638
638
|
* @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
|
|
639
639
|
*
|
|
640
|
-
* @packageDocumentation
|
|
641
640
|
*/
|
|
642
641
|
/**
|
|
643
642
|
* Base class for {@link ChangesetValidationError}.
|
|
@@ -972,7 +971,6 @@ var ReleasePlanError = class extends ReleasePlanErrorBase {
|
|
|
972
971
|
* @see {@link PackageScopeSchema} for the new per-package container
|
|
973
972
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
974
973
|
*
|
|
975
|
-
* @packageDocumentation
|
|
976
974
|
*/
|
|
977
975
|
/**
|
|
978
976
|
* Schema for a JSONPath expression starting with `$.`.
|
|
@@ -1132,7 +1130,6 @@ const LegacyVersionFilesSchema = effect.Schema.Array(LegacyVersionFileConfigSche
|
|
|
1132
1130
|
* @see {@link VersionFileConfigSchema} for the version-file entry shape
|
|
1133
1131
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
1134
1132
|
*
|
|
1135
|
-
* @packageDocumentation
|
|
1136
1133
|
*/
|
|
1137
1134
|
/**
|
|
1138
1135
|
* Schema for a single repo-relative glob pattern.
|
|
@@ -1234,7 +1231,6 @@ const PackagesRecordSchema = effect.Schema.Record({
|
|
|
1234
1231
|
* @see {@link https://github.com/changesets/changesets/blob/main/docs/config-file-options.md | Changesets config docs}
|
|
1235
1232
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
1236
1233
|
*
|
|
1237
|
-
* @packageDocumentation
|
|
1238
1234
|
*/
|
|
1239
1235
|
/** Regex for `owner/repo` format, shared between schema and validation. */
|
|
1240
1236
|
const REPO_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
|
|
@@ -37306,7 +37302,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJSMin$1(((exports, modul
|
|
|
37306
37302
|
function isC0ControlPercentEncode(c) {
|
|
37307
37303
|
return c <= 31 || c > 126;
|
|
37308
37304
|
}
|
|
37309
|
-
const extraPathPercentEncodeSet = new Set([
|
|
37305
|
+
const extraPathPercentEncodeSet = /* @__PURE__ */ new Set([
|
|
37310
37306
|
32,
|
|
37311
37307
|
34,
|
|
37312
37308
|
35,
|
|
@@ -37320,7 +37316,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJSMin$1(((exports, modul
|
|
|
37320
37316
|
function isPathPercentEncode(c) {
|
|
37321
37317
|
return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);
|
|
37322
37318
|
}
|
|
37323
|
-
const extraUserinfoPercentEncodeSet = new Set([
|
|
37319
|
+
const extraUserinfoPercentEncodeSet = /* @__PURE__ */ new Set([
|
|
37324
37320
|
47,
|
|
37325
37321
|
58,
|
|
37326
37322
|
59,
|
|
@@ -37846,7 +37842,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJSMin$1(((exports, modul
|
|
|
37846
37842
|
}
|
|
37847
37843
|
return true;
|
|
37848
37844
|
};
|
|
37849
|
-
const fileOtherwiseCodePoints = new Set([
|
|
37845
|
+
const fileOtherwiseCodePoints = /* @__PURE__ */ new Set([
|
|
37850
37846
|
47,
|
|
37851
37847
|
92,
|
|
37852
37848
|
63,
|
|
@@ -59647,7 +59643,6 @@ const MarkdownLive = effect.Layer.succeed(MarkdownService, {
|
|
|
59647
59643
|
*
|
|
59648
59644
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
59649
59645
|
*
|
|
59650
|
-
* @packageDocumentation
|
|
59651
59646
|
*/
|
|
59652
59647
|
/**
|
|
59653
59648
|
* A non-empty string schema.
|
|
@@ -59723,7 +59718,6 @@ const PositiveInteger = effect.Schema.Number.pipe(effect.Schema.int(), effect.Sc
|
|
|
59723
59718
|
* @see {@link DependencyUpdateSchema} for the simpler Changesets API format
|
|
59724
59719
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
59725
59720
|
*
|
|
59726
|
-
* @packageDocumentation
|
|
59727
59721
|
*/
|
|
59728
59722
|
/**
|
|
59729
59723
|
* Valid dependency table actions.
|
|
@@ -60291,7 +60285,6 @@ function extractUrlFromMarkdown(linkOrUrl) {
|
|
|
60291
60285
|
*
|
|
60292
60286
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
60293
60287
|
*
|
|
60294
|
-
* @packageDocumentation
|
|
60295
60288
|
*/
|
|
60296
60289
|
/**
|
|
60297
60290
|
* Test whether a string is a valid URL.
|
|
@@ -61146,8 +61139,6 @@ function getReleaseLine(changeset, versionType, options) {
|
|
|
61146
61139
|
*
|
|
61147
61140
|
* @see {@link getReleaseLine} in `./getReleaseLine.ts` for individual changeset formatting
|
|
61148
61141
|
* @see {@link getDependencyReleaseLine} in `./getDependencyReleaseLine.ts` for dependency table formatting
|
|
61149
|
-
*
|
|
61150
|
-
* @packageDocumentation
|
|
61151
61142
|
*/
|
|
61152
61143
|
/**
|
|
61153
61144
|
* Combined layer providing all services needed by the formatters.
|
|
@@ -61492,7 +61483,6 @@ var DependencyTable = class {
|
|
|
61492
61483
|
* - `CSH005` -- Frontmatter validation
|
|
61493
61484
|
*
|
|
61494
61485
|
* @internal
|
|
61495
|
-
* @packageDocumentation
|
|
61496
61486
|
*/
|
|
61497
61487
|
/** Base URL for rule documentation on GitHub. */
|
|
61498
61488
|
const DOCS_BASE = "https://github.com/savvy-web/changesets/blob/main/docs/rules";
|
|
@@ -61676,7 +61666,7 @@ const RequiredSectionsRule$2 = lintRule("remark-lint:changeset-required-sections
|
|
|
61676
61666
|
*
|
|
61677
61667
|
* @internal
|
|
61678
61668
|
*/
|
|
61679
|
-
const IGNORED_TYPES = new Set(["html"]);
|
|
61669
|
+
const IGNORED_TYPES = /* @__PURE__ */ new Set(["html"]);
|
|
61680
61670
|
/**
|
|
61681
61671
|
* Determine whether a node is substantive content (not a heading or ignored type).
|
|
61682
61672
|
*
|
|
@@ -62435,10 +62425,11 @@ var ChangelogTransformer = class ChangelogTransformer {
|
|
|
62435
62425
|
* Raised when the `.changeset/config.json` file cannot be read or decoded.
|
|
62436
62426
|
*
|
|
62437
62427
|
* @remarks
|
|
62438
|
-
* Returned by
|
|
62428
|
+
* Returned by `ChangesetConfigReader.read` when the file is missing,
|
|
62439
62429
|
* contains invalid JSON, or fails Effect Schema validation.
|
|
62440
62430
|
*
|
|
62441
62431
|
* @since 0.1.0
|
|
62432
|
+
* @public
|
|
62442
62433
|
*/
|
|
62443
62434
|
var ChangesetConfigError = class extends effect.Data.TaggedError("ChangesetConfigError") {
|
|
62444
62435
|
get message() {
|
|
@@ -62480,11 +62471,12 @@ const SnapshotConfig = effect.Schema.Struct({
|
|
|
62480
62471
|
*
|
|
62481
62472
|
* @remarks
|
|
62482
62473
|
* Represents the parsed `.changeset/config.json` file. All fields are optional
|
|
62483
|
-
* to allow partial configs. Use {@link SilkChangesetConfigFile} when the Silk changelog
|
|
62474
|
+
* to allow partial configs. Use {@link (SilkChangesetConfigFile:type)} when the Silk changelog
|
|
62484
62475
|
* adapter is detected.
|
|
62485
62476
|
*
|
|
62486
62477
|
* @since 0.1.0
|
|
62487
62478
|
*/
|
|
62479
|
+
/** @public */
|
|
62488
62480
|
const ChangesetConfigFile = effect.Schema.Struct({
|
|
62489
62481
|
changelog: effect.Schema.optional(effect.Schema.Union(effect.Schema.String, effect.Schema.Array(effect.Schema.Unknown), effect.Schema.Literal(false))),
|
|
62490
62482
|
commit: effect.Schema.optional(effect.Schema.Union(effect.Schema.Boolean, effect.Schema.String, effect.Schema.Array(effect.Schema.Unknown))),
|
|
@@ -62504,12 +62496,13 @@ const ChangesetConfigFile = effect.Schema.Struct({
|
|
|
62504
62496
|
* Extended changeset config for repos using the `@savvy-web/changesets` changelog adapter.
|
|
62505
62497
|
*
|
|
62506
62498
|
* @remarks
|
|
62507
|
-
* Extends {@link ChangesetConfigFile} with a `_isSilk` marker flag that is automatically
|
|
62499
|
+
* Extends {@link (ChangesetConfigFile:type)} with a `_isSilk` marker flag that is automatically
|
|
62508
62500
|
* set to `true`. Detected by {@link ChangesetConfigReader} when the `changelog` field
|
|
62509
62501
|
* references `@savvy-web/changesets`.
|
|
62510
62502
|
*
|
|
62511
62503
|
* @since 0.1.0
|
|
62512
62504
|
*/
|
|
62505
|
+
/** @public */
|
|
62513
62506
|
const SilkChangesetConfigFile = effect.Schema.extend(ChangesetConfigFile, effect.Schema.Struct({ _isSilk: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => true }) }));
|
|
62514
62507
|
/**
|
|
62515
62508
|
* Versioning strategy classification for a workspace.
|
|
@@ -62520,6 +62513,7 @@ const SilkChangesetConfigFile = effect.Schema.extend(ChangesetConfigFile, effect
|
|
|
62520
62513
|
* - `"independent"` — multiple publishable packages with independent version bumps.
|
|
62521
62514
|
*
|
|
62522
62515
|
* @since 0.1.0
|
|
62516
|
+
* @public
|
|
62523
62517
|
*/
|
|
62524
62518
|
const VersioningStrategyType = effect.Schema.Literal("single", "fixed-group", "independent");
|
|
62525
62519
|
effect.Schema.Struct({
|
|
@@ -62551,8 +62545,8 @@ function isSilkChangelog(changelog) {
|
|
|
62551
62545
|
*
|
|
62552
62546
|
* @remarks
|
|
62553
62547
|
* Automatically detects whether the config uses the Silk changelog adapter
|
|
62554
|
-
* (`@savvy-web/changesets`) and decodes as {@link SilkChangesetConfigFile} or the
|
|
62555
|
-
* standard {@link ChangesetConfigFile} accordingly.
|
|
62548
|
+
* (`@savvy-web/changesets`) and decodes as {@link (SilkChangesetConfigFile:type)} or the
|
|
62549
|
+
* standard {@link (ChangesetConfigFile:type)} accordingly.
|
|
62556
62550
|
*
|
|
62557
62551
|
* @example
|
|
62558
62552
|
* ```typescript
|
|
@@ -62568,6 +62562,7 @@ function isSilkChangelog(changelog) {
|
|
|
62568
62562
|
* ```
|
|
62569
62563
|
*
|
|
62570
62564
|
* @since 0.1.0
|
|
62565
|
+
* @public
|
|
62571
62566
|
*/
|
|
62572
62567
|
var ChangesetConfigReader = class extends effect.Context.Tag("@savvy-web/silk-effects/ChangesetConfigReader")() {};
|
|
62573
62568
|
effect.Layer.effect(ChangesetConfigReader, effect.Effect.gen(function* () {
|
|
@@ -62628,6 +62623,7 @@ effect.Layer.effect(ChangesetConfigReader, effect.Effect.gen(function* () {
|
|
|
62628
62623
|
* to `mode: "none"` and empty/false defaults.
|
|
62629
62624
|
*
|
|
62630
62625
|
* @since 0.4.0
|
|
62626
|
+
* @public
|
|
62631
62627
|
*/
|
|
62632
62628
|
var ChangesetConfig = class extends effect.Context.Tag("@savvy-web/silk-effects/ChangesetConfig")() {
|
|
62633
62629
|
/**
|
|
@@ -62698,7 +62694,7 @@ var PnpmError = class extends Error {
|
|
|
62698
62694
|
}
|
|
62699
62695
|
};
|
|
62700
62696
|
//#endregion
|
|
62701
|
-
//#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.
|
|
62697
|
+
//#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.1/node_modules/@pnpm/catalogs.config/lib/getCatalogsFromWorkspaceManifest.js
|
|
62702
62698
|
function getCatalogsFromWorkspaceManifest(workspaceManifest) {
|
|
62703
62699
|
if (workspaceManifest == null) return {};
|
|
62704
62700
|
checkDefaultCatalogIsDefinedOnce(workspaceManifest);
|
|
@@ -62711,7 +62707,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
62711
62707
|
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.");
|
|
62712
62708
|
}
|
|
62713
62709
|
//#endregion
|
|
62714
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.6.0_effect@3.21.
|
|
62710
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.6.0_effect@3.21.4/node_modules/yaml-effect/index.js
|
|
62715
62711
|
const YamlComposerErrorBase = effect.Data.TaggedError("YamlComposerError");
|
|
62716
62712
|
var YamlComposerError_YamlComposerError = class extends YamlComposerErrorBase {
|
|
62717
62713
|
get message() {
|
|
@@ -67722,7 +67718,7 @@ const stringify_NAN_RE = /^\.(?:nan|NaN|NAN)$/;
|
|
|
67722
67718
|
function isControlChar(code) {
|
|
67723
67719
|
return code >= 0 && code <= 8 || 11 === code || 12 === code || code >= 14 && code <= 31;
|
|
67724
67720
|
}
|
|
67725
|
-
const INDICATOR_CHARS = new Set([
|
|
67721
|
+
const INDICATOR_CHARS = /* @__PURE__ */ new Set([
|
|
67726
67722
|
":",
|
|
67727
67723
|
"#",
|
|
67728
67724
|
"{",
|
|
@@ -69125,7 +69121,7 @@ const unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}
|
|
|
69125
69121
|
//#endregion
|
|
69126
69122
|
//#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/ast.js
|
|
69127
69123
|
var _a;
|
|
69128
|
-
const types$1 = new Set([
|
|
69124
|
+
const types$1 = /* @__PURE__ */ new Set([
|
|
69129
69125
|
"!",
|
|
69130
69126
|
"?",
|
|
69131
69127
|
"+",
|
|
@@ -69134,7 +69130,7 @@ const types$1 = new Set([
|
|
|
69134
69130
|
]);
|
|
69135
69131
|
const isExtglobType = (c) => types$1.has(c);
|
|
69136
69132
|
const isExtglobAST = (c) => isExtglobType(c.type);
|
|
69137
|
-
const adoptionMap = new Map([
|
|
69133
|
+
const adoptionMap = /* @__PURE__ */ new Map([
|
|
69138
69134
|
["!", ["@"]],
|
|
69139
69135
|
["?", ["?", "@"]],
|
|
69140
69136
|
["@", ["@"]],
|
|
@@ -69146,12 +69142,12 @@ const adoptionMap = new Map([
|
|
|
69146
69142
|
]],
|
|
69147
69143
|
["+", ["+", "@"]]
|
|
69148
69144
|
]);
|
|
69149
|
-
const adoptionWithSpaceMap = new Map([
|
|
69145
|
+
const adoptionWithSpaceMap = /* @__PURE__ */ new Map([
|
|
69150
69146
|
["!", ["?"]],
|
|
69151
69147
|
["@", ["?"]],
|
|
69152
69148
|
["+", ["?", "*"]]
|
|
69153
69149
|
]);
|
|
69154
|
-
const adoptionAnyMap = new Map([
|
|
69150
|
+
const adoptionAnyMap = /* @__PURE__ */ new Map([
|
|
69155
69151
|
["!", ["?", "@"]],
|
|
69156
69152
|
["?", ["?", "@"]],
|
|
69157
69153
|
["@", ["?", "@"]],
|
|
@@ -69168,22 +69164,22 @@ const adoptionAnyMap = new Map([
|
|
|
69168
69164
|
"*"
|
|
69169
69165
|
]]
|
|
69170
69166
|
]);
|
|
69171
|
-
const usurpMap = new Map([
|
|
69172
|
-
["!", new Map([["!", "@"]])],
|
|
69173
|
-
["?", new Map([["*", "*"], ["+", "*"]])],
|
|
69174
|
-
["@", new Map([
|
|
69167
|
+
const usurpMap = /* @__PURE__ */ new Map([
|
|
69168
|
+
["!", /* @__PURE__ */ new Map([["!", "@"]])],
|
|
69169
|
+
["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
|
|
69170
|
+
["@", /* @__PURE__ */ new Map([
|
|
69175
69171
|
["!", "!"],
|
|
69176
69172
|
["?", "?"],
|
|
69177
69173
|
["@", "@"],
|
|
69178
69174
|
["*", "*"],
|
|
69179
69175
|
["+", "+"]
|
|
69180
69176
|
])],
|
|
69181
|
-
["+", new Map([["?", "*"], ["*", "*"]])]
|
|
69177
|
+
["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
|
|
69182
69178
|
]);
|
|
69183
69179
|
const startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
69184
69180
|
const startNoDot = "(?!\\.)";
|
|
69185
|
-
const addPatternStart = new Set(["[", "."]);
|
|
69186
|
-
const justDots = new Set(["..", "."]);
|
|
69181
|
+
const addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
|
|
69182
|
+
const justDots = /* @__PURE__ */ new Set(["..", "."]);
|
|
69187
69183
|
const reSpecials = /* @__PURE__ */ new Set("().*{}+?[]^$\\!");
|
|
69188
69184
|
const regExpEscape$1 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
69189
69185
|
const qmark = "[^/]";
|
|
@@ -70269,7 +70265,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
70269
70265
|
minimatch.escape = escape;
|
|
70270
70266
|
minimatch.unescape = unescape;
|
|
70271
70267
|
//#endregion
|
|
70272
|
-
//#region ../../node_modules/.pnpm/semver-effect@0.2.1_effect@3.21.
|
|
70268
|
+
//#region ../../node_modules/.pnpm/semver-effect@0.2.1_effect@3.21.4/node_modules/semver-effect/index.js
|
|
70273
70269
|
const EmptyCacheErrorBase = effect.Data.TaggedError("EmptyCacheError");
|
|
70274
70270
|
var EmptyCacheError = class extends EmptyCacheErrorBase {
|
|
70275
70271
|
get message() {
|
|
@@ -72311,7 +72307,7 @@ effect.Schema.Class("JsoncFormattingOptions")({
|
|
|
72311
72307
|
keepLines: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
72312
72308
|
});
|
|
72313
72309
|
//#endregion
|
|
72314
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.
|
|
72310
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.js
|
|
72315
72311
|
const CatalogAssemblyErrorBase = effect.Data.TaggedError("CatalogAssemblyError");
|
|
72316
72312
|
var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
72317
72313
|
get message() {
|
|
@@ -72671,7 +72667,7 @@ const ChangeDetectorLive = effect.Layer.effect(ChangeDetector, effect.Effect.gen
|
|
|
72671
72667
|
const unstagedFiles = yield* runGitLines(cwd, "diff", "--name-only");
|
|
72672
72668
|
const stagedFiles = yield* runGitLines(cwd, "diff", "--name-only", "--cached");
|
|
72673
72669
|
const untrackedFiles = yield* runGitLines(cwd, "ls-files", "--others", "--exclude-standard");
|
|
72674
|
-
const allFiles = new Set([
|
|
72670
|
+
const allFiles = /* @__PURE__ */ new Set([
|
|
72675
72671
|
...committedFiles,
|
|
72676
72672
|
...unstagedFiles,
|
|
72677
72673
|
...stagedFiles,
|
|
@@ -72692,7 +72688,7 @@ const ChangeDetectorLive = effect.Layer.effect(ChangeDetector, effect.Effect.gen
|
|
|
72692
72688
|
const unstaged = yield* runGitLines(cwd, "diff", "--name-only");
|
|
72693
72689
|
const staged = yield* runGitLines(cwd, "diff", "--name-only", "--cached");
|
|
72694
72690
|
const untracked = yield* runGitLines(cwd, "ls-files", "--others", "--exclude-standard");
|
|
72695
|
-
files = [
|
|
72691
|
+
files = [.../* @__PURE__ */ new Set([
|
|
72696
72692
|
...files,
|
|
72697
72693
|
...unstaged,
|
|
72698
72694
|
...staged,
|
|
@@ -72718,7 +72714,7 @@ const ChangeDetectorLive = effect.Layer.effect(ChangeDetector, effect.Effect.gen
|
|
|
72718
72714
|
const unstaged = yield* runGitLines(cwd, "diff", "--name-only");
|
|
72719
72715
|
const staged = yield* runGitLines(cwd, "diff", "--name-only", "--cached");
|
|
72720
72716
|
const untracked = yield* runGitLines(cwd, "ls-files", "--others", "--exclude-standard");
|
|
72721
|
-
files = [
|
|
72717
|
+
files = [.../* @__PURE__ */ new Set([
|
|
72722
72718
|
...files,
|
|
72723
72719
|
...unstaged,
|
|
72724
72720
|
...staged,
|
|
@@ -74212,7 +74208,7 @@ const DEFAULT_REGISTRIES = {
|
|
|
74212
74208
|
*
|
|
74213
74209
|
* @remarks
|
|
74214
74210
|
* The npm public registry and GitHub Packages both accept provenance attestations through the
|
|
74215
|
-
* Sigstore/OIDC trusted-publishing flow, so a
|
|
74211
|
+
* Sigstore/OIDC trusted-publishing flow, so a `PublishTarget` bound to either is marked
|
|
74216
74212
|
* `provenance: true` by default — this is what gates the release action's attestation step. JSR
|
|
74217
74213
|
* and custom registries do not participate and resolve to `false`. Matching is endpoint-based
|
|
74218
74214
|
* (not target-key based) so a custom key pointed at one of these registries still opts in.
|
|
@@ -74228,7 +74224,7 @@ const provenanceForRegistry = (registry) => {
|
|
|
74228
74224
|
return hostname === "registry.npmjs.org" || hostname === "npm.pkg.github.com";
|
|
74229
74225
|
};
|
|
74230
74226
|
/**
|
|
74231
|
-
* Silk publishability rules over `workspaces-effect`'s
|
|
74227
|
+
* Silk publishability rules over `workspaces-effect`'s `PublishTarget`.
|
|
74232
74228
|
*
|
|
74233
74229
|
* @remarks
|
|
74234
74230
|
* In silk mode `private: true` is the norm on workspace `package.json`; publishability is
|
|
@@ -74236,6 +74232,7 @@ const provenanceForRegistry = (registry) => {
|
|
|
74236
74232
|
* default. All helpers are static so a consumer sees the full rule surface in one place.
|
|
74237
74233
|
*
|
|
74238
74234
|
* @since 0.4.0
|
|
74235
|
+
* @public
|
|
74239
74236
|
*/
|
|
74240
74237
|
var SilkPublishability = class {
|
|
74241
74238
|
/**
|
|
@@ -74244,7 +74241,7 @@ var SilkPublishability = class {
|
|
|
74244
74241
|
*
|
|
74245
74242
|
* - A non-empty `publishConfig.targets` map (the bundler's Record-map form) makes the
|
|
74246
74243
|
* package publishable regardless of `private`. With a `binding` (post-prod-build), one
|
|
74247
|
-
*
|
|
74244
|
+
* `PublishTarget` is emitted per resolved registry target, its `directory` set to
|
|
74248
74245
|
* the bound group's `dist/prod/<group>/pkg` dir. Without a binding (pre-build), one
|
|
74249
74246
|
* placeholder target is emitted per declared key so publishability and target counts
|
|
74250
74247
|
* are correct; the directory is best-effort and unused until the build writes the
|
|
@@ -74307,7 +74304,7 @@ var SilkPublishability = class {
|
|
|
74307
74304
|
return [];
|
|
74308
74305
|
}
|
|
74309
74306
|
/**
|
|
74310
|
-
* Resolve a package's publish targets via {@link
|
|
74307
|
+
* Resolve a package's publish targets via {@link SilkPublishability}, then drop any
|
|
74311
74308
|
* whose built `directory` package.json is `private: true`. Returned targets keep the
|
|
74312
74309
|
* detector's original (possibly package-relative) `directory`.
|
|
74313
74310
|
*/
|
|
@@ -74323,7 +74320,7 @@ var SilkPublishability = class {
|
|
|
74323
74320
|
}
|
|
74324
74321
|
/**
|
|
74325
74322
|
* The publishable, non-ignored packages, resolved through the single
|
|
74326
|
-
* {@link
|
|
74323
|
+
* {@link SilkPublishability} (which already honors changeset ignore in adaptive mode).
|
|
74327
74324
|
*/
|
|
74328
74325
|
static listPublishable(root) {
|
|
74329
74326
|
return effect.Effect.gen(function* () {
|
|
@@ -74359,12 +74356,13 @@ const readRaw = (fs, packageJsonPath) => fs.readFileString(packageJsonPath).pipe
|
|
|
74359
74356
|
*
|
|
74360
74357
|
* @remarks
|
|
74361
74358
|
* Returns `null` when the file is missing/unreadable/malformed — i.e. before the prod build
|
|
74362
|
-
* has run.
|
|
74363
|
-
* case. Used by the silk {@link
|
|
74359
|
+
* has run. `SilkPublishability.detect` falls back to declared-key placeholders in that
|
|
74360
|
+
* case. Used by the silk {@link SilkPublishability} layers and the workspace analyzer.
|
|
74364
74361
|
*
|
|
74365
74362
|
* @param fs - The FileSystem service.
|
|
74366
74363
|
* @param pkgPath - Absolute path to the package directory.
|
|
74367
74364
|
* @since 1.0.0
|
|
74365
|
+
* @public
|
|
74368
74366
|
*/
|
|
74369
74367
|
const readTargetsBinding = (fs, pkgPath) => fs.readFileString((0, node_path.join)(pkgPath, "dist", "prod", "targets.json")).pipe(effect.Effect.flatMap((content) => effect.Effect.try({
|
|
74370
74368
|
try: () => JSON.parse(content),
|
|
@@ -77087,7 +77085,6 @@ function globSync(globInput, options) {
|
|
|
77087
77085
|
* @see {@link ConfigInspector} for the Effect service tag
|
|
77088
77086
|
* @see {@link ConfigInspectorLive} for the production layer
|
|
77089
77087
|
*
|
|
77090
|
-
* @packageDocumentation
|
|
77091
77088
|
*/
|
|
77092
77089
|
/** A `versionFiles` entry expanded to its absolute target paths. @public */
|
|
77093
77090
|
const ResolvedVersionFileSchema = effect.Schema.Struct({
|
|
@@ -77499,7 +77496,7 @@ function classifyOne(inspected, path) {
|
|
|
77499
77496
|
/**
|
|
77500
77497
|
* Live layer for {@link ConfigInspector}.
|
|
77501
77498
|
*
|
|
77502
|
-
* Requires {@link ChangesetConfigReader} and
|
|
77499
|
+
* Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
|
|
77503
77500
|
* in the environment.
|
|
77504
77501
|
*
|
|
77505
77502
|
* @public
|
|
@@ -77564,7 +77561,6 @@ function makeConfigInspectorTest(fixed) {
|
|
|
77564
77561
|
* @see {@link BranchAnalyzerLive} for the production layer
|
|
77565
77562
|
* @see {@link ConfigInspector} for the underlying classification service
|
|
77566
77563
|
*
|
|
77567
|
-
* @packageDocumentation
|
|
77568
77564
|
*/
|
|
77569
77565
|
/** Git diff status as reported by `--name-status`. @public */
|
|
77570
77566
|
const FileStatusSchema = effect.Schema.Literal("added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown").annotations({ identifier: "FileStatus" });
|
|
@@ -80785,7 +80781,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJSMin$1(((exports, module)
|
|
|
80785
80781
|
let nines = 1;
|
|
80786
80782
|
let zeros = 1;
|
|
80787
80783
|
let stop = countNines(min, nines);
|
|
80788
|
-
let stops = new Set([max]);
|
|
80784
|
+
let stops = /* @__PURE__ */ new Set([max]);
|
|
80789
80785
|
while (min <= stop && stop <= max) {
|
|
80790
80786
|
stops.add(stop);
|
|
80791
80787
|
nines += 1;
|
|
@@ -98899,16 +98895,6 @@ var require_resolve_from = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
|
|
|
98899
98895
|
//#endregion
|
|
98900
98896
|
//#region ../../node_modules/.pnpm/lodash.startcase@4.4.0/node_modules/lodash.startcase/index.js
|
|
98901
98897
|
var require_lodash_startcase = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
98902
|
-
/**
|
|
98903
|
-
* lodash (Custom Build) <https://lodash.com/>
|
|
98904
|
-
* Build: `lodash modularize exports="npm" -o ./`
|
|
98905
|
-
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
98906
|
-
* Released under MIT license <https://lodash.com/license>
|
|
98907
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
98908
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
98909
|
-
*/
|
|
98910
|
-
/** Used as references for various `Number` constants. */
|
|
98911
|
-
var INFINITY = Infinity;
|
|
98912
98898
|
/** `Object#toString` result references. */
|
|
98913
98899
|
var symbolTag = "[object Symbol]";
|
|
98914
98900
|
/** Used to match words composed of alphanumeric characters. */
|
|
@@ -99315,7 +99301,7 @@ var require_lodash_startcase = /* @__PURE__ */ __commonJSMin$1(((exports, module
|
|
|
99315
99301
|
if (typeof value == "string") return value;
|
|
99316
99302
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
99317
99303
|
var result = value + "";
|
|
99318
|
-
return result == "0" && 1 / value == -
|
|
99304
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
99319
99305
|
}
|
|
99320
99306
|
/**
|
|
99321
99307
|
* Casts `array` to a slice if it's needed.
|
|
@@ -102864,7 +102850,6 @@ async function getReleasePlan(cwd, sinceRef, passedConfig) {
|
|
|
102864
102850
|
* then reads the generated CHANGELOG blocks back. No changesets-internal logic
|
|
102865
102851
|
* (e.g. `getChangelogEntry`) is re-implemented.
|
|
102866
102852
|
*
|
|
102867
|
-
* @packageDocumentation
|
|
102868
102853
|
*/
|
|
102869
102854
|
/** Single workspace-discovery seam; swap to an Effect-native stack later here. */
|
|
102870
102855
|
const buildPackages = (root) => (0, import_get_packages_cjs.getPackages)(root);
|
|
@@ -103258,7 +103243,6 @@ const WorkspaceSnapshotReaderLive = effect.Layer.succeed(WorkspaceSnapshotReader
|
|
|
103258
103243
|
* @see {@link resolveCommitType} for mapping commit types to categories
|
|
103259
103244
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
103260
103245
|
*
|
|
103261
|
-
* @packageDocumentation
|
|
103262
103246
|
*/
|
|
103263
103247
|
/**
|
|
103264
103248
|
* Schema for a section category that defines how changes are grouped in release notes.
|
|
@@ -103310,7 +103294,6 @@ const SectionCategorySchema = effect.Schema.Struct({
|
|
|
103310
103294
|
*
|
|
103311
103295
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
103312
103296
|
*
|
|
103313
|
-
* @packageDocumentation
|
|
103314
103297
|
*/
|
|
103315
103298
|
/**
|
|
103316
103299
|
* Schema for a git commit hash (at least 7 lowercase hex characters).
|
|
@@ -103383,7 +103366,6 @@ const VersionTypeSchema = effect.Schema.Literal("major", "minor", "patch", "none
|
|
|
103383
103366
|
* @see {@link https://github.com/changesets/changesets | Changesets documentation}
|
|
103384
103367
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
103385
103368
|
*
|
|
103386
|
-
* @packageDocumentation
|
|
103387
103369
|
*/
|
|
103388
103370
|
/**
|
|
103389
103371
|
* Schema for a changeset summary (1--1000 characters).
|
|
@@ -103514,7 +103496,6 @@ const DependencyUpdateSchema = effect.Schema.Struct({
|
|
|
103514
103496
|
* Result schemas for the {@link ReleasePlanner} service — the structured
|
|
103515
103497
|
* preview of pending releases and the result of a native apply.
|
|
103516
103498
|
*
|
|
103517
|
-
* @packageDocumentation
|
|
103518
103499
|
*/
|
|
103519
103500
|
/** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
|
|
103520
103501
|
const BumpTypeSchema = effect.Schema.Literal("major", "minor", "patch");
|
|
@@ -103641,18 +103622,17 @@ function computeWorkspaceDependencyDiffs(beforeSnapshots, afterSnapshots) {
|
|
|
103641
103622
|
*
|
|
103642
103623
|
* @remarks
|
|
103643
103624
|
* Provides `listPublishablePackageNames`, a convenience wrapper around
|
|
103644
|
-
* {@link
|
|
103625
|
+
* {@link SilkPublishability} that returns a `Set<string>` of
|
|
103645
103626
|
* publishable package names. Used by the `deps detect` and `deps regen`
|
|
103646
103627
|
* commands to filter out workspace packages whose dependency changes
|
|
103647
103628
|
* would never reach a release.
|
|
103648
103629
|
*
|
|
103649
|
-
* @packageDocumentation
|
|
103650
103630
|
*/
|
|
103651
103631
|
/**
|
|
103652
103632
|
* Compute the set of currently-publishable workspace package names.
|
|
103653
103633
|
*
|
|
103654
103634
|
* @remarks
|
|
103655
|
-
* Uses the currently-active {@link
|
|
103635
|
+
* Uses the currently-active {@link SilkPublishability} — wire the
|
|
103656
103636
|
* {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
|
|
103657
103637
|
*
|
|
103658
103638
|
* @param packages - The workspace packages to evaluate
|
|
@@ -103746,7 +103726,7 @@ function normalizeWorkspaceGlob(glob) {
|
|
|
103746
103726
|
*/
|
|
103747
103727
|
function snapshotFromWorktree(cwd) {
|
|
103748
103728
|
const snapshots = [];
|
|
103749
|
-
const dirs = new Set([cwd]);
|
|
103729
|
+
const dirs = /* @__PURE__ */ new Set([cwd]);
|
|
103750
103730
|
for (const dir of expandWorkspaceDirs(cwd)) dirs.add(dir);
|
|
103751
103731
|
for (const dir of dirs) try {
|
|
103752
103732
|
const pkgJson = JSON.parse((0, node_fs.readFileSync)((0, node_path.join)(dir, "package.json"), "utf8"));
|
|
@@ -103924,7 +103904,7 @@ const ContentStructureRule$1 = {
|
|
|
103924
103904
|
//#endregion
|
|
103925
103905
|
//#region ../silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js
|
|
103926
103906
|
const EM_DASH$1 = "—";
|
|
103927
|
-
const VALID_TYPES = new Set([
|
|
103907
|
+
const VALID_TYPES = /* @__PURE__ */ new Set([
|
|
103928
103908
|
"dependency",
|
|
103929
103909
|
"devDependency",
|
|
103930
103910
|
"peerDependency",
|
|
@@ -103932,7 +103912,7 @@ const VALID_TYPES = new Set([
|
|
|
103932
103912
|
"workspace",
|
|
103933
103913
|
"config"
|
|
103934
103914
|
]);
|
|
103935
|
-
const VALID_ACTIONS = new Set([
|
|
103915
|
+
const VALID_ACTIONS = /* @__PURE__ */ new Set([
|
|
103936
103916
|
"added",
|
|
103937
103917
|
"updated",
|
|
103938
103918
|
"removed"
|