@savvy-web/silk 3.2.9 → 3.2.11

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.
@@ -4286,7 +4286,7 @@ declare class UnsatisfiableConstraintError extends UnsatisfiableConstraintError_
4286
4286
  get message(): string;
4287
4287
  }
4288
4288
  //#endregion
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
4289
+ //#region ../../node_modules/.pnpm/@effected+npm@0.6.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
4290
4290
  //#region src/CatalogAssemblyError.d.ts
4291
4291
  declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
4292
4292
  /**
@@ -4854,7 +4854,7 @@ declare class GlobPattern extends GlobPattern_base {
4854
4854
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4855
4855
  }
4856
4856
  //#endregion
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
4857
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.2.2_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0._96898a3d00962223825b2ef21022f405/node_modules/@effected/lockfiles/index.d.ts
4858
4858
  //#region src/BunExtension.d.ts
4859
4859
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4860
4860
  readonly _tag: Schema.tag<"bun">;
@@ -5284,7 +5284,7 @@ declare class LockfileIntegrity extends LockfileIntegrity_base {
5284
5284
  static compare(lockfile: Lockfile, manifests: ReadonlyArray<WorkspaceManifest>): LockfileIntegrity;
5285
5285
  }
5286
5286
  //#endregion
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
5287
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5288
5288
  //#region src/Dependency.d.ts
5289
5289
  declare const Dependency_base: Schema.Class<Dependency, Schema.Struct<{
5290
5290
  /** The package name. */
@@ -5811,7 +5811,7 @@ declare class Package extends Package_base {
5811
5811
  toJsonString(options?: PackageFormatOptions): string;
5812
5812
  }
5813
5813
  //#endregion
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
5814
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.9.1_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
5815
5815
  //#region src/WorkspacePackage.d.ts
5816
5816
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5817
5817
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -6405,7 +6405,10 @@ declare class WorkspaceDiscovery extends WorkspaceDiscovery_base {
6405
6405
  * (a fabricated root path would leak into consumer path logic), so an
6406
6406
  * unstubbed `info()` call is a test-wiring mistake and fails loudly as a
6407
6407
  * defect rather than succeeding with a lie or failing with a dishonest
6408
- * typed error.
6408
+ * typed error. A defect is not absorbed by `Effect.catch` or any
6409
+ * typed-error handler — deliberately, so code under test with a
6410
+ * best-effort `catch` cannot make the mandatory stub look optional; the
6411
+ * unstubbed call still fails the test.
6409
6412
  *
6410
6413
  * @example
6411
6414
  * ```ts
@@ -6701,6 +6704,11 @@ declare class PackageManagerDetector extends PackageManagerDetector_base {
6701
6704
  * reads as a legitimate "no manager here" answer, so a consumer would branch
6702
6705
  * on it and proceed, never learning that the test simply forgot to stub.
6703
6706
  *
6707
+ * The defect is also not absorbed by `Effect.catch` or any typed-error
6708
+ * handler — deliberately, so code under test with a best-effort `catch`
6709
+ * around detection cannot make the mandatory stub look optional; the
6710
+ * unstubbed call still fails the test.
6711
+ *
6704
6712
  * @param overrides - Members to supply; anything omitted dies on use.
6705
6713
  *
6706
6714
  * @example
@@ -7049,8 +7057,15 @@ declare class PublishabilityDetector extends PublishabilityDetector_base {
7049
7057
  * silence — `Layer.mergeAll(myDetector, Workspaces.layer())` resolved to the
7050
7058
  * default, because `mergeAll` is last-wins. For a service that decides
7051
7059
  * 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.
7060
+ * the worst available failure.
7061
+ *
7062
+ * The composites do not *require* a detector either — nothing inside them
7063
+ * asks a publishability question, so their `R` stays `FileSystem | Path`.
7064
+ * The requirement instead surfaces in the `R` of each operation that asks
7065
+ * (`VersioningStrategy.detect`, e.g.): a program that asks and never wires
7066
+ * a detector fails to compile where that operation's `R` must close — which
7067
+ * can be far from the layer-wiring site — and a program that never asks
7068
+ * never supplies a publish policy at all.
7054
7069
  */
7055
7070
  static readonly layerNpm: Layer.Layer<PublishabilityDetector>;
7056
7071
  /**
@@ -7640,6 +7655,13 @@ declare class WorkspaceSnapshots extends WorkspaceSnapshots_base {
7640
7655
  * test-wiring mistake fails loudly as a defect rather than succeeding with a
7641
7656
  * lie.
7642
7657
  *
7658
+ * **A defect is not absorbed by `Effect.catch` or any typed-error handler**,
7659
+ * and that is the point: code under test with a best-effort `catch` around
7660
+ * its snapshot reads cannot make a mandatory stub look optional — the
7661
+ * unstubbed call still fails the test instead of quietly taking the catch
7662
+ * branch. Only defect-level combinators (`Effect.catchDefect`,
7663
+ * `Effect.exit`) would see it.
7664
+ *
7643
7665
  * @example
7644
7666
  * ```ts
7645
7667
  * import { CatalogSet, WorkspaceSnapshots, WorkspaceStateSnapshot } from "@effected/workspaces";
@@ -8040,7 +8062,7 @@ declare class Categories {
8040
8062
  static isValidHeading(heading: string): boolean;
8041
8063
  }
8042
8064
  //#endregion
8043
- //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.7/node_modules/@changesets/types/dist/index.d.mts
8065
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.8/node_modules/@changesets/types/dist/index.d.mts
8044
8066
  //#region src/index.d.ts
8045
8067
  type MaybePromise<T> = T | Promise<T>;
8046
8068
  type VersionType$1 = "major" | "minor" | "patch" | "none";
@@ -8049,13 +8071,34 @@ type Release = {
8049
8071
  name: string;
8050
8072
  type: VersionType$1;
8051
8073
  };
8052
- type ComprehensiveRelease = {
8074
+ interface ComprehensiveReleaseBase {
8053
8075
  name: string;
8054
- type: VersionType$1;
8076
+ type: "major" | "minor" | "patch" | "none";
8077
+ changesets: string[];
8078
+ oldVersion: string | undefined;
8079
+ newVersion: string | undefined;
8080
+ }
8081
+ interface ComprehensiveMajorRelease extends ComprehensiveReleaseBase {
8082
+ type: "major";
8055
8083
  oldVersion: string;
8056
8084
  newVersion: string;
8057
- changesets: string[];
8058
- };
8085
+ }
8086
+ interface ComprehensiveMinorRelease extends ComprehensiveReleaseBase {
8087
+ type: "minor";
8088
+ oldVersion: string;
8089
+ newVersion: string;
8090
+ }
8091
+ interface ComprehensivePatchRelease extends ComprehensiveReleaseBase {
8092
+ type: "patch";
8093
+ oldVersion: string;
8094
+ newVersion: string;
8095
+ }
8096
+ interface ComprehensiveNoneRelease extends ComprehensiveReleaseBase {
8097
+ type: "none";
8098
+ oldVersion: string | undefined;
8099
+ newVersion: string | undefined;
8100
+ }
8101
+ type ComprehensiveRelease = ComprehensiveMajorRelease | ComprehensiveMinorRelease | ComprehensivePatchRelease | ComprehensiveNoneRelease;
8059
8102
  type Changeset$1 = {
8060
8103
  summary: string;
8061
8104
  releases: Array<Release>;
@@ -9914,6 +9957,10 @@ type MaintenanceReason = typeof MaintenanceReasonSchema.Type;
9914
9957
  * will not match here; the release then degrades gracefully to the
9915
9958
  * `"unspecified"` fallback sentence instead of naming its triggers.
9916
9959
  *
9960
+ * Co-members releasing as `type: "none"` are never triggers — they carry no
9961
+ * version bump (and, per `@changesets/types`, no guaranteed `newVersion`), so
9962
+ * naming one would print an unchanged version as the cause of the release.
9963
+ *
9917
9964
  * @public
9918
9965
  */
9919
9966
  declare function deriveMaintenanceReason(release: ComprehensiveRelease, plan: ReleasePlan, config: Config): MaintenanceReason | undefined;
@@ -4286,7 +4286,7 @@ declare class UnsatisfiableConstraintError extends UnsatisfiableConstraintError_
4286
4286
  get message(): string;
4287
4287
  }
4288
4288
  //#endregion
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
4289
+ //#region ../../node_modules/.pnpm/@effected+npm@0.6.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
4290
4290
  //#region src/CatalogAssemblyError.d.ts
4291
4291
  declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
4292
4292
  /**
@@ -4854,7 +4854,7 @@ declare class GlobPattern extends GlobPattern_base {
4854
4854
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4855
4855
  }
4856
4856
  //#endregion
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
4857
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.2.2_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0._96898a3d00962223825b2ef21022f405/node_modules/@effected/lockfiles/index.d.ts
4858
4858
  //#region src/BunExtension.d.ts
4859
4859
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4860
4860
  readonly _tag: Schema.tag<"bun">;
@@ -5284,7 +5284,7 @@ declare class LockfileIntegrity extends LockfileIntegrity_base {
5284
5284
  static compare(lockfile: Lockfile, manifests: ReadonlyArray<WorkspaceManifest>): LockfileIntegrity;
5285
5285
  }
5286
5286
  //#endregion
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
5287
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5288
5288
  //#region src/Dependency.d.ts
5289
5289
  declare const Dependency_base: Schema.Class<Dependency, Schema.Struct<{
5290
5290
  /** The package name. */
@@ -5811,7 +5811,7 @@ declare class Package extends Package_base {
5811
5811
  toJsonString(options?: PackageFormatOptions): string;
5812
5812
  }
5813
5813
  //#endregion
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
5814
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.9.1_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
5815
5815
  //#region src/WorkspacePackage.d.ts
5816
5816
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5817
5817
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -6405,7 +6405,10 @@ declare class WorkspaceDiscovery extends WorkspaceDiscovery_base {
6405
6405
  * (a fabricated root path would leak into consumer path logic), so an
6406
6406
  * unstubbed `info()` call is a test-wiring mistake and fails loudly as a
6407
6407
  * defect rather than succeeding with a lie or failing with a dishonest
6408
- * typed error.
6408
+ * typed error. A defect is not absorbed by `Effect.catch` or any
6409
+ * typed-error handler — deliberately, so code under test with a
6410
+ * best-effort `catch` cannot make the mandatory stub look optional; the
6411
+ * unstubbed call still fails the test.
6409
6412
  *
6410
6413
  * @example
6411
6414
  * ```ts
@@ -6701,6 +6704,11 @@ declare class PackageManagerDetector extends PackageManagerDetector_base {
6701
6704
  * reads as a legitimate "no manager here" answer, so a consumer would branch
6702
6705
  * on it and proceed, never learning that the test simply forgot to stub.
6703
6706
  *
6707
+ * The defect is also not absorbed by `Effect.catch` or any typed-error
6708
+ * handler — deliberately, so code under test with a best-effort `catch`
6709
+ * around detection cannot make the mandatory stub look optional; the
6710
+ * unstubbed call still fails the test.
6711
+ *
6704
6712
  * @param overrides - Members to supply; anything omitted dies on use.
6705
6713
  *
6706
6714
  * @example
@@ -7049,8 +7057,15 @@ declare class PublishabilityDetector extends PublishabilityDetector_base {
7049
7057
  * silence — `Layer.mergeAll(myDetector, Workspaces.layer())` resolved to the
7050
7058
  * default, because `mergeAll` is last-wins. For a service that decides
7051
7059
  * 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.
7060
+ * the worst available failure.
7061
+ *
7062
+ * The composites do not *require* a detector either — nothing inside them
7063
+ * asks a publishability question, so their `R` stays `FileSystem | Path`.
7064
+ * The requirement instead surfaces in the `R` of each operation that asks
7065
+ * (`VersioningStrategy.detect`, e.g.): a program that asks and never wires
7066
+ * a detector fails to compile where that operation's `R` must close — which
7067
+ * can be far from the layer-wiring site — and a program that never asks
7068
+ * never supplies a publish policy at all.
7054
7069
  */
7055
7070
  static readonly layerNpm: Layer.Layer<PublishabilityDetector>;
7056
7071
  /**
@@ -7640,6 +7655,13 @@ declare class WorkspaceSnapshots extends WorkspaceSnapshots_base {
7640
7655
  * test-wiring mistake fails loudly as a defect rather than succeeding with a
7641
7656
  * lie.
7642
7657
  *
7658
+ * **A defect is not absorbed by `Effect.catch` or any typed-error handler**,
7659
+ * and that is the point: code under test with a best-effort `catch` around
7660
+ * its snapshot reads cannot make a mandatory stub look optional — the
7661
+ * unstubbed call still fails the test instead of quietly taking the catch
7662
+ * branch. Only defect-level combinators (`Effect.catchDefect`,
7663
+ * `Effect.exit`) would see it.
7664
+ *
7643
7665
  * @example
7644
7666
  * ```ts
7645
7667
  * import { CatalogSet, WorkspaceSnapshots, WorkspaceStateSnapshot } from "@effected/workspaces";
@@ -8040,7 +8062,7 @@ declare class Categories {
8040
8062
  static isValidHeading(heading: string): boolean;
8041
8063
  }
8042
8064
  //#endregion
8043
- //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.7/node_modules/@changesets/types/dist/index.d.mts
8065
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.8/node_modules/@changesets/types/dist/index.d.mts
8044
8066
  //#region src/index.d.ts
8045
8067
  type MaybePromise<T> = T | Promise<T>;
8046
8068
  type VersionType$1 = "major" | "minor" | "patch" | "none";
@@ -8049,13 +8071,34 @@ type Release = {
8049
8071
  name: string;
8050
8072
  type: VersionType$1;
8051
8073
  };
8052
- type ComprehensiveRelease = {
8074
+ interface ComprehensiveReleaseBase {
8053
8075
  name: string;
8054
- type: VersionType$1;
8076
+ type: "major" | "minor" | "patch" | "none";
8077
+ changesets: string[];
8078
+ oldVersion: string | undefined;
8079
+ newVersion: string | undefined;
8080
+ }
8081
+ interface ComprehensiveMajorRelease extends ComprehensiveReleaseBase {
8082
+ type: "major";
8055
8083
  oldVersion: string;
8056
8084
  newVersion: string;
8057
- changesets: string[];
8058
- };
8085
+ }
8086
+ interface ComprehensiveMinorRelease extends ComprehensiveReleaseBase {
8087
+ type: "minor";
8088
+ oldVersion: string;
8089
+ newVersion: string;
8090
+ }
8091
+ interface ComprehensivePatchRelease extends ComprehensiveReleaseBase {
8092
+ type: "patch";
8093
+ oldVersion: string;
8094
+ newVersion: string;
8095
+ }
8096
+ interface ComprehensiveNoneRelease extends ComprehensiveReleaseBase {
8097
+ type: "none";
8098
+ oldVersion: string | undefined;
8099
+ newVersion: string | undefined;
8100
+ }
8101
+ type ComprehensiveRelease = ComprehensiveMajorRelease | ComprehensiveMinorRelease | ComprehensivePatchRelease | ComprehensiveNoneRelease;
8059
8102
  type Changeset$1 = {
8060
8103
  summary: string;
8061
8104
  releases: Array<Release>;
@@ -9914,6 +9957,10 @@ type MaintenanceReason = typeof MaintenanceReasonSchema.Type;
9914
9957
  * will not match here; the release then degrades gracefully to the
9915
9958
  * `"unspecified"` fallback sentence instead of naming its triggers.
9916
9959
  *
9960
+ * Co-members releasing as `type: "none"` are never triggers — they carry no
9961
+ * version bump (and, per `@changesets/types`, no guaranteed `newVersion`), so
9962
+ * naming one would print an unchanged version as the cause of the release.
9963
+ *
9917
9964
  * @public
9918
9965
  */
9919
9966
  declare function deriveMaintenanceReason(release: ComprehensiveRelease, plan: ReleasePlan, config: Config): MaintenanceReason | undefined;