@effected/workspaces 0.29.0 → 0.30.1

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.
@@ -5,7 +5,7 @@ import { Context, Duration, Effect, Layer, Predicate, Schema } from "effect";
5
5
  import { CatalogAssemblyError } from "@effected/npm";
6
6
  import { pathToFileURL } from "node:url";
7
7
  import { Run } from "@effected/commands";
8
- import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
8
+ import { ChildProcess, ChildProcessSpawner } from "effect/process";
9
9
 
10
10
  //#region src/ConfigDependencyHooks.ts
11
11
  /**
package/LayerPolicy.js CHANGED
@@ -4,7 +4,7 @@ import { GlobSet } from "@effected/glob";
4
4
  import { DependencyField } from "@effected/npm";
5
5
 
6
6
  //#region src/LayerPolicy.ts
7
- const REQUIRED_EDGE = /^\S+ -> \S+$/;
7
+ const REQUIRED_EDGE = /^\S+ -> \S+$/u;
8
8
  /** `input` without `keys`, when it is a plain object; anything else passes through for the schema to reject. */
9
9
  const withoutKeys = (input, keys) => {
10
10
  if (typeof input !== "object" || input === null || Array.isArray(input)) return input;
package/PackedInstall.js CHANGED
@@ -4,7 +4,7 @@ import { binConflict, binTargetOf, closureOf, consumerFiles, fileOverridesOf, in
4
4
  import { Duration, Effect, FileSystem, Option, Path, Redacted, Result, Schema } from "effect";
5
5
  import { Yaml } from "@effected/yaml";
6
6
  import { Run } from "@effected/commands";
7
- import { ChildProcess } from "effect/unstable/process";
7
+ import { ChildProcess } from "effect/process";
8
8
 
9
9
  //#region src/PackedInstall.ts
10
10
  /**
package/SourceBoundary.js CHANGED
@@ -279,7 +279,7 @@ const FIXTURES = [
279
279
  },
280
280
  {
281
281
  name: "node:process: an unrelated specifier",
282
- source: "import { ChildProcess } from \"effect/unstable/process\";",
282
+ source: "import { ChildProcess } from \"effect/process\";",
283
283
  rule: "node:process",
284
284
  flagged: false
285
285
  },
package/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { CatalogAssemblyError, CatalogResolver, DependencyResolutionError, Manif
4
4
  import { GlobPattern } from "@effected/glob";
5
5
  import { Lockfile, LockfileFramingError, LockfileIntegrity, LockfileParseError, ResolvedPackage, WorkspaceManifest } from "@effected/lockfiles";
6
6
  import { Package } from "@effected/package-json";
7
- import { ChildProcessSpawner } from "effect/unstable/process";
7
+ import { ChildProcessSpawner } from "effect/process";
8
8
  import { SemVer } from "@effected/semver";
9
9
  import { LocalExec } from "@effected/commands";
10
10
  //#region src/WorkspacePackage.d.ts
@@ -4,7 +4,7 @@ import { Duration, Effect, Predicate } from "effect";
4
4
  import { IntegrityHash } from "@effected/npm";
5
5
  import { Yaml } from "@effected/yaml";
6
6
  import { Run } from "@effected/commands";
7
- import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
7
+ import { ChildProcess, ChildProcessSpawner } from "effect/process";
8
8
  import { copyFile, mkdtemp, readFile, realpath, rm, writeFile } from "node:fs/promises";
9
9
  import { tmpdir } from "node:os";
10
10
  import { basename, dirname, join } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/workspaces",
3
- "version": "0.29.0",
3
+ "version": "0.30.1",
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,23 +51,23 @@
51
51
  "./package.json": "./package.json"
52
52
  },
53
53
  "dependencies": {
54
- "@effected/commands": "^0.9.0",
55
- "@effected/git": "^0.17.0",
56
- "@effected/glob": "^0.8.0",
57
- "@effected/jsonc": "^0.13.0",
58
- "@effected/lockfiles": "^0.13.0",
59
- "@effected/npm": "^0.18.0",
60
- "@effected/package-json": "^0.18.1",
61
- "@effected/semver": "^0.9.0",
62
- "@effected/walker": "^0.12.0",
63
- "@effected/yaml": "^0.17.0",
54
+ "@effected/commands": "^0.10.0",
55
+ "@effected/git": "^0.18.1",
56
+ "@effected/glob": "^0.9.0",
57
+ "@effected/jsonc": "^0.14.0",
58
+ "@effected/lockfiles": "^0.14.0",
59
+ "@effected/npm": "^0.19.0",
60
+ "@effected/package-json": "^0.19.1",
61
+ "@effected/semver": "^0.10.1",
62
+ "@effected/walker": "^0.13.0",
63
+ "@effected/yaml": "^0.18.0",
64
64
  "@pnpm/catalogs.config": "^1100.0.5",
65
65
  "@pnpm/catalogs.protocol-parser": "^1100.0.0",
66
66
  "@pnpm/catalogs.resolver": "^1100.0.0",
67
67
  "@pnpm/catalogs.types": "^1100.0.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "effect": "4.0.0-rc.117"
70
+ "effect": "4.0.0-rc.118"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=24.11.0"
package/testing.d.ts CHANGED
@@ -4,7 +4,7 @@ import { GlobPattern } from "@effected/glob";
4
4
  import { WorkspaceManifest } from "@effected/lockfiles";
5
5
  import { Package } from "@effected/package-json";
6
6
  import { CommandOutput } from "@effected/commands";
7
- import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
7
+ import { ChildProcess, ChildProcessSpawner } from "effect/process";
8
8
  //#region src/LayerPolicy.d.ts
9
9
  declare const LayerPolicyError_base: Schema.Class<LayerPolicyError, Schema.TaggedStruct<"LayerPolicyError", {
10
10
  /** `read`: the file could not be read. `json`: it is not JSON. `decode`: it is not a `LayerPolicy`. */