You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you change the `holochainVersion` field in `kangaroo.config.ts`, the npm dependencies that talk to the conductor (`@holochain/client` and `@holochain/hc-spin-rust-utils`) need to move to a matching version series as well. The `bins.compatibleDeps` field in `kangaroo.config.ts` records which npm dependency series goes with which Holochain series, and `yarn check:config` verifies that `package.json` agrees with it:
21
+
22
+
```ts
23
+
compatibleDeps: {
24
+
'0.7': {
25
+
'@holochain/client': '0.21',
26
+
'@holochain/hc-spin-rust-utils': '0.700',
27
+
},
28
+
},
29
+
```
30
+
31
+
> [!NOTE]
32
+
> Add an entry whenever you move to a new Holochain series. If there is no entry for the series you configured, `yarn check:config` prints a warning and skips the dependency verification instead of failing.
`no known compatible dependency versions for Holochain ${series}.x - extend DEP_COMPAT in scripts/update-binary-hashes.mjs`
141
+
console.warn(
142
+
`⚠️ kangaroo.config.ts has no 'bins.compatibleDeps' entry for Holochain ${series}.x - skipping the npm dependency check. Add one to have this check verify that your npm dependencies match your Holochain version.`
`dependency '${depName}' is '${range}' (series ${depSeries}) but Holochain ${holochainVersion} needs series${expectedSeries}`
164
+
`dependency '${depName}' is '${range}' (series ${depSeries}) but 'bins.compatibleDeps' in kangaroo.config.ts declares series ${expectedSeries} for Holochain${holochainVersion}`
171
165
);
172
166
}
173
167
}
@@ -179,7 +173,7 @@ function warnAboutTestServers() {
179
173
['relayUrl',kangarooConfig.relayUrl],
180
174
];
181
175
for(const[field,url]ofservers){
182
-
if(isTestServerUrl(url)){
176
+
if(url===TEST_SERVER_URL){
183
177
console.warn(
184
178
`⚠️ ${field} ('${url}') points at a test server. Test servers have no availability guarantees - do not ship a production release with this setting.`
0 commit comments