@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Function diffManifest

    • Every disagreement between package.json and the declarations in src, as data, in the order the checks run: commands, then settings, then views.

      The same comparison assertManifestMatches makes, without the throw — for a tool that wants to print, count or apply the mechanical part of the fix itself. An empty result means the two agree on everything this checks.

      Parameters

      Returns readonly ManifestMismatch[]

      const mismatches = diffManifest(manifest, { commands: Object.values(Contracts) });
      for (const mismatch of mismatches.filter((m) => m.direction === 'missing-in-manifest')) {
      console.log(mismatch.paste ?? mismatch.summary);
      }