@effected/workspaces 0.44.1 → 0.44.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/ImportGraph.js CHANGED
@@ -285,7 +285,7 @@ const includePrefixes = (patterns) => {
285
285
  *
286
286
  * @example
287
287
  * ```ts
288
- * import { NodeServices } from "@effect/platform-node";
288
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
289
289
  * import { ImportGraph } from "@effected/workspaces/testing";
290
290
  * import { Effect } from "effect";
291
291
  *
package/LayerPolicy.js CHANGED
@@ -67,7 +67,7 @@ var LayerPolicyError = class extends Schema.TaggedError()("LayerPolicyError", {
67
67
  *
68
68
  * @example
69
69
  * ```ts
70
- * import { NodeServices } from "@effect/platform-node";
70
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
71
71
  * import { LayerPolicy } from "@effected/workspaces/testing";
72
72
  * import { Effect } from "effect";
73
73
  *
package/PackedInstall.js CHANGED
@@ -477,7 +477,7 @@ const planClosure = (carrier, options) => Effect.gen(function* () {
477
477
  *
478
478
  * @example
479
479
  * ```ts
480
- * import { NodeServices } from "@effect/platform-node";
480
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
481
481
  * import { Workspaces } from "@effected/workspaces";
482
482
  * import { PackedInstall } from "@effected/workspaces/testing";
483
483
  * import { Effect, Layer } from "effect";
@@ -569,7 +569,7 @@ var PackedInstall = class PackedInstall {
569
569
  *
570
570
  * @example
571
571
  * ```ts
572
- * import { NodeServices } from "@effect/platform-node";
572
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
573
573
  * import { Workspaces } from "@effected/workspaces";
574
574
  * import { PackedInstall } from "@effected/workspaces/testing";
575
575
  * import { Effect, Layer } from "effect";
@@ -598,7 +598,7 @@ var PackedInstall = class PackedInstall {
598
598
  *
599
599
  * @example
600
600
  * ```ts
601
- * import { NodeServices } from "@effect/platform-node";
601
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
602
602
  * import { Workspaces } from "@effected/workspaces";
603
603
  * import type { PackedInstallOptions } from "@effected/workspaces/testing";
604
604
  * import { PackedInstall } from "@effected/workspaces/testing";
@@ -647,7 +647,7 @@ var PackedInstall = class PackedInstall {
647
647
  *
648
648
  * @example
649
649
  * ```ts
650
- * import { NodeServices } from "@effect/platform-node";
650
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
651
651
  * import { Workspaces } from "@effected/workspaces";
652
652
  * import { PackedInstall } from "@effected/workspaces/testing";
653
653
  * import { Effect, Layer } from "effect";
package/README.md CHANGED
@@ -46,7 +46,8 @@ pnpm's catalog semantics come from pnpm's own `@pnpm/catalogs.*` packages, which
46
46
  ## Quick start
47
47
 
48
48
  ```ts
49
- import { NodeFileSystem, NodePath } from "@effect/platform-node";
49
+ import * as NodeFileSystem from "@effect/platform-node/NodeFileSystem";
50
+ import * as NodePath from "@effect/platform-node/NodePath";
50
51
  import { DependencyGraph, WorkspaceDiscovery, Workspaces } from "@effected/workspaces";
51
52
  import { Effect, Layer } from "effect";
52
53
 
@@ -103,7 +104,7 @@ console.log(graph.toMermaid());
103
104
  `ChangeDetector` offers three depths of analysis on one service — `changedFiles` (raw paths from a git range), `changedPackages` (the packages owning them) and `affectedPackages` (the transitive blast radius through the dependency graph).
104
105
 
105
106
  ```ts
106
- import { NodeServices } from "@effect/platform-node";
107
+ import * as NodeServices from "@effect/platform-node/NodeServices";
107
108
  import { ChangeDetectionOptions, ChangeDetector, Workspaces } from "@effected/workspaces";
108
109
  import { Effect, Layer } from "effect";
109
110
 
@@ -171,7 +172,7 @@ A higher source replaces a lower one's value whole, so a workspace `minimumRelea
171
172
  `cwd` belongs to the workspace, as pnpm decides it, when it is the root, when it holds no project manifest (`package.json`, `package.json5` or `package.yaml`), or when it matches the manifest's `packages:` patterns. A manifest with no `packages:` key has the root as its only member, so an example app or fixture with its own `package.json` inside a single-package repo reads no workspace settings, exactly as pnpm skips them. A misnamed manifest (`pnpm-workspace.yml`, `.pnpm-workspace.yaml`) is not a workspace file, and the ascent passes it, as pnpm 12 does.
172
173
 
173
174
  ```ts
174
- import { NodeServices } from "@effect/platform-node";
175
+ import * as NodeServices from "@effect/platform-node/NodeServices";
175
176
  import { PnpmSettings } from "@effected/workspaces";
176
177
  import { Effect, Option } from "effect";
177
178
 
@@ -327,7 +328,7 @@ Every check refuses to pass vacuously, so every example below pairs "nothing wro
327
328
  // __test__/layering.test.ts, one level below the workspace root
328
329
  import { dirname, join, resolve } from "node:path";
329
330
  import { fileURLToPath } from "node:url";
330
- import { NodeServices } from "@effect/platform-node";
331
+ import * as NodeServices from "@effect/platform-node/NodeServices";
331
332
  import { assert, describe, layer } from "@effect/vitest";
332
333
  import { Workspaces } from "@effected/workspaces";
333
334
  import { LayerPolicy, WorkspaceLayering } from "@effected/workspaces/testing";
@@ -360,7 +361,7 @@ An edge is drawn wherever a dependency's name is a workspace package, whatever i
360
361
  // __test__/boundary.test.ts, one level below the package root
361
362
  import { dirname, join } from "node:path";
362
363
  import { fileURLToPath } from "node:url";
363
- import { NodeServices } from "@effect/platform-node";
364
+ import * as NodeServices from "@effect/platform-node/NodeServices";
364
365
  import { assert, describe, layer } from "@effect/vitest";
365
366
  import { SourceBoundary } from "@effected/workspaces/testing";
366
367
  import { Effect } from "effect";
@@ -450,7 +451,7 @@ Two guards are properties of the import graph rather than of one file, so no per
450
451
  import { builtinModules } from "node:module";
451
452
  import { dirname, join, resolve } from "node:path";
452
453
  import { fileURLToPath } from "node:url";
453
- import { NodeServices } from "@effect/platform-node";
454
+ import * as NodeServices from "@effect/platform-node/NodeServices";
454
455
  import { assert, describe, layer } from "@effect/vitest";
455
456
  import { Workspaces } from "@effected/workspaces";
456
457
  import { ImportGraph } from "@effected/workspaces/testing";
@@ -503,7 +504,7 @@ It does not run the bins; the test does, inside the same scope, because the scra
503
504
  // __test__/e2e/packed-install.e2e.test.ts, two levels below the workspace root
504
505
  import { dirname, resolve } from "node:path";
505
506
  import { fileURLToPath } from "node:url";
506
- import { NodeServices } from "@effect/platform-node";
507
+ import * as NodeServices from "@effect/platform-node/NodeServices";
507
508
  import { assert, describe, layer } from "@effect/vitest";
508
509
  import { McpProbe } from "@effected/mcp-kit/testing";
509
510
  import { Workspaces } from "@effected/workspaces";
package/SourceBoundary.js CHANGED
@@ -929,7 +929,7 @@ var SourceBoundary = class SourceBoundary {
929
929
  *
930
930
  * @example
931
931
  * ```ts
932
- * import { NodeServices } from "@effect/platform-node";
932
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
933
933
  * import { SourceBoundary } from "@effected/workspaces/testing";
934
934
  * import { Effect } from "effect";
935
935
  *
@@ -111,7 +111,7 @@ const cycleOf = (names, edges) => {
111
111
  *
112
112
  * @example
113
113
  * ```ts
114
- * import { NodeServices } from "@effect/platform-node";
114
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
115
115
  * import { Workspaces } from "@effected/workspaces";
116
116
  * import { LayerPolicy, WorkspaceLayering } from "@effected/workspaces/testing";
117
117
  * import { Effect, Layer } from "effect";
package/Workspaces.js CHANGED
@@ -279,7 +279,7 @@ var Workspaces = class Workspaces {
279
279
  *
280
280
  * @example
281
281
  * ```ts
282
- * import { NodeServices } from "@effect/platform-node";
282
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
283
283
  * import { ToolDiscovery } from "@effected/commands";
284
284
  * import { Workspaces } from "@effected/workspaces";
285
285
  * import { Layer } from "effect";
package/index.d.ts CHANGED
@@ -4812,7 +4812,7 @@ export declare class Workspaces {
4812
4812
  *
4813
4813
  * @example
4814
4814
  * ```ts
4815
- * import { NodeServices } from "@effect/platform-node";
4815
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
4816
4816
  * import { ToolDiscovery } from "@effected/commands";
4817
4817
  * import { Workspaces } from "@effected/workspaces";
4818
4818
  * import { Layer } from "effect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/workspaces",
3
- "version": "0.44.1",
3
+ "version": "0.44.2",
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": [
@@ -51,14 +51,14 @@
51
51
  "./package.json": "./package.json"
52
52
  },
53
53
  "dependencies": {
54
- "@effected/commands": "^0.20.0",
55
- "@effected/git": "^0.30.0",
54
+ "@effected/commands": "^0.20.1",
55
+ "@effected/git": "^0.31.0",
56
56
  "@effected/glob": "^0.20.0",
57
57
  "@effected/jsonc": "^0.24.0",
58
- "@effected/lockfiles": "^0.23.1",
59
- "@effected/npm": "^0.32.0",
60
- "@effected/package-json": "^0.31.1",
61
- "@effected/semver": "^0.22.0",
58
+ "@effected/lockfiles": "^0.23.2",
59
+ "@effected/npm": "^0.32.1",
60
+ "@effected/package-json": "^0.31.2",
61
+ "@effected/semver": "^0.23.0",
62
62
  "@effected/walker": "^0.26.0",
63
63
  "@effected/yaml": "^0.29.0",
64
64
  "@pnpm/catalogs.config": "^1100.0.5",
package/testing.d.ts CHANGED
@@ -1136,7 +1136,7 @@ interface UndeclaredOptions {
1136
1136
  *
1137
1137
  * @example
1138
1138
  * ```ts
1139
- * import { NodeServices } from "@effect/platform-node";
1139
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
1140
1140
  * import { ImportGraph } from "@effected/workspaces/testing";
1141
1141
  * import { Effect } from "effect";
1142
1142
  *
@@ -1255,7 +1255,7 @@ declare const LayerPolicy_base: Schema.Class<LayerPolicy, Schema.Struct<{
1255
1255
  *
1256
1256
  * @example
1257
1257
  * ```ts
1258
- * import { NodeServices } from "@effect/platform-node";
1258
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
1259
1259
  * import { LayerPolicy } from "@effected/workspaces/testing";
1260
1260
  * import { Effect } from "effect";
1261
1261
  *
@@ -1826,7 +1826,7 @@ interface PackedInstallGate {
1826
1826
  *
1827
1827
  * @example
1828
1828
  * ```ts
1829
- * import { NodeServices } from "@effect/platform-node";
1829
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
1830
1830
  * import { Workspaces } from "@effected/workspaces";
1831
1831
  * import { PackedInstall } from "@effected/workspaces/testing";
1832
1832
  * import { Effect, Layer } from "effect";
@@ -1909,7 +1909,7 @@ export declare class PackedInstall {
1909
1909
  *
1910
1910
  * @example
1911
1911
  * ```ts
1912
- * import { NodeServices } from "@effect/platform-node";
1912
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
1913
1913
  * import { Workspaces } from "@effected/workspaces";
1914
1914
  * import { PackedInstall } from "@effected/workspaces/testing";
1915
1915
  * import { Effect, Layer } from "effect";
@@ -1938,7 +1938,7 @@ export declare class PackedInstall {
1938
1938
  *
1939
1939
  * @example
1940
1940
  * ```ts
1941
- * import { NodeServices } from "@effect/platform-node";
1941
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
1942
1942
  * import { Workspaces } from "@effected/workspaces";
1943
1943
  * import type { PackedInstallOptions } from "@effected/workspaces/testing";
1944
1944
  * import { PackedInstall } from "@effected/workspaces/testing";
@@ -1983,7 +1983,7 @@ export declare class PackedInstall {
1983
1983
  *
1984
1984
  * @example
1985
1985
  * ```ts
1986
- * import { NodeServices } from "@effect/platform-node";
1986
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
1987
1987
  * import { Workspaces } from "@effected/workspaces";
1988
1988
  * import { PackedInstall } from "@effected/workspaces/testing";
1989
1989
  * import { Effect, Layer } from "effect";
@@ -2369,7 +2369,7 @@ export declare class SourceBoundary {
2369
2369
  *
2370
2370
  * @example
2371
2371
  * ```ts
2372
- * import { NodeServices } from "@effect/platform-node";
2372
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
2373
2373
  * import { SourceBoundary } from "@effected/workspaces/testing";
2374
2374
  * import { Effect } from "effect";
2375
2375
  *
@@ -2453,7 +2453,7 @@ export declare class LayeringReport extends LayeringReport_base {
2453
2453
  *
2454
2454
  * @example
2455
2455
  * ```ts
2456
- * import { NodeServices } from "@effect/platform-node";
2456
+ * import * as NodeServices from "@effect/platform-node/NodeServices";
2457
2457
  * import { Workspaces } from "@effected/workspaces";
2458
2458
  * import { LayerPolicy, WorkspaceLayering } from "@effected/workspaces/testing";
2459
2459
  * import { Effect, Layer } from "effect";