@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
package/changesets-changelog.cjs
CHANGED
|
@@ -384,7 +384,7 @@ const ChangesetConfigLive = effect.Layer.effect(ChangesetConfig, effect.Effect.g
|
|
|
384
384
|
};
|
|
385
385
|
}));
|
|
386
386
|
//#endregion
|
|
387
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
387
|
+
//#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
|
|
388
388
|
/**
|
|
389
389
|
* Base constant for {@link CatalogAssemblyError}.
|
|
390
390
|
*
|
|
@@ -411,7 +411,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
//#endregion
|
|
414
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
414
|
+
//#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
|
|
415
415
|
/**
|
|
416
416
|
* Base constant for {@link CatalogResolutionError}.
|
|
417
417
|
*
|
|
@@ -437,7 +437,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
|
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
//#endregion
|
|
440
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
440
|
+
//#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
|
|
441
441
|
/**
|
|
442
442
|
* Base constant for {@link GitReadError}.
|
|
443
443
|
*
|
|
@@ -462,7 +462,7 @@ var GitReadError = class extends GitReadErrorBase {
|
|
|
462
462
|
}
|
|
463
463
|
};
|
|
464
464
|
//#endregion
|
|
465
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
465
|
+
//#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
|
|
466
466
|
/**
|
|
467
467
|
* Base constant for {@link PackageNotFoundError}.
|
|
468
468
|
*
|
|
@@ -513,7 +513,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
|
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
515
|
//#endregion
|
|
516
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
516
|
+
//#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
|
|
517
517
|
/**
|
|
518
518
|
* Base constant for {@link WorkspaceDiscoveryError}.
|
|
519
519
|
*
|
|
@@ -564,7 +564,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
|
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
//#endregion
|
|
567
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
567
|
+
//#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
|
|
568
568
|
/**
|
|
569
569
|
* Base constant for {@link WorkspaceRootNotFoundError}.
|
|
570
570
|
*
|
|
@@ -614,7 +614,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
//#endregion
|
|
617
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
617
|
+
//#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
|
|
618
618
|
/**
|
|
619
619
|
* Service for discovering workspace packages in a monorepo.
|
|
620
620
|
*
|
|
@@ -664,7 +664,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
664
664
|
*/
|
|
665
665
|
var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
|
|
666
666
|
//#endregion
|
|
667
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
667
|
+
//#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
|
|
668
668
|
/**
|
|
669
669
|
* Service for finding the workspace root directory.
|
|
670
670
|
*
|
|
@@ -6350,7 +6350,7 @@ function parse$3(text, options) {
|
|
|
6350
6350
|
}));
|
|
6351
6351
|
}
|
|
6352
6352
|
//#endregion
|
|
6353
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6353
|
+
//#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
|
|
6354
6354
|
/**
|
|
6355
6355
|
* Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
|
|
6356
6356
|
* slice. Pure with respect to the filesystem.
|
|
@@ -6418,7 +6418,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
6418
6418
|
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.");
|
|
6419
6419
|
}
|
|
6420
6420
|
//#endregion
|
|
6421
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6421
|
+
//#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
|
|
6422
6422
|
/** Merge catalog sources; later sources win per dependency within a catalog. */
|
|
6423
6423
|
function mergeCatalogs(...sources) {
|
|
6424
6424
|
const result = {};
|
|
@@ -6499,7 +6499,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
6499
6499
|
};
|
|
6500
6500
|
}
|
|
6501
6501
|
//#endregion
|
|
6502
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6502
|
+
//#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
|
|
6503
6503
|
const DEP_FIELDS = [
|
|
6504
6504
|
"dependencies",
|
|
6505
6505
|
"devDependencies",
|
|
@@ -6569,7 +6569,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
|
|
|
6569
6569
|
return out;
|
|
6570
6570
|
}
|
|
6571
6571
|
//#endregion
|
|
6572
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6572
|
+
//#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
|
|
6573
6573
|
/**
|
|
6574
6574
|
* An immutable, fully-normalized catalog collection with the one
|
|
6575
6575
|
* resolution semantic shared by live and point-in-time resolution.
|
|
@@ -6659,7 +6659,7 @@ var CatalogSet = class CatalogSet extends effect.Schema.Class("CatalogSet")({ en
|
|
|
6659
6659
|
}
|
|
6660
6660
|
};
|
|
6661
6661
|
//#endregion
|
|
6662
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6662
|
+
//#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
|
|
6663
6663
|
/**
|
|
6664
6664
|
* The ONE code path that reads the working tree's catalog sources
|
|
6665
6665
|
* (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
|
|
@@ -8204,7 +8204,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
8204
8204
|
minimatch.escape = escape;
|
|
8205
8205
|
minimatch.unescape = unescape;
|
|
8206
8206
|
//#endregion
|
|
8207
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8207
|
+
//#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
|
|
8208
8208
|
/**
|
|
8209
8209
|
* Schema for supported package manager identifiers.
|
|
8210
8210
|
*
|
|
@@ -9745,7 +9745,7 @@ function modifyImpl(text, path, value, formattingOptions) {
|
|
|
9745
9745
|
return [];
|
|
9746
9746
|
}
|
|
9747
9747
|
//#endregion
|
|
9748
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9748
|
+
//#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
|
|
9749
9749
|
const DepRecord = effect.Schema.optionalWith(effect.Schema.Record({
|
|
9750
9750
|
key: effect.Schema.String,
|
|
9751
9751
|
value: effect.Schema.String
|
|
@@ -9814,7 +9814,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
9814
9814
|
}
|
|
9815
9815
|
};
|
|
9816
9816
|
//#endregion
|
|
9817
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9817
|
+
//#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
|
|
9818
9818
|
/**
|
|
9819
9819
|
* Service for reading a monorepo's workspace state at a specific moment: any
|
|
9820
9820
|
* git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
|
|
@@ -9841,7 +9841,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
9841
9841
|
*/
|
|
9842
9842
|
var PointInTimeWorkspace = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
|
|
9843
9843
|
//#endregion
|
|
9844
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9844
|
+
//#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
|
|
9845
9845
|
const normalize$1 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
|
|
9846
9846
|
const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
|
|
9847
9847
|
/**
|
|
@@ -9884,7 +9884,7 @@ const compileWorkspaceGlobs = (patterns) => {
|
|
|
9884
9884
|
};
|
|
9885
9885
|
};
|
|
9886
9886
|
//#endregion
|
|
9887
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9887
|
+
//#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
|
|
9888
9888
|
/**
|
|
9889
9889
|
* Stderr shapes that mean "the path is not present at this ref" rather than
|
|
9890
9890
|
* "the git command failed."
|
|
@@ -9976,7 +9976,7 @@ const makeGitReader = (executor, options) => {
|
|
|
9976
9976
|
};
|
|
9977
9977
|
};
|
|
9978
9978
|
//#endregion
|
|
9979
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9979
|
+
//#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
|
|
9980
9980
|
/**
|
|
9981
9981
|
* Live layer for the {@link PointInTimeWorkspace} service.
|
|
9982
9982
|
*
|
|
@@ -10098,6 +10098,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
|
|
|
10098
10098
|
}).pipe(effect.Effect.withSpan("PointInTimeWorkspace.at", { attributes: { ref } }));
|
|
10099
10099
|
const worktree = (options) => effect.Effect.gen(function* () {
|
|
10100
10100
|
const root = yield* resolveRoot(options?.cwd);
|
|
10101
|
+
yield* discovery.refresh();
|
|
10101
10102
|
return new WorkspaceStateSnapshot({
|
|
10102
10103
|
packages: (yield* discovery.listPackages(root)).map((p) => new PackageStateSnapshot({
|
|
10103
10104
|
name: p.name,
|
|
@@ -10117,7 +10118,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
|
|
|
10117
10118
|
});
|
|
10118
10119
|
}));
|
|
10119
10120
|
//#endregion
|
|
10120
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10121
|
+
//#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
|
|
10121
10122
|
/**
|
|
10122
10123
|
* Schema for package publish targets.
|
|
10123
10124
|
*
|
|
@@ -10160,7 +10161,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
10160
10161
|
provenance: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
10161
10162
|
}) {};
|
|
10162
10163
|
//#endregion
|
|
10163
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10164
|
+
//#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
|
|
10164
10165
|
/**
|
|
10165
10166
|
* Service for detecting whether a workspace package is publishable and
|
|
10166
10167
|
* identifying its publish targets (npm, GitHub Packages, etc.).
|
|
@@ -10222,7 +10223,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
10222
10223
|
*/
|
|
10223
10224
|
var PublishabilityDetector = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
|
|
10224
10225
|
//#endregion
|
|
10225
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10226
|
+
//#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
|
|
10226
10227
|
/**
|
|
10227
10228
|
* Default live implementation of the {@link PublishabilityDetector} service.
|
|
10228
10229
|
*
|
|
@@ -10294,7 +10295,7 @@ const PublishabilityDetectorLive = effect.Layer.succeed(PublishabilityDetector,
|
|
|
10294
10295
|
return targets;
|
|
10295
10296
|
}).pipe(effect.Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
|
|
10296
10297
|
//#endregion
|
|
10297
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10298
|
+
//#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
|
|
10298
10299
|
/**
|
|
10299
10300
|
* Live implementation of the {@link WorkspaceDiscovery} service.
|
|
10300
10301
|
*
|
|
@@ -10581,7 +10582,7 @@ const WorkspaceDiscoveryLive = effect.Layer.effect(WorkspaceDiscovery, effect.Ef
|
|
|
10581
10582
|
};
|
|
10582
10583
|
}));
|
|
10583
10584
|
//#endregion
|
|
10584
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
10585
|
+
//#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
|
|
10585
10586
|
/**
|
|
10586
10587
|
* Live implementation of the {@link WorkspaceRoot} service.
|
|
10587
10588
|
*
|
|
@@ -39367,6 +39368,7 @@ function makeShape$1(pit, inspector, discovery, detector, config, fs) {
|
|
|
39367
39368
|
const plan = (options) => effect.Effect.gen(function* () {
|
|
39368
39369
|
const resolvedCwd = (0, node_path.resolve)(options.cwd);
|
|
39369
39370
|
const changesetDir = (0, node_path.join)(resolvedCwd, ".changeset");
|
|
39371
|
+
yield* discovery.refresh();
|
|
39370
39372
|
let fromRef = options.from;
|
|
39371
39373
|
if (!fromRef) {
|
|
39372
39374
|
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}.
|
package/changesets-changelog.js
CHANGED
|
@@ -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;
|