@effected/workspaces 0.44.0 → 0.44.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.
@@ -7,6 +7,7 @@ import { PackageJsonFormat } from "@effected/package-json";
7
7
  const TRAPS = /* @__PURE__ */ new Set([
8
8
  "CI",
9
9
  "INIT_CWD",
10
+ "NODE_OPTIONS",
10
11
  "NODE_V8_COVERAGE",
11
12
  "PNPM_SCRIPT_SRC_DIR",
12
13
  "PNPM_PACKAGE_NAME"
@@ -21,8 +22,15 @@ const TRAP_PREFIXES = /^(npm_|pnpm_config_|yarn_)/i;
21
22
  * among them), every `YARN_*` variable (Berry lets them override
22
23
  * `.yarnrc.yml`, so `YARN_NODE_LINKER=pnp` would defeat the consumer's
23
24
  * `nodeLinker`), `CI` (Yarn Berry turns on immutable installs), `INIT_CWD`,
24
- * and `NODE_V8_COVERAGE` (a spawned manager writes coverage files that race
25
- * vitest's V8 provider).
25
+ * `NODE_V8_COVERAGE` (a spawned manager writes coverage files that race
26
+ * vitest's V8 provider), and `NODE_OPTIONS` (a workspace's `nodeOptions`, such
27
+ * as `--import=tsx`, is injected into every script a manager runs; the scratch
28
+ * consumer has no such package, so every child would die on start). Node reads
29
+ * only the exact name `NODE_OPTIONS`; the `npm_config_node_options` and
30
+ * `pnpm_config_node_options` spellings are already stripped by prefix.
31
+ * `NODE_OPTIONS` cannot be told apart from an explicit one in a whole
32
+ * `process.env`, so it is dropped outright; a bin that needs it gets it
33
+ * through `RunBinOptions.env`, which is layered after this scrub.
26
34
  *
27
35
  * Stripping `CI` does not make the child believe it runs locally: ci-info
28
36
  * also reads provider variables such as `GITHUB_ACTIONS`, which stay. That is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/workspaces",
3
- "version": "0.44.0",
3
+ "version": "0.44.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": [
@@ -55,9 +55,9 @@
55
55
  "@effected/git": "^0.30.0",
56
56
  "@effected/glob": "^0.20.0",
57
57
  "@effected/jsonc": "^0.24.0",
58
- "@effected/lockfiles": "^0.23.0",
59
- "@effected/npm": "^0.31.0",
60
- "@effected/package-json": "^0.31.0",
58
+ "@effected/lockfiles": "^0.23.1",
59
+ "@effected/npm": "^0.32.0",
60
+ "@effected/package-json": "^0.31.1",
61
61
  "@effected/semver": "^0.22.0",
62
62
  "@effected/walker": "^0.26.0",
63
63
  "@effected/yaml": "^0.29.0",