@effected/pnpm-plugin-effected 0.20.0 → 0.22.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 +2 -2
- package/index.d.ts +1 -2
- package/index.js +153 -153
- package/package.json +1 -1
- package/pnpmfile.mjs +174 -172
- package/tsdoc-metadata.json +1 -1
package/README.md
CHANGED
|
@@ -85,13 +85,13 @@ A library uses the same catalog on both sides:
|
|
|
85
85
|
}
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
pnpm rewrites `catalog:` specifiers to concrete ranges when it packs, so what lands on the registry is an ordinary manifest. Nothing downstream needs this plugin, or pnpm. A packed peer advertises the catalog's range — `effect: ~4
|
|
88
|
+
pnpm rewrites `catalog:` specifiers to concrete ranges when it packs, so what lands on the registry is an ordinary manifest. Nothing downstream needs this plugin, or pnpm. A packed peer advertises the catalog's range — `effect: ~4.<minor>.<patch>` at the catalog's current Effect release, and each `@effected/*` package at its current release. If a library needs a wider peer, write that range by hand in its own manifest.
|
|
89
89
|
|
|
90
90
|
## What it ships
|
|
91
91
|
|
|
92
92
|
| Entries | Range | Notes |
|
|
93
93
|
| ------- | ----- | ----- |
|
|
94
|
-
| `effect` and every `@effect/*` package | one Effect minor, with a tilde (`~4
|
|
94
|
+
| `effect` and every `@effect/*` package | one Effect minor, with a tilde (`~4.<minor>.<patch>`) | a new Effect minor arrives with a new plugin release, never through a range |
|
|
95
95
|
| `@effect/tsgo` | its own `0.x` line | versions independently of `effect` |
|
|
96
96
|
| every published `@effected/*` package | its current release, with a caret | on `0.x` a caret pins the minor |
|
|
97
97
|
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The one catalog a consumer installs, `effected`: the Effect family and the
|
|
3
|
-
* kit,
|
|
4
|
-
* plugin's `updateConfig` hook presents them to pnpm.
|
|
3
|
+
* kit, exactly as the plugin's `updateConfig` hook presents it to pnpm.
|
|
5
4
|
*
|
|
6
5
|
* @public
|
|
7
6
|
*/
|
package/index.js
CHANGED
|
@@ -1,163 +1,163 @@
|
|
|
1
1
|
// \0rolldown-pnpm-config/virtual/catalogs
|
|
2
|
-
const catalogs$1 = /* @__PURE__ */ new Map([
|
|
3
|
-
["effect",
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
]
|
|
63
|
-
["effected",
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
]
|
|
107
|
-
["effected
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
]
|
|
151
|
-
]
|
|
2
|
+
const catalogs$1 = /* @__PURE__ */ new Map([["effected", /* @__PURE__ */ new Map([
|
|
3
|
+
["@effect/ai-anthropic", "~4.1.2"],
|
|
4
|
+
["@effect/ai-openai", "~4.1.2"],
|
|
5
|
+
["@effect/ai-openai-compat", "~4.1.2"],
|
|
6
|
+
["@effect/ai-openrouter", "~4.1.2"],
|
|
7
|
+
["@effect/atom-react", "~4.1.2"],
|
|
8
|
+
["@effect/atom-solid", "~4.1.2"],
|
|
9
|
+
["@effect/atom-vue", "~4.1.2"],
|
|
10
|
+
["@effect/openapi-generator", "~4.1.2"],
|
|
11
|
+
["@effect/opentelemetry", "~4.1.2"],
|
|
12
|
+
["@effect/platform-browser", "~4.1.2"],
|
|
13
|
+
["@effect/platform-bun", "~4.1.2"],
|
|
14
|
+
["@effect/platform-node", "~4.1.2"],
|
|
15
|
+
["@effect/platform-node-shared", "~4.1.2"],
|
|
16
|
+
["@effect/sql-clickhouse", "~4.1.2"],
|
|
17
|
+
["@effect/sql-d1", "~4.1.2"],
|
|
18
|
+
["@effect/sql-libsql", "~4.1.2"],
|
|
19
|
+
["@effect/sql-mssql", "~4.1.2"],
|
|
20
|
+
["@effect/sql-mysql2", "~4.1.2"],
|
|
21
|
+
["@effect/sql-pg", "~4.1.2"],
|
|
22
|
+
["@effect/sql-pglite", "~4.1.2"],
|
|
23
|
+
["@effect/sql-sqlite-bun", "~4.1.2"],
|
|
24
|
+
["@effect/sql-sqlite-do", "~4.1.2"],
|
|
25
|
+
["@effect/sql-sqlite-node", "~4.1.2"],
|
|
26
|
+
["@effect/sql-sqlite-react-native", "~4.1.2"],
|
|
27
|
+
["@effect/sql-sqlite-wasm", "~4.1.2"],
|
|
28
|
+
["@effect/tsgo", "^0.63.0"],
|
|
29
|
+
["@effect/vitest", "~4.1.2"],
|
|
30
|
+
["@effected/app", "^0.31.1"],
|
|
31
|
+
["@effected/cli", "^0.27.0"],
|
|
32
|
+
["@effected/cli-kit", "^0.27.0"],
|
|
33
|
+
["@effected/commands", "^0.20.0"],
|
|
34
|
+
["@effected/config-file", "^0.25.0"],
|
|
35
|
+
["@effected/crypto", "^0.5.0"],
|
|
36
|
+
["@effected/engine", "^0.13.0"],
|
|
37
|
+
["@effected/env", "^0.11.0"],
|
|
38
|
+
["@effected/files", "^0.1.0"],
|
|
39
|
+
["@effected/git", "^0.30.0"],
|
|
40
|
+
["@effected/github", "^0.29.0"],
|
|
41
|
+
["@effected/github-actions", "^0.32.0"],
|
|
42
|
+
["@effected/github-commands", "^0.9.0"],
|
|
43
|
+
["@effected/github-references", "^0.14.0"],
|
|
44
|
+
["@effected/glob", "^0.19.0"],
|
|
45
|
+
["@effected/images", "^0.9.0"],
|
|
46
|
+
["@effected/jsonc", "^0.24.0"],
|
|
47
|
+
["@effected/jsonl", "^0.18.0"],
|
|
48
|
+
["@effected/jwt", "^0.9.0"],
|
|
49
|
+
["@effected/kit", "^0.13.0"],
|
|
50
|
+
["@effected/lockfiles", "^0.22.1"],
|
|
51
|
+
["@effected/lsp", "^0.8.0"],
|
|
52
|
+
["@effected/markdown", "^0.27.0"],
|
|
53
|
+
["@effected/mcp", "^0.14.0"],
|
|
54
|
+
["@effected/mcp-kit", "^0.14.0"],
|
|
55
|
+
["@effected/memfs", "^0.24.0"],
|
|
56
|
+
["@effected/npm", "^0.30.1"],
|
|
57
|
+
["@effected/oidc", "^0.4.0"],
|
|
58
|
+
["@effected/package-json", "^0.30.0"],
|
|
59
|
+
["@effected/plugin", "^0.2.0"],
|
|
60
|
+
["@effected/runtimes", "^0.18.1"],
|
|
61
|
+
["@effected/sbom", "^0.20.1"],
|
|
62
|
+
["@effected/schema-org", "^0.14.0"],
|
|
63
|
+
["@effected/schemastore", "^0.30.0"],
|
|
64
|
+
["@effected/semver", "^0.22.0"],
|
|
65
|
+
["@effected/source", "^0.4.0"],
|
|
66
|
+
["@effected/spdx", "^0.19.0"],
|
|
67
|
+
["@effected/store", "^0.24.0"],
|
|
68
|
+
["@effected/templates", "^0.18.0"],
|
|
69
|
+
["@effected/toml", "^0.19.1"],
|
|
70
|
+
["@effected/tsconfig-json", "^0.20.1"],
|
|
71
|
+
["@effected/walker", "^0.25.1"],
|
|
72
|
+
["@effected/webhooks", "^0.4.0"],
|
|
73
|
+
["@effected/workspaces", "^0.43.0"],
|
|
74
|
+
["@effected/xdg", "^0.19.1"],
|
|
75
|
+
["@effected/yaml", "^0.29.0"],
|
|
76
|
+
["effect", "~4.1.2"]
|
|
77
|
+
])], ["effected:peers", /* @__PURE__ */ new Map([
|
|
78
|
+
["@effect/ai-anthropic", "~4.1.0"],
|
|
79
|
+
["@effect/ai-openai", "~4.1.0"],
|
|
80
|
+
["@effect/ai-openai-compat", "~4.1.0"],
|
|
81
|
+
["@effect/ai-openrouter", "~4.1.0"],
|
|
82
|
+
["@effect/atom-react", "~4.1.0"],
|
|
83
|
+
["@effect/atom-solid", "~4.1.0"],
|
|
84
|
+
["@effect/atom-vue", "~4.1.0"],
|
|
85
|
+
["@effect/openapi-generator", "~4.1.0"],
|
|
86
|
+
["@effect/opentelemetry", "~4.1.0"],
|
|
87
|
+
["@effect/platform-browser", "~4.1.0"],
|
|
88
|
+
["@effect/platform-bun", "~4.1.0"],
|
|
89
|
+
["@effect/platform-node", "~4.1.0"],
|
|
90
|
+
["@effect/platform-node-shared", "~4.1.0"],
|
|
91
|
+
["@effect/sql-clickhouse", "~4.1.0"],
|
|
92
|
+
["@effect/sql-d1", "~4.1.0"],
|
|
93
|
+
["@effect/sql-libsql", "~4.1.0"],
|
|
94
|
+
["@effect/sql-mssql", "~4.1.0"],
|
|
95
|
+
["@effect/sql-mysql2", "~4.1.0"],
|
|
96
|
+
["@effect/sql-pg", "~4.1.0"],
|
|
97
|
+
["@effect/sql-pglite", "~4.1.0"],
|
|
98
|
+
["@effect/sql-sqlite-bun", "~4.1.0"],
|
|
99
|
+
["@effect/sql-sqlite-do", "~4.1.0"],
|
|
100
|
+
["@effect/sql-sqlite-node", "~4.1.0"],
|
|
101
|
+
["@effect/sql-sqlite-react-native", "~4.1.0"],
|
|
102
|
+
["@effect/sql-sqlite-wasm", "~4.1.0"],
|
|
103
|
+
["@effect/tsgo", "^0.63.0"],
|
|
104
|
+
["@effect/vitest", "~4.1.0"],
|
|
105
|
+
["@effected/app", "^0.31.0"],
|
|
106
|
+
["@effected/cli", "^0.27.0"],
|
|
107
|
+
["@effected/cli-kit", "^0.27.0"],
|
|
108
|
+
["@effected/commands", "^0.20.0"],
|
|
109
|
+
["@effected/config-file", "^0.25.0"],
|
|
110
|
+
["@effected/crypto", "^0.5.0"],
|
|
111
|
+
["@effected/engine", "^0.13.0"],
|
|
112
|
+
["@effected/env", "^0.11.0"],
|
|
113
|
+
["@effected/files", "^0.1.0"],
|
|
114
|
+
["@effected/git", "^0.30.0"],
|
|
115
|
+
["@effected/github", "^0.29.0"],
|
|
116
|
+
["@effected/github-actions", "^0.32.0"],
|
|
117
|
+
["@effected/github-commands", "^0.9.0"],
|
|
118
|
+
["@effected/github-references", "^0.14.0"],
|
|
119
|
+
["@effected/glob", "^0.19.0"],
|
|
120
|
+
["@effected/images", "^0.9.0"],
|
|
121
|
+
["@effected/jsonc", "^0.24.0"],
|
|
122
|
+
["@effected/jsonl", "^0.18.0"],
|
|
123
|
+
["@effected/jwt", "^0.9.0"],
|
|
124
|
+
["@effected/kit", "^0.13.0"],
|
|
125
|
+
["@effected/lockfiles", "^0.22.0"],
|
|
126
|
+
["@effected/lsp", "^0.8.0"],
|
|
127
|
+
["@effected/markdown", "^0.27.0"],
|
|
128
|
+
["@effected/mcp", "^0.14.0"],
|
|
129
|
+
["@effected/mcp-kit", "^0.14.0"],
|
|
130
|
+
["@effected/memfs", "^0.24.0"],
|
|
131
|
+
["@effected/npm", "^0.30.0"],
|
|
132
|
+
["@effected/oidc", "^0.4.0"],
|
|
133
|
+
["@effected/package-json", "^0.30.0"],
|
|
134
|
+
["@effected/plugin", "^0.2.0"],
|
|
135
|
+
["@effected/runtimes", "^0.18.0"],
|
|
136
|
+
["@effected/sbom", "^0.20.0"],
|
|
137
|
+
["@effected/schema-org", "^0.14.0"],
|
|
138
|
+
["@effected/schemastore", "^0.30.0"],
|
|
139
|
+
["@effected/semver", "^0.22.0"],
|
|
140
|
+
["@effected/source", "^0.4.0"],
|
|
141
|
+
["@effected/spdx", "^0.19.0"],
|
|
142
|
+
["@effected/store", "^0.24.0"],
|
|
143
|
+
["@effected/templates", "^0.18.0"],
|
|
144
|
+
["@effected/toml", "^0.19.0"],
|
|
145
|
+
["@effected/tsconfig-json", "^0.20.0"],
|
|
146
|
+
["@effected/walker", "^0.25.0"],
|
|
147
|
+
["@effected/webhooks", "^0.4.0"],
|
|
148
|
+
["@effected/workspaces", "^0.43.0"],
|
|
149
|
+
["@effected/xdg", "^0.19.0"],
|
|
150
|
+
["@effected/yaml", "^0.29.0"],
|
|
151
|
+
["effect", "~4.1.0"]
|
|
152
|
+
])]]);
|
|
152
153
|
|
|
153
154
|
// src/index.ts
|
|
154
155
|
/**
|
|
155
156
|
* The one catalog a consumer installs, `effected`: the Effect family and the
|
|
156
|
-
* kit,
|
|
157
|
-
* plugin's `updateConfig` hook presents them to pnpm.
|
|
157
|
+
* kit, exactly as the plugin's `updateConfig` hook presents it to pnpm.
|
|
158
158
|
*
|
|
159
159
|
* @public
|
|
160
160
|
*/
|
|
161
|
-
const catalogs = /* @__PURE__ */ new Map([["effected", new Map(
|
|
161
|
+
const catalogs = /* @__PURE__ */ new Map([["effected", new Map(catalogs$1.get("effected") ?? [])]]);
|
|
162
162
|
|
|
163
163
|
export { catalogs };
|
package/package.json
CHANGED
package/pnpmfile.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { join } from "node:path";
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
4
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/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
|
|
@@ -35,7 +35,7 @@ function excludeByRepo(merged, ctx, byRepo) {
|
|
|
35
35
|
return merged.filter((p) => !set.has(p));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
38
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/enforcement.js
|
|
39
39
|
/**
|
|
40
40
|
* Thrown when an `error`-enforced field diverges. A zero-dependency plain
|
|
41
41
|
* `Error` subclass (NOT an Effect type) so it survives in the bundled pnpmfile.
|
|
@@ -69,7 +69,7 @@ function applyEnforcement(field, result, enforcement) {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
72
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/strategies/arrays.js
|
|
73
73
|
/** Code-unit order: locale-independent, so the render is the same on every machine. */
|
|
74
74
|
const byCodeUnit = (a, b) => a < b ? -1 : a > b ? 1 : 0;
|
|
75
75
|
/** Union `managed` with `local` (when present), deduped and sorted for a stable render. @internal */
|
|
@@ -107,7 +107,7 @@ const arrayRecordUnion = (base, local) => {
|
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
110
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/strategies/overrides.js
|
|
111
111
|
/**
|
|
112
112
|
* Child wins per key over a managed string map; any differing key is reported
|
|
113
113
|
* as an override divergence under `<prefix>.<key>`.
|
|
@@ -167,7 +167,7 @@ const peerDependencyRules = (base, local) => {
|
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
|
|
170
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
170
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/strategies/catalogs.js
|
|
171
171
|
/**
|
|
172
172
|
* Merge each named catalog; child wins per package. Emits override divergences
|
|
173
173
|
* when a local version differs from the managed one.
|
|
@@ -190,7 +190,7 @@ const catalogs = (base, local) => {
|
|
|
190
190
|
};
|
|
191
191
|
};
|
|
192
192
|
|
|
193
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
193
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/strategies/maps.js
|
|
194
194
|
/**
|
|
195
195
|
* `{...managed, ...child}` — child wins per key. Quiet. Merges two maps,
|
|
196
196
|
* preferring child values.
|
|
@@ -234,7 +234,7 @@ const allowBuilds = (base, local) => {
|
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
237
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/strategies/scalar.js
|
|
238
238
|
/**
|
|
239
239
|
* `child ?? base` — quiet (no divergences). Prefer local, fall back to managed.
|
|
240
240
|
*
|
|
@@ -289,7 +289,7 @@ const securityMin = (base, local) => {
|
|
|
289
289
|
};
|
|
290
290
|
};
|
|
291
291
|
|
|
292
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
292
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/strategies/table.js
|
|
293
293
|
/**
|
|
294
294
|
* Built-in strategies keyed by manifest name.
|
|
295
295
|
*
|
|
@@ -308,7 +308,7 @@ const STRATEGY_TABLE = {
|
|
|
308
308
|
allowBuilds
|
|
309
309
|
};
|
|
310
310
|
|
|
311
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
311
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime/warnings.js
|
|
312
312
|
const WARNING_BOX_WIDTH = 75;
|
|
313
313
|
function pad(line) {
|
|
314
314
|
return `│${line}${" ".repeat(Math.max(0, WARNING_BOX_WIDTH - line.length - 2))}│`;
|
|
@@ -367,7 +367,7 @@ function formatSecurityWarning(divergences, name) {
|
|
|
367
367
|
return lines.join("\n");
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.
|
|
370
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@2.4.1_@effected+config-file@0.24.0_@effected+glob@0.18.0_effect@4._8d9a58424986a392a91a593aa2417c01/node_modules/rolldown-pnpm-config/runtime.js
|
|
371
371
|
/**
|
|
372
372
|
* Build the pnpm hooks from frozen base data + a field→strategy manifest.
|
|
373
373
|
* Zero dependencies — bundled verbatim into the shipped pnpmfile.
|
|
@@ -417,37 +417,83 @@ function createHooks(base, manifest, name) {
|
|
|
417
417
|
// \0rolldown-pnpm-config/virtual/pnpmfile
|
|
418
418
|
const hooks$1 = createHooks({
|
|
419
419
|
"catalogs": {
|
|
420
|
-
"
|
|
421
|
-
"@effect/ai-anthropic": "~4.1.
|
|
422
|
-
"@effect/ai-openai": "~4.1.
|
|
423
|
-
"@effect/ai-openai-compat": "~4.1.
|
|
424
|
-
"@effect/ai-openrouter": "~4.1.
|
|
425
|
-
"@effect/atom-react": "~4.1.
|
|
426
|
-
"@effect/atom-solid": "~4.1.
|
|
427
|
-
"@effect/atom-vue": "~4.1.
|
|
428
|
-
"@effect/openapi-generator": "~4.1.
|
|
429
|
-
"@effect/opentelemetry": "~4.1.
|
|
430
|
-
"@effect/platform-browser": "~4.1.
|
|
431
|
-
"@effect/platform-bun": "~4.1.
|
|
432
|
-
"@effect/platform-node": "~4.1.
|
|
433
|
-
"@effect/platform-node-shared": "~4.1.
|
|
434
|
-
"@effect/sql-clickhouse": "~4.1.
|
|
435
|
-
"@effect/sql-d1": "~4.1.
|
|
436
|
-
"@effect/sql-libsql": "~4.1.
|
|
437
|
-
"@effect/sql-mssql": "~4.1.
|
|
438
|
-
"@effect/sql-mysql2": "~4.1.
|
|
439
|
-
"@effect/sql-pg": "~4.1.
|
|
440
|
-
"@effect/sql-pglite": "~4.1.
|
|
441
|
-
"@effect/sql-sqlite-bun": "~4.1.
|
|
442
|
-
"@effect/sql-sqlite-do": "~4.1.
|
|
443
|
-
"@effect/sql-sqlite-node": "~4.1.
|
|
444
|
-
"@effect/sql-sqlite-react-native": "~4.1.
|
|
445
|
-
"@effect/sql-sqlite-wasm": "~4.1.
|
|
420
|
+
"effected": {
|
|
421
|
+
"@effect/ai-anthropic": "~4.1.2",
|
|
422
|
+
"@effect/ai-openai": "~4.1.2",
|
|
423
|
+
"@effect/ai-openai-compat": "~4.1.2",
|
|
424
|
+
"@effect/ai-openrouter": "~4.1.2",
|
|
425
|
+
"@effect/atom-react": "~4.1.2",
|
|
426
|
+
"@effect/atom-solid": "~4.1.2",
|
|
427
|
+
"@effect/atom-vue": "~4.1.2",
|
|
428
|
+
"@effect/openapi-generator": "~4.1.2",
|
|
429
|
+
"@effect/opentelemetry": "~4.1.2",
|
|
430
|
+
"@effect/platform-browser": "~4.1.2",
|
|
431
|
+
"@effect/platform-bun": "~4.1.2",
|
|
432
|
+
"@effect/platform-node": "~4.1.2",
|
|
433
|
+
"@effect/platform-node-shared": "~4.1.2",
|
|
434
|
+
"@effect/sql-clickhouse": "~4.1.2",
|
|
435
|
+
"@effect/sql-d1": "~4.1.2",
|
|
436
|
+
"@effect/sql-libsql": "~4.1.2",
|
|
437
|
+
"@effect/sql-mssql": "~4.1.2",
|
|
438
|
+
"@effect/sql-mysql2": "~4.1.2",
|
|
439
|
+
"@effect/sql-pg": "~4.1.2",
|
|
440
|
+
"@effect/sql-pglite": "~4.1.2",
|
|
441
|
+
"@effect/sql-sqlite-bun": "~4.1.2",
|
|
442
|
+
"@effect/sql-sqlite-do": "~4.1.2",
|
|
443
|
+
"@effect/sql-sqlite-node": "~4.1.2",
|
|
444
|
+
"@effect/sql-sqlite-react-native": "~4.1.2",
|
|
445
|
+
"@effect/sql-sqlite-wasm": "~4.1.2",
|
|
446
446
|
"@effect/tsgo": "^0.63.0",
|
|
447
|
-
"@effect/vitest": "~4.1.
|
|
448
|
-
"
|
|
447
|
+
"@effect/vitest": "~4.1.2",
|
|
448
|
+
"@effected/app": "^0.31.1",
|
|
449
|
+
"@effected/cli": "^0.27.0",
|
|
450
|
+
"@effected/cli-kit": "^0.27.0",
|
|
451
|
+
"@effected/commands": "^0.20.0",
|
|
452
|
+
"@effected/config-file": "^0.25.0",
|
|
453
|
+
"@effected/crypto": "^0.5.0",
|
|
454
|
+
"@effected/engine": "^0.13.0",
|
|
455
|
+
"@effected/env": "^0.11.0",
|
|
456
|
+
"@effected/files": "^0.1.0",
|
|
457
|
+
"@effected/git": "^0.30.0",
|
|
458
|
+
"@effected/github": "^0.29.0",
|
|
459
|
+
"@effected/github-actions": "^0.32.0",
|
|
460
|
+
"@effected/github-commands": "^0.9.0",
|
|
461
|
+
"@effected/github-references": "^0.14.0",
|
|
462
|
+
"@effected/glob": "^0.19.0",
|
|
463
|
+
"@effected/images": "^0.9.0",
|
|
464
|
+
"@effected/jsonc": "^0.24.0",
|
|
465
|
+
"@effected/jsonl": "^0.18.0",
|
|
466
|
+
"@effected/jwt": "^0.9.0",
|
|
467
|
+
"@effected/kit": "^0.13.0",
|
|
468
|
+
"@effected/lockfiles": "^0.22.1",
|
|
469
|
+
"@effected/lsp": "^0.8.0",
|
|
470
|
+
"@effected/markdown": "^0.27.0",
|
|
471
|
+
"@effected/mcp": "^0.14.0",
|
|
472
|
+
"@effected/mcp-kit": "^0.14.0",
|
|
473
|
+
"@effected/memfs": "^0.24.0",
|
|
474
|
+
"@effected/npm": "^0.30.1",
|
|
475
|
+
"@effected/oidc": "^0.4.0",
|
|
476
|
+
"@effected/package-json": "^0.30.0",
|
|
477
|
+
"@effected/plugin": "^0.2.0",
|
|
478
|
+
"@effected/runtimes": "^0.18.1",
|
|
479
|
+
"@effected/sbom": "^0.20.1",
|
|
480
|
+
"@effected/schema-org": "^0.14.0",
|
|
481
|
+
"@effected/schemastore": "^0.30.0",
|
|
482
|
+
"@effected/semver": "^0.22.0",
|
|
483
|
+
"@effected/source": "^0.4.0",
|
|
484
|
+
"@effected/spdx": "^0.19.0",
|
|
485
|
+
"@effected/store": "^0.24.0",
|
|
486
|
+
"@effected/templates": "^0.18.0",
|
|
487
|
+
"@effected/toml": "^0.19.1",
|
|
488
|
+
"@effected/tsconfig-json": "^0.20.1",
|
|
489
|
+
"@effected/walker": "^0.25.1",
|
|
490
|
+
"@effected/webhooks": "^0.4.0",
|
|
491
|
+
"@effected/workspaces": "^0.43.0",
|
|
492
|
+
"@effected/xdg": "^0.19.1",
|
|
493
|
+
"@effected/yaml": "^0.29.0",
|
|
494
|
+
"effect": "~4.1.2"
|
|
449
495
|
},
|
|
450
|
-
"
|
|
496
|
+
"effected:peers": {
|
|
451
497
|
"@effect/ai-anthropic": "~4.1.0",
|
|
452
498
|
"@effect/ai-openai": "~4.1.0",
|
|
453
499
|
"@effect/ai-openai-compat": "~4.1.0",
|
|
@@ -475,95 +521,53 @@ const hooks$1 = createHooks({
|
|
|
475
521
|
"@effect/sql-sqlite-wasm": "~4.1.0",
|
|
476
522
|
"@effect/tsgo": "^0.63.0",
|
|
477
523
|
"@effect/vitest": "~4.1.0",
|
|
524
|
+
"@effected/app": "^0.31.0",
|
|
525
|
+
"@effected/cli": "^0.27.0",
|
|
526
|
+
"@effected/cli-kit": "^0.27.0",
|
|
527
|
+
"@effected/commands": "^0.20.0",
|
|
528
|
+
"@effected/config-file": "^0.25.0",
|
|
529
|
+
"@effected/crypto": "^0.5.0",
|
|
530
|
+
"@effected/engine": "^0.13.0",
|
|
531
|
+
"@effected/env": "^0.11.0",
|
|
532
|
+
"@effected/files": "^0.1.0",
|
|
533
|
+
"@effected/git": "^0.30.0",
|
|
534
|
+
"@effected/github": "^0.29.0",
|
|
535
|
+
"@effected/github-actions": "^0.32.0",
|
|
536
|
+
"@effected/github-commands": "^0.9.0",
|
|
537
|
+
"@effected/github-references": "^0.14.0",
|
|
538
|
+
"@effected/glob": "^0.19.0",
|
|
539
|
+
"@effected/images": "^0.9.0",
|
|
540
|
+
"@effected/jsonc": "^0.24.0",
|
|
541
|
+
"@effected/jsonl": "^0.18.0",
|
|
542
|
+
"@effected/jwt": "^0.9.0",
|
|
543
|
+
"@effected/kit": "^0.13.0",
|
|
544
|
+
"@effected/lockfiles": "^0.22.0",
|
|
545
|
+
"@effected/lsp": "^0.8.0",
|
|
546
|
+
"@effected/markdown": "^0.27.0",
|
|
547
|
+
"@effected/mcp": "^0.14.0",
|
|
548
|
+
"@effected/mcp-kit": "^0.14.0",
|
|
549
|
+
"@effected/memfs": "^0.24.0",
|
|
550
|
+
"@effected/npm": "^0.30.0",
|
|
551
|
+
"@effected/oidc": "^0.4.0",
|
|
552
|
+
"@effected/package-json": "^0.30.0",
|
|
553
|
+
"@effected/plugin": "^0.2.0",
|
|
554
|
+
"@effected/runtimes": "^0.18.0",
|
|
555
|
+
"@effected/sbom": "^0.20.0",
|
|
556
|
+
"@effected/schema-org": "^0.14.0",
|
|
557
|
+
"@effected/schemastore": "^0.30.0",
|
|
558
|
+
"@effected/semver": "^0.22.0",
|
|
559
|
+
"@effected/source": "^0.4.0",
|
|
560
|
+
"@effected/spdx": "^0.19.0",
|
|
561
|
+
"@effected/store": "^0.24.0",
|
|
562
|
+
"@effected/templates": "^0.18.0",
|
|
563
|
+
"@effected/toml": "^0.19.0",
|
|
564
|
+
"@effected/tsconfig-json": "^0.20.0",
|
|
565
|
+
"@effected/walker": "^0.25.0",
|
|
566
|
+
"@effected/webhooks": "^0.4.0",
|
|
567
|
+
"@effected/workspaces": "^0.43.0",
|
|
568
|
+
"@effected/xdg": "^0.19.0",
|
|
569
|
+
"@effected/yaml": "^0.29.0",
|
|
478
570
|
"effect": "~4.1.0"
|
|
479
|
-
},
|
|
480
|
-
"effected": {
|
|
481
|
-
"@effected/app": "^0.30.0",
|
|
482
|
-
"@effected/cli": "^0.25.0",
|
|
483
|
-
"@effected/commands": "^0.19.0",
|
|
484
|
-
"@effected/config-file": "^0.23.0",
|
|
485
|
-
"@effected/crypto": "^0.4.0",
|
|
486
|
-
"@effected/engine": "^0.11.0",
|
|
487
|
-
"@effected/env": "^0.9.0",
|
|
488
|
-
"@effected/git": "^0.29.0",
|
|
489
|
-
"@effected/github": "^0.27.0",
|
|
490
|
-
"@effected/github-actions": "^0.30.0",
|
|
491
|
-
"@effected/github-commands": "^0.8.0",
|
|
492
|
-
"@effected/github-references": "^0.13.0",
|
|
493
|
-
"@effected/glob": "^0.17.0",
|
|
494
|
-
"@effected/images": "^0.8.0",
|
|
495
|
-
"@effected/jsonc": "^0.22.0",
|
|
496
|
-
"@effected/jsonl": "^0.17.0",
|
|
497
|
-
"@effected/jwt": "^0.8.0",
|
|
498
|
-
"@effected/lockfiles": "^0.21.0",
|
|
499
|
-
"@effected/lsp": "^0.7.0",
|
|
500
|
-
"@effected/markdown": "^0.25.0",
|
|
501
|
-
"@effected/mcp": "^0.12.0",
|
|
502
|
-
"@effected/memfs": "^0.22.0",
|
|
503
|
-
"@effected/npm": "^0.29.0",
|
|
504
|
-
"@effected/oidc": "^0.3.0",
|
|
505
|
-
"@effected/package-json": "^0.28.0",
|
|
506
|
-
"@effected/runtimes": "^0.17.0",
|
|
507
|
-
"@effected/sbom": "^0.19.0",
|
|
508
|
-
"@effected/schema-org": "^0.13.0",
|
|
509
|
-
"@effected/schemastore": "^0.28.0",
|
|
510
|
-
"@effected/schemastore-cli": "^0.28.0",
|
|
511
|
-
"@effected/semver": "^0.20.0",
|
|
512
|
-
"@effected/source": "^0.2.0",
|
|
513
|
-
"@effected/spdx": "^0.18.0",
|
|
514
|
-
"@effected/store": "^0.22.0",
|
|
515
|
-
"@effected/templates": "^0.16.0",
|
|
516
|
-
"@effected/toml": "^0.18.0",
|
|
517
|
-
"@effected/tsconfig-json": "^0.19.0",
|
|
518
|
-
"@effected/walker": "^0.24.0",
|
|
519
|
-
"@effected/webhooks": "^0.3.0",
|
|
520
|
-
"@effected/workspaces": "^0.41.0",
|
|
521
|
-
"@effected/xdg": "^0.18.0",
|
|
522
|
-
"@effected/yaml": "^0.27.0"
|
|
523
|
-
},
|
|
524
|
-
"effected:peers": {
|
|
525
|
-
"@effected/app": "^0.30.0",
|
|
526
|
-
"@effected/cli": "^0.25.0",
|
|
527
|
-
"@effected/commands": "^0.19.0",
|
|
528
|
-
"@effected/config-file": "^0.23.0",
|
|
529
|
-
"@effected/crypto": "^0.4.0",
|
|
530
|
-
"@effected/engine": "^0.11.0",
|
|
531
|
-
"@effected/env": "^0.9.0",
|
|
532
|
-
"@effected/git": "^0.29.0",
|
|
533
|
-
"@effected/github": "^0.27.0",
|
|
534
|
-
"@effected/github-actions": "^0.30.0",
|
|
535
|
-
"@effected/github-commands": "^0.8.0",
|
|
536
|
-
"@effected/github-references": "^0.13.0",
|
|
537
|
-
"@effected/glob": "^0.17.0",
|
|
538
|
-
"@effected/images": "^0.8.0",
|
|
539
|
-
"@effected/jsonc": "^0.22.0",
|
|
540
|
-
"@effected/jsonl": "^0.17.0",
|
|
541
|
-
"@effected/jwt": "^0.8.0",
|
|
542
|
-
"@effected/lockfiles": "^0.21.0",
|
|
543
|
-
"@effected/lsp": "^0.7.0",
|
|
544
|
-
"@effected/markdown": "^0.25.0",
|
|
545
|
-
"@effected/mcp": "^0.12.0",
|
|
546
|
-
"@effected/memfs": "^0.22.0",
|
|
547
|
-
"@effected/npm": "^0.29.0",
|
|
548
|
-
"@effected/oidc": "^0.3.0",
|
|
549
|
-
"@effected/package-json": "^0.28.0",
|
|
550
|
-
"@effected/runtimes": "^0.17.0",
|
|
551
|
-
"@effected/sbom": "^0.19.0",
|
|
552
|
-
"@effected/schema-org": "^0.13.0",
|
|
553
|
-
"@effected/schemastore": "^0.28.0",
|
|
554
|
-
"@effected/schemastore-cli": "^0.28.0",
|
|
555
|
-
"@effected/semver": "^0.20.0",
|
|
556
|
-
"@effected/source": "^0.2.0",
|
|
557
|
-
"@effected/spdx": "^0.18.0",
|
|
558
|
-
"@effected/store": "^0.22.0",
|
|
559
|
-
"@effected/templates": "^0.16.0",
|
|
560
|
-
"@effected/toml": "^0.18.0",
|
|
561
|
-
"@effected/tsconfig-json": "^0.19.0",
|
|
562
|
-
"@effected/walker": "^0.24.0",
|
|
563
|
-
"@effected/webhooks": "^0.3.0",
|
|
564
|
-
"@effected/workspaces": "^0.41.0",
|
|
565
|
-
"@effected/xdg": "^0.18.0",
|
|
566
|
-
"@effected/yaml": "^0.27.0"
|
|
567
571
|
}
|
|
568
572
|
},
|
|
569
573
|
"minimumReleaseAgeExclude": [
|
|
@@ -572,38 +576,39 @@ const hooks$1 = createHooks({
|
|
|
572
576
|
"@effect/tsgo-*"
|
|
573
577
|
],
|
|
574
578
|
"overrides": {
|
|
575
|
-
"@effect/ai-anthropic@^4.0.0": "4.1.
|
|
576
|
-
"@effect/ai-openai-compat@^4.0.0": "4.1.
|
|
577
|
-
"@effect/ai-openai@^4.0.0": "4.1.
|
|
578
|
-
"@effect/ai-openrouter@^4.0.0": "4.1.
|
|
579
|
-
"@effect/atom-react@^4.0.0": "4.1.
|
|
580
|
-
"@effect/atom-solid@^4.0.0": "4.1.
|
|
581
|
-
"@effect/atom-vue@^4.0.0": "4.1.
|
|
582
|
-
"@effect/openapi-generator@^4.0.0": "4.1.
|
|
583
|
-
"@effect/opentelemetry@^4.0.0": "4.1.
|
|
584
|
-
"@effect/platform-browser@^4.0.0": "4.1.
|
|
585
|
-
"@effect/platform-bun@^4.0.0": "4.1.
|
|
586
|
-
"@effect/platform-node-shared@^4.0.0": "4.1.
|
|
579
|
+
"@effect/ai-anthropic@^4.0.0": "4.1.2",
|
|
580
|
+
"@effect/ai-openai-compat@^4.0.0": "4.1.2",
|
|
581
|
+
"@effect/ai-openai@^4.0.0": "4.1.2",
|
|
582
|
+
"@effect/ai-openrouter@^4.0.0": "4.1.2",
|
|
583
|
+
"@effect/atom-react@^4.0.0": "4.1.2",
|
|
584
|
+
"@effect/atom-solid@^4.0.0": "4.1.2",
|
|
585
|
+
"@effect/atom-vue@^4.0.0": "4.1.2",
|
|
586
|
+
"@effect/openapi-generator@^4.0.0": "4.1.2",
|
|
587
|
+
"@effect/opentelemetry@^4.0.0": "4.1.2",
|
|
588
|
+
"@effect/platform-browser@^4.0.0": "4.1.2",
|
|
589
|
+
"@effect/platform-bun@^4.0.0": "4.1.2",
|
|
590
|
+
"@effect/platform-node-shared@^4.0.0": "4.1.2",
|
|
587
591
|
"@effect/platform-node@4.0.0-rc.117>@effect/platform-node-shared": "4.0.0-rc.117",
|
|
588
592
|
"@effect/platform-node@4.0.0-rc.118>@effect/platform-node-shared": "4.0.0-rc.118",
|
|
589
|
-
"@effect/platform-node@^4.0.0": "4.1.
|
|
590
|
-
"@effect/sql-clickhouse@^4.0.0": "4.1.
|
|
591
|
-
"@effect/sql-d1@^4.0.0": "4.1.
|
|
592
|
-
"@effect/sql-libsql@^4.0.0": "4.1.
|
|
593
|
-
"@effect/sql-mssql@^4.0.0": "4.1.
|
|
594
|
-
"@effect/sql-mysql2@^4.0.0": "4.1.
|
|
595
|
-
"@effect/sql-pg@^4.0.0": "4.1.
|
|
596
|
-
"@effect/sql-pglite@^4.0.0": "4.1.
|
|
597
|
-
"@effect/sql-sqlite-bun@^4.0.0": "4.1.
|
|
598
|
-
"@effect/sql-sqlite-do@^4.0.0": "4.1.
|
|
599
|
-
"@effect/sql-sqlite-node@^4.0.0": "4.1.
|
|
600
|
-
"@effect/sql-sqlite-react-native@^4.0.0": "4.1.
|
|
601
|
-
"@effect/sql-sqlite-wasm@^4.0.0": "4.1.
|
|
593
|
+
"@effect/platform-node@^4.0.0": "4.1.2",
|
|
594
|
+
"@effect/sql-clickhouse@^4.0.0": "4.1.2",
|
|
595
|
+
"@effect/sql-d1@^4.0.0": "4.1.2",
|
|
596
|
+
"@effect/sql-libsql@^4.0.0": "4.1.2",
|
|
597
|
+
"@effect/sql-mssql@^4.0.0": "4.1.2",
|
|
598
|
+
"@effect/sql-mysql2@^4.0.0": "4.1.2",
|
|
599
|
+
"@effect/sql-pg@^4.0.0": "4.1.2",
|
|
600
|
+
"@effect/sql-pglite@^4.0.0": "4.1.2",
|
|
601
|
+
"@effect/sql-sqlite-bun@^4.0.0": "4.1.2",
|
|
602
|
+
"@effect/sql-sqlite-do@^4.0.0": "4.1.2",
|
|
603
|
+
"@effect/sql-sqlite-node@^4.0.0": "4.1.2",
|
|
604
|
+
"@effect/sql-sqlite-react-native@^4.0.0": "4.1.2",
|
|
605
|
+
"@effect/sql-sqlite-wasm@^4.0.0": "4.1.2",
|
|
602
606
|
"@effect/tsgo@^0.63.0": "0.63.0",
|
|
603
|
-
"@effect/vitest@^4.0.0": "4.1.
|
|
604
|
-
"effect@^4.0.0": "4.1.
|
|
607
|
+
"@effect/vitest@^4.0.0": "4.1.2",
|
|
608
|
+
"effect@^4.0.0": "4.1.2"
|
|
605
609
|
},
|
|
606
|
-
"peerDependencyRules": {}
|
|
610
|
+
"peerDependencyRules": {},
|
|
611
|
+
"publicHoistPattern": ["@effected/plugin"]
|
|
607
612
|
}, {
|
|
608
613
|
"catalogs": {
|
|
609
614
|
"enforcement": "warn",
|
|
@@ -620,43 +625,40 @@ const hooks$1 = createHooks({
|
|
|
620
625
|
"peerDependencyRules": {
|
|
621
626
|
"enforcement": "warn",
|
|
622
627
|
"strategy": "peerDependencyRules"
|
|
628
|
+
},
|
|
629
|
+
"publicHoistPattern": {
|
|
630
|
+
"enforcement": "absent",
|
|
631
|
+
"strategy": "arrayUnion"
|
|
623
632
|
}
|
|
624
633
|
}, "@effected/pnpm-plugin-effected");
|
|
625
634
|
|
|
626
635
|
// src/pnpmfile.ts
|
|
627
636
|
/**
|
|
628
|
-
*
|
|
629
|
-
*
|
|
630
|
-
*
|
|
631
|
-
*
|
|
632
|
-
*
|
|
633
|
-
* takes the `effected` range, since `pnpm pack` runs no hook.
|
|
637
|
+
* `savvy.build.ts` declares one catalog, `effected`, and its `:peers` twin. The
|
|
638
|
+
* twin serves this repo's own published peer floors, through the root
|
|
639
|
+
* `pnpm-workspace.yaml` that `pnpm:export` writes; a consumer never needs it,
|
|
640
|
+
* since its packed peer takes the `effected` range (`pnpm pack` runs no hook),
|
|
641
|
+
* so the hook hides it and a consumer sees exactly one catalog.
|
|
634
642
|
*/
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
const HIDDEN = ["effect:peers", "effected:peers"];
|
|
638
|
-
function fold(config) {
|
|
643
|
+
const HIDDEN = ["effected:peers"];
|
|
644
|
+
function hide(config) {
|
|
639
645
|
const catalogs = config.catalogs;
|
|
640
646
|
if (catalogs === void 0) return config;
|
|
641
647
|
const out = { ...catalogs };
|
|
642
|
-
const
|
|
643
|
-
for (const name of ABSORBED) Object.assign(merged, out[name]);
|
|
644
|
-
Object.assign(merged, out[FOLDED]);
|
|
645
|
-
out[FOLDED] = merged;
|
|
646
|
-
for (const name of [...ABSORBED, ...HIDDEN]) delete out[name];
|
|
648
|
+
for (const name of HIDDEN) delete out[name];
|
|
647
649
|
return {
|
|
648
650
|
...config,
|
|
649
651
|
catalogs: out
|
|
650
652
|
};
|
|
651
653
|
}
|
|
652
654
|
/**
|
|
653
|
-
* The plugin's pnpm hooks: the generated `updateConfig`, then the catalog
|
|
655
|
+
* The plugin's pnpm hooks: the generated `updateConfig`, then hiding the peers catalog.
|
|
654
656
|
*
|
|
655
657
|
* @public
|
|
656
658
|
*/
|
|
657
659
|
const hooks = { updateConfig(config) {
|
|
658
660
|
const result = hooks$1.updateConfig(config);
|
|
659
|
-
return result instanceof Promise ? result.then(
|
|
661
|
+
return result instanceof Promise ? result.then(hide) : hide(result);
|
|
660
662
|
} };
|
|
661
663
|
|
|
662
664
|
export { hooks };
|