@savvy-web/silk 3.2.1 → 3.2.2
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 +346 -52
- package/changesets-changelog.d.cts +78 -1
- package/changesets-changelog.d.ts +78 -1
- package/changesets-changelog.js +347 -52
- package/changesets-markdownlint.cjs +346 -52
- package/changesets-markdownlint.d.cts +78 -1
- package/changesets-markdownlint.d.ts +78 -1
- package/changesets-markdownlint.js +347 -52
- package/package.json +4 -4
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
|
@@ -5659,7 +5659,7 @@ declare class Package extends Package_base {
|
|
|
5659
5659
|
toJsonString(options?: PackageFormatOptions): string;
|
|
5660
5660
|
}
|
|
5661
5661
|
//#endregion
|
|
5662
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
5662
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.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
|
|
5663
5663
|
//#region src/WorkspacePackage.d.ts
|
|
5664
5664
|
declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
|
|
5665
5665
|
/** Scoped-package visibility. Its presence overrides `private`. */
|
|
@@ -6747,6 +6747,26 @@ declare class PublishabilityDetector extends PublishabilityDetector_base {
|
|
|
6747
6747
|
}
|
|
6748
6748
|
//#endregion
|
|
6749
6749
|
//#region src/WorkspaceCatalogs.d.ts
|
|
6750
|
+
/**
|
|
6751
|
+
* Each importer's dependency-name → resolved-version map, keyed by importer path
|
|
6752
|
+
* (`"."` for the root package — the same keys `WorkspaceDiscovery.importerMap()`
|
|
6753
|
+
* uses, and the same value `PackageStateSnapshot.relativePath` carries).
|
|
6754
|
+
*
|
|
6755
|
+
* @remarks
|
|
6756
|
+
* What a manager's lockfile records as actually installed, as opposed to what a
|
|
6757
|
+
* manifest declares. It answers a `catalog:` specifier no committed catalog
|
|
6758
|
+
* source declares — the shape a pnpm config-dependency pnpmfile hook produces —
|
|
6759
|
+
* which would otherwise resolve to nothing on both sides of a diff and hide a
|
|
6760
|
+
* real version movement.
|
|
6761
|
+
*
|
|
6762
|
+
* Versions are normalized: pnpm's peer-disambiguation suffix
|
|
6763
|
+
* (`1.2.3(effect@4.0.0)`) is stripped, and `link:` / `file:` entries are omitted
|
|
6764
|
+
* because a filesystem edge is not a version. Only pnpm records importer
|
|
6765
|
+
* versions; bun and npm yield an empty index.
|
|
6766
|
+
*
|
|
6767
|
+
* @public
|
|
6768
|
+
*/
|
|
6769
|
+
type ImporterVersions = Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
6750
6770
|
declare const CatalogSet_base: Schema.Class<CatalogSet, Schema.Struct<{
|
|
6751
6771
|
/** Catalog name → dependency name → version range. */
|
|
6752
6772
|
readonly entries: Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -6879,6 +6899,19 @@ interface WorkspaceCatalogsShape {
|
|
|
6879
6899
|
* workspace) has no release-age keys, so the gate is the inert zero gate.
|
|
6880
6900
|
*/
|
|
6881
6901
|
readonly releaseAgeGate: () => Effect.Effect<ReleaseAgeGate, CatalogAssemblyFailure>;
|
|
6902
|
+
/**
|
|
6903
|
+
* Each importer's dependency-name → resolved-version map, as the manager's
|
|
6904
|
+
* lockfile records it. Read from the same single lockfile read as `set`, and
|
|
6905
|
+
* memoized with it.
|
|
6906
|
+
*
|
|
6907
|
+
* @remarks
|
|
6908
|
+
* Feeds `WorkspaceStateSnapshot`'s fallback for a `catalog:` specifier no
|
|
6909
|
+
* committed catalog source declares — the shape a config-dependency pnpmfile
|
|
6910
|
+
* hook produces. Only pnpm records importer versions; a bun or npm workspace
|
|
6911
|
+
* yields an empty index, and an absent or unreadable lockfile contributes
|
|
6912
|
+
* nothing rather than failing.
|
|
6913
|
+
*/
|
|
6914
|
+
readonly importerVersions: () => Effect.Effect<ImporterVersions, CatalogAssemblyFailure>;
|
|
6882
6915
|
}
|
|
6883
6916
|
/**
|
|
6884
6917
|
* Options for the {@link WorkspaceCatalogs} layer.
|
|
@@ -7007,6 +7040,18 @@ declare const WorkspaceStateSnapshot_base: Schema.Class<WorkspaceStateSnapshot,
|
|
|
7007
7040
|
readonly packages: Schema.$Array<typeof PackageStateSnapshot>;
|
|
7008
7041
|
/** The catalog set assembled at this moment. */
|
|
7009
7042
|
readonly catalogs: typeof CatalogSet;
|
|
7043
|
+
/**
|
|
7044
|
+
* Each importer's dependency-name → resolved-version map, as the manager's
|
|
7045
|
+
* lockfile recorded it at this moment.
|
|
7046
|
+
*
|
|
7047
|
+
* @remarks
|
|
7048
|
+
* Defaults to `{}`, so a `WorkspaceStateSnapshot` serialized before this field
|
|
7049
|
+
* existed still decodes — and an empty index simply makes the `catalog:`
|
|
7050
|
+
* fallback in {@link WorkspaceStateSnapshot.resolve} inert, which is exactly
|
|
7051
|
+
* the behavior those older values were captured under. Only pnpm records
|
|
7052
|
+
* importer versions; bun and npm yield an empty index.
|
|
7053
|
+
*/
|
|
7054
|
+
readonly importerVersions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.String>>>;
|
|
7010
7055
|
}>, {}>;
|
|
7011
7056
|
/**
|
|
7012
7057
|
* The state of a whole workspace at one moment — its packages and its assembled
|
|
@@ -7056,11 +7101,43 @@ declare class WorkspaceStateSnapshot extends WorkspaceStateSnapshot_base {
|
|
|
7056
7101
|
* unparseable string — is `Option.none()`, because there is no indirection to
|
|
7057
7102
|
* resolve. Total.
|
|
7058
7103
|
*
|
|
7104
|
+
* A `catalog:` specifier the catalog set cannot resolve falls back to this
|
|
7105
|
+
* snapshot's `importerVersions` — but only to a version
|
|
7106
|
+
* **every** importer recording that dependency agrees on. A catalog injected
|
|
7107
|
+
* by a config-dependency pnpmfile hook appears in no committed catalog source,
|
|
7108
|
+
* so without this fallback both sides of a before/after diff resolve it to the
|
|
7109
|
+
* same raw string and a real version movement produces no row. When importers
|
|
7110
|
+
* disagree there is no single correct answer, so this stays `Option.none()`
|
|
7111
|
+
* rather than inventing one; {@link WorkspaceStateSnapshot.resolveIn} answers
|
|
7112
|
+
* precisely for callers that know which importer is asking.
|
|
7113
|
+
*
|
|
7059
7114
|
* @param dependency - The dependency's package name (what `workspace:` /
|
|
7060
7115
|
* `catalog:` resolve for).
|
|
7061
7116
|
* @param specifier - The raw specifier string.
|
|
7062
7117
|
*/
|
|
7063
7118
|
resolve(dependency: string, specifier: string): Option.Option<string>;
|
|
7119
|
+
/**
|
|
7120
|
+
* The concrete range or version a specifier resolved to AS OF this snapshot,
|
|
7121
|
+
* scoped to the importer that declared it.
|
|
7122
|
+
*
|
|
7123
|
+
* @remarks
|
|
7124
|
+
* Identical to {@link WorkspaceStateSnapshot.resolve} except in how an
|
|
7125
|
+
* unresolvable `catalog:` specifier falls back: this consults **only**
|
|
7126
|
+
* `importerPath`'s own recorded versions, so a monorepo whose packages hold
|
|
7127
|
+
* different versions of one dependency still gets an exact answer where
|
|
7128
|
+
* `resolve` must abstain. Prefer this whenever the caller knows the importer —
|
|
7129
|
+
* a consumer iterating `packages` has `relativePath` in hand, which is the
|
|
7130
|
+
* importer key (`"."` for the root package).
|
|
7131
|
+
*
|
|
7132
|
+
* An unknown `importerPath`, or one recording nothing for `dependency`, is
|
|
7133
|
+
* `Option.none()`. Total.
|
|
7134
|
+
*
|
|
7135
|
+
* @param importerPath - The importer's path relative to the workspace root,
|
|
7136
|
+
* `"."` for the root package — `PackageStateSnapshot.relativePath`.
|
|
7137
|
+
* @param dependency - The dependency's package name.
|
|
7138
|
+
* @param specifier - The raw specifier string.
|
|
7139
|
+
*/
|
|
7140
|
+
resolveIn(importerPath: string, dependency: string, specifier: string): Option.Option<string>;
|
|
7064
7141
|
/**
|
|
7065
7142
|
* A `CatalogResolver` layer implementing `@effected/npm`'s contract against
|
|
7066
7143
|
* THIS snapshot's catalog set — so code written to the contract resolves
|
|
@@ -5659,7 +5659,7 @@ declare class Package extends Package_base {
|
|
|
5659
5659
|
toJsonString(options?: PackageFormatOptions): string;
|
|
5660
5660
|
}
|
|
5661
5661
|
//#endregion
|
|
5662
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
5662
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.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
|
|
5663
5663
|
//#region src/WorkspacePackage.d.ts
|
|
5664
5664
|
declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
|
|
5665
5665
|
/** Scoped-package visibility. Its presence overrides `private`. */
|
|
@@ -6747,6 +6747,26 @@ declare class PublishabilityDetector extends PublishabilityDetector_base {
|
|
|
6747
6747
|
}
|
|
6748
6748
|
//#endregion
|
|
6749
6749
|
//#region src/WorkspaceCatalogs.d.ts
|
|
6750
|
+
/**
|
|
6751
|
+
* Each importer's dependency-name → resolved-version map, keyed by importer path
|
|
6752
|
+
* (`"."` for the root package — the same keys `WorkspaceDiscovery.importerMap()`
|
|
6753
|
+
* uses, and the same value `PackageStateSnapshot.relativePath` carries).
|
|
6754
|
+
*
|
|
6755
|
+
* @remarks
|
|
6756
|
+
* What a manager's lockfile records as actually installed, as opposed to what a
|
|
6757
|
+
* manifest declares. It answers a `catalog:` specifier no committed catalog
|
|
6758
|
+
* source declares — the shape a pnpm config-dependency pnpmfile hook produces —
|
|
6759
|
+
* which would otherwise resolve to nothing on both sides of a diff and hide a
|
|
6760
|
+
* real version movement.
|
|
6761
|
+
*
|
|
6762
|
+
* Versions are normalized: pnpm's peer-disambiguation suffix
|
|
6763
|
+
* (`1.2.3(effect@4.0.0)`) is stripped, and `link:` / `file:` entries are omitted
|
|
6764
|
+
* because a filesystem edge is not a version. Only pnpm records importer
|
|
6765
|
+
* versions; bun and npm yield an empty index.
|
|
6766
|
+
*
|
|
6767
|
+
* @public
|
|
6768
|
+
*/
|
|
6769
|
+
type ImporterVersions = Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
6750
6770
|
declare const CatalogSet_base: Schema.Class<CatalogSet, Schema.Struct<{
|
|
6751
6771
|
/** Catalog name → dependency name → version range. */
|
|
6752
6772
|
readonly entries: Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -6879,6 +6899,19 @@ interface WorkspaceCatalogsShape {
|
|
|
6879
6899
|
* workspace) has no release-age keys, so the gate is the inert zero gate.
|
|
6880
6900
|
*/
|
|
6881
6901
|
readonly releaseAgeGate: () => Effect.Effect<ReleaseAgeGate, CatalogAssemblyFailure>;
|
|
6902
|
+
/**
|
|
6903
|
+
* Each importer's dependency-name → resolved-version map, as the manager's
|
|
6904
|
+
* lockfile records it. Read from the same single lockfile read as `set`, and
|
|
6905
|
+
* memoized with it.
|
|
6906
|
+
*
|
|
6907
|
+
* @remarks
|
|
6908
|
+
* Feeds `WorkspaceStateSnapshot`'s fallback for a `catalog:` specifier no
|
|
6909
|
+
* committed catalog source declares — the shape a config-dependency pnpmfile
|
|
6910
|
+
* hook produces. Only pnpm records importer versions; a bun or npm workspace
|
|
6911
|
+
* yields an empty index, and an absent or unreadable lockfile contributes
|
|
6912
|
+
* nothing rather than failing.
|
|
6913
|
+
*/
|
|
6914
|
+
readonly importerVersions: () => Effect.Effect<ImporterVersions, CatalogAssemblyFailure>;
|
|
6882
6915
|
}
|
|
6883
6916
|
/**
|
|
6884
6917
|
* Options for the {@link WorkspaceCatalogs} layer.
|
|
@@ -7007,6 +7040,18 @@ declare const WorkspaceStateSnapshot_base: Schema.Class<WorkspaceStateSnapshot,
|
|
|
7007
7040
|
readonly packages: Schema.$Array<typeof PackageStateSnapshot>;
|
|
7008
7041
|
/** The catalog set assembled at this moment. */
|
|
7009
7042
|
readonly catalogs: typeof CatalogSet;
|
|
7043
|
+
/**
|
|
7044
|
+
* Each importer's dependency-name → resolved-version map, as the manager's
|
|
7045
|
+
* lockfile recorded it at this moment.
|
|
7046
|
+
*
|
|
7047
|
+
* @remarks
|
|
7048
|
+
* Defaults to `{}`, so a `WorkspaceStateSnapshot` serialized before this field
|
|
7049
|
+
* existed still decodes — and an empty index simply makes the `catalog:`
|
|
7050
|
+
* fallback in {@link WorkspaceStateSnapshot.resolve} inert, which is exactly
|
|
7051
|
+
* the behavior those older values were captured under. Only pnpm records
|
|
7052
|
+
* importer versions; bun and npm yield an empty index.
|
|
7053
|
+
*/
|
|
7054
|
+
readonly importerVersions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.String>>>;
|
|
7010
7055
|
}>, {}>;
|
|
7011
7056
|
/**
|
|
7012
7057
|
* The state of a whole workspace at one moment — its packages and its assembled
|
|
@@ -7056,11 +7101,43 @@ declare class WorkspaceStateSnapshot extends WorkspaceStateSnapshot_base {
|
|
|
7056
7101
|
* unparseable string — is `Option.none()`, because there is no indirection to
|
|
7057
7102
|
* resolve. Total.
|
|
7058
7103
|
*
|
|
7104
|
+
* A `catalog:` specifier the catalog set cannot resolve falls back to this
|
|
7105
|
+
* snapshot's `importerVersions` — but only to a version
|
|
7106
|
+
* **every** importer recording that dependency agrees on. A catalog injected
|
|
7107
|
+
* by a config-dependency pnpmfile hook appears in no committed catalog source,
|
|
7108
|
+
* so without this fallback both sides of a before/after diff resolve it to the
|
|
7109
|
+
* same raw string and a real version movement produces no row. When importers
|
|
7110
|
+
* disagree there is no single correct answer, so this stays `Option.none()`
|
|
7111
|
+
* rather than inventing one; {@link WorkspaceStateSnapshot.resolveIn} answers
|
|
7112
|
+
* precisely for callers that know which importer is asking.
|
|
7113
|
+
*
|
|
7059
7114
|
* @param dependency - The dependency's package name (what `workspace:` /
|
|
7060
7115
|
* `catalog:` resolve for).
|
|
7061
7116
|
* @param specifier - The raw specifier string.
|
|
7062
7117
|
*/
|
|
7063
7118
|
resolve(dependency: string, specifier: string): Option.Option<string>;
|
|
7119
|
+
/**
|
|
7120
|
+
* The concrete range or version a specifier resolved to AS OF this snapshot,
|
|
7121
|
+
* scoped to the importer that declared it.
|
|
7122
|
+
*
|
|
7123
|
+
* @remarks
|
|
7124
|
+
* Identical to {@link WorkspaceStateSnapshot.resolve} except in how an
|
|
7125
|
+
* unresolvable `catalog:` specifier falls back: this consults **only**
|
|
7126
|
+
* `importerPath`'s own recorded versions, so a monorepo whose packages hold
|
|
7127
|
+
* different versions of one dependency still gets an exact answer where
|
|
7128
|
+
* `resolve` must abstain. Prefer this whenever the caller knows the importer —
|
|
7129
|
+
* a consumer iterating `packages` has `relativePath` in hand, which is the
|
|
7130
|
+
* importer key (`"."` for the root package).
|
|
7131
|
+
*
|
|
7132
|
+
* An unknown `importerPath`, or one recording nothing for `dependency`, is
|
|
7133
|
+
* `Option.none()`. Total.
|
|
7134
|
+
*
|
|
7135
|
+
* @param importerPath - The importer's path relative to the workspace root,
|
|
7136
|
+
* `"."` for the root package — `PackageStateSnapshot.relativePath`.
|
|
7137
|
+
* @param dependency - The dependency's package name.
|
|
7138
|
+
* @param specifier - The raw specifier string.
|
|
7139
|
+
*/
|
|
7140
|
+
resolveIn(importerPath: string, dependency: string, specifier: string): Option.Option<string>;
|
|
7064
7141
|
/**
|
|
7065
7142
|
* A `CatalogResolver` layer implementing `@effected/npm`'s contract against
|
|
7066
7143
|
* THIS snapshot's catalog set — so code written to the contract resolves
|