@savvy-web/silk 2.2.1 → 2.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 +26 -24
- package/changesets-changelog.d.cts +1 -1
- package/changesets-changelog.d.ts +1 -1
- package/changesets-changelog.js +26 -24
- package/changesets-markdownlint.cjs +26 -24
- package/changesets-markdownlint.d.cts +1 -1
- package/changesets-markdownlint.d.ts +1 -1
- package/changesets-markdownlint.js +26 -24
- package/package.json +4 -4
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
|
@@ -388,7 +388,7 @@ const ChangesetConfigLive = effect.Layer.effect(ChangesetConfig, effect.Effect.g
|
|
|
388
388
|
};
|
|
389
389
|
}));
|
|
390
390
|
//#endregion
|
|
391
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
391
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogAssemblyError.js
|
|
392
392
|
/**
|
|
393
393
|
* Base constant for {@link CatalogAssemblyError}.
|
|
394
394
|
*
|
|
@@ -415,7 +415,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
418
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogResolutionError.js
|
|
419
419
|
/**
|
|
420
420
|
* Base constant for {@link CatalogResolutionError}.
|
|
421
421
|
*
|
|
@@ -441,7 +441,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
|
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
443
|
//#endregion
|
|
444
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
444
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/GitReadError.js
|
|
445
445
|
/**
|
|
446
446
|
* Base constant for {@link GitReadError}.
|
|
447
447
|
*
|
|
@@ -466,7 +466,7 @@ var GitReadError = class extends GitReadErrorBase {
|
|
|
466
466
|
}
|
|
467
467
|
};
|
|
468
468
|
//#endregion
|
|
469
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
469
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/PackageNotFoundError.js
|
|
470
470
|
/**
|
|
471
471
|
* Base constant for {@link PackageNotFoundError}.
|
|
472
472
|
*
|
|
@@ -517,7 +517,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
|
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
519
|
//#endregion
|
|
520
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
520
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceDiscoveryError.js
|
|
521
521
|
/**
|
|
522
522
|
* Base constant for {@link WorkspaceDiscoveryError}.
|
|
523
523
|
*
|
|
@@ -568,7 +568,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
|
|
|
568
568
|
}
|
|
569
569
|
};
|
|
570
570
|
//#endregion
|
|
571
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
571
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceRootNotFoundError.js
|
|
572
572
|
/**
|
|
573
573
|
* Base constant for {@link WorkspaceRootNotFoundError}.
|
|
574
574
|
*
|
|
@@ -618,7 +618,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
620
|
//#endregion
|
|
621
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
621
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceDiscovery.js
|
|
622
622
|
/**
|
|
623
623
|
* Service for discovering workspace packages in a monorepo.
|
|
624
624
|
*
|
|
@@ -668,7 +668,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
668
668
|
*/
|
|
669
669
|
var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
|
|
670
670
|
//#endregion
|
|
671
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
671
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceRoot.js
|
|
672
672
|
/**
|
|
673
673
|
* Service for finding the workspace root directory.
|
|
674
674
|
*
|
|
@@ -6354,7 +6354,7 @@ function parse$3(text, options) {
|
|
|
6354
6354
|
}));
|
|
6355
6355
|
}
|
|
6356
6356
|
//#endregion
|
|
6357
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6357
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/workspace-manifest.js
|
|
6358
6358
|
/**
|
|
6359
6359
|
* Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
|
|
6360
6360
|
* slice. Pure with respect to the filesystem.
|
|
@@ -6422,7 +6422,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
6422
6422
|
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.");
|
|
6423
6423
|
}
|
|
6424
6424
|
//#endregion
|
|
6425
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6425
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/assemble.js
|
|
6426
6426
|
/** Merge catalog sources; later sources win per dependency within a catalog. */
|
|
6427
6427
|
function mergeCatalogs(...sources) {
|
|
6428
6428
|
const result = {};
|
|
@@ -6503,7 +6503,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
6503
6503
|
};
|
|
6504
6504
|
}
|
|
6505
6505
|
//#endregion
|
|
6506
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6506
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/resolve.js
|
|
6507
6507
|
const DEP_FIELDS = [
|
|
6508
6508
|
"dependencies",
|
|
6509
6509
|
"devDependencies",
|
|
@@ -6573,7 +6573,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
|
|
|
6573
6573
|
return out;
|
|
6574
6574
|
}
|
|
6575
6575
|
//#endregion
|
|
6576
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6576
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/CatalogSet.js
|
|
6577
6577
|
/**
|
|
6578
6578
|
* An immutable, fully-normalized catalog collection with the one
|
|
6579
6579
|
* resolution semantic shared by live and point-in-time resolution.
|
|
@@ -6663,7 +6663,7 @@ var CatalogSet = class CatalogSet extends effect.Schema.Class("CatalogSet")({ en
|
|
|
6663
6663
|
}
|
|
6664
6664
|
};
|
|
6665
6665
|
//#endregion
|
|
6666
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6666
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/worktree-catalogs.js
|
|
6667
6667
|
/**
|
|
6668
6668
|
* The ONE code path that reads the working tree's catalog sources
|
|
6669
6669
|
* (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
|
|
@@ -8208,7 +8208,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
8208
8208
|
minimatch.escape = escape;
|
|
8209
8209
|
minimatch.unescape = unescape;
|
|
8210
8210
|
//#endregion
|
|
8211
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8211
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/core.js
|
|
8212
8212
|
/**
|
|
8213
8213
|
* Schema for supported package manager identifiers.
|
|
8214
8214
|
*
|
|
@@ -9749,7 +9749,7 @@ function modifyImpl(text, path, value, formattingOptions) {
|
|
|
9749
9749
|
return [];
|
|
9750
9750
|
}
|
|
9751
9751
|
//#endregion
|
|
9752
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9752
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/WorkspaceStateSnapshot.js
|
|
9753
9753
|
const DepRecord = effect.Schema.optionalWith(effect.Schema.Record({
|
|
9754
9754
|
key: effect.Schema.String,
|
|
9755
9755
|
value: effect.Schema.String
|
|
@@ -9818,7 +9818,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
9818
9818
|
}
|
|
9819
9819
|
};
|
|
9820
9820
|
//#endregion
|
|
9821
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9821
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PointInTimeWorkspace.js
|
|
9822
9822
|
/**
|
|
9823
9823
|
* Service for reading a monorepo's workspace state at a specific moment: any
|
|
9824
9824
|
* git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
|
|
@@ -9845,7 +9845,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
9845
9845
|
*/
|
|
9846
9846
|
var PointInTimeWorkspace = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
|
|
9847
9847
|
//#endregion
|
|
9848
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9848
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/discovery/glob-core.js
|
|
9849
9849
|
const normalize$1 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
|
|
9850
9850
|
const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
|
|
9851
9851
|
/**
|
|
@@ -9888,7 +9888,7 @@ const compileWorkspaceGlobs = (patterns) => {
|
|
|
9888
9888
|
};
|
|
9889
9889
|
};
|
|
9890
9890
|
//#endregion
|
|
9891
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9891
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/git.js
|
|
9892
9892
|
/**
|
|
9893
9893
|
* Stderr shapes that mean "the path is not present at this ref" rather than
|
|
9894
9894
|
* "the git command failed."
|
|
@@ -9980,7 +9980,7 @@ const makeGitReader = (executor, options) => {
|
|
|
9980
9980
|
};
|
|
9981
9981
|
};
|
|
9982
9982
|
//#endregion
|
|
9983
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9983
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PointInTimeWorkspaceLive.js
|
|
9984
9984
|
/**
|
|
9985
9985
|
* Live layer for the {@link PointInTimeWorkspace} service.
|
|
9986
9986
|
*
|
|
@@ -10102,6 +10102,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
|
|
|
10102
10102
|
}).pipe(effect.Effect.withSpan("PointInTimeWorkspace.at", { attributes: { ref } }));
|
|
10103
10103
|
const worktree = (options) => effect.Effect.gen(function* () {
|
|
10104
10104
|
const root = yield* resolveRoot(options?.cwd);
|
|
10105
|
+
yield* discovery.refresh();
|
|
10105
10106
|
return new WorkspaceStateSnapshot({
|
|
10106
10107
|
packages: (yield* discovery.listPackages(root)).map((p) => new PackageStateSnapshot({
|
|
10107
10108
|
name: p.name,
|
|
@@ -10121,7 +10122,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
|
|
|
10121
10122
|
});
|
|
10122
10123
|
}));
|
|
10123
10124
|
//#endregion
|
|
10124
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10125
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/publish.js
|
|
10125
10126
|
/**
|
|
10126
10127
|
* Schema for package publish targets.
|
|
10127
10128
|
*
|
|
@@ -10164,7 +10165,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
10164
10165
|
provenance: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
10165
10166
|
}) {};
|
|
10166
10167
|
//#endregion
|
|
10167
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10168
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PublishabilityDetector.js
|
|
10168
10169
|
/**
|
|
10169
10170
|
* Service for detecting whether a workspace package is publishable and
|
|
10170
10171
|
* identifying its publish targets (npm, GitHub Packages, etc.).
|
|
@@ -10226,7 +10227,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
10226
10227
|
*/
|
|
10227
10228
|
var PublishabilityDetector = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
|
|
10228
10229
|
//#endregion
|
|
10229
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10230
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PublishabilityDetectorLive.js
|
|
10230
10231
|
/**
|
|
10231
10232
|
* Default live implementation of the {@link PublishabilityDetector} service.
|
|
10232
10233
|
*
|
|
@@ -10298,7 +10299,7 @@ const PublishabilityDetectorLive = effect.Layer.succeed(PublishabilityDetector,
|
|
|
10298
10299
|
return targets;
|
|
10299
10300
|
}).pipe(effect.Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
|
|
10300
10301
|
//#endregion
|
|
10301
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10302
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceDiscoveryLive.js
|
|
10302
10303
|
/**
|
|
10303
10304
|
* Live implementation of the {@link WorkspaceDiscovery} service.
|
|
10304
10305
|
*
|
|
@@ -10585,7 +10586,7 @@ const WorkspaceDiscoveryLive = effect.Layer.effect(WorkspaceDiscovery, effect.Ef
|
|
|
10585
10586
|
};
|
|
10586
10587
|
}));
|
|
10587
10588
|
//#endregion
|
|
10588
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10589
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceRootLive.js
|
|
10589
10590
|
/**
|
|
10590
10591
|
* Live implementation of the {@link WorkspaceRoot} service.
|
|
10591
10592
|
*
|
|
@@ -39371,6 +39372,7 @@ function makeShape$1(pit, inspector, discovery, detector, config, fs) {
|
|
|
39371
39372
|
const plan = (options) => effect.Effect.gen(function* () {
|
|
39372
39373
|
const resolvedCwd = (0, node_path.resolve)(options.cwd);
|
|
39373
39374
|
const changesetDir = (0, node_path.join)(resolvedCwd, ".changeset");
|
|
39375
|
+
yield* discovery.refresh();
|
|
39374
39376
|
let fromRef = options.from;
|
|
39375
39377
|
if (!fromRef) {
|
|
39376
39378
|
let baseBranch = options.base;
|
|
@@ -3326,7 +3326,7 @@ interface Catalog {
|
|
|
3326
3326
|
readonly [dependencyName: string]: string | undefined;
|
|
3327
3327
|
}
|
|
3328
3328
|
//#endregion
|
|
3329
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
3329
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3330
3330
|
//#region src/errors/CatalogAssemblyError.d.ts
|
|
3331
3331
|
/**
|
|
3332
3332
|
* Base constant for {@link CatalogAssemblyError}.
|
|
@@ -3326,7 +3326,7 @@ interface Catalog {
|
|
|
3326
3326
|
readonly [dependencyName: string]: string | undefined;
|
|
3327
3327
|
}
|
|
3328
3328
|
//#endregion
|
|
3329
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
3329
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3330
3330
|
//#region src/errors/CatalogAssemblyError.d.ts
|
|
3331
3331
|
/**
|
|
3332
3332
|
* Base constant for {@link CatalogAssemblyError}.
|
|
@@ -399,7 +399,7 @@ const ChangesetConfigLive = Layer.effect(ChangesetConfig, Effect.gen(function* (
|
|
|
399
399
|
}));
|
|
400
400
|
|
|
401
401
|
//#endregion
|
|
402
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
402
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogAssemblyError.js
|
|
403
403
|
/**
|
|
404
404
|
* Base constant for {@link CatalogAssemblyError}.
|
|
405
405
|
*
|
|
@@ -427,7 +427,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
//#endregion
|
|
430
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
430
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogResolutionError.js
|
|
431
431
|
/**
|
|
432
432
|
* Base constant for {@link CatalogResolutionError}.
|
|
433
433
|
*
|
|
@@ -454,7 +454,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
|
|
|
454
454
|
};
|
|
455
455
|
|
|
456
456
|
//#endregion
|
|
457
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
457
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/GitReadError.js
|
|
458
458
|
/**
|
|
459
459
|
* Base constant for {@link GitReadError}.
|
|
460
460
|
*
|
|
@@ -480,7 +480,7 @@ var GitReadError = class extends GitReadErrorBase {
|
|
|
480
480
|
};
|
|
481
481
|
|
|
482
482
|
//#endregion
|
|
483
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
483
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/PackageNotFoundError.js
|
|
484
484
|
/**
|
|
485
485
|
* Base constant for {@link PackageNotFoundError}.
|
|
486
486
|
*
|
|
@@ -532,7 +532,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
|
|
|
532
532
|
};
|
|
533
533
|
|
|
534
534
|
//#endregion
|
|
535
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
535
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceDiscoveryError.js
|
|
536
536
|
/**
|
|
537
537
|
* Base constant for {@link WorkspaceDiscoveryError}.
|
|
538
538
|
*
|
|
@@ -584,7 +584,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
|
|
|
584
584
|
};
|
|
585
585
|
|
|
586
586
|
//#endregion
|
|
587
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
587
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceRootNotFoundError.js
|
|
588
588
|
/**
|
|
589
589
|
* Base constant for {@link WorkspaceRootNotFoundError}.
|
|
590
590
|
*
|
|
@@ -635,7 +635,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
635
635
|
};
|
|
636
636
|
|
|
637
637
|
//#endregion
|
|
638
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
638
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceDiscovery.js
|
|
639
639
|
/**
|
|
640
640
|
* Service for discovering workspace packages in a monorepo.
|
|
641
641
|
*
|
|
@@ -686,7 +686,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
686
686
|
var WorkspaceDiscovery = class extends Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
|
|
687
687
|
|
|
688
688
|
//#endregion
|
|
689
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
689
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceRoot.js
|
|
690
690
|
/**
|
|
691
691
|
* Service for finding the workspace root directory.
|
|
692
692
|
*
|
|
@@ -6429,7 +6429,7 @@ function parse$3(text, options) {
|
|
|
6429
6429
|
}
|
|
6430
6430
|
|
|
6431
6431
|
//#endregion
|
|
6432
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6432
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/workspace-manifest.js
|
|
6433
6433
|
/**
|
|
6434
6434
|
* Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
|
|
6435
6435
|
* slice. Pure with respect to the filesystem.
|
|
@@ -6505,7 +6505,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
6505
6505
|
}
|
|
6506
6506
|
|
|
6507
6507
|
//#endregion
|
|
6508
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6508
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/assemble.js
|
|
6509
6509
|
/** Merge catalog sources; later sources win per dependency within a catalog. */
|
|
6510
6510
|
function mergeCatalogs(...sources) {
|
|
6511
6511
|
const result = {};
|
|
@@ -6590,7 +6590,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
6590
6590
|
}
|
|
6591
6591
|
|
|
6592
6592
|
//#endregion
|
|
6593
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6593
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/resolve.js
|
|
6594
6594
|
const DEP_FIELDS = [
|
|
6595
6595
|
"dependencies",
|
|
6596
6596
|
"devDependencies",
|
|
@@ -6661,7 +6661,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
|
|
|
6661
6661
|
}
|
|
6662
6662
|
|
|
6663
6663
|
//#endregion
|
|
6664
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6664
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/CatalogSet.js
|
|
6665
6665
|
/**
|
|
6666
6666
|
* An immutable, fully-normalized catalog collection with the one
|
|
6667
6667
|
* resolution semantic shared by live and point-in-time resolution.
|
|
@@ -6752,7 +6752,7 @@ var CatalogSet = class CatalogSet extends Schema.Class("CatalogSet")({ entries:
|
|
|
6752
6752
|
};
|
|
6753
6753
|
|
|
6754
6754
|
//#endregion
|
|
6755
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6755
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/worktree-catalogs.js
|
|
6756
6756
|
/**
|
|
6757
6757
|
* The ONE code path that reads the working tree's catalog sources
|
|
6758
6758
|
* (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
|
|
@@ -8308,7 +8308,7 @@ minimatch.escape = escape;
|
|
|
8308
8308
|
minimatch.unescape = unescape;
|
|
8309
8309
|
|
|
8310
8310
|
//#endregion
|
|
8311
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8311
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/core.js
|
|
8312
8312
|
/**
|
|
8313
8313
|
* Schema for supported package manager identifiers.
|
|
8314
8314
|
*
|
|
@@ -9931,7 +9931,7 @@ function modifyImpl(text, path, value, formattingOptions) {
|
|
|
9931
9931
|
}
|
|
9932
9932
|
|
|
9933
9933
|
//#endregion
|
|
9934
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9934
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/WorkspaceStateSnapshot.js
|
|
9935
9935
|
const DepRecord = Schema.optionalWith(Schema.Record({
|
|
9936
9936
|
key: Schema.String,
|
|
9937
9937
|
value: Schema.String
|
|
@@ -10001,7 +10001,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
10001
10001
|
};
|
|
10002
10002
|
|
|
10003
10003
|
//#endregion
|
|
10004
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10004
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PointInTimeWorkspace.js
|
|
10005
10005
|
/**
|
|
10006
10006
|
* Service for reading a monorepo's workspace state at a specific moment: any
|
|
10007
10007
|
* git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
|
|
@@ -10029,7 +10029,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
10029
10029
|
var PointInTimeWorkspace = class extends Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
|
|
10030
10030
|
|
|
10031
10031
|
//#endregion
|
|
10032
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10032
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/discovery/glob-core.js
|
|
10033
10033
|
const normalize$2 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
|
|
10034
10034
|
const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
|
|
10035
10035
|
/**
|
|
@@ -10073,7 +10073,7 @@ const compileWorkspaceGlobs = (patterns) => {
|
|
|
10073
10073
|
};
|
|
10074
10074
|
|
|
10075
10075
|
//#endregion
|
|
10076
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10076
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/git.js
|
|
10077
10077
|
/**
|
|
10078
10078
|
* Stderr shapes that mean "the path is not present at this ref" rather than
|
|
10079
10079
|
* "the git command failed."
|
|
@@ -10166,7 +10166,7 @@ const makeGitReader = (executor, options) => {
|
|
|
10166
10166
|
};
|
|
10167
10167
|
|
|
10168
10168
|
//#endregion
|
|
10169
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10169
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PointInTimeWorkspaceLive.js
|
|
10170
10170
|
/**
|
|
10171
10171
|
* Live layer for the {@link PointInTimeWorkspace} service.
|
|
10172
10172
|
*
|
|
@@ -10288,6 +10288,7 @@ const PointInTimeWorkspaceLive = Layer.effect(PointInTimeWorkspace, Effect.gen(f
|
|
|
10288
10288
|
}).pipe(Effect.withSpan("PointInTimeWorkspace.at", { attributes: { ref } }));
|
|
10289
10289
|
const worktree = (options) => Effect.gen(function* () {
|
|
10290
10290
|
const root = yield* resolveRoot(options?.cwd);
|
|
10291
|
+
yield* discovery.refresh();
|
|
10291
10292
|
return new WorkspaceStateSnapshot({
|
|
10292
10293
|
packages: (yield* discovery.listPackages(root)).map((p) => new PackageStateSnapshot({
|
|
10293
10294
|
name: p.name,
|
|
@@ -10308,7 +10309,7 @@ const PointInTimeWorkspaceLive = Layer.effect(PointInTimeWorkspace, Effect.gen(f
|
|
|
10308
10309
|
}));
|
|
10309
10310
|
|
|
10310
10311
|
//#endregion
|
|
10311
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10312
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/publish.js
|
|
10312
10313
|
/**
|
|
10313
10314
|
* Schema for package publish targets.
|
|
10314
10315
|
*
|
|
@@ -10352,7 +10353,7 @@ var PublishTarget = class extends Schema.Class("PublishTarget")({
|
|
|
10352
10353
|
}) {};
|
|
10353
10354
|
|
|
10354
10355
|
//#endregion
|
|
10355
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10356
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PublishabilityDetector.js
|
|
10356
10357
|
/**
|
|
10357
10358
|
* Service for detecting whether a workspace package is publishable and
|
|
10358
10359
|
* identifying its publish targets (npm, GitHub Packages, etc.).
|
|
@@ -10415,7 +10416,7 @@ var PublishTarget = class extends Schema.Class("PublishTarget")({
|
|
|
10415
10416
|
var PublishabilityDetector = class extends Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
|
|
10416
10417
|
|
|
10417
10418
|
//#endregion
|
|
10418
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10419
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PublishabilityDetectorLive.js
|
|
10419
10420
|
/**
|
|
10420
10421
|
* Default live implementation of the {@link PublishabilityDetector} service.
|
|
10421
10422
|
*
|
|
@@ -10488,7 +10489,7 @@ const PublishabilityDetectorLive = Layer.succeed(PublishabilityDetector, { detec
|
|
|
10488
10489
|
}).pipe(Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
|
|
10489
10490
|
|
|
10490
10491
|
//#endregion
|
|
10491
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10492
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceDiscoveryLive.js
|
|
10492
10493
|
/**
|
|
10493
10494
|
* Live implementation of the {@link WorkspaceDiscovery} service.
|
|
10494
10495
|
*
|
|
@@ -10776,7 +10777,7 @@ const WorkspaceDiscoveryLive = Layer.effect(WorkspaceDiscovery, Effect.gen(funct
|
|
|
10776
10777
|
}));
|
|
10777
10778
|
|
|
10778
10779
|
//#endregion
|
|
10779
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10780
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.3_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceRootLive.js
|
|
10780
10781
|
/**
|
|
10781
10782
|
* Live implementation of the {@link WorkspaceRoot} service.
|
|
10782
10783
|
*
|
|
@@ -39817,6 +39818,7 @@ function makeShape$1(pit, inspector, discovery, detector, config, fs) {
|
|
|
39817
39818
|
const plan = (options) => Effect.gen(function* () {
|
|
39818
39819
|
const resolvedCwd = resolve(options.cwd);
|
|
39819
39820
|
const changesetDir = join(resolvedCwd, ".changeset");
|
|
39821
|
+
yield* discovery.refresh();
|
|
39820
39822
|
let fromRef = options.from;
|
|
39821
39823
|
if (!fromRef) {
|
|
39822
39824
|
let baseBranch = options.base;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/silk",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The single Silk Suite dev-tooling package — changeset, commitlint, lint, and biome conventions",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/silk",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@effect/platform": "^0.96.2",
|
|
69
69
|
"@savvy-web/changelog": "0.1.1",
|
|
70
|
-
"@savvy-web/cli": "1.5.
|
|
71
|
-
"@savvy-web/mcp": "1.7.
|
|
72
|
-
"@savvy-web/silk-effects": "3.2.
|
|
70
|
+
"@savvy-web/cli": "1.5.5",
|
|
71
|
+
"@savvy-web/mcp": "1.7.2",
|
|
72
|
+
"@savvy-web/silk-effects": "3.2.1",
|
|
73
73
|
"effect": "^3.21.4",
|
|
74
74
|
"semver": "^7.8.5"
|
|
75
75
|
},
|