@effected/workspaces 0.19.0 → 0.20.0
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/index.d.ts +49 -49
- package/node-sync.d.ts +4 -4
- package/package.json +11 -11
package/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
|
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
*/
|
|
39
|
-
declare class PublishConfig extends PublishConfig_base {}
|
|
39
|
+
export declare class PublishConfig extends PublishConfig_base {}
|
|
40
40
|
/**
|
|
41
41
|
* The result of comparing two {@link WorkspacePackage} dependency snapshots.
|
|
42
42
|
*
|
|
@@ -76,7 +76,7 @@ declare const WorkspaceManifestError_base: Schema.Class<WorkspaceManifestError,
|
|
|
76
76
|
*
|
|
77
77
|
* @public
|
|
78
78
|
*/
|
|
79
|
-
declare class WorkspaceManifestError extends WorkspaceManifestError_base {
|
|
79
|
+
export declare class WorkspaceManifestError extends WorkspaceManifestError_base {
|
|
80
80
|
/** Renders the path and failure kind into a one-line message. */
|
|
81
81
|
get message(): string;
|
|
82
82
|
}
|
|
@@ -177,7 +177,7 @@ declare const WorkspacePackage_base: Schema.Class<WorkspacePackage, Schema.Struc
|
|
|
177
177
|
*
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
|
-
declare class WorkspacePackage extends WorkspacePackage_base {
|
|
180
|
+
export declare class WorkspacePackage extends WorkspacePackage_base {
|
|
181
181
|
/** Whether this is the workspace root package. */
|
|
182
182
|
get isRootWorkspace(): boolean;
|
|
183
183
|
/** Whether the package is publishable in principle (not marked private). */
|
|
@@ -245,7 +245,7 @@ declare class WorkspacePackage extends WorkspacePackage_base {
|
|
|
245
245
|
*
|
|
246
246
|
* @public
|
|
247
247
|
*/
|
|
248
|
-
declare const WORKSPACE_MARKERS: ReadonlyArray<string>;
|
|
248
|
+
export declare const WORKSPACE_MARKERS: ReadonlyArray<string>;
|
|
249
249
|
/**
|
|
250
250
|
* Options for {@link WorkspaceRoot}'s `find`.
|
|
251
251
|
*
|
|
@@ -303,7 +303,7 @@ declare const WorkspaceRootNotFoundError_base: Schema.Class<WorkspaceRootNotFoun
|
|
|
303
303
|
*
|
|
304
304
|
* @public
|
|
305
305
|
*/
|
|
306
|
-
declare class WorkspaceRootNotFoundError extends WorkspaceRootNotFoundError_base {
|
|
306
|
+
export declare class WorkspaceRootNotFoundError extends WorkspaceRootNotFoundError_base {
|
|
307
307
|
/** Renders the search path, probed markers and any ceiling into a one-line message. */
|
|
308
308
|
get message(): string;
|
|
309
309
|
}
|
|
@@ -360,7 +360,7 @@ declare const WorkspaceRoot_base: Context.ServiceClass<WorkspaceRoot, "@effected
|
|
|
360
360
|
*
|
|
361
361
|
* @public
|
|
362
362
|
*/
|
|
363
|
-
declare class WorkspaceRoot extends WorkspaceRoot_base {
|
|
363
|
+
export declare class WorkspaceRoot extends WorkspaceRoot_base {
|
|
364
364
|
/** Builds the service over core `FileSystem` and `Path`. */
|
|
365
365
|
static readonly make: Effect.Effect<WorkspaceRootShape, never, FileSystem.FileSystem | Path.Path>;
|
|
366
366
|
/** The live layer. */
|
|
@@ -455,7 +455,7 @@ declare const WorkspaceDiscoveryError_base: Schema.Class<WorkspaceDiscoveryError
|
|
|
455
455
|
*
|
|
456
456
|
* @public
|
|
457
457
|
*/
|
|
458
|
-
declare class WorkspaceDiscoveryError extends WorkspaceDiscoveryError_base {
|
|
458
|
+
export declare class WorkspaceDiscoveryError extends WorkspaceDiscoveryError_base {
|
|
459
459
|
/** Renders the failing file and kind into a one-line message. */
|
|
460
460
|
get message(): string;
|
|
461
461
|
}
|
|
@@ -476,7 +476,7 @@ declare const WorkspacePatternError_base: Schema.Class<WorkspacePatternError, Sc
|
|
|
476
476
|
*
|
|
477
477
|
* @public
|
|
478
478
|
*/
|
|
479
|
-
declare class WorkspacePatternError extends WorkspacePatternError_base {
|
|
479
|
+
export declare class WorkspacePatternError extends WorkspacePatternError_base {
|
|
480
480
|
/** Renders the pattern and failure kind into a one-line message. */
|
|
481
481
|
get message(): string;
|
|
482
482
|
}
|
|
@@ -495,7 +495,7 @@ declare const PackageNotFoundError_base: Schema.Class<PackageNotFoundError, Sche
|
|
|
495
495
|
*
|
|
496
496
|
* @public
|
|
497
497
|
*/
|
|
498
|
-
declare class PackageNotFoundError extends PackageNotFoundError_base {
|
|
498
|
+
export declare class PackageNotFoundError extends PackageNotFoundError_base {
|
|
499
499
|
/** Renders the requested name into a one-line message. */
|
|
500
500
|
get message(): string;
|
|
501
501
|
}
|
|
@@ -511,7 +511,7 @@ declare const WorkspaceInfo_base: Schema.Class<WorkspaceInfo, Schema.Struct<{
|
|
|
511
511
|
*
|
|
512
512
|
* @public
|
|
513
513
|
*/
|
|
514
|
-
declare class WorkspaceInfo extends WorkspaceInfo_base {}
|
|
514
|
+
export declare class WorkspaceInfo extends WorkspaceInfo_base {}
|
|
515
515
|
/**
|
|
516
516
|
* Every failure `WorkspaceDiscovery.getPackage` can surface: the discovery
|
|
517
517
|
* failures plus a name that matches no member.
|
|
@@ -651,7 +651,7 @@ declare const WorkspaceDiscovery_base: Context.ServiceClass<WorkspaceDiscovery,
|
|
|
651
651
|
*
|
|
652
652
|
* @public
|
|
653
653
|
*/
|
|
654
|
-
declare class WorkspaceDiscovery extends WorkspaceDiscovery_base {
|
|
654
|
+
export declare class WorkspaceDiscovery extends WorkspaceDiscovery_base {
|
|
655
655
|
/**
|
|
656
656
|
* Builds the service. Root resolution is one explicit concern: `cwd` is an
|
|
657
657
|
* option here, never an ambient `process.cwd()` read inside a method.
|
|
@@ -802,7 +802,7 @@ declare const ChangeDetectionOptions_base: Schema.Class<ChangeDetectionOptions,
|
|
|
802
802
|
*
|
|
803
803
|
* @public
|
|
804
804
|
*/
|
|
805
|
-
declare class ChangeDetectionOptions extends ChangeDetectionOptions_base {}
|
|
805
|
+
export declare class ChangeDetectionOptions extends ChangeDetectionOptions_base {}
|
|
806
806
|
declare const ChangeDetectionError_base: Schema.Class<ChangeDetectionError, Schema.TaggedStruct<"ChangeDetectionError", {
|
|
807
807
|
/** The operation that could not run. */
|
|
808
808
|
readonly operation: Schema.String;
|
|
@@ -822,7 +822,7 @@ declare const ChangeDetectionError_base: Schema.Class<ChangeDetectionError, Sche
|
|
|
822
822
|
*
|
|
823
823
|
* @public
|
|
824
824
|
*/
|
|
825
|
-
declare class ChangeDetectionError extends ChangeDetectionError_base {
|
|
825
|
+
export declare class ChangeDetectionError extends ChangeDetectionError_base {
|
|
826
826
|
/** Renders the failed operation into a one-line message. */
|
|
827
827
|
get message(): string;
|
|
828
828
|
}
|
|
@@ -876,7 +876,7 @@ declare const ChangeDetector_base: Context.ServiceClass<ChangeDetector, "@effect
|
|
|
876
876
|
*
|
|
877
877
|
* @public
|
|
878
878
|
*/
|
|
879
|
-
declare class ChangeDetector extends ChangeDetector_base {
|
|
879
|
+
export declare class ChangeDetector extends ChangeDetector_base {
|
|
880
880
|
/** Builds the service over `Git` and {@link WorkspaceDiscovery}. */
|
|
881
881
|
static readonly make: Effect.Effect<ChangeDetectorShape, never, Git | WorkspaceDiscovery>;
|
|
882
882
|
/** The live layer. */
|
|
@@ -929,7 +929,7 @@ interface PeerDependencyRules {
|
|
|
929
929
|
*
|
|
930
930
|
* @public
|
|
931
931
|
*/
|
|
932
|
-
declare const NoPeerDependencyRules: PeerDependencyRules;
|
|
932
|
+
export declare const NoPeerDependencyRules: PeerDependencyRules;
|
|
933
933
|
/**
|
|
934
934
|
* The result of replaying a workspace's `configDependencies` hooks: the catalogs
|
|
935
935
|
* the hooks yield, and the release-age gate contribution they leave on the
|
|
@@ -1027,7 +1027,7 @@ declare const ConfigDependencyHooks_base: Context.ServiceClass<ConfigDependencyH
|
|
|
1027
1027
|
*
|
|
1028
1028
|
* @public
|
|
1029
1029
|
*/
|
|
1030
|
-
declare class ConfigDependencyHooks extends ConfigDependencyHooks_base {
|
|
1030
|
+
export declare class ConfigDependencyHooks extends ConfigDependencyHooks_base {
|
|
1031
1031
|
/**
|
|
1032
1032
|
* The no-op layer: `inject` returns the seed unchanged and never touches a
|
|
1033
1033
|
* config dependency. The default {@link WorkspaceCatalogs} layer wires this, so
|
|
@@ -1122,7 +1122,7 @@ declare const CyclicDependencyError_base: Schema.Class<CyclicDependencyError, Sc
|
|
|
1122
1122
|
*
|
|
1123
1123
|
* @public
|
|
1124
1124
|
*/
|
|
1125
|
-
declare class CyclicDependencyError extends CyclicDependencyError_base {
|
|
1125
|
+
export declare class CyclicDependencyError extends CyclicDependencyError_base {
|
|
1126
1126
|
/** Renders the cycle members into a one-line message. */
|
|
1127
1127
|
get message(): string;
|
|
1128
1128
|
}
|
|
@@ -1157,7 +1157,7 @@ declare const DependencyGraph_base: Schema.Class<DependencyGraph, Schema.Struct<
|
|
|
1157
1157
|
*
|
|
1158
1158
|
* @public
|
|
1159
1159
|
*/
|
|
1160
|
-
declare class DependencyGraph extends DependencyGraph_base {
|
|
1160
|
+
export declare class DependencyGraph extends DependencyGraph_base {
|
|
1161
1161
|
#private;
|
|
1162
1162
|
/** Every workspace package name, sorted. Total. */
|
|
1163
1163
|
get names(): ReadonlyArray<string>;
|
|
@@ -1217,13 +1217,13 @@ declare class DependencyGraph extends DependencyGraph_base {
|
|
|
1217
1217
|
*
|
|
1218
1218
|
* @public
|
|
1219
1219
|
*/
|
|
1220
|
-
declare const PackageManagerName: Schema.Literals<readonly ["npm", "pnpm", "yarn", "bun"]>;
|
|
1220
|
+
export declare const PackageManagerName: Schema.Literals<readonly ["npm", "pnpm", "yarn", "bun"]>;
|
|
1221
1221
|
/**
|
|
1222
1222
|
* The decoded type of {@link (PackageManagerName:variable)}: `"npm" | "pnpm" | "yarn" | "bun"`.
|
|
1223
1223
|
*
|
|
1224
1224
|
* @public
|
|
1225
1225
|
*/
|
|
1226
|
-
type PackageManagerName = typeof PackageManagerName.Type;
|
|
1226
|
+
export type PackageManagerName = typeof PackageManagerName.Type;
|
|
1227
1227
|
/**
|
|
1228
1228
|
* The markers {@link PackageManagerDetector} probes, in the priority order it
|
|
1229
1229
|
* probes them.
|
|
@@ -1242,14 +1242,14 @@ type PackageManagerName = typeof PackageManagerName.Type;
|
|
|
1242
1242
|
*
|
|
1243
1243
|
* @public
|
|
1244
1244
|
*/
|
|
1245
|
-
declare const PackageManagerEvidence: Schema.Literals<readonly ["pnpm-workspace.yaml", "bun.lock", "bun.lockb", "yarn.lock", "package.json#workspaces", "pnpm-lock.yaml", "package-lock.json", "package.json#devEngines.packageManager", "package.json#packageManager"]>;
|
|
1245
|
+
export declare const PackageManagerEvidence: Schema.Literals<readonly ["pnpm-workspace.yaml", "bun.lock", "bun.lockb", "yarn.lock", "package.json#workspaces", "pnpm-lock.yaml", "package-lock.json", "package.json#devEngines.packageManager", "package.json#packageManager"]>;
|
|
1246
1246
|
/**
|
|
1247
1247
|
* The decoded type of {@link (PackageManagerEvidence:variable)}: the marker
|
|
1248
1248
|
* that decided a detection.
|
|
1249
1249
|
*
|
|
1250
1250
|
* @public
|
|
1251
1251
|
*/
|
|
1252
|
-
type PackageManagerEvidence = typeof PackageManagerEvidence.Type;
|
|
1252
|
+
export type PackageManagerEvidence = typeof PackageManagerEvidence.Type;
|
|
1253
1253
|
declare const DetectedPackageManager_base: Schema.Class<DetectedPackageManager, Schema.Struct<{
|
|
1254
1254
|
/** The detected manager. */
|
|
1255
1255
|
readonly name: Schema.Literals<readonly ["npm", "pnpm", "yarn", "bun"]>;
|
|
@@ -1282,7 +1282,7 @@ declare const DetectedPackageManager_base: Schema.Class<DetectedPackageManager,
|
|
|
1282
1282
|
*
|
|
1283
1283
|
* @public
|
|
1284
1284
|
*/
|
|
1285
|
-
declare class DetectedPackageManager extends DetectedPackageManager_base {}
|
|
1285
|
+
export declare class DetectedPackageManager extends DetectedPackageManager_base {}
|
|
1286
1286
|
declare const PackageManagerDetectionError_base: Schema.Class<PackageManagerDetectionError, Schema.TaggedStruct<"PackageManagerDetectionError", {
|
|
1287
1287
|
/** The workspace root that was probed. */
|
|
1288
1288
|
readonly root: Schema.String;
|
|
@@ -1295,7 +1295,7 @@ declare const PackageManagerDetectionError_base: Schema.Class<PackageManagerDete
|
|
|
1295
1295
|
*
|
|
1296
1296
|
* @public
|
|
1297
1297
|
*/
|
|
1298
|
-
declare class PackageManagerDetectionError extends PackageManagerDetectionError_base {
|
|
1298
|
+
export declare class PackageManagerDetectionError extends PackageManagerDetectionError_base {
|
|
1299
1299
|
/** Renders the root and probed markers into a one-line message. */
|
|
1300
1300
|
get message(): string;
|
|
1301
1301
|
}
|
|
@@ -1363,7 +1363,7 @@ declare const PackageManagerDetector_base: Context.ServiceClass<PackageManagerDe
|
|
|
1363
1363
|
*
|
|
1364
1364
|
* @public
|
|
1365
1365
|
*/
|
|
1366
|
-
declare class PackageManagerDetector extends PackageManagerDetector_base {
|
|
1366
|
+
export declare class PackageManagerDetector extends PackageManagerDetector_base {
|
|
1367
1367
|
/** Builds the service over core `FileSystem` and `Path`. */
|
|
1368
1368
|
static readonly make: Effect.Effect<{
|
|
1369
1369
|
readonly detect: (root: string) => Effect.Effect<DetectedPackageManager, PackageManagerDetectionFailure>;
|
|
@@ -1444,7 +1444,7 @@ declare const LockfileReadError_base: Schema.Class<LockfileReadError, Schema.Tag
|
|
|
1444
1444
|
*
|
|
1445
1445
|
* @public
|
|
1446
1446
|
*/
|
|
1447
|
-
declare class LockfileReadError extends LockfileReadError_base {
|
|
1447
|
+
export declare class LockfileReadError extends LockfileReadError_base {
|
|
1448
1448
|
/** Renders the unreadable path into a one-line message. */
|
|
1449
1449
|
get message(): string;
|
|
1450
1450
|
}
|
|
@@ -1527,7 +1527,7 @@ declare const LockfileReader_base: Context.ServiceClass<LockfileReader, "@effect
|
|
|
1527
1527
|
*
|
|
1528
1528
|
* @public
|
|
1529
1529
|
*/
|
|
1530
|
-
declare class LockfileReader extends LockfileReader_base {
|
|
1530
|
+
export declare class LockfileReader extends LockfileReader_base {
|
|
1531
1531
|
/** Builds the service. */
|
|
1532
1532
|
static readonly make: (options?: LockfileReaderOptions) => Effect.Effect<LockfileReaderShape, never, WorkspaceRoot | PackageManagerDetector | WorkspaceDiscovery | FileSystem.FileSystem | Path.Path>;
|
|
1533
1533
|
/**
|
|
@@ -1661,7 +1661,7 @@ declare const PeerParent_base: Schema.Class<PeerParent, Schema.Struct<{
|
|
|
1661
1661
|
*
|
|
1662
1662
|
* @public
|
|
1663
1663
|
*/
|
|
1664
|
-
declare class PeerParent extends PeerParent_base {}
|
|
1664
|
+
export declare class PeerParent extends PeerParent_base {}
|
|
1665
1665
|
declare const UnsatisfiedPeer_base: Schema.Class<UnsatisfiedPeer, Schema.Struct<{
|
|
1666
1666
|
/** The importer path the problem belongs to (`"."` for the root). */
|
|
1667
1667
|
readonly importer: Schema.NonEmptyString;
|
|
@@ -1702,7 +1702,7 @@ declare const UnsatisfiedPeer_base: Schema.Class<UnsatisfiedPeer, Schema.Struct<
|
|
|
1702
1702
|
*
|
|
1703
1703
|
* @public
|
|
1704
1704
|
*/
|
|
1705
|
-
declare class UnsatisfiedPeer extends UnsatisfiedPeer_base {}
|
|
1705
|
+
export declare class UnsatisfiedPeer extends UnsatisfiedPeer_base {}
|
|
1706
1706
|
declare const PeerCheck_base: Schema.Class<PeerCheck, Schema.Struct<{
|
|
1707
1707
|
/**
|
|
1708
1708
|
* Whether the lockfile's format records peer resolution at all.
|
|
@@ -1768,7 +1768,7 @@ declare const PeerCheck_base: Schema.Class<PeerCheck, Schema.Struct<{
|
|
|
1768
1768
|
*
|
|
1769
1769
|
* @public
|
|
1770
1770
|
*/
|
|
1771
|
-
declare class PeerCheck extends PeerCheck_base {
|
|
1771
|
+
export declare class PeerCheck extends PeerCheck_base {
|
|
1772
1772
|
/** The unsatisfied peers a gate should act on — the non-optional ones. */
|
|
1773
1773
|
get required(): ReadonlyArray<UnsatisfiedPeer>;
|
|
1774
1774
|
/**
|
|
@@ -1830,7 +1830,7 @@ declare const PublishTarget_base: Schema.Class<PublishTarget, Schema.Struct<{
|
|
|
1830
1830
|
*
|
|
1831
1831
|
* @public
|
|
1832
1832
|
*/
|
|
1833
|
-
declare class PublishTarget extends PublishTarget_base {}
|
|
1833
|
+
export declare class PublishTarget extends PublishTarget_base {}
|
|
1834
1834
|
/**
|
|
1835
1835
|
* The {@link PublishabilityDetector} service shape.
|
|
1836
1836
|
*
|
|
@@ -1924,7 +1924,7 @@ declare const PublishabilityDetector_base: Context.ServiceClass<PublishabilityDe
|
|
|
1924
1924
|
*
|
|
1925
1925
|
* @public
|
|
1926
1926
|
*/
|
|
1927
|
-
declare class PublishabilityDetector extends PublishabilityDetector_base {
|
|
1927
|
+
export declare class PublishabilityDetector extends PublishabilityDetector_base {
|
|
1928
1928
|
/**
|
|
1929
1929
|
* Standard npm publishing semantics, **as a value**. Pure — no filesystem,
|
|
1930
1930
|
* no platform services.
|
|
@@ -1999,13 +1999,13 @@ declare class PublishabilityDetector extends PublishabilityDetector_base {
|
|
|
1999
1999
|
*
|
|
2000
2000
|
* @public
|
|
2001
2001
|
*/
|
|
2002
|
-
declare const TagStyle: Schema.Literals<readonly ["single", "scoped"]>;
|
|
2002
|
+
export declare const TagStyle: Schema.Literals<readonly ["single", "scoped"]>;
|
|
2003
2003
|
/**
|
|
2004
2004
|
* The decoded type of {@link (TagStyle:variable)}: `"single" | "scoped"`.
|
|
2005
2005
|
*
|
|
2006
2006
|
* @public
|
|
2007
2007
|
*/
|
|
2008
|
-
type TagStyle = typeof TagStyle.Type;
|
|
2008
|
+
export type TagStyle = typeof TagStyle.Type;
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Formatting knobs for {@link ReleaseTag.single} and {@link ReleaseTag.scoped}.
|
|
2011
2011
|
*
|
|
@@ -2086,7 +2086,7 @@ declare const TrackingTag_base: Schema.Class<TrackingTag, Schema.Struct<{
|
|
|
2086
2086
|
*
|
|
2087
2087
|
* @public
|
|
2088
2088
|
*/
|
|
2089
|
-
declare class TrackingTag extends TrackingTag_base {
|
|
2089
|
+
export declare class TrackingTag extends TrackingTag_base {
|
|
2090
2090
|
/** Whether this alias tracks a whole major line, or one minor line inside it. */
|
|
2091
2091
|
get precision(): "major" | "minor";
|
|
2092
2092
|
/**
|
|
@@ -2155,7 +2155,7 @@ type TagClassification = {
|
|
|
2155
2155
|
*
|
|
2156
2156
|
* @public
|
|
2157
2157
|
*/
|
|
2158
|
-
declare const classifyTag: (tag: string) => TagClassification;
|
|
2158
|
+
export declare const classifyTag: (tag: string) => TagClassification;
|
|
2159
2159
|
declare const ReleaseTag_base: Schema.Class<ReleaseTag, Schema.Struct<{
|
|
2160
2160
|
/** The tag string exactly as it appears in git. */
|
|
2161
2161
|
readonly value: Schema.NonEmptyString;
|
|
@@ -2192,7 +2192,7 @@ declare const ReleaseTag_base: Schema.Class<ReleaseTag, Schema.Struct<{
|
|
|
2192
2192
|
*
|
|
2193
2193
|
* @public
|
|
2194
2194
|
*/
|
|
2195
|
-
declare class ReleaseTag extends ReleaseTag_base {
|
|
2195
|
+
export declare class ReleaseTag extends ReleaseTag_base {
|
|
2196
2196
|
/**
|
|
2197
2197
|
* One shared tag for a whole release: `1.2.3`.
|
|
2198
2198
|
*
|
|
@@ -2225,13 +2225,13 @@ declare class ReleaseTag extends ReleaseTag_base {
|
|
|
2225
2225
|
*
|
|
2226
2226
|
* @public
|
|
2227
2227
|
*/
|
|
2228
|
-
declare const VersioningStrategyType: Schema.Literals<readonly ["single", "fixed-group", "independent"]>;
|
|
2228
|
+
export declare const VersioningStrategyType: Schema.Literals<readonly ["single", "fixed-group", "independent"]>;
|
|
2229
2229
|
/**
|
|
2230
2230
|
* The decoded type of {@link (VersioningStrategyType:variable)}.
|
|
2231
2231
|
*
|
|
2232
2232
|
* @public
|
|
2233
2233
|
*/
|
|
2234
|
-
type VersioningStrategyType = typeof VersioningStrategyType.Type;
|
|
2234
|
+
export type VersioningStrategyType = typeof VersioningStrategyType.Type;
|
|
2235
2235
|
/**
|
|
2236
2236
|
* Arguments to {@link VersioningStrategy.classify}.
|
|
2237
2237
|
*
|
|
@@ -2307,7 +2307,7 @@ declare const VersioningStrategy_base: Schema.Class<VersioningStrategy, Schema.S
|
|
|
2307
2307
|
*
|
|
2308
2308
|
* @public
|
|
2309
2309
|
*/
|
|
2310
|
-
declare class VersioningStrategy extends VersioningStrategy_base {
|
|
2310
|
+
export declare class VersioningStrategy extends VersioningStrategy_base {
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Whether a release needs one tag per package rather than one shared tag.
|
|
2313
2313
|
*/
|
|
@@ -2388,7 +2388,7 @@ declare const CatalogSet_base: Schema.Class<CatalogSet, Schema.Struct<{
|
|
|
2388
2388
|
*
|
|
2389
2389
|
* @public
|
|
2390
2390
|
*/
|
|
2391
|
-
declare class CatalogSet extends CatalogSet_base {
|
|
2391
|
+
export declare class CatalogSet extends CatalogSet_base {
|
|
2392
2392
|
/** The empty set — a workspace with no catalogs. */
|
|
2393
2393
|
static empty(): CatalogSet;
|
|
2394
2394
|
/** Wrap a pnpm `Catalogs` map, dropping unusable entries. */
|
|
@@ -2596,7 +2596,7 @@ declare const WorkspaceCatalogs_base: Context.ServiceClass<WorkspaceCatalogs, "@
|
|
|
2596
2596
|
*
|
|
2597
2597
|
* @public
|
|
2598
2598
|
*/
|
|
2599
|
-
declare class WorkspaceCatalogs extends WorkspaceCatalogs_base {
|
|
2599
|
+
export declare class WorkspaceCatalogs extends WorkspaceCatalogs_base {
|
|
2600
2600
|
/** Builds the service. */
|
|
2601
2601
|
static readonly make: (options?: WorkspaceCatalogsOptions) => Effect.Effect<WorkspaceCatalogsShape, never, WorkspaceRoot | LockfileReader | ConfigDependencyHooks | FileSystem.FileSystem | Path.Path>;
|
|
2602
2602
|
/**
|
|
@@ -2762,7 +2762,7 @@ declare const PackageStateSnapshot_base: Schema.Class<PackageStateSnapshot, Sche
|
|
|
2762
2762
|
*
|
|
2763
2763
|
* @public
|
|
2764
2764
|
*/
|
|
2765
|
-
declare class PackageStateSnapshot extends PackageStateSnapshot_base {
|
|
2765
|
+
export declare class PackageStateSnapshot extends PackageStateSnapshot_base {
|
|
2766
2766
|
/**
|
|
2767
2767
|
* Every dependency, merged across the four kinds.
|
|
2768
2768
|
*
|
|
@@ -2844,7 +2844,7 @@ declare const WorkspaceStateSnapshot_base: Schema.Class<WorkspaceStateSnapshot,
|
|
|
2844
2844
|
*
|
|
2845
2845
|
* @public
|
|
2846
2846
|
*/
|
|
2847
|
-
declare class WorkspaceStateSnapshot extends WorkspaceStateSnapshot_base {
|
|
2847
|
+
export declare class WorkspaceStateSnapshot extends WorkspaceStateSnapshot_base {
|
|
2848
2848
|
#private;
|
|
2849
2849
|
/**
|
|
2850
2850
|
* Every captured package's name → version. Total; O(1) after the first call.
|
|
@@ -3142,7 +3142,7 @@ declare const WorkspaceSnapshots_base: Context.ServiceClass<WorkspaceSnapshots,
|
|
|
3142
3142
|
*
|
|
3143
3143
|
* @public
|
|
3144
3144
|
*/
|
|
3145
|
-
declare class WorkspaceSnapshots extends WorkspaceSnapshots_base {
|
|
3145
|
+
export declare class WorkspaceSnapshots extends WorkspaceSnapshots_base {
|
|
3146
3146
|
/** Builds the service over `Git`, {@link WorkspaceRoot}, {@link WorkspaceDiscovery} and {@link WorkspaceCatalogs}. */
|
|
3147
3147
|
static readonly make: (options?: WorkspaceSnapshotsOptions) => Effect.Effect<WorkspaceSnapshotsShape, never, Git | WorkspaceRoot | WorkspaceDiscovery | WorkspaceCatalogs>;
|
|
3148
3148
|
/**
|
|
@@ -3260,7 +3260,7 @@ type WorkspacesServices = WorkspaceRoot | PackageManagerDetector | WorkspaceDisc
|
|
|
3260
3260
|
*
|
|
3261
3261
|
* @public
|
|
3262
3262
|
*/
|
|
3263
|
-
declare class Workspaces {
|
|
3263
|
+
export declare class Workspaces {
|
|
3264
3264
|
private constructor();
|
|
3265
3265
|
/**
|
|
3266
3266
|
* Every service that needs only a filesystem: root, package-manager
|
|
@@ -3785,7 +3785,7 @@ interface WorkspaceDiscoverySkip {
|
|
|
3785
3785
|
*
|
|
3786
3786
|
* @public
|
|
3787
3787
|
*/
|
|
3788
|
-
declare const findWorkspaceRootSync: (cwd: string, options: WorkspacesSyncOptions) => string | null;
|
|
3788
|
+
export declare const findWorkspaceRootSync: (cwd: string, options: WorkspacesSyncOptions) => string | null;
|
|
3789
3789
|
/**
|
|
3790
3790
|
* Options for {@link getWorkspacePackagesSync}: the required consumer-supplied
|
|
3791
3791
|
* operations plus the traversal bound.
|
|
@@ -3871,7 +3871,7 @@ interface GetWorkspacePackagesSyncOptions extends WorkspacesSyncOptions {
|
|
|
3871
3871
|
*
|
|
3872
3872
|
* @public
|
|
3873
3873
|
*/
|
|
3874
|
-
declare const getWorkspacePackagesSync: (root: string, options: GetWorkspacePackagesSyncOptions) => ReadonlyArray<WorkspacePackage>;
|
|
3874
|
+
export declare const getWorkspacePackagesSync: (root: string, options: GetWorkspacePackagesSyncOptions) => ReadonlyArray<WorkspacePackage>;
|
|
3875
3875
|
//#endregion
|
|
3876
|
-
export {
|
|
3876
|
+
export type { CatalogAssemblyFailure, ChangeDetectionFailure, ChangeDetectorShape, ClassifyOptions, ConfigDependencyHooksShape, DependencyDiff, FindWorkspaceRootOptions, GetWorkspacePackagesSyncOptions, HookInjection, ImporterVersions, LockfileReadFailure, LockfileReaderOptions, LockfileReaderShape, PackageManagerDetectionFailure, PackageManagerDetectorShape, PackageRelease, PeerCheckOptions, PeerDependencyRules, PublishabilityDetectorShape, SyncDirectoryEntry, SyncFileSystem, SyncPath, TagClassification, TagFormatOptions, TrackingTagOptions, UnverifiedReason, VersioningDetectOptions, WorkspaceCatalogsOptions, WorkspaceCatalogsShape, WorkspaceDiscoveryFailure, WorkspaceDiscoveryOptions, WorkspaceDiscoveryShape, WorkspaceDiscoverySkip, WorkspaceDiscoverySkipKind, WorkspaceLookupFailure, WorkspaceRootShape, WorkspaceSnapshotAtFailure, WorkspaceSnapshotWorktreeFailure, WorkspaceSnapshotsOptions, WorkspaceSnapshotsShape, WorkspacesGitOptions, WorkspacesOptions, WorkspacesServices, WorkspacesSyncOptions };
|
|
3877
3877
|
//# sourceMappingURL=index.d.ts.map
|
package/node-sync.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ interface WorkspacesSyncOptions {
|
|
|
142
142
|
*
|
|
143
143
|
* @public
|
|
144
144
|
*/
|
|
145
|
-
declare const nodeFileSystem: SyncFileSystem;
|
|
145
|
+
export declare const nodeFileSystem: SyncFileSystem;
|
|
146
146
|
/**
|
|
147
147
|
* `SyncPath` as the running platform's `node:path` — win32 semantics on
|
|
148
148
|
* Windows, posix elsewhere. Pass `node:path/win32` or `node:path/posix`
|
|
@@ -150,7 +150,7 @@ declare const nodeFileSystem: SyncFileSystem;
|
|
|
150
150
|
*
|
|
151
151
|
* @public
|
|
152
152
|
*/
|
|
153
|
-
declare const nodePath: SyncPath;
|
|
153
|
+
export declare const nodePath: SyncPath;
|
|
154
154
|
/**
|
|
155
155
|
* The complete Node-bound options bag for `findWorkspaceRootSync` and
|
|
156
156
|
* `getWorkspacePackagesSync` — {@link nodeFileSystem} plus {@link nodePath}.
|
|
@@ -160,7 +160,7 @@ declare const nodePath: SyncPath;
|
|
|
160
160
|
*
|
|
161
161
|
* @public
|
|
162
162
|
*/
|
|
163
|
-
declare const nodeSyncOps: WorkspacesSyncOptions;
|
|
163
|
+
export declare const nodeSyncOps: WorkspacesSyncOptions;
|
|
164
164
|
//#endregion
|
|
165
|
-
export {
|
|
165
|
+
export type { SyncDirectoryEntry, SyncFileSystem, SyncPath, WorkspacesSyncOptions };
|
|
166
166
|
//# sourceMappingURL=node-sync.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/workspaces",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Monorepo workspace tooling as Effect services — root discovery, package enumeration, the dependency graph, package-manager detection, pnpm catalog resolution, lockfile IO and git-based change detection.",
|
|
6
6
|
"keywords": [
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
"./package.json": "./package.json"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@effected/commands": "^0.
|
|
50
|
-
"@effected/git": "^0.
|
|
51
|
-
"@effected/glob": "^0.
|
|
52
|
-
"@effected/lockfiles": "^0.
|
|
53
|
-
"@effected/npm": "^0.
|
|
54
|
-
"@effected/package-json": "^0.
|
|
55
|
-
"@effected/semver": "^0.
|
|
56
|
-
"@effected/walker": "^0.
|
|
57
|
-
"@effected/yaml": "^0.
|
|
49
|
+
"@effected/commands": "^0.6.0",
|
|
50
|
+
"@effected/git": "^0.11.0",
|
|
51
|
+
"@effected/glob": "^0.5.0",
|
|
52
|
+
"@effected/lockfiles": "^0.8.0",
|
|
53
|
+
"@effected/npm": "^0.13.0",
|
|
54
|
+
"@effected/package-json": "^0.14.0",
|
|
55
|
+
"@effected/semver": "^0.6.0",
|
|
56
|
+
"@effected/walker": "^0.6.0",
|
|
57
|
+
"@effected/yaml": "^0.13.0",
|
|
58
58
|
"@pnpm/catalogs.config": "^1100.0.5",
|
|
59
59
|
"@pnpm/catalogs.protocol-parser": "^1100.0.0",
|
|
60
60
|
"@pnpm/catalogs.resolver": "^1100.0.0",
|
|
61
61
|
"@pnpm/catalogs.types": "^1100.0.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"effect": "4.0.0-rc.
|
|
64
|
+
"effect": "4.0.0-rc.112"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=24.11.0"
|