@r_masseater/msch 0.83.0 → 0.85.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 CHANGED
@@ -23,6 +23,7 @@ The package has these entry points.
23
23
  | `msch` (bin) | Runs every check against the repository |
24
24
  | `msch-changed` (bin) | Runs a command on the workspaces that changed since it passed, in batches |
25
25
  | `msch-exits` (bin) | Reports upstream deviations whose exit condition is met |
26
+ | `msch-judge` (bin) | Judges documents against rules that need reading, and reports violations |
26
27
  | `msch-refs` (bin) | Reports `github:` and `npm:` reference links whose target is gone |
27
28
  | `msch-upstream` (bin) | Reports an upstream of a reimplementation that released since its verdict |
28
29
  | `msch-published` (bin) | Reports a dependency range that no version on npm satisfies |
package/dist/changed.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as ProblemsFound } from "./output-BUCq_3DP.mjs";
2
+ import { t as ProblemsFound } from "./output-DYnV3b5B.mjs";
3
3
  import { t as runCli } from "./runtime-CFZ41rB0.mjs";
4
4
  import { i as installedPackages, n as keepOnly, r as recordsIn, s as workspaceClosure } from "./pass-records-6XLhXZL3.mjs";
5
5
  import { n as RepositoryFiles, t as NODE_MODULES } from "./repository-files-C2gVviac.mjs";
package/dist/cli.mjs CHANGED
@@ -7,13 +7,13 @@ import { a as parent, i as join, n as isInside, t as baseName } from "./path-DUt
7
7
  import { a as unmatchedWorkspacePatterns, i as publishedProjects, n as readManifest, o as workspaceDirectories, s as workspaceProjects } from "./dependencies-BAjtDvY4.mjs";
8
8
  import { $ as isInterfaceDeclaration, B as isArrowFunction, C as propertyNamesOf, D as symbolAtLocation, E as symbolAt, F as getJSDocTags, G as isElementAccessExpression, H as isBlock, J as isExpressionStatement, K as isEnumDeclaration, L as getNameOfDeclaration, M as SignatureKind, N as SymbolFlags, O as uniqueByReference, P as SyntaxKind, Q as isImportDeclaration, R as getTextOfJSDocComment, S as packageOf$1, U as isCallExpression, V as isBinaryExpression, W as isClassDeclaration, X as isFunctionExpression, Y as isFunctionDeclaration, Z as isIdentifier, _ as isGenericDeclaration, _t as isUnionTypeNode, a as problemAtPosition, at as isParenthesizedExpression, b as isTypeDeclaration, bt as isVariableStatement, c as carriesTag, ct as isReturnStatement, d as contains, dt as isSourceFile, et as isModuleBlock, f as declarationsOf, ft as isSpreadElement, g as isExternalDeclaration, gt as isTypeReferenceNode, h as importedModulesOf, ht as isTypeLiteralNode, i as problemAt$7, it as isObjectLiteralExpression, l as childrenOf$1, lt as isSatisfiesExpression, m as descendantsOf, mt as isTypeAliasDeclaration, nt as isNewExpression, o as problemInFile, ot as isPropertyAccessExpression, p as declaresAType, pt as isStringLiteral, q as isExportDeclaration, rt as isNumericLiteral, s as sortProblems, st as isPropertyAssignment, t as ProblemList, tt as isModuleDeclaration, u as columnOf, ut as isSignatureDeclaration, v as isInsideAny, vt as isVariableDeclaration, w as referencedSymbols, x as lineOf$3, y as isOutsideDeclaration, yt as isVariableDeclarationList, z as isArrayLiteralExpression } from "./problem-OJg859cN.mjs";
9
9
  import { A as keyName, D as workspaceConfigOf, M as nestedValues, N as propertyValue, O as KeySchema, P as stringsIn, _ as VERIFY_TASK, a as entryNameOf, d as deployEntries, g as RUN_TASKS, i as publishedWorkspaces, j as literalOf, k as childrenOf$2, l as workspaceLinks, o as isBinEntry, p as shadcnUiOf, r as packedWorkspaces, s as publicEntriesOf, u as bundledEntries, v as definesTask, y as hasVerifyTask } from "./published-C34bsbOH.mjs";
10
- import { t as JAPANESE } from "./config-C3jRfgJ9.mjs";
10
+ import { r as JAPANESE } from "./config-BBdsNPSO.mjs";
11
11
  import { n as readTree, t as loadLanguage } from "./tree-sitter-BfzHNwTR.mjs";
12
12
  import { n as baseName$1, r as baseRevision, t as manifestTexts } from "./manifest-texts-C6Qjv0xy.mjs";
13
13
  import { a as presentFiles, i as listedFiles, n as isScannedText, o as scanText, r as isToolVersions, t as upstreamRecords } from "./upstream-record-CSbML0KF.mjs";
14
14
  import { a as offsetIn$1, i as namedCatalogsOf, n as manifestPattern, o as quoted$2, r as manifestSpecifiers, s as specifiedIn, t as fieldsOf } from "./specifiers-D9L0OV3r.mjs";
15
15
  import { t as checkPackageVersions } from "./package-versions-G9Unih6I.mjs";
16
- import { i as writeStdout, n as failWhenAny, r as writeProblems } from "./output-BUCq_3DP.mjs";
16
+ import { i as writeProblems, n as failWhenAny, r as writeJsonProblems } from "./output-DYnV3b5B.mjs";
17
17
  import { t as runCli } from "./runtime-CFZ41rB0.mjs";
18
18
  import "./cli-contract-D7btWrEu.mjs";
19
19
  import { builtinModules } from "node:module";
@@ -17783,8 +17783,7 @@ const failuresOf = (args, kind, message) => {
17783
17783
  const toolChecks = (root, args) => runVpa(root, args).pipe(Effect.as(NO_PROBLEMS), Effect.catchIf(Schema.is(VpToolsError), (failure) => failuresOf(args, failure.kind, failure.message)));
17784
17784
  const writeJson = Effect.fn("writeJson")(function* writeJson(root) {
17785
17785
  const found = yield* checkAll(root);
17786
- const text = yield* Schema.encodeEffect(Schema.fromJsonString(ProblemList))(sortProblems(found));
17787
- return yield* writeStdout(text);
17786
+ return yield* writeJsonProblems(sortProblems(found));
17788
17787
  });
17789
17788
  const checkEverything = Effect.fn("checkEverything")(function* checkEverything(root) {
17790
17789
  const found = yield* checkAll(root);