wuchale 0.22.9 → 0.22.10

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/dist/cli/check.js CHANGED
@@ -15,10 +15,11 @@ const checkErrMsgs = {
15
15
  unequalLength: 'Unequal length',
16
16
  };
17
17
  export async function check(config, root, full) {
18
- // console.log because if the user invokes this command, they want full info regardless of config
19
- const hub = new Hub(() => config, root, 0, readOnlyFS);
18
+ // disable ai as this is a check, not persisted
19
+ const hub = new Hub(() => ({ ...config, ai: null }), root, 0, readOnlyFS);
20
20
  await hub.init('cli');
21
21
  const { checked, errors, syncs } = await hub.check(full);
22
+ // console.log because if the user invokes this command, they want full info regardless of config
22
23
  for (const err of errors) {
23
24
  console.error(`${color.magenta(err.adapter)}: ${color.red(checkErrMsgs[err.type])}`);
24
25
  console.error(` ${color.grey('Source:')} ${err.source}`);
package/dist/hub.js CHANGED
@@ -330,7 +330,7 @@ export class Hub {
330
330
  const existingFilesByOwner = new Map();
331
331
  for (const handler of this.#handlers.values()) {
332
332
  const state = handler.sharedState;
333
- if (full && (await this.#directVisitHandler(handler, true, false, existingFilesByOwner))) {
333
+ if (full && (await this.#directVisitHandler(handler, false, false, existingFilesByOwner))) {
334
334
  syncs.push(handler.key);
335
335
  }
336
336
  if (state.ownerKey !== handler.key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wuchale",
3
- "version": "0.22.9",
3
+ "version": "0.22.10",
4
4
  "description": "Protobuf-like i18n from plain code",
5
5
  "scripts": {
6
6
  "dev": "tsc --watch",