@savvy-web/silk 3.2.3 → 3.2.4
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 +1295 -895
- package/changesets-changelog.d.cts +241 -152
- package/changesets-changelog.d.ts +241 -152
- package/changesets-changelog.js +1318 -903
- package/changesets-markdownlint.cjs +1295 -895
- package/changesets-markdownlint.d.cts +241 -152
- package/changesets-markdownlint.d.ts +241 -152
- package/changesets-markdownlint.js +1318 -903
- package/lint.d.ts +2 -2
- package/package.json +5 -4
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Brand, Context, Effect, Equal, FileSystem, Hash, HashMap, Layer, Option, Order, Path, Result, Schema } from "effect";
|
|
2
2
|
import { ChildProcessSpawner } from "effect/unstable/process";
|
|
3
|
+
import "effect/unstable/http";
|
|
4
|
+
import "@effected/templates";
|
|
3
5
|
//#region ../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts
|
|
4
6
|
// ## Interfaces
|
|
5
7
|
/**
|
|
@@ -2394,7 +2396,7 @@ declare class Processor<ParseTree extends Node$3 | undefined = undefined, HeadTr
|
|
|
2394
2396
|
* The current processor when setting, the value at `key` when getting, or
|
|
2395
2397
|
* the entire dataset when getting without key.
|
|
2396
2398
|
*/
|
|
2397
|
-
data<Key extends keyof Data>(): Data$3;
|
|
2399
|
+
data<Key extends keyof Data$2>(): Data$3;
|
|
2398
2400
|
/**
|
|
2399
2401
|
* Configure the processor with info available to all plugins.
|
|
2400
2402
|
* Information is stored in an object.
|
|
@@ -2454,7 +2456,7 @@ declare class Processor<ParseTree extends Node$3 | undefined = undefined, HeadTr
|
|
|
2454
2456
|
* The current processor when setting, the value at `key` when getting, or
|
|
2455
2457
|
* the entire dataset when getting without key.
|
|
2456
2458
|
*/
|
|
2457
|
-
data<Key extends keyof Data>(dataset: Data$3): Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>;
|
|
2459
|
+
data<Key extends keyof Data$2>(dataset: Data$3): Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>;
|
|
2458
2460
|
/**
|
|
2459
2461
|
* Configure the processor with info available to all plugins.
|
|
2460
2462
|
* Information is stored in an object.
|
|
@@ -2514,7 +2516,7 @@ declare class Processor<ParseTree extends Node$3 | undefined = undefined, HeadTr
|
|
|
2514
2516
|
* The current processor when setting, the value at `key` when getting, or
|
|
2515
2517
|
* the entire dataset when getting without key.
|
|
2516
2518
|
*/
|
|
2517
|
-
data<Key extends keyof Data>(key: Key): Data[Key];
|
|
2519
|
+
data<Key extends keyof Data$2>(key: Key): Data$2[Key];
|
|
2518
2520
|
/**
|
|
2519
2521
|
* Configure the processor with info available to all plugins.
|
|
2520
2522
|
* Information is stored in an object.
|
|
@@ -2574,7 +2576,7 @@ declare class Processor<ParseTree extends Node$3 | undefined = undefined, HeadTr
|
|
|
2574
2576
|
* The current processor when setting, the value at `key` when getting, or
|
|
2575
2577
|
* the entire dataset when getting without key.
|
|
2576
2578
|
*/
|
|
2577
|
-
data<Key extends keyof Data>(key: Key, value: Data[Key]): Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>;
|
|
2579
|
+
data<Key extends keyof Data$2>(key: Key, value: Data$2[Key]): Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>;
|
|
2578
2580
|
/**
|
|
2579
2581
|
* Freeze a processor.
|
|
2580
2582
|
*
|
|
@@ -3071,7 +3073,7 @@ type Node$2 = Node$3;
|
|
|
3071
3073
|
type Compatible = Compatible$1;
|
|
3072
3074
|
type Value = Value$1;
|
|
3073
3075
|
type CompileResultMap$1 = CompileResultMap;
|
|
3074
|
-
type Data$3 = Data;
|
|
3076
|
+
type Data$3 = Data$2;
|
|
3075
3077
|
type Settings$1 = Settings;
|
|
3076
3078
|
/**
|
|
3077
3079
|
* Acceptable results from compilers.
|
|
@@ -3260,7 +3262,7 @@ interface CompileResultMap {
|
|
|
3260
3262
|
* export {} // You may not need this, but it makes sure the file is a module.
|
|
3261
3263
|
* ```
|
|
3262
3264
|
*/
|
|
3263
|
-
interface Data {
|
|
3265
|
+
interface Data$2 {
|
|
3264
3266
|
settings?: Settings | undefined;
|
|
3265
3267
|
}
|
|
3266
3268
|
/**
|
|
@@ -3296,7 +3298,7 @@ type Label = Label$1;
|
|
|
3296
3298
|
type Severity = Severity$1;
|
|
3297
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;
|
|
3298
3300
|
//#endregion
|
|
3299
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.5.
|
|
3301
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/git/index.d.ts
|
|
3300
3302
|
//#region src/Git.d.ts
|
|
3301
3303
|
declare const GitCommandError_base: Schema.Class<GitCommandError, Schema.TaggedStruct<"GitCommandError", {
|
|
3302
3304
|
/**
|
|
@@ -4284,7 +4286,7 @@ declare class UnsatisfiableConstraintError extends UnsatisfiableConstraintError_
|
|
|
4284
4286
|
get message(): string;
|
|
4285
4287
|
}
|
|
4286
4288
|
//#endregion
|
|
4287
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.
|
|
4289
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.5.0_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/index.d.ts
|
|
4288
4290
|
//#region src/CatalogAssemblyError.d.ts
|
|
4289
4291
|
declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
|
|
4290
4292
|
/**
|
|
@@ -4852,7 +4854,7 @@ declare class GlobPattern extends GlobPattern_base {
|
|
|
4852
4854
|
static readonly FromString: Schema.Codec<GlobPattern, string>;
|
|
4853
4855
|
}
|
|
4854
4856
|
//#endregion
|
|
4855
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.2.
|
|
4857
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.2.1_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0._44d8f67a8ab767df898f59f0e01343be/node_modules/@effected/lockfiles/index.d.ts
|
|
4856
4858
|
//#region src/BunExtension.d.ts
|
|
4857
4859
|
declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
|
|
4858
4860
|
readonly _tag: Schema.tag<"bun">;
|
|
@@ -5282,7 +5284,7 @@ declare class LockfileIntegrity extends LockfileIntegrity_base {
|
|
|
5282
5284
|
static compare(lockfile: Lockfile, manifests: ReadonlyArray<WorkspaceManifest>): LockfileIntegrity;
|
|
5283
5285
|
}
|
|
5284
5286
|
//#endregion
|
|
5285
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.
|
|
5287
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.6.0_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
|
|
5286
5288
|
//#region src/Dependency.d.ts
|
|
5287
5289
|
declare const Dependency_base: Schema.Class<Dependency, Schema.Struct<{
|
|
5288
5290
|
/** The package name. */
|
|
@@ -5470,6 +5472,75 @@ declare class Person extends Person_base {
|
|
|
5470
5472
|
*/
|
|
5471
5473
|
static wireStringOf(person: Person): Option.Option<string>;
|
|
5472
5474
|
}
|
|
5475
|
+
//#endregion
|
|
5476
|
+
//#region src/Repository.d.ts
|
|
5477
|
+
declare const Repository_base: Schema.Class<Repository, Schema.Struct<{
|
|
5478
|
+
/** The `type` field, when the object form carried one (`"git"`, …). */
|
|
5479
|
+
readonly type: Schema.optionalKey<Schema.String>;
|
|
5480
|
+
/** The reference exactly as written: a shorthand, a git URL, or an https URL. */
|
|
5481
|
+
readonly url: Schema.String;
|
|
5482
|
+
/** The subdirectory within the repository, for a monorepo member. */
|
|
5483
|
+
readonly directory: Schema.optionalKey<Schema.String>;
|
|
5484
|
+
/** Keys outside the documented set, preserved so encoding does not drop them. */
|
|
5485
|
+
readonly rest: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5486
|
+
}>, {}>;
|
|
5487
|
+
/**
|
|
5488
|
+
* Where a package's source lives.
|
|
5489
|
+
*
|
|
5490
|
+
* @remarks
|
|
5491
|
+
* `url` is **verbatim** — exactly the string the manifest carried, shorthand
|
|
5492
|
+
* and all. Normalization is offered through {@link Repository.browseUrl} and
|
|
5493
|
+
* {@link Repository.gitUrl}, so reading a manifest never rewrites it and a
|
|
5494
|
+
* caller that wants the original still has it.
|
|
5495
|
+
*
|
|
5496
|
+
* @example
|
|
5497
|
+
* ```ts
|
|
5498
|
+
* // "effected/kit" → https://github.com/effected/kit
|
|
5499
|
+
* // "git@github.com:effected/kit.git" → https://github.com/effected/kit
|
|
5500
|
+
* ```
|
|
5501
|
+
*
|
|
5502
|
+
* @public
|
|
5503
|
+
*/
|
|
5504
|
+
declare class Repository extends Repository_base {
|
|
5505
|
+
/**
|
|
5506
|
+
* The browsable `https://` URL, or `Option.none()` when `url` is not a form
|
|
5507
|
+
* this model recognizes.
|
|
5508
|
+
*/
|
|
5509
|
+
get browseUrl(): Option.Option<string>;
|
|
5510
|
+
/** The canonical https clone URL, or none when it cannot be derived. */
|
|
5511
|
+
get gitUrl(): Option.Option<string>;
|
|
5512
|
+
/**
|
|
5513
|
+
* The `repository` field: the shorthand string or the object form, always
|
|
5514
|
+
* decoded to a {@link Repository}, and always re-encoded in the form it was
|
|
5515
|
+
* read from.
|
|
5516
|
+
*/
|
|
5517
|
+
static readonly FromValue: Schema.Codec<Repository, string | {
|
|
5518
|
+
readonly [k: string]: unknown;
|
|
5519
|
+
}>;
|
|
5520
|
+
}
|
|
5521
|
+
declare const Bugs_base: Schema.Class<Bugs, Schema.Struct<{
|
|
5522
|
+
/** The issue-tracker URL. */
|
|
5523
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
5524
|
+
/** The address to mail instead of, or alongside, filing an issue. */
|
|
5525
|
+
readonly email: Schema.optionalKey<Schema.String>;
|
|
5526
|
+
/** Keys outside the documented set, preserved so encoding does not drop them. */
|
|
5527
|
+
readonly rest: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5528
|
+
}>, {}>;
|
|
5529
|
+
/**
|
|
5530
|
+
* Where to report problems with a package.
|
|
5531
|
+
*
|
|
5532
|
+
* @remarks
|
|
5533
|
+
* npm permits a bare URL string, or an object with `url`, `email`, or both —
|
|
5534
|
+
* an email-only entry is legal, which is why `url` is optional.
|
|
5535
|
+
*
|
|
5536
|
+
* @public
|
|
5537
|
+
*/
|
|
5538
|
+
declare class Bugs extends Bugs_base {
|
|
5539
|
+
/** The `bugs` field: a URL string or the object form. */
|
|
5540
|
+
static readonly FromValue: Schema.Codec<Bugs, string | {
|
|
5541
|
+
readonly [k: string]: unknown;
|
|
5542
|
+
}>;
|
|
5543
|
+
}
|
|
5473
5544
|
declare const PackageDecodeError_base: Schema.Class<PackageDecodeError, Schema.TaggedStruct<"PackageDecodeError", {
|
|
5474
5545
|
/** The underlying `SchemaError`, preserved structurally rather than stringified. */
|
|
5475
5546
|
readonly cause: Schema.Defect;
|
|
@@ -5544,7 +5615,17 @@ declare const Package_base: Schema.Class<Package, Schema.Struct<{
|
|
|
5544
5615
|
readonly contributors: Schema.optionalKey<Schema.$Array<Schema.Codec<Person, string | {
|
|
5545
5616
|
readonly [k: string]: unknown;
|
|
5546
5617
|
}, never, never>>>;
|
|
5547
|
-
readonly
|
|
5618
|
+
readonly maintainers: Schema.optionalKey<Schema.$Array<Schema.Codec<Person, string | {
|
|
5619
|
+
readonly [k: string]: unknown;
|
|
5620
|
+
}, never, never>>>;
|
|
5621
|
+
readonly keywords: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
5622
|
+
readonly repository: Schema.optionalKey<Schema.Codec<Repository, string | {
|
|
5623
|
+
readonly [k: string]: unknown;
|
|
5624
|
+
}, never, never>>;
|
|
5625
|
+
readonly bugs: Schema.optionalKey<Schema.Codec<Bugs, string | {
|
|
5626
|
+
readonly [k: string]: unknown;
|
|
5627
|
+
}, never, never>>;
|
|
5628
|
+
readonly homepage: Schema.optionalKey<Schema.String>;
|
|
5548
5629
|
readonly dependencies: Schema.decodeTo<Schema.HashMap<Schema.String, Schema.String>, Schema.withDecodingDefaultKey<Schema.$Record<Schema.String, Schema.String>, never>, never, never>;
|
|
5549
5630
|
readonly devDependencies: Schema.decodeTo<Schema.HashMap<Schema.String, Schema.String>, Schema.withDecodingDefaultKey<Schema.$Record<Schema.String, Schema.String>, never>, never, never>;
|
|
5550
5631
|
readonly peerDependencies: Schema.decodeTo<Schema.HashMap<Schema.String, Schema.String>, Schema.withDecodingDefaultKey<Schema.$Record<Schema.String, Schema.String>, never>, never, never>;
|
|
@@ -5730,7 +5811,7 @@ declare class Package extends Package_base {
|
|
|
5730
5811
|
toJsonString(options?: PackageFormatOptions): string;
|
|
5731
5812
|
}
|
|
5732
5813
|
//#endregion
|
|
5733
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
5814
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
|
|
5734
5815
|
//#region src/WorkspacePackage.d.ts
|
|
5735
5816
|
declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
|
|
5736
5817
|
/** Scoped-package visibility. Its presence overrides `private`. */
|
|
@@ -6541,10 +6622,21 @@ declare class PackageManagerDetectionError extends PackageManagerDetectionError_
|
|
|
6541
6622
|
* @public
|
|
6542
6623
|
*/
|
|
6543
6624
|
type PackageManagerDetectionFailure = PackageManagerDetectionError | WorkspaceManifestError;
|
|
6544
|
-
|
|
6625
|
+
/**
|
|
6626
|
+
* The {@link PackageManagerDetector} service shape.
|
|
6627
|
+
*
|
|
6628
|
+
* @remarks
|
|
6629
|
+
* Exported so a consumer can type a bespoke double against the contract without
|
|
6630
|
+
* reaching into the class — the `WorkspaceDiscoveryShape` /
|
|
6631
|
+
* `PublishabilityDetectorShape` convention.
|
|
6632
|
+
*
|
|
6633
|
+
* @public
|
|
6634
|
+
*/
|
|
6635
|
+
interface PackageManagerDetectorShape {
|
|
6545
6636
|
/** Detect the package manager at a workspace root. */
|
|
6546
6637
|
readonly detect: (root: string) => Effect.Effect<DetectedPackageManager, PackageManagerDetectionFailure>;
|
|
6547
|
-
}
|
|
6638
|
+
}
|
|
6639
|
+
declare const PackageManagerDetector_base: Context.ServiceClass<PackageManagerDetector, "@effected/workspaces/PackageManagerDetector", PackageManagerDetectorShape>;
|
|
6548
6640
|
/**
|
|
6549
6641
|
* Detects which package manager owns a workspace root.
|
|
6550
6642
|
*
|
|
@@ -6593,6 +6685,50 @@ declare class PackageManagerDetector extends PackageManagerDetector_base {
|
|
|
6593
6685
|
}, never, FileSystem.FileSystem | Path.Path>;
|
|
6594
6686
|
/** The live layer. */
|
|
6595
6687
|
static readonly layer: Layer.Layer<PackageManagerDetector, never, FileSystem.FileSystem | Path.Path>;
|
|
6688
|
+
/**
|
|
6689
|
+
* The sanctioned in-memory double.
|
|
6690
|
+
*
|
|
6691
|
+
* @remarks
|
|
6692
|
+
* **`detect` has no honest default, so an unstubbed call dies** — the
|
|
6693
|
+
* `WorkspaceDiscovery.info` posture, for the same reason. A stand-in that
|
|
6694
|
+
* answered `"pnpm"` would hand a consumer a fact nothing established, and it
|
|
6695
|
+
* would contradict the very service it stands in for: the live detector's
|
|
6696
|
+
* defining property is that it [refuses to
|
|
6697
|
+
* guess](https://github.com/spencerbeggs/effected) when no evidence matches.
|
|
6698
|
+
* A double that guesses is worse than no double.
|
|
6699
|
+
*
|
|
6700
|
+
* Failing typed would be the subtler mistake: `PackageManagerDetectionError`
|
|
6701
|
+
* reads as a legitimate "no manager here" answer, so a consumer would branch
|
|
6702
|
+
* on it and proceed, never learning that the test simply forgot to stub.
|
|
6703
|
+
*
|
|
6704
|
+
* @param overrides - Members to supply; anything omitted dies on use.
|
|
6705
|
+
*
|
|
6706
|
+
* @example
|
|
6707
|
+
* ```ts
|
|
6708
|
+
* import { DetectedPackageManager, PackageManagerDetector } from "@effected/workspaces";
|
|
6709
|
+
* import { Effect, Option } from "effect";
|
|
6710
|
+
*
|
|
6711
|
+
* const TestDetector = PackageManagerDetector.layerTest({
|
|
6712
|
+
* detect: () =>
|
|
6713
|
+
* Effect.succeed(
|
|
6714
|
+
* DetectedPackageManager.make({ name: "pnpm", version: Option.none(), runtime: "node" }),
|
|
6715
|
+
* ),
|
|
6716
|
+
* });
|
|
6717
|
+
* ```
|
|
6718
|
+
*/
|
|
6719
|
+
static readonly makeTest: (overrides?: Partial<PackageManagerDetectorShape>) => PackageManagerDetectorShape;
|
|
6720
|
+
/**
|
|
6721
|
+
* {@link PackageManagerDetector.makeTest} behind `Layer.succeed`.
|
|
6722
|
+
*
|
|
6723
|
+
* @remarks
|
|
6724
|
+
* A parameterized layer factory mints a **fresh reference per call**, and
|
|
6725
|
+
* layers memoize by reference — bind the result to a `const` and reuse it
|
|
6726
|
+
* rather than calling `layerTest(...)` at each composition site.
|
|
6727
|
+
*
|
|
6728
|
+
* Pairs with `WorkspaceRoot.layerTest` and `WorkspaceDiscovery.layerTest` to
|
|
6729
|
+
* stand up the whole discovery path with no filesystem at all.
|
|
6730
|
+
*/
|
|
6731
|
+
static readonly layerTest: (overrides?: Partial<PackageManagerDetectorShape>) => Layer.Layer<PackageManagerDetector>;
|
|
6596
6732
|
}
|
|
6597
6733
|
//#endregion
|
|
6598
6734
|
//#region src/LockfileReader.d.ts
|
|
@@ -6872,8 +7008,60 @@ declare const PublishabilityDetector_base: Context.ServiceClass<PublishabilityDe
|
|
|
6872
7008
|
* @public
|
|
6873
7009
|
*/
|
|
6874
7010
|
declare class PublishabilityDetector extends PublishabilityDetector_base {
|
|
6875
|
-
/**
|
|
6876
|
-
|
|
7011
|
+
/**
|
|
7012
|
+
* Standard npm publishing semantics, **as a value**. Pure — no filesystem,
|
|
7013
|
+
* no platform services.
|
|
7014
|
+
*
|
|
7015
|
+
* @remarks
|
|
7016
|
+
* Exposed as a shape and not only as a layer, because a consumer composing
|
|
7017
|
+
* *around* these rules cannot reach them through a layer without re-entering
|
|
7018
|
+
* the very tag it is replacing. `@savvy-web/silk-effects` had to write
|
|
7019
|
+
* `Effect.provide(PublishabilityDetector, PublishabilityDetector.layer)`
|
|
7020
|
+
* **inside its own implementation of that tag** to get at this function for
|
|
7021
|
+
* its pass-through branch; with the value exposed that becomes
|
|
7022
|
+
* `PublishabilityDetector.npm.detect(pkg)`.
|
|
7023
|
+
*
|
|
7024
|
+
* @example
|
|
7025
|
+
* ```ts
|
|
7026
|
+
* import { PublishabilityDetector } from "@effected/workspaces";
|
|
7027
|
+
* import { Effect, Layer } from "effect";
|
|
7028
|
+
*
|
|
7029
|
+
* // A policy that defers to npm semantics for everything it does not veto.
|
|
7030
|
+
* const withVeto = Layer.succeed(PublishabilityDetector, {
|
|
7031
|
+
* detect: (pkg) =>
|
|
7032
|
+
* pkg.name.endsWith("-private")
|
|
7033
|
+
* ? Effect.succeed([])
|
|
7034
|
+
* : PublishabilityDetector.npm.detect(pkg),
|
|
7035
|
+
* });
|
|
7036
|
+
* ```
|
|
7037
|
+
*/
|
|
7038
|
+
static readonly npm: PublishabilityDetectorShape;
|
|
7039
|
+
/** Nothing publishes. */
|
|
7040
|
+
static readonly none: PublishabilityDetectorShape;
|
|
7041
|
+
/**
|
|
7042
|
+
* {@link PublishabilityDetector.npm} as a layer.
|
|
7043
|
+
*
|
|
7044
|
+
* @remarks
|
|
7045
|
+
* Named for its policy rather than called `layer`, deliberately. **No
|
|
7046
|
+
* composite in this package provides a publishability detector**: a
|
|
7047
|
+
* `Workspaces.layer()` that quietly supplied npm semantics made the choice
|
|
7048
|
+
* invisible, and worse, made a naively-ordered override lose to it in
|
|
7049
|
+
* silence — `Layer.mergeAll(myDetector, Workspaces.layer())` resolved to the
|
|
7050
|
+
* default, because `mergeAll` is last-wins. For a service that decides
|
|
7051
|
+
* whether a package publishes and to which registry, that silent revert was
|
|
7052
|
+
* the worst available failure. The requirement now sits in `R`, so the
|
|
7053
|
+
* choice is made once, explicitly, and unmade wiring does not compile.
|
|
7054
|
+
*/
|
|
7055
|
+
static readonly layerNpm: Layer.Layer<PublishabilityDetector>;
|
|
7056
|
+
/**
|
|
7057
|
+
* {@link PublishabilityDetector.none} as a layer: a workspace where nothing
|
|
7058
|
+
* publishes.
|
|
7059
|
+
*
|
|
7060
|
+
* @remarks
|
|
7061
|
+
* For dry runs, and for a release tool whose configuration disables
|
|
7062
|
+
* publishing wholesale — silk's changeset `mode: "none"` is exactly this.
|
|
7063
|
+
*/
|
|
7064
|
+
static readonly layerNone: Layer.Layer<PublishabilityDetector>;
|
|
6877
7065
|
}
|
|
6878
7066
|
//#endregion
|
|
6879
7067
|
//#region src/WorkspaceCatalogs.d.ts
|
|
@@ -7513,7 +7701,7 @@ interface WorkspacesOptions {
|
|
|
7513
7701
|
readonly maxDepth?: number;
|
|
7514
7702
|
}
|
|
7515
7703
|
//#endregion
|
|
7516
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
7704
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.3_@effected+glob@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/index.d.ts
|
|
7517
7705
|
declare const DescendError_base: Schema.Class<DescendError, Schema.TaggedStruct<"DescendError", {
|
|
7518
7706
|
/** The glob pattern's source text. */
|
|
7519
7707
|
readonly pattern: Schema.String;
|
|
@@ -7969,8 +8157,7 @@ type PreState = {
|
|
|
7969
8157
|
* Delegates to the Changesets-compatible `getReleaseLine` and
|
|
7970
8158
|
* `getDependencyReleaseLine` functions. Internally, these use the
|
|
7971
8159
|
* {@link ChangelogService} Effect service layer, which coordinates
|
|
7972
|
-
* the {@link GitHubService} (for commit/PR metadata)
|
|
7973
|
-
* {@link MarkdownService} (for AST manipulation) to produce
|
|
8160
|
+
* the {@link GitHubService} (for commit/PR metadata) to produce
|
|
7974
8161
|
* structured changelog entries.
|
|
7975
8162
|
*
|
|
7976
8163
|
* @remarks
|
|
@@ -8100,7 +8287,7 @@ declare class Changelog {
|
|
|
8100
8287
|
* }
|
|
8101
8288
|
* ```
|
|
8102
8289
|
*/
|
|
8103
|
-
interface Data$
|
|
8290
|
+
interface Data$1 {}
|
|
8104
8291
|
/**
|
|
8105
8292
|
* One place in a source file.
|
|
8106
8293
|
*/
|
|
@@ -8151,7 +8338,7 @@ interface Node$1 {
|
|
|
8151
8338
|
/**
|
|
8152
8339
|
* Info from the ecosystem.
|
|
8153
8340
|
*/
|
|
8154
|
-
data?: Data$
|
|
8341
|
+
data?: Data$1 | undefined;
|
|
8155
8342
|
/**
|
|
8156
8343
|
* Position of a node in a source document.
|
|
8157
8344
|
*
|
|
@@ -8279,7 +8466,7 @@ interface Resource {
|
|
|
8279
8466
|
* }
|
|
8280
8467
|
* ```
|
|
8281
8468
|
*/
|
|
8282
|
-
interface Data
|
|
8469
|
+
interface Data extends Data$1 {}
|
|
8283
8470
|
// ## Content maps
|
|
8284
8471
|
/**
|
|
8285
8472
|
* Union of registered mdast nodes that can occur where block content is
|
|
@@ -8548,7 +8735,7 @@ interface Node extends Node$1 {
|
|
|
8548
8735
|
/**
|
|
8549
8736
|
* Info from the ecosystem.
|
|
8550
8737
|
*/
|
|
8551
|
-
data?: Data
|
|
8738
|
+
data?: Data | undefined;
|
|
8552
8739
|
}
|
|
8553
8740
|
/**
|
|
8554
8741
|
* Abstract mdast node that contains other mdast nodes (*children*).
|
|
@@ -8584,7 +8771,7 @@ interface Blockquote extends Parent {
|
|
|
8584
8771
|
/**
|
|
8585
8772
|
* Info associated with mdast block quote nodes by the ecosystem.
|
|
8586
8773
|
*/
|
|
8587
|
-
interface BlockquoteData extends Data
|
|
8774
|
+
interface BlockquoteData extends Data {}
|
|
8588
8775
|
/**
|
|
8589
8776
|
* Markdown break.
|
|
8590
8777
|
*/
|
|
@@ -8601,7 +8788,7 @@ interface Break extends Node {
|
|
|
8601
8788
|
/**
|
|
8602
8789
|
* Info associated with mdast break nodes by the ecosystem.
|
|
8603
8790
|
*/
|
|
8604
|
-
interface BreakData extends Data
|
|
8791
|
+
interface BreakData extends Data {}
|
|
8605
8792
|
/**
|
|
8606
8793
|
* Markdown code (flow) (block).
|
|
8607
8794
|
*/
|
|
@@ -8628,7 +8815,7 @@ interface Code extends Literal {
|
|
|
8628
8815
|
/**
|
|
8629
8816
|
* Info associated with mdast code (flow) (block) nodes by the ecosystem.
|
|
8630
8817
|
*/
|
|
8631
|
-
interface CodeData extends Data
|
|
8818
|
+
interface CodeData extends Data {}
|
|
8632
8819
|
/**
|
|
8633
8820
|
* Markdown definition.
|
|
8634
8821
|
*/
|
|
@@ -8645,7 +8832,7 @@ interface Definition extends Node, Association, Resource {
|
|
|
8645
8832
|
/**
|
|
8646
8833
|
* Info associated with mdast definition nodes by the ecosystem.
|
|
8647
8834
|
*/
|
|
8648
|
-
interface DefinitionData extends Data
|
|
8835
|
+
interface DefinitionData extends Data {}
|
|
8649
8836
|
/**
|
|
8650
8837
|
* Markdown GFM delete (strikethrough).
|
|
8651
8838
|
*/
|
|
@@ -8666,7 +8853,7 @@ interface Delete extends Parent {
|
|
|
8666
8853
|
/**
|
|
8667
8854
|
* Info associated with mdast GFM delete nodes by the ecosystem.
|
|
8668
8855
|
*/
|
|
8669
|
-
interface DeleteData extends Data
|
|
8856
|
+
interface DeleteData extends Data {}
|
|
8670
8857
|
/**
|
|
8671
8858
|
* Markdown emphasis.
|
|
8672
8859
|
*/
|
|
@@ -8687,7 +8874,7 @@ interface Emphasis extends Parent {
|
|
|
8687
8874
|
/**
|
|
8688
8875
|
* Info associated with mdast emphasis nodes by the ecosystem.
|
|
8689
8876
|
*/
|
|
8690
|
-
interface EmphasisData extends Data
|
|
8877
|
+
interface EmphasisData extends Data {}
|
|
8691
8878
|
/**
|
|
8692
8879
|
* Markdown GFM footnote definition.
|
|
8693
8880
|
*/
|
|
@@ -8708,7 +8895,7 @@ interface FootnoteDefinition extends Parent, Association {
|
|
|
8708
8895
|
/**
|
|
8709
8896
|
* Info associated with mdast GFM footnote definition nodes by the ecosystem.
|
|
8710
8897
|
*/
|
|
8711
|
-
interface FootnoteDefinitionData extends Data
|
|
8898
|
+
interface FootnoteDefinitionData extends Data {}
|
|
8712
8899
|
/**
|
|
8713
8900
|
* Markdown GFM footnote reference.
|
|
8714
8901
|
*/
|
|
@@ -8725,7 +8912,7 @@ interface FootnoteReference extends Association, Node {
|
|
|
8725
8912
|
/**
|
|
8726
8913
|
* Info associated with mdast GFM footnote reference nodes by the ecosystem.
|
|
8727
8914
|
*/
|
|
8728
|
-
interface FootnoteReferenceData extends Data
|
|
8915
|
+
interface FootnoteReferenceData extends Data {}
|
|
8729
8916
|
/**
|
|
8730
8917
|
* Markdown heading.
|
|
8731
8918
|
*/
|
|
@@ -8752,7 +8939,7 @@ interface Heading extends Parent {
|
|
|
8752
8939
|
/**
|
|
8753
8940
|
* Info associated with mdast heading nodes by the ecosystem.
|
|
8754
8941
|
*/
|
|
8755
|
-
interface HeadingData extends Data
|
|
8942
|
+
interface HeadingData extends Data {}
|
|
8756
8943
|
/**
|
|
8757
8944
|
* Markdown HTML.
|
|
8758
8945
|
*/
|
|
@@ -8769,7 +8956,7 @@ interface Html extends Literal {
|
|
|
8769
8956
|
/**
|
|
8770
8957
|
* Info associated with mdast HTML nodes by the ecosystem.
|
|
8771
8958
|
*/
|
|
8772
|
-
interface HtmlData extends Data
|
|
8959
|
+
interface HtmlData extends Data {}
|
|
8773
8960
|
/**
|
|
8774
8961
|
* Markdown image.
|
|
8775
8962
|
*/
|
|
@@ -8786,7 +8973,7 @@ interface Image extends Alternative, Node, Resource {
|
|
|
8786
8973
|
/**
|
|
8787
8974
|
* Info associated with mdast image nodes by the ecosystem.
|
|
8788
8975
|
*/
|
|
8789
|
-
interface ImageData extends Data
|
|
8976
|
+
interface ImageData extends Data {}
|
|
8790
8977
|
/**
|
|
8791
8978
|
* Markdown image reference.
|
|
8792
8979
|
*/
|
|
@@ -8803,7 +8990,7 @@ interface ImageReference extends Alternative, Node, Reference {
|
|
|
8803
8990
|
/**
|
|
8804
8991
|
* Info associated with mdast image reference nodes by the ecosystem.
|
|
8805
8992
|
*/
|
|
8806
|
-
interface ImageReferenceData extends Data
|
|
8993
|
+
interface ImageReferenceData extends Data {}
|
|
8807
8994
|
/**
|
|
8808
8995
|
* Markdown code (text) (inline).
|
|
8809
8996
|
*/
|
|
@@ -8820,7 +9007,7 @@ interface InlineCode extends Literal {
|
|
|
8820
9007
|
/**
|
|
8821
9008
|
* Info associated with mdast code (text) (inline) nodes by the ecosystem.
|
|
8822
9009
|
*/
|
|
8823
|
-
interface InlineCodeData extends Data
|
|
9010
|
+
interface InlineCodeData extends Data {}
|
|
8824
9011
|
/**
|
|
8825
9012
|
* Markdown link.
|
|
8826
9013
|
*/
|
|
@@ -8841,7 +9028,7 @@ interface Link extends Parent, Resource {
|
|
|
8841
9028
|
/**
|
|
8842
9029
|
* Info associated with mdast link nodes by the ecosystem.
|
|
8843
9030
|
*/
|
|
8844
|
-
interface LinkData extends Data
|
|
9031
|
+
interface LinkData extends Data {}
|
|
8845
9032
|
/**
|
|
8846
9033
|
* Markdown link reference.
|
|
8847
9034
|
*/
|
|
@@ -8862,7 +9049,7 @@ interface LinkReference extends Parent, Reference {
|
|
|
8862
9049
|
/**
|
|
8863
9050
|
* Info associated with mdast link reference nodes by the ecosystem.
|
|
8864
9051
|
*/
|
|
8865
|
-
interface LinkReferenceData extends Data
|
|
9052
|
+
interface LinkReferenceData extends Data {}
|
|
8866
9053
|
/**
|
|
8867
9054
|
* Markdown list.
|
|
8868
9055
|
*/
|
|
@@ -8897,7 +9084,7 @@ interface List extends Parent {
|
|
|
8897
9084
|
/**
|
|
8898
9085
|
* Info associated with mdast list nodes by the ecosystem.
|
|
8899
9086
|
*/
|
|
8900
|
-
interface ListData extends Data
|
|
9087
|
+
interface ListData extends Data {}
|
|
8901
9088
|
/**
|
|
8902
9089
|
* Markdown list item.
|
|
8903
9090
|
*/
|
|
@@ -8930,7 +9117,7 @@ interface ListItem extends Parent {
|
|
|
8930
9117
|
/**
|
|
8931
9118
|
* Info associated with mdast list item nodes by the ecosystem.
|
|
8932
9119
|
*/
|
|
8933
|
-
interface ListItemData extends Data
|
|
9120
|
+
interface ListItemData extends Data {}
|
|
8934
9121
|
/**
|
|
8935
9122
|
* Markdown paragraph.
|
|
8936
9123
|
*/
|
|
@@ -8951,7 +9138,7 @@ interface Paragraph extends Parent {
|
|
|
8951
9138
|
/**
|
|
8952
9139
|
* Info associated with mdast paragraph nodes by the ecosystem.
|
|
8953
9140
|
*/
|
|
8954
|
-
interface ParagraphData extends Data
|
|
9141
|
+
interface ParagraphData extends Data {}
|
|
8955
9142
|
/**
|
|
8956
9143
|
* Document fragment or a whole document.
|
|
8957
9144
|
*
|
|
@@ -8970,7 +9157,7 @@ interface Root extends Parent {
|
|
|
8970
9157
|
/**
|
|
8971
9158
|
* Info associated with mdast root nodes by the ecosystem.
|
|
8972
9159
|
*/
|
|
8973
|
-
interface RootData extends Data
|
|
9160
|
+
interface RootData extends Data {}
|
|
8974
9161
|
/**
|
|
8975
9162
|
* Markdown strong.
|
|
8976
9163
|
*/
|
|
@@ -8991,7 +9178,7 @@ interface Strong extends Parent {
|
|
|
8991
9178
|
/**
|
|
8992
9179
|
* Info associated with mdast strong nodes by the ecosystem.
|
|
8993
9180
|
*/
|
|
8994
|
-
interface StrongData extends Data
|
|
9181
|
+
interface StrongData extends Data {}
|
|
8995
9182
|
/**
|
|
8996
9183
|
* Markdown GFM table.
|
|
8997
9184
|
*/
|
|
@@ -9016,7 +9203,7 @@ interface Table extends Parent {
|
|
|
9016
9203
|
/**
|
|
9017
9204
|
* Info associated with mdast GFM table nodes by the ecosystem.
|
|
9018
9205
|
*/
|
|
9019
|
-
interface TableData extends Data
|
|
9206
|
+
interface TableData extends Data {}
|
|
9020
9207
|
/**
|
|
9021
9208
|
* Markdown GFM table row.
|
|
9022
9209
|
*/
|
|
@@ -9037,7 +9224,7 @@ interface TableRow extends Parent {
|
|
|
9037
9224
|
/**
|
|
9038
9225
|
* Info associated with mdast GFM table row nodes by the ecosystem.
|
|
9039
9226
|
*/
|
|
9040
|
-
interface TableRowData extends Data
|
|
9227
|
+
interface TableRowData extends Data {}
|
|
9041
9228
|
/**
|
|
9042
9229
|
* Markdown GFM table cell.
|
|
9043
9230
|
*/
|
|
@@ -9058,7 +9245,7 @@ interface TableCell extends Parent {
|
|
|
9058
9245
|
/**
|
|
9059
9246
|
* Info associated with mdast GFM table cell nodes by the ecosystem.
|
|
9060
9247
|
*/
|
|
9061
|
-
interface TableCellData extends Data
|
|
9248
|
+
interface TableCellData extends Data {}
|
|
9062
9249
|
/**
|
|
9063
9250
|
* Markdown text.
|
|
9064
9251
|
*/
|
|
@@ -9075,7 +9262,7 @@ interface Text extends Literal {
|
|
|
9075
9262
|
/**
|
|
9076
9263
|
* Info associated with mdast text nodes by the ecosystem.
|
|
9077
9264
|
*/
|
|
9078
|
-
interface TextData extends Data
|
|
9265
|
+
interface TextData extends Data {}
|
|
9079
9266
|
/**
|
|
9080
9267
|
* Markdown thematic break (horizontal rule).
|
|
9081
9268
|
*/
|
|
@@ -9092,7 +9279,7 @@ interface ThematicBreak extends Node {
|
|
|
9092
9279
|
/**
|
|
9093
9280
|
* Info associated with mdast thematic break nodes by the ecosystem.
|
|
9094
9281
|
*/
|
|
9095
|
-
interface ThematicBreakData extends Data
|
|
9282
|
+
interface ThematicBreakData extends Data {}
|
|
9096
9283
|
/**
|
|
9097
9284
|
* Markdown YAML.
|
|
9098
9285
|
*/
|
|
@@ -9109,7 +9296,7 @@ interface Yaml$1 extends Literal {
|
|
|
9109
9296
|
/**
|
|
9110
9297
|
* Info associated with mdast YAML nodes by the ecosystem.
|
|
9111
9298
|
*/
|
|
9112
|
-
interface YamlData extends Data
|
|
9299
|
+
interface YamlData extends Data {}
|
|
9113
9300
|
//#endregion
|
|
9114
9301
|
//#region src/changesets/schemas/dependency-table.d.ts
|
|
9115
9302
|
/**
|
|
@@ -10039,7 +10226,6 @@ declare const MarkdownParseErrorBase: new <A extends Record<string, any> = {}>(a
|
|
|
10039
10226
|
* );
|
|
10040
10227
|
* ```
|
|
10041
10228
|
*
|
|
10042
|
-
* @see {@link MarkdownService} for the Effect service that may produce this error
|
|
10043
10229
|
*
|
|
10044
10230
|
* @public
|
|
10045
10231
|
*/
|
|
@@ -10945,7 +11131,7 @@ declare class GitHubService extends GitHubService_base {}
|
|
|
10945
11131
|
* @remarks
|
|
10946
11132
|
* This layer is used by the `\@savvy-web/changesets/changelog` entry point
|
|
10947
11133
|
* to resolve commit hashes into PR numbers and author attribution. It is
|
|
10948
|
-
*
|
|
11134
|
+
* used by the changelog formatter's
|
|
10949
11135
|
* `MainLayer`.
|
|
10950
11136
|
*
|
|
10951
11137
|
* @example
|
|
@@ -11005,103 +11191,6 @@ declare const GitHubLive: Layer.Layer<GitHubService, never, never>;
|
|
|
11005
11191
|
*/
|
|
11006
11192
|
declare function makeGitHubTest(responses: Map<string, GitHubCommitInfo>): Layer.Layer<GitHubService>;
|
|
11007
11193
|
//#endregion
|
|
11008
|
-
//#region src/changesets/services/markdown.d.ts
|
|
11009
|
-
/**
|
|
11010
|
-
* Service interface for markdown parsing and stringification.
|
|
11011
|
-
*
|
|
11012
|
-
* Describes the two operations a `MarkdownService` implementation must
|
|
11013
|
-
* provide: parsing markdown text into an mdast AST and stringifying an
|
|
11014
|
-
* mdast AST back to markdown text.
|
|
11015
|
-
*
|
|
11016
|
-
* @remarks
|
|
11017
|
-
* Both operations are infallible (no error channel) because the underlying
|
|
11018
|
-
* remark pipeline is configured to handle all valid markdown input. The
|
|
11019
|
-
* `Root` type comes from the `mdast` package and represents the root node
|
|
11020
|
-
* of a markdown abstract syntax tree.
|
|
11021
|
-
*
|
|
11022
|
-
* @public
|
|
11023
|
-
*/
|
|
11024
|
-
interface MarkdownServiceShape {
|
|
11025
|
-
/**
|
|
11026
|
-
* Parse a markdown string into an mdast abstract syntax tree.
|
|
11027
|
-
*
|
|
11028
|
-
* @param content - Raw markdown text to parse
|
|
11029
|
-
* @returns An `Effect` that resolves to an mdast `Root` node
|
|
11030
|
-
*/
|
|
11031
|
-
readonly parse: (content: string) => Effect.Effect<Root>;
|
|
11032
|
-
/**
|
|
11033
|
-
* Stringify an mdast abstract syntax tree back to markdown text.
|
|
11034
|
-
*
|
|
11035
|
-
* @param tree - The mdast `Root` node to serialize
|
|
11036
|
-
* @returns An `Effect` that resolves to a markdown string
|
|
11037
|
-
*/
|
|
11038
|
-
readonly stringify: (tree: Root) => Effect.Effect<string>;
|
|
11039
|
-
}
|
|
11040
|
-
declare const MarkdownService_base: Context.ServiceClass<MarkdownService, "MarkdownService", MarkdownServiceShape>;
|
|
11041
|
-
/**
|
|
11042
|
-
* Effect service tag for markdown parsing and stringification.
|
|
11043
|
-
*
|
|
11044
|
-
* Provides dependency-injected access to markdown parse/stringify operations.
|
|
11045
|
-
* Use `yield* MarkdownService` inside an `Effect.gen` block to obtain the
|
|
11046
|
-
* service instance.
|
|
11047
|
-
*
|
|
11048
|
-
* @remarks
|
|
11049
|
-
* This tag follows the standard Effect `Context.Service` pattern. The
|
|
11050
|
-
* {@link MarkdownLive} layer provides the default implementation backed by
|
|
11051
|
-
* the remark/unified pipeline. For testing, you can supply a custom layer
|
|
11052
|
-
* via `Layer.succeed(MarkdownService, { parse: ..., stringify: ... })`.
|
|
11053
|
-
*
|
|
11054
|
-
* @example
|
|
11055
|
-
* ```typescript
|
|
11056
|
-
* import { Effect } from "effect";
|
|
11057
|
-
* import { MarkdownService, MarkdownLive } from "\@savvy-web/changesets";
|
|
11058
|
-
*
|
|
11059
|
-
* const program = Effect.gen(function* () {
|
|
11060
|
-
* const md = yield* MarkdownService;
|
|
11061
|
-
* const tree = yield* md.parse("# Hello\n\nWorld");
|
|
11062
|
-
* const output = yield* md.stringify(tree);
|
|
11063
|
-
* console.log(output); // "# Hello\n\nWorld\n"
|
|
11064
|
-
* });
|
|
11065
|
-
*
|
|
11066
|
-
* Effect.runPromise(program.pipe(Effect.provide(MarkdownLive)));
|
|
11067
|
-
* ```
|
|
11068
|
-
*
|
|
11069
|
-
* @see {@link MarkdownServiceShape} for the service interface
|
|
11070
|
-
* @see {@link MarkdownLive} for the production layer
|
|
11071
|
-
*
|
|
11072
|
-
* @public
|
|
11073
|
-
*/
|
|
11074
|
-
declare class MarkdownService extends MarkdownService_base {}
|
|
11075
|
-
/**
|
|
11076
|
-
* Production layer for {@link MarkdownService}.
|
|
11077
|
-
*
|
|
11078
|
-
* Wraps the remark-pipeline utility functions (`parseMarkdown` and
|
|
11079
|
-
* `stringifyMarkdown`) in `Effect.sync` for use in Effect programs.
|
|
11080
|
-
* Both operations are synchronous and infallible.
|
|
11081
|
-
*
|
|
11082
|
-
* @remarks
|
|
11083
|
-
* This layer is composed with {@link GitHubLive} in the
|
|
11084
|
-
* `\@savvy-web/changesets/changelog` entry point to form the `MainLayer`
|
|
11085
|
-
* that powers the Changesets API integration.
|
|
11086
|
-
*
|
|
11087
|
-
* @example
|
|
11088
|
-
* ```typescript
|
|
11089
|
-
* import { Effect, Layer } from "effect";
|
|
11090
|
-
* import { MarkdownService, MarkdownLive } from "\@savvy-web/changesets";
|
|
11091
|
-
*
|
|
11092
|
-
* const program = Effect.gen(function* () {
|
|
11093
|
-
* const md = yield* MarkdownService;
|
|
11094
|
-
* const tree = yield* md.parse("**bold** text");
|
|
11095
|
-
* return yield* md.stringify(tree);
|
|
11096
|
-
* });
|
|
11097
|
-
*
|
|
11098
|
-
* Effect.runPromise(program.pipe(Effect.provide(MarkdownLive)));
|
|
11099
|
-
* ```
|
|
11100
|
-
*
|
|
11101
|
-
* @public
|
|
11102
|
-
*/
|
|
11103
|
-
declare const MarkdownLive: Layer.Layer<MarkdownService, never, never>;
|
|
11104
|
-
//#endregion
|
|
11105
11194
|
//#region src/changesets/services/changelog.d.ts
|
|
11106
11195
|
/**
|
|
11107
11196
|
* Service interface for changelog formatting.
|
|
@@ -11113,7 +11202,7 @@ declare const MarkdownLive: Layer.Layer<MarkdownService, never, never>;
|
|
|
11113
11202
|
* @remarks
|
|
11114
11203
|
* Both methods return `Effect.Effect` values that require additional
|
|
11115
11204
|
* services in their environment (`R` channel). `formatReleaseLine` needs
|
|
11116
|
-
*
|
|
11205
|
+
* {@link GitHubService} (for commit metadata)
|
|
11117
11206
|
* (for markdown parsing), while `formatDependencyReleaseLine` only needs
|
|
11118
11207
|
* {@link GitHubService}.
|
|
11119
11208
|
*
|
|
@@ -11128,7 +11217,7 @@ interface ChangelogServiceShape {
|
|
|
11128
11217
|
* @param options - Validated changeset configuration options (must include `repo`)
|
|
11129
11218
|
* @returns An `Effect` that resolves to a formatted markdown string
|
|
11130
11219
|
*/
|
|
11131
|
-
readonly formatReleaseLine: (changeset: NewChangesetWithCommit, versionType: VersionType$1, options: ChangesetOptions) => Effect.Effect<string, never, GitHubService
|
|
11220
|
+
readonly formatReleaseLine: (changeset: NewChangesetWithCommit, versionType: VersionType$1, options: ChangesetOptions) => Effect.Effect<string, never, GitHubService>;
|
|
11132
11221
|
/**
|
|
11133
11222
|
* Format dependency update release lines as a markdown table.
|
|
11134
11223
|
*
|
|
@@ -11157,7 +11246,7 @@ declare const ChangelogService_base: Context.ServiceClass<ChangelogService, "Cha
|
|
|
11157
11246
|
* ```typescript
|
|
11158
11247
|
* import { Effect } from "effect";
|
|
11159
11248
|
* import type { ChangesetOptions } from "\@savvy-web/changesets";
|
|
11160
|
-
* import { ChangelogService, GitHubLive
|
|
11249
|
+
* import { ChangelogService, GitHubLive } from "\@savvy-web/changesets";
|
|
11161
11250
|
*
|
|
11162
11251
|
* const program = Effect.gen(function* () {
|
|
11163
11252
|
* const changelog = yield* ChangelogService;
|
|
@@ -13238,7 +13327,7 @@ declare const RequiredSectionsRule: Plugin<Root, unknown>;
|
|
|
13238
13327
|
//#region src/changesets/remark/rules/uncategorized-content.d.ts
|
|
13239
13328
|
declare const UncategorizedContentRule: Plugin<Root, unknown>;
|
|
13240
13329
|
declare namespace index_d_exports {
|
|
13241
|
-
export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenDefault, DepsRegenLive, DepsRegenOptions, DepsRegenPlanError, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitHubApiError, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceShape, GlobSchema, HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema,
|
|
13330
|
+
export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenDefault, DepsRegenLive, DepsRegenOptions, DepsRegenPlanError, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitHubApiError, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceShape, GlobSchema, HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema, MarkdownParseError, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PendingChangeset, PendingChangesetSchema, PositiveInteger, PreviewRelease, PreviewReleaseSchema, RegenPlan, RegenResult, ReleasePlanError, ReleasePlanner, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, TransformOptions, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions$1 as changelogFunctions, computeWorkspaceDependencyDiffs, deriveMaintenanceReason, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeDepsRegenDefault, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown };
|
|
13242
13331
|
}
|
|
13243
13332
|
//#endregion
|
|
13244
13333
|
//#region src/changesets/changelog.d.ts
|