@deeeed/metamask-harness 0.82.0 → 0.82.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.82.1 - 2026-10-07
6
+
7
+ ### Fixed
8
+
9
+ - Extension `check diff [--fix]` no longer fails when every changed file is one the repo's oxfmt config ignores (for example `package.json`, `yarn.lock` and regenerated LavaMoat policy JSON): oxfmt runs with `--no-error-on-unmatched-pattern`, so it checks nothing instead of exiting 2 with "Expected at least one target file". A real formatting problem in a file oxfmt does check still fails the gate.
10
+
5
11
  ## 0.82.0 - 2026-10-07
6
12
 
7
13
  ### Added
@@ -7,6 +7,7 @@ const USAGE = "mm-harness check diff [--fix] [--target <repo>] [--adapter <adapt
7
7
  const JS_TS_EXT_RE = /\.(?:c|m)?jsx?$|\.tsx?$/u;
8
8
  const FORMAT_EXT_RE = /\.(?:c|m)?jsx?$|\.tsx?$|\.json$|\.md$|\.css$|\.scss$|\.ya?ml$/u;
9
9
  const TEST_FILE_RE = /(?:^|[./_-])(?:test|spec)\.(?:c|m)?jsx?$|(?:^|[./_-])(?:test|spec)\.tsx?$/u;
10
+ const OXFMT_TARGET_ARGS = ["--no-error-on-unmatched-pattern"];
10
11
  const ESLINT_SUPPRESSION_RE = /^\s*eslint-disable(?:-line|-next-line)?\b/u;
11
12
  const EXTENSION_LOCALE_RE = /^app\/_locales\//u;
12
13
  async function handleCheck(argv) {
@@ -427,7 +428,7 @@ function runFormatterCheck(input) {
427
428
  label: "Changed-file oxfmt",
428
429
  ...input,
429
430
  command: oxfmt,
430
- args: ["--config", oxfmtConfig, "--check"]
431
+ args: ["--config", oxfmtConfig, "--check", ...OXFMT_TARGET_ARGS]
431
432
  });
432
433
  }
433
434
  return runToolCheck({
@@ -447,7 +448,7 @@ function runFormatterFix(input) {
447
448
  label: "Changed-file oxfmt fix",
448
449
  ...input,
449
450
  command: oxfmt,
450
- args: ["--config", oxfmtConfig, "--write"]
451
+ args: ["--config", oxfmtConfig, "--write", ...OXFMT_TARGET_ARGS]
451
452
  });
452
453
  }
453
454
  return runToolCheck({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeeed/metamask-harness",
3
- "version": "0.82.0",
3
+ "version": "0.82.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mm-harness": "bin/mm-harness"