@effected/pnpm-plugin-effect 0.5.0 → 0.6.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/README.md +23 -8
- package/index.js +124 -59
- package/package.json +1 -1
- package/pnpmfile.cjs +72 -10
- package/pnpmfile.mjs +72 -10
- package/tsdoc-metadata.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
7
|
[](https://pnpm.io/)
|
|
8
8
|
|
|
9
|
-
A pnpm [config dependency](https://pnpm.io/config-dependencies) that centralizes
|
|
9
|
+
A pnpm [config dependency](https://pnpm.io/config-dependencies) that centralizes versioning for two package sets through four [pnpm catalogs](https://pnpm.io/catalogs). The `effect` pair covers `effect` and its `@effect/*` satellites on one [Effect v4](https://effect.website/blog/releases/effect/40-beta/) release, plus `@effect/tsgo` at its own independent pin; the `effected` pair covers every published `@effected/*` package except this one. Each pair has a catalog for the versions you depend on and a second one for the ranges you advertise as peers, so a library does not over-constrain the applications that install it. Install it once and all four catalogs are available to every package in your workspace.
|
|
10
10
|
|
|
11
11
|
> **Pre-release.** This package is part of the `@effected/*` kit, in pre-`1.0.0`
|
|
12
12
|
> development against a single pinned Effect v4 prerelease. Packages graduate to
|
|
@@ -24,7 +24,9 @@ A pnpm [config dependency](https://pnpm.io/config-dependencies) that centralizes
|
|
|
24
24
|
|
|
25
25
|
Effect ships as a couple of dozen packages that have to move together. Pin them by hand and the pins drift: one `@effect/*` package advances, its `effect` peer no longer matches the core you installed, and the failure surfaces as a type error in a file nobody touched. Keeping the pins in one place is the whole idea, and pnpm catalogs are the mechanism — `catalog:effect` in a manifest instead of a version string, and one place to edit when the pin advances.
|
|
26
26
|
|
|
27
|
-
The
|
|
27
|
+
The `@effected/*` kit has the same problem with a sharper edge. Every kit package is on `0.x`, where a caret does not cross a minor, so a hand-written `^0.14.0` stops resolving anything current the moment that package cuts `0.15.0`. Spread across a dozen manifests, those ranges rot quietly and independently, and nothing tells you a package has fallen two minors behind until an install refuses to give you anything current. `catalog:effected` replaces the ranges with a name, and upgrading the config dependency moves the whole kit surface at once.
|
|
28
|
+
|
|
29
|
+
The peer catalogs are the part you cannot get from a catalog alone. A library's `peerDependencies` should be as *wide* as it can safely be, while its `devDependencies` should be as *specific* as possible; those are different numbers and computing the peer floor by hand across a whole ecosystem is grim. `effect:peers` and `effected:peers` are that computation, done once. This is a convenience, not a requirement — it packages the way [effected](https://github.com/spencerbeggs/effected) pins its own dependencies, so a project that wants the same discipline can adopt it instead of rebuilding it. It ships catalogs and a pnpmfile, not a code API.
|
|
28
30
|
|
|
29
31
|
## Install
|
|
30
32
|
|
|
@@ -45,7 +47,7 @@ configDependencies:
|
|
|
45
47
|
|
|
46
48
|
## Usage
|
|
47
49
|
|
|
48
|
-
Once installed,
|
|
50
|
+
Once installed, all four catalogs are available to every package in the workspace. Reference them from `package.json` by name, in place of a version range. Which field they go in depends on whether you are building an application or a library.
|
|
49
51
|
|
|
50
52
|
Applications pin the versions directly, in `dependencies`:
|
|
51
53
|
|
|
@@ -53,22 +55,23 @@ Applications pin the versions directly, in `dependencies`:
|
|
|
53
55
|
{
|
|
54
56
|
"dependencies": {
|
|
55
57
|
"effect": "catalog:effect",
|
|
56
|
-
"@effect/ai-openai": "catalog:effect"
|
|
58
|
+
"@effect/ai-openai": "catalog:effect",
|
|
59
|
+
"@effected/workspaces": "catalog:effected"
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
62
|
```
|
|
60
63
|
|
|
61
|
-
Libraries want both
|
|
64
|
+
Libraries want both halves of each pair: the pinned versions to develop and test against, and the computed floor as the peer range consumers must satisfy.
|
|
62
65
|
|
|
63
66
|
```json
|
|
64
67
|
{
|
|
65
68
|
"devDependencies": {
|
|
66
69
|
"effect": "catalog:effect",
|
|
67
|
-
"@
|
|
70
|
+
"@effected/workspaces": "catalog:effected"
|
|
68
71
|
},
|
|
69
72
|
"peerDependencies": {
|
|
70
73
|
"effect": "catalog:effect:peers",
|
|
71
|
-
"@
|
|
74
|
+
"@effected/workspaces": "catalog:effected:peers"
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
77
|
```
|
|
@@ -81,10 +84,22 @@ pnpm rewrites `catalog:` specifiers to concrete ranges when it publishes, so wha
|
|
|
81
84
|
| ------- | -------- | --------- |
|
|
82
85
|
| `catalog:effect` | Every `effect` and `@effect/*` package, pinned to one v4 release | `dependencies` for applications, `devDependencies` for libraries |
|
|
83
86
|
| `catalog:effect:peers` | The same package set at the computed shared peer floor | `peerDependencies` for libraries |
|
|
87
|
+
| `catalog:effected` | Every published `@effected/*` package at its current release | `dependencies` for applications, `devDependencies` for libraries |
|
|
88
|
+
| `catalog:effected:peers` | The same package set at its minor-floored peer range | `peerDependencies` for libraries |
|
|
89
|
+
|
|
90
|
+
`@effected/pnpm-plugin-effect` itself is deliberately absent from the `effected` catalogs — it is the package the catalogs ship inside, and listing it would make every catalog rewrite bump the package that carries the catalog.
|
|
84
91
|
|
|
85
92
|
It also ships a pnpmfile, which pnpm loads from the config dependency automatically. There is nothing to import and nothing to call — the package has no code API, only configuration.
|
|
86
93
|
|
|
87
|
-
|
|
94
|
+
The `effect` catalogs move when the Effect pin advances, which is a deliberate, human-run upgrade. The `effected` catalogs are rebuilt automatically as kit packages release, so each new version of this package carries the kit's current versions; upgrading the config dependency is how a consumer picks them up.
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
pnpm update --config @effected/pnpm-plugin-effect
|
|
98
|
+
pnpm install
|
|
99
|
+
# every catalog: specifier in the workspace re-resolves to the new pins
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
While the whole ecosystem is pinned to a single Effect v4 prerelease, the two `effect` catalogs largely coincide. The floor computation earns its keep once the packages' releases desynchronize — and it earned it under Effect v3, where the floors genuinely diverged. The `effected` pair diverges routinely, because a kit package's dependency entry tracks its exact release while its peer range is floored to the minor.
|
|
88
103
|
|
|
89
104
|
## License
|
|
90
105
|
|
package/index.js
CHANGED
|
@@ -1,63 +1,128 @@
|
|
|
1
1
|
//#region \0rolldown-pnpm-config/virtual/catalogs
|
|
2
|
-
const catalogs = /* @__PURE__ */ new Map([
|
|
3
|
-
["
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
["
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
]
|
|
2
|
+
const catalogs = /* @__PURE__ */ new Map([
|
|
3
|
+
["effect", /* @__PURE__ */ new Map([
|
|
4
|
+
["@effect/ai-anthropic", "4.0.0-rc.109"],
|
|
5
|
+
["@effect/ai-openai", "4.0.0-rc.109"],
|
|
6
|
+
["@effect/ai-openai-compat", "4.0.0-rc.109"],
|
|
7
|
+
["@effect/ai-openrouter", "4.0.0-rc.109"],
|
|
8
|
+
["@effect/atom-react", "4.0.0-rc.109"],
|
|
9
|
+
["@effect/atom-solid", "4.0.0-rc.109"],
|
|
10
|
+
["@effect/atom-vue", "4.0.0-rc.109"],
|
|
11
|
+
["@effect/openapi-generator", "4.0.0-rc.109"],
|
|
12
|
+
["@effect/opentelemetry", "4.0.0-rc.109"],
|
|
13
|
+
["@effect/platform-browser", "4.0.0-rc.109"],
|
|
14
|
+
["@effect/platform-bun", "4.0.0-rc.109"],
|
|
15
|
+
["@effect/platform-node", "4.0.0-rc.109"],
|
|
16
|
+
["@effect/platform-node-shared", "4.0.0-rc.109"],
|
|
17
|
+
["@effect/sql-clickhouse", "4.0.0-rc.109"],
|
|
18
|
+
["@effect/sql-d1", "4.0.0-rc.109"],
|
|
19
|
+
["@effect/sql-libsql", "4.0.0-rc.109"],
|
|
20
|
+
["@effect/sql-mssql", "4.0.0-rc.109"],
|
|
21
|
+
["@effect/sql-mysql2", "4.0.0-rc.109"],
|
|
22
|
+
["@effect/sql-pg", "4.0.0-rc.109"],
|
|
23
|
+
["@effect/sql-pglite", "4.0.0-rc.109"],
|
|
24
|
+
["@effect/sql-sqlite-bun", "4.0.0-rc.109"],
|
|
25
|
+
["@effect/sql-sqlite-do", "4.0.0-rc.109"],
|
|
26
|
+
["@effect/sql-sqlite-node", "4.0.0-rc.109"],
|
|
27
|
+
["@effect/sql-sqlite-react-native", "4.0.0-rc.109"],
|
|
28
|
+
["@effect/sql-sqlite-wasm", "4.0.0-rc.109"],
|
|
29
|
+
["@effect/tsgo", "0.36.5"],
|
|
30
|
+
["@effect/vitest", "4.0.0-rc.109"],
|
|
31
|
+
["effect", "4.0.0-rc.109"]
|
|
32
|
+
])],
|
|
33
|
+
["effect:peers", /* @__PURE__ */ new Map([
|
|
34
|
+
["@effect/ai-anthropic", "4.0.0-rc.109"],
|
|
35
|
+
["@effect/ai-openai", "4.0.0-rc.109"],
|
|
36
|
+
["@effect/ai-openai-compat", "4.0.0-rc.109"],
|
|
37
|
+
["@effect/ai-openrouter", "4.0.0-rc.109"],
|
|
38
|
+
["@effect/atom-react", "4.0.0-rc.109"],
|
|
39
|
+
["@effect/atom-solid", "4.0.0-rc.109"],
|
|
40
|
+
["@effect/atom-vue", "4.0.0-rc.109"],
|
|
41
|
+
["@effect/openapi-generator", "4.0.0-rc.109"],
|
|
42
|
+
["@effect/opentelemetry", "4.0.0-rc.109"],
|
|
43
|
+
["@effect/platform-browser", "4.0.0-rc.109"],
|
|
44
|
+
["@effect/platform-bun", "4.0.0-rc.109"],
|
|
45
|
+
["@effect/platform-node", "4.0.0-rc.109"],
|
|
46
|
+
["@effect/platform-node-shared", "4.0.0-rc.109"],
|
|
47
|
+
["@effect/sql-clickhouse", "4.0.0-rc.109"],
|
|
48
|
+
["@effect/sql-d1", "4.0.0-rc.109"],
|
|
49
|
+
["@effect/sql-libsql", "4.0.0-rc.109"],
|
|
50
|
+
["@effect/sql-mssql", "4.0.0-rc.109"],
|
|
51
|
+
["@effect/sql-mysql2", "4.0.0-rc.109"],
|
|
52
|
+
["@effect/sql-pg", "4.0.0-rc.109"],
|
|
53
|
+
["@effect/sql-pglite", "4.0.0-rc.109"],
|
|
54
|
+
["@effect/sql-sqlite-bun", "4.0.0-rc.109"],
|
|
55
|
+
["@effect/sql-sqlite-do", "4.0.0-rc.109"],
|
|
56
|
+
["@effect/sql-sqlite-node", "4.0.0-rc.109"],
|
|
57
|
+
["@effect/sql-sqlite-react-native", "4.0.0-rc.109"],
|
|
58
|
+
["@effect/sql-sqlite-wasm", "4.0.0-rc.109"],
|
|
59
|
+
["@effect/tsgo", "0.36.5"],
|
|
60
|
+
["@effect/vitest", "4.0.0-rc.109"],
|
|
61
|
+
["effect", "4.0.0-rc.109"]
|
|
62
|
+
])],
|
|
63
|
+
["effected", /* @__PURE__ */ new Map([
|
|
64
|
+
["@effected/app", "^0.11.1"],
|
|
65
|
+
["@effected/cli", "^0.2.0"],
|
|
66
|
+
["@effected/commands", "^0.5.0"],
|
|
67
|
+
["@effected/config-file", "^0.5.0"],
|
|
68
|
+
["@effected/git", "^0.9.0"],
|
|
69
|
+
["@effected/github", "^0.7.0"],
|
|
70
|
+
["@effected/github-actions", "^0.9.2"],
|
|
71
|
+
["@effected/github-references", "^0.1.0"],
|
|
72
|
+
["@effected/glob", "^0.4.0"],
|
|
73
|
+
["@effected/jsonc", "^0.7.0"],
|
|
74
|
+
["@effected/jsonl", "^0.3.0"],
|
|
75
|
+
["@effected/lockfiles", "^0.6.2"],
|
|
76
|
+
["@effected/markdown", "^0.6.0"],
|
|
77
|
+
["@effected/memfs", "^0.5.0"],
|
|
78
|
+
["@effected/npm", "^0.11.1"],
|
|
79
|
+
["@effected/package-json", "^0.10.2"],
|
|
80
|
+
["@effected/runtimes", "^0.4.3"],
|
|
81
|
+
["@effected/sbom", "^0.4.1"],
|
|
82
|
+
["@effected/schemastore", "^0.4.0"],
|
|
83
|
+
["@effected/semver", "^0.5.0"],
|
|
84
|
+
["@effected/spdx", "^0.4.0"],
|
|
85
|
+
["@effected/store", "^0.4.0"],
|
|
86
|
+
["@effected/templates", "^0.4.0"],
|
|
87
|
+
["@effected/toml", "^0.5.0"],
|
|
88
|
+
["@effected/tsconfig-json", "^0.6.0"],
|
|
89
|
+
["@effected/walker", "^0.5.0"],
|
|
90
|
+
["@effected/workspaces", "^0.17.1"],
|
|
91
|
+
["@effected/xdg", "^0.3.0"],
|
|
92
|
+
["@effected/yaml", "^0.10.0"]
|
|
93
|
+
])],
|
|
94
|
+
["effected:peers", /* @__PURE__ */ new Map([
|
|
95
|
+
["@effected/app", "^0.11.0"],
|
|
96
|
+
["@effected/cli", "^0.2.0"],
|
|
97
|
+
["@effected/commands", "^0.5.0"],
|
|
98
|
+
["@effected/config-file", "^0.5.0"],
|
|
99
|
+
["@effected/git", "^0.9.0"],
|
|
100
|
+
["@effected/github", "^0.7.0"],
|
|
101
|
+
["@effected/github-actions", "^0.9.0"],
|
|
102
|
+
["@effected/github-references", "^0.1.0"],
|
|
103
|
+
["@effected/glob", "^0.4.0"],
|
|
104
|
+
["@effected/jsonc", "^0.7.0"],
|
|
105
|
+
["@effected/jsonl", "^0.3.0"],
|
|
106
|
+
["@effected/lockfiles", "^0.6.0"],
|
|
107
|
+
["@effected/markdown", "^0.6.0"],
|
|
108
|
+
["@effected/memfs", "^0.5.0"],
|
|
109
|
+
["@effected/npm", "^0.11.0"],
|
|
110
|
+
["@effected/package-json", "^0.10.0"],
|
|
111
|
+
["@effected/runtimes", "^0.4.0"],
|
|
112
|
+
["@effected/sbom", "^0.4.0"],
|
|
113
|
+
["@effected/schemastore", "^0.4.0"],
|
|
114
|
+
["@effected/semver", "^0.5.0"],
|
|
115
|
+
["@effected/spdx", "^0.4.0"],
|
|
116
|
+
["@effected/store", "^0.4.0"],
|
|
117
|
+
["@effected/templates", "^0.4.0"],
|
|
118
|
+
["@effected/toml", "^0.5.0"],
|
|
119
|
+
["@effected/tsconfig-json", "^0.6.0"],
|
|
120
|
+
["@effected/walker", "^0.5.0"],
|
|
121
|
+
["@effected/workspaces", "^0.17.0"],
|
|
122
|
+
["@effected/xdg", "^0.3.0"],
|
|
123
|
+
["@effected/yaml", "^0.10.0"]
|
|
124
|
+
])]
|
|
125
|
+
]);
|
|
61
126
|
|
|
62
127
|
//#endregion
|
|
63
128
|
export { catalogs };
|
package/package.json
CHANGED
package/pnpmfile.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
let node_fs = require("node:fs");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
|
|
5
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
5
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/ctx.js
|
|
6
6
|
/**
|
|
7
7
|
* Resolve the consuming repo's root package name. Prefers pnpm's
|
|
8
8
|
* `rootProjectManifest.name`, falling back to reading `package.json` from the
|
|
@@ -37,7 +37,7 @@ function excludeByRepo(merged, ctx, byRepo) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
40
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/enforcement.js
|
|
41
41
|
/**
|
|
42
42
|
* Thrown when an `error`-enforced field diverges. A zero-dependency plain
|
|
43
43
|
* `Error` subclass (NOT an Effect type) so it survives in the bundled pnpmfile.
|
|
@@ -72,7 +72,7 @@ function applyEnforcement(field, result, enforcement) {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
//#endregion
|
|
75
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
75
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/arrays.js
|
|
76
76
|
function unionSort(managed, local) {
|
|
77
77
|
const set = new Set(managed);
|
|
78
78
|
for (const item of local ?? []) set.add(item);
|
|
@@ -108,7 +108,7 @@ const arrayRecordUnion = (base, local) => {
|
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
//#endregion
|
|
111
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
111
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/catalogs.js
|
|
112
112
|
/**
|
|
113
113
|
* Merge each named catalog; child wins per package. Emits override divergences
|
|
114
114
|
* when a local version differs from the managed one.
|
|
@@ -143,7 +143,7 @@ const catalogs = (base, local) => {
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
//#endregion
|
|
146
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
146
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/maps.js
|
|
147
147
|
/**
|
|
148
148
|
* `{...managed, ...child}` — child wins per key. Quiet. Merges two maps,
|
|
149
149
|
* preferring child values.
|
|
@@ -188,7 +188,7 @@ const allowBuilds = (base, local) => {
|
|
|
188
188
|
};
|
|
189
189
|
|
|
190
190
|
//#endregion
|
|
191
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
191
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/overrides.js
|
|
192
192
|
function mergeMapDetect(prefix, managed, child) {
|
|
193
193
|
const merged = { ...managed };
|
|
194
194
|
const divergences = [];
|
|
@@ -244,7 +244,7 @@ const peerDependencyRules = (base, local) => {
|
|
|
244
244
|
};
|
|
245
245
|
|
|
246
246
|
//#endregion
|
|
247
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
247
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/scalar.js
|
|
248
248
|
/**
|
|
249
249
|
* `child ?? base` — quiet (no divergences). Prefer local, fall back to managed.
|
|
250
250
|
*
|
|
@@ -300,7 +300,7 @@ const securityMin = (base, local) => {
|
|
|
300
300
|
};
|
|
301
301
|
|
|
302
302
|
//#endregion
|
|
303
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
303
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/table.js
|
|
304
304
|
/**
|
|
305
305
|
* Built-in strategies keyed by manifest name.
|
|
306
306
|
*
|
|
@@ -320,7 +320,7 @@ const STRATEGY_TABLE = {
|
|
|
320
320
|
};
|
|
321
321
|
|
|
322
322
|
//#endregion
|
|
323
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
323
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/warnings.js
|
|
324
324
|
const WARNING_BOX_WIDTH = 75;
|
|
325
325
|
function pad(line) {
|
|
326
326
|
return `│${line}${" ".repeat(Math.max(0, WARNING_BOX_WIDTH - line.length - 2))}│`;
|
|
@@ -380,7 +380,7 @@ function formatSecurityWarning(divergences, name) {
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
//#endregion
|
|
383
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
383
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime.js
|
|
384
384
|
/**
|
|
385
385
|
* Build the pnpm hooks from frozen base data + a field→strategy manifest.
|
|
386
386
|
* Zero dependencies — bundled verbatim into the shipped pnpmfile.
|
|
@@ -490,6 +490,68 @@ const hooks = createHooks({
|
|
|
490
490
|
"@effect/tsgo": "0.36.5",
|
|
491
491
|
"@effect/vitest": "4.0.0-rc.109",
|
|
492
492
|
"effect": "4.0.0-rc.109"
|
|
493
|
+
},
|
|
494
|
+
"effected": {
|
|
495
|
+
"@effected/app": "^0.11.1",
|
|
496
|
+
"@effected/cli": "^0.2.0",
|
|
497
|
+
"@effected/commands": "^0.5.0",
|
|
498
|
+
"@effected/config-file": "^0.5.0",
|
|
499
|
+
"@effected/git": "^0.9.0",
|
|
500
|
+
"@effected/github": "^0.7.0",
|
|
501
|
+
"@effected/github-actions": "^0.9.2",
|
|
502
|
+
"@effected/github-references": "^0.1.0",
|
|
503
|
+
"@effected/glob": "^0.4.0",
|
|
504
|
+
"@effected/jsonc": "^0.7.0",
|
|
505
|
+
"@effected/jsonl": "^0.3.0",
|
|
506
|
+
"@effected/lockfiles": "^0.6.2",
|
|
507
|
+
"@effected/markdown": "^0.6.0",
|
|
508
|
+
"@effected/memfs": "^0.5.0",
|
|
509
|
+
"@effected/npm": "^0.11.1",
|
|
510
|
+
"@effected/package-json": "^0.10.2",
|
|
511
|
+
"@effected/runtimes": "^0.4.3",
|
|
512
|
+
"@effected/sbom": "^0.4.1",
|
|
513
|
+
"@effected/schemastore": "^0.4.0",
|
|
514
|
+
"@effected/semver": "^0.5.0",
|
|
515
|
+
"@effected/spdx": "^0.4.0",
|
|
516
|
+
"@effected/store": "^0.4.0",
|
|
517
|
+
"@effected/templates": "^0.4.0",
|
|
518
|
+
"@effected/toml": "^0.5.0",
|
|
519
|
+
"@effected/tsconfig-json": "^0.6.0",
|
|
520
|
+
"@effected/walker": "^0.5.0",
|
|
521
|
+
"@effected/workspaces": "^0.17.1",
|
|
522
|
+
"@effected/xdg": "^0.3.0",
|
|
523
|
+
"@effected/yaml": "^0.10.0"
|
|
524
|
+
},
|
|
525
|
+
"effected:peers": {
|
|
526
|
+
"@effected/app": "^0.11.0",
|
|
527
|
+
"@effected/cli": "^0.2.0",
|
|
528
|
+
"@effected/commands": "^0.5.0",
|
|
529
|
+
"@effected/config-file": "^0.5.0",
|
|
530
|
+
"@effected/git": "^0.9.0",
|
|
531
|
+
"@effected/github": "^0.7.0",
|
|
532
|
+
"@effected/github-actions": "^0.9.0",
|
|
533
|
+
"@effected/github-references": "^0.1.0",
|
|
534
|
+
"@effected/glob": "^0.4.0",
|
|
535
|
+
"@effected/jsonc": "^0.7.0",
|
|
536
|
+
"@effected/jsonl": "^0.3.0",
|
|
537
|
+
"@effected/lockfiles": "^0.6.0",
|
|
538
|
+
"@effected/markdown": "^0.6.0",
|
|
539
|
+
"@effected/memfs": "^0.5.0",
|
|
540
|
+
"@effected/npm": "^0.11.0",
|
|
541
|
+
"@effected/package-json": "^0.10.0",
|
|
542
|
+
"@effected/runtimes": "^0.4.0",
|
|
543
|
+
"@effected/sbom": "^0.4.0",
|
|
544
|
+
"@effected/schemastore": "^0.4.0",
|
|
545
|
+
"@effected/semver": "^0.5.0",
|
|
546
|
+
"@effected/spdx": "^0.4.0",
|
|
547
|
+
"@effected/store": "^0.4.0",
|
|
548
|
+
"@effected/templates": "^0.4.0",
|
|
549
|
+
"@effected/toml": "^0.5.0",
|
|
550
|
+
"@effected/tsconfig-json": "^0.6.0",
|
|
551
|
+
"@effected/walker": "^0.5.0",
|
|
552
|
+
"@effected/workspaces": "^0.17.0",
|
|
553
|
+
"@effected/xdg": "^0.3.0",
|
|
554
|
+
"@effected/yaml": "^0.10.0"
|
|
493
555
|
}
|
|
494
556
|
},
|
|
495
557
|
"minimumReleaseAgeExclude": ["@effect/tsgo-*"],
|
package/pnpmfile.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
4
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/ctx.js
|
|
5
5
|
/**
|
|
6
6
|
* Resolve the consuming repo's root package name. Prefers pnpm's
|
|
7
7
|
* `rootProjectManifest.name`, falling back to reading `package.json` from the
|
|
@@ -36,7 +36,7 @@ function excludeByRepo(merged, ctx, byRepo) {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
39
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/enforcement.js
|
|
40
40
|
/**
|
|
41
41
|
* Thrown when an `error`-enforced field diverges. A zero-dependency plain
|
|
42
42
|
* `Error` subclass (NOT an Effect type) so it survives in the bundled pnpmfile.
|
|
@@ -71,7 +71,7 @@ function applyEnforcement(field, result, enforcement) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
//#endregion
|
|
74
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
74
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/arrays.js
|
|
75
75
|
function unionSort(managed, local) {
|
|
76
76
|
const set = new Set(managed);
|
|
77
77
|
for (const item of local ?? []) set.add(item);
|
|
@@ -107,7 +107,7 @@ const arrayRecordUnion = (base, local) => {
|
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
//#endregion
|
|
110
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
110
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/catalogs.js
|
|
111
111
|
/**
|
|
112
112
|
* Merge each named catalog; child wins per package. Emits override divergences
|
|
113
113
|
* when a local version differs from the managed one.
|
|
@@ -142,7 +142,7 @@ const catalogs = (base, local) => {
|
|
|
142
142
|
};
|
|
143
143
|
|
|
144
144
|
//#endregion
|
|
145
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
145
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/maps.js
|
|
146
146
|
/**
|
|
147
147
|
* `{...managed, ...child}` — child wins per key. Quiet. Merges two maps,
|
|
148
148
|
* preferring child values.
|
|
@@ -187,7 +187,7 @@ const allowBuilds = (base, local) => {
|
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
//#endregion
|
|
190
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
190
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/overrides.js
|
|
191
191
|
function mergeMapDetect(prefix, managed, child) {
|
|
192
192
|
const merged = { ...managed };
|
|
193
193
|
const divergences = [];
|
|
@@ -243,7 +243,7 @@ const peerDependencyRules = (base, local) => {
|
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
//#endregion
|
|
246
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
246
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/scalar.js
|
|
247
247
|
/**
|
|
248
248
|
* `child ?? base` — quiet (no divergences). Prefer local, fall back to managed.
|
|
249
249
|
*
|
|
@@ -299,7 +299,7 @@ const securityMin = (base, local) => {
|
|
|
299
299
|
};
|
|
300
300
|
|
|
301
301
|
//#endregion
|
|
302
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
302
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/strategies/table.js
|
|
303
303
|
/**
|
|
304
304
|
* Built-in strategies keyed by manifest name.
|
|
305
305
|
*
|
|
@@ -319,7 +319,7 @@ const STRATEGY_TABLE = {
|
|
|
319
319
|
};
|
|
320
320
|
|
|
321
321
|
//#endregion
|
|
322
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
322
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime/warnings.js
|
|
323
323
|
const WARNING_BOX_WIDTH = 75;
|
|
324
324
|
function pad(line) {
|
|
325
325
|
return `│${line}${" ".repeat(Math.max(0, WARNING_BOX_WIDTH - line.length - 2))}│`;
|
|
@@ -379,7 +379,7 @@ function formatSecurityWarning(divergences, name) {
|
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
//#endregion
|
|
382
|
-
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.
|
|
382
|
+
//#region ../../node_modules/.pnpm/rolldown-pnpm-config@0.7.0_@effected+jsonc@0.7.0_effect@4.0.0-rc.109__@types+react@19.2.18_redis@6.2.1_rolldown@1.2.5/node_modules/rolldown-pnpm-config/runtime.js
|
|
383
383
|
/**
|
|
384
384
|
* Build the pnpm hooks from frozen base data + a field→strategy manifest.
|
|
385
385
|
* Zero dependencies — bundled verbatim into the shipped pnpmfile.
|
|
@@ -489,6 +489,68 @@ const hooks = createHooks({
|
|
|
489
489
|
"@effect/tsgo": "0.36.5",
|
|
490
490
|
"@effect/vitest": "4.0.0-rc.109",
|
|
491
491
|
"effect": "4.0.0-rc.109"
|
|
492
|
+
},
|
|
493
|
+
"effected": {
|
|
494
|
+
"@effected/app": "^0.11.1",
|
|
495
|
+
"@effected/cli": "^0.2.0",
|
|
496
|
+
"@effected/commands": "^0.5.0",
|
|
497
|
+
"@effected/config-file": "^0.5.0",
|
|
498
|
+
"@effected/git": "^0.9.0",
|
|
499
|
+
"@effected/github": "^0.7.0",
|
|
500
|
+
"@effected/github-actions": "^0.9.2",
|
|
501
|
+
"@effected/github-references": "^0.1.0",
|
|
502
|
+
"@effected/glob": "^0.4.0",
|
|
503
|
+
"@effected/jsonc": "^0.7.0",
|
|
504
|
+
"@effected/jsonl": "^0.3.0",
|
|
505
|
+
"@effected/lockfiles": "^0.6.2",
|
|
506
|
+
"@effected/markdown": "^0.6.0",
|
|
507
|
+
"@effected/memfs": "^0.5.0",
|
|
508
|
+
"@effected/npm": "^0.11.1",
|
|
509
|
+
"@effected/package-json": "^0.10.2",
|
|
510
|
+
"@effected/runtimes": "^0.4.3",
|
|
511
|
+
"@effected/sbom": "^0.4.1",
|
|
512
|
+
"@effected/schemastore": "^0.4.0",
|
|
513
|
+
"@effected/semver": "^0.5.0",
|
|
514
|
+
"@effected/spdx": "^0.4.0",
|
|
515
|
+
"@effected/store": "^0.4.0",
|
|
516
|
+
"@effected/templates": "^0.4.0",
|
|
517
|
+
"@effected/toml": "^0.5.0",
|
|
518
|
+
"@effected/tsconfig-json": "^0.6.0",
|
|
519
|
+
"@effected/walker": "^0.5.0",
|
|
520
|
+
"@effected/workspaces": "^0.17.1",
|
|
521
|
+
"@effected/xdg": "^0.3.0",
|
|
522
|
+
"@effected/yaml": "^0.10.0"
|
|
523
|
+
},
|
|
524
|
+
"effected:peers": {
|
|
525
|
+
"@effected/app": "^0.11.0",
|
|
526
|
+
"@effected/cli": "^0.2.0",
|
|
527
|
+
"@effected/commands": "^0.5.0",
|
|
528
|
+
"@effected/config-file": "^0.5.0",
|
|
529
|
+
"@effected/git": "^0.9.0",
|
|
530
|
+
"@effected/github": "^0.7.0",
|
|
531
|
+
"@effected/github-actions": "^0.9.0",
|
|
532
|
+
"@effected/github-references": "^0.1.0",
|
|
533
|
+
"@effected/glob": "^0.4.0",
|
|
534
|
+
"@effected/jsonc": "^0.7.0",
|
|
535
|
+
"@effected/jsonl": "^0.3.0",
|
|
536
|
+
"@effected/lockfiles": "^0.6.0",
|
|
537
|
+
"@effected/markdown": "^0.6.0",
|
|
538
|
+
"@effected/memfs": "^0.5.0",
|
|
539
|
+
"@effected/npm": "^0.11.0",
|
|
540
|
+
"@effected/package-json": "^0.10.0",
|
|
541
|
+
"@effected/runtimes": "^0.4.0",
|
|
542
|
+
"@effected/sbom": "^0.4.0",
|
|
543
|
+
"@effected/schemastore": "^0.4.0",
|
|
544
|
+
"@effected/semver": "^0.5.0",
|
|
545
|
+
"@effected/spdx": "^0.4.0",
|
|
546
|
+
"@effected/store": "^0.4.0",
|
|
547
|
+
"@effected/templates": "^0.4.0",
|
|
548
|
+
"@effected/toml": "^0.5.0",
|
|
549
|
+
"@effected/tsconfig-json": "^0.6.0",
|
|
550
|
+
"@effected/walker": "^0.5.0",
|
|
551
|
+
"@effected/workspaces": "^0.17.0",
|
|
552
|
+
"@effected/xdg": "^0.3.0",
|
|
553
|
+
"@effected/yaml": "^0.10.0"
|
|
492
554
|
}
|
|
493
555
|
},
|
|
494
556
|
"minimumReleaseAgeExclude": ["@effect/tsgo-*"],
|