@r_masseater/msch 0.27.0 → 0.28.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/dist/{cli-contract-WGNqIbe-.mjs → cli-contract-kyLbx4PX.mjs} +4 -63
- package/dist/cli-contract-kyLbx4PX.mjs.map +1 -0
- package/dist/cli.mjs +467 -175
- package/dist/cli.mjs.map +1 -1
- package/dist/decision-rules.d.mts +1 -1
- package/dist/decision-rules.mjs +1 -1
- package/dist/{index-4R3V2V1f.d.mts → index-B3B75yJ6.d.mts} +2 -1
- package/dist/{lint-preset-Bh97-3cg.mjs → lint-preset-D8OFdSZ-.mjs} +2 -2
- package/dist/{lint-preset-Bh97-3cg.mjs.map → lint-preset-D8OFdSZ-.mjs.map} +1 -1
- package/dist/lint.d.mts +1 -1
- package/dist/lint.mjs +1 -1
- package/dist/oxlint.mjs +1 -1
- package/dist/{workspace-g6vKzUNI.mjs → workspace-DuBjvDMC.mjs} +32 -6
- package/dist/workspace-DuBjvDMC.mjs.map +1 -0
- package/dist/workspace-settings.d.mts +7 -1
- package/dist/workspace-settings.mjs +53 -6
- package/dist/workspace-settings.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/msch-checks/SKILL.md +1 -1
- package/dist/cli-contract-WGNqIbe-.mjs.map +0 -1
- package/dist/workspace-g6vKzUNI.mjs.map +0 -1
|
@@ -59,6 +59,7 @@ const columnOf = (node) => {
|
|
|
59
59
|
return sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).character + 1;
|
|
60
60
|
};
|
|
61
61
|
const contains = (outer) => (inner) => outer.getSourceFile().fileName === inner.getSourceFile().fileName && outer.getStart() <= inner.getStart() && inner.getEnd() <= outer.getEnd();
|
|
62
|
+
const isInsideAny = (outers) => (node) => pipe(outers, Array.some((outer) => contains(outer)(node)));
|
|
62
63
|
const isTypeDeclaration = (declaration) => isTypeAliasDeclaration(declaration) || isInterfaceDeclaration(declaration) || isEnumDeclaration(declaration);
|
|
63
64
|
const isGenericDeclaration = (declaration) => (isTypeAliasDeclaration(declaration) || isInterfaceDeclaration(declaration)) && Array.isReadonlyArrayNonEmpty(declaration.typeParameters ?? []);
|
|
64
65
|
const propertyNamesOf = (checker) => (type) => pipe(checker.getPropertiesOfType(type), Array.map((property) => property.name));
|
|
@@ -68,67 +69,7 @@ const moduleSpecifierOf = (statement) => {
|
|
|
68
69
|
};
|
|
69
70
|
const importedModulesOf = (sourceFile) => pipe(sourceFile.statements, Array.map((statement) => moduleSpecifierOf(statement)), Array.getSomes);
|
|
70
71
|
// src/shared/lib/problem.ts
|
|
71
|
-
const RuleNameSchema = Schema.
|
|
72
|
-
"owner-annotation",
|
|
73
|
-
"duplicate-value-set",
|
|
74
|
-
"owner-value-set",
|
|
75
|
-
"owner-extension",
|
|
76
|
-
"owned-literal",
|
|
77
|
-
"library-value-set",
|
|
78
|
-
"library-shape",
|
|
79
|
-
"unused-override",
|
|
80
|
-
"removable-override",
|
|
81
|
-
"hidden-unicode",
|
|
82
|
-
"python-file",
|
|
83
|
-
"python-command",
|
|
84
|
-
"docker-file",
|
|
85
|
-
"docker-command",
|
|
86
|
-
"unnamed-restriction",
|
|
87
|
-
"git-subpath-dependency",
|
|
88
|
-
"unneeded-file",
|
|
89
|
-
"unneeded-setup",
|
|
90
|
-
"cargo-outside-pnpm",
|
|
91
|
-
"nested-docs",
|
|
92
|
-
"root-readme",
|
|
93
|
-
"agent-docs-length",
|
|
94
|
-
"root-docs",
|
|
95
|
-
"shell-script",
|
|
96
|
-
"workflow-script",
|
|
97
|
-
"workflow-queue",
|
|
98
|
-
"stack-dependency",
|
|
99
|
-
"install-size",
|
|
100
|
-
"unverified-crate",
|
|
101
|
-
"hidden-verify",
|
|
102
|
-
"root-workspace-path",
|
|
103
|
-
"shared-uncached-task",
|
|
104
|
-
"workflow-path",
|
|
105
|
-
"command-outside-bin",
|
|
106
|
-
"unrun-command",
|
|
107
|
-
"scripts-directory",
|
|
108
|
-
"listed-entry",
|
|
109
|
-
"workflow-path-filter",
|
|
110
|
-
"workflow-package",
|
|
111
|
-
"colocated-test",
|
|
112
|
-
"layered-source",
|
|
113
|
-
"public-entry",
|
|
114
|
-
"source-alias",
|
|
115
|
-
"runtime-name",
|
|
116
|
-
"comment",
|
|
117
|
-
"applied-package",
|
|
118
|
-
"package-script",
|
|
119
|
-
"package-manager-command",
|
|
120
|
-
"skipped-gate",
|
|
121
|
-
"filter-task",
|
|
122
|
-
"vite-plus-block",
|
|
123
|
-
"node-version",
|
|
124
|
-
"replaced-tool",
|
|
125
|
-
"missing-hook",
|
|
126
|
-
"dangling-link",
|
|
127
|
-
"alchemy-patch",
|
|
128
|
-
"skill-file",
|
|
129
|
-
"unlocked-skill",
|
|
130
|
-
"pass-through-wrapper"
|
|
131
|
-
]);
|
|
72
|
+
const RuleNameSchema = Schema.String.check(Schema.isPattern(/^[a-z]+(?:-[a-z]+)*$/u));
|
|
132
73
|
const ProblemSchema = Schema.Struct({
|
|
133
74
|
file: Schema.String,
|
|
134
75
|
line: Schema.Int,
|
|
@@ -163,6 +104,6 @@ const describeFinding = (problem) => `[${problem.rule}] ${problem.message}`;
|
|
|
163
104
|
const formatProblem = (relative) => (problem) => `${relative(problem.file)}:${String(problem.line)}:${String(problem.column)} ${describeFinding(problem)}`;
|
|
164
105
|
// src/shared/lib/cli-contract.ts
|
|
165
106
|
const JSON_FLAG = "--json";
|
|
166
|
-
export {
|
|
107
|
+
export { isPropertyAccessExpression as $, getLeadingCommentRanges as A, isEnumDeclaration as B, uniqueByReference as C, SignatureKind as D, InternalSymbolName as E, isBinaryExpression as F, isImportDeclaration as G, isFunctionDeclaration as H, isBlock as I, isModuleDeclaration as J, isInterfaceDeclaration as K, isCallExpression as L, getTextOfJSDocComment as M, isArrayLiteralExpression as N, SyntaxKind as O, isArrowFunction as P, isParenthesizedExpression as Q, isClassDeclaration as R, symbolAt as S, IndexKind as T, isFunctionExpression as U, isExportDeclaration as V, isIdentifier as W, isNumericLiteral as X, isNewExpression as Y, isObjectLiteralExpression as Z, lineOf as _, problemAt as a, isSpreadElement as at, referencedSymbols as b, columnOf as c, isTypeLiteralNode as ct, descendantsOf as d, isVariableDeclaration as dt, isPropertyAssignment as et, importedModulesOf as f, isVariableDeclarationList as ft, isTypeDeclaration as g, isInsideAny as h, formatProblem as i, isSourceFile as it, getNameOfDeclaration as j, getJSDocTags as k, contains as l, isTypeReferenceNode as lt, isGenericDeclaration as m, ProblemList as n, isSatisfiesExpression as nt, sortProblems as o, isStringLiteral as ot, isExternalDeclaration as p, isVariableStatement as pt, isModuleBlock as q, describeFinding as r, isSignatureDeclaration as rt, childrenOf as s, isTypeAliasDeclaration as st, JSON_FLAG as t, isReturnStatement as tt, declarationsOf as u, isUnionTypeNode as ut, packageOf as v, API as w, resolvedSymbol as x, propertyNamesOf as y, isElementAccessExpression as z };
|
|
167
108
|
|
|
168
|
-
//# sourceMappingURL=cli-contract-
|
|
109
|
+
//# sourceMappingURL=cli-contract-kyLbx4PX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-contract-kyLbx4PX.mjs","names":["Arr","Str","Arr"],"sources":["../src/shared/lib/syntax.ts","../src/shared/lib/problem.ts","../src/shared/lib/cli-contract.ts"],"sourcesContent":["import { Array as Arr, Option, String as Str, pipe } from \"effect\";\n\nimport {\n isEnumDeclaration,\n isExportAssignment,\n isExportDeclaration,\n isIdentifier,\n isImportDeclaration,\n isInterfaceDeclaration,\n isPropertyAccessExpression,\n isStringLiteral,\n isTypeAliasDeclaration,\n SyntaxKind,\n} from \"./compiler.ts\";\nimport type {\n Checker,\n Declaration,\n EnumDeclaration,\n Expression,\n InterfaceDeclaration,\n Node,\n Program,\n SourceFile,\n TypeSymbol,\n Type,\n TypeAliasDeclaration,\n} from \"./compiler.ts\";\nimport { NODE_MODULES } from \"./repository-files.ts\";\n\nconst NODE_MODULES_SEGMENT = `/${NODE_MODULES}/`;\n\nexport const POSITION_BASE = 1;\n\nexport const uniqueByReference = <Item>(items: readonly Item[]): readonly Item[] =>\n Arr.dedupeWith(items, (left, right) => left === right);\n\nexport const childrenOf = (node: Node): readonly Node[] => {\n const children: Node[] = [];\n node.forEachChild((child) => {\n children.push(child);\n });\n return children;\n};\n\nconst SCOPE_PREFIX = \"@\";\nconst SCOPED_SEGMENTS = 2;\nconst UNSCOPED_SEGMENTS = 1;\n\nexport const packageOf = (fileName: string): string => {\n const afterModules = pipe(\n fileName,\n Str.lastIndexOf(NODE_MODULES_SEGMENT),\n Option.match({\n onNone: () => fileName,\n onSome: (index) => Str.slice(index + NODE_MODULES_SEGMENT.length)(fileName),\n }),\n );\n const segments = Str.split(\"/\")(afterModules);\n if (Str.startsWith(SCOPE_PREFIX)(afterModules)) {\n return pipe(Arr.take(segments, SCOPED_SEGMENTS), Arr.join(\"/\"));\n }\n return pipe(Arr.take(segments, UNSCOPED_SEGMENTS), Arr.join(\"/\"));\n};\n\nexport const descendantsOf = (node: Node): readonly Node[] =>\n pipe(\n childrenOf(node),\n Arr.flatMap((child) => Arr.prepend(descendantsOf(child), child)),\n );\n\nconst isExternalFile =\n (program: Program) =>\n (sourceFile: SourceFile): boolean =>\n !program.isSourceFileDefaultLibrary(sourceFile) &&\n (Str.includes(NODE_MODULES_SEGMENT)(sourceFile.fileName) ||\n program.isSourceFileFromExternalLibrary(sourceFile));\n\nexport const isExternalDeclaration =\n (program: Program) =>\n (declaration: Node): boolean =>\n isExternalFile(program)(declaration.getSourceFile());\n\nconst ALIAS_KINDS: ReadonlySet<SyntaxKind> = new Set([\n SyntaxKind.ImportSpecifier,\n SyntaxKind.ImportClause,\n SyntaxKind.NamespaceImport,\n SyntaxKind.ExportSpecifier,\n SyntaxKind.ImportEqualsDeclaration,\n SyntaxKind.ExportAssignment,\n]);\n\nexport const declarationsOf = (symbol: TypeSymbol): readonly Declaration[] =>\n pipe(\n symbol.declarations,\n Arr.flatMap((handle) => Option.toArray(Option.fromUndefinedOr(handle.resolve()))),\n );\n\nconst isEntityName = (expression: Expression): boolean =>\n isIdentifier(expression) ||\n (isPropertyAccessExpression(expression) && isEntityName(expression.expression));\n\nconst aliasesAnEntity = (declaration: Node): boolean =>\n !isExportAssignment(declaration) || isEntityName(declaration.expression);\n\nconst isAliasDeclaration = (declaration: Node): boolean =>\n ALIAS_KINDS.has(declaration.kind) && aliasesAnEntity(declaration);\n\nexport const resolvedSymbol =\n (checker: Checker) =>\n (symbol: TypeSymbol): TypeSymbol => {\n if (\n !pipe(\n declarationsOf(symbol),\n Arr.some((declaration) => isAliasDeclaration(declaration)),\n )\n ) {\n return symbol;\n }\n return checker.getAliasedSymbol(symbol);\n };\n\nexport const symbolAt =\n (checker: Checker) =>\n (node: Node): Option.Option<TypeSymbol> =>\n Option.fromUndefinedOr(checker.getSymbolAtLocation(node)).pipe(\n Option.map(resolvedSymbol(checker)),\n );\n\nexport const referencedSymbols =\n (checker: Checker) =>\n (node: Node): readonly TypeSymbol[] => {\n const identifiers = pipe(\n Arr.prepend(descendantsOf(node), node),\n Arr.filter((candidate) => isIdentifier(candidate)),\n );\n const symbols = pipe(\n checker.getSymbolAtLocation(identifiers),\n Arr.flatMap((symbol) => Option.toArray(Option.fromUndefinedOr(symbol))),\n Arr.map(resolvedSymbol(checker)),\n );\n return uniqueByReference(symbols);\n };\n\nexport const lineOf = (node: Node): number => {\n const sourceFile = node.getSourceFile();\n return sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line + POSITION_BASE;\n};\n\nexport const columnOf = (node: Node): number => {\n const sourceFile = node.getSourceFile();\n return (\n sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).character + POSITION_BASE\n );\n};\n\nexport const contains =\n (outer: Node) =>\n (inner: Node): boolean =>\n outer.getSourceFile().fileName === inner.getSourceFile().fileName &&\n outer.getStart() <= inner.getStart() &&\n inner.getEnd() <= outer.getEnd();\n\nexport const isInsideAny =\n (outers: readonly Node[]) =>\n (node: Node): boolean =>\n pipe(\n outers,\n Arr.some((outer) => contains(outer)(node)),\n );\n\nexport const isTypeDeclaration = (\n declaration: Node,\n): declaration is TypeAliasDeclaration | InterfaceDeclaration | EnumDeclaration =>\n isTypeAliasDeclaration(declaration) ||\n isInterfaceDeclaration(declaration) ||\n isEnumDeclaration(declaration);\n\nexport const isGenericDeclaration = (declaration: Node): boolean =>\n (isTypeAliasDeclaration(declaration) || isInterfaceDeclaration(declaration)) &&\n Arr.isReadonlyArrayNonEmpty(declaration.typeParameters ?? []);\n\nexport const propertyNamesOf =\n (checker: Checker) =>\n (type: Type): readonly string[] =>\n pipe(\n checker.getPropertiesOfType(type),\n Arr.map((property) => property.name),\n );\n\nconst moduleSpecifierOf = (statement: Node): Option.Option<string> => {\n if (!isImportDeclaration(statement) && !isExportDeclaration(statement)) {\n return Option.none();\n }\n return Option.fromUndefinedOr(statement.moduleSpecifier).pipe(\n Option.filter((specifier) => isStringLiteral(specifier)),\n Option.map((specifier) => specifier.text),\n );\n};\n\nexport const importedModulesOf = (sourceFile: SourceFile): readonly string[] =>\n pipe(\n sourceFile.statements,\n Arr.map((statement) => moduleSpecifierOf(statement)),\n Arr.getSomes,\n );\n","import { Array as Arr, Order, Schema, pipe } from \"effect\";\n\nimport type { Node } from \"./compiler.ts\";\nimport { columnOf, lineOf } from \"./syntax.ts\";\n\nconst RuleNameSchema = Schema.String.check(Schema.isPattern(/^[a-z]+(?:-[a-z]+)*$/u));\n\nexport type RuleName = typeof RuleNameSchema.Type;\n\nconst ProblemSchema = Schema.Struct({\n file: Schema.String,\n line: Schema.Int,\n column: Schema.Int,\n rule: RuleNameSchema,\n message: Schema.String,\n});\n\nexport type Problem = typeof ProblemSchema.Type;\n\nexport const ProblemList = Schema.Array(ProblemSchema);\n\nexport const CANDIDATE_LIMIT = 3;\n\nexport interface Finding {\n readonly rule: RuleName;\n readonly message: string;\n}\n\nexport const problemAt =\n ({ rule, message }: Finding) =>\n (node: Node): Problem => ({\n file: node.getSourceFile().fileName,\n line: lineOf(node),\n column: columnOf(node),\n rule,\n message,\n });\n\nconst problemOrder: Order.Order<Problem> = Order.combineAll([\n Order.mapInput(Order.String, (problem: Problem) => problem.file),\n Order.mapInput(Order.Number, (problem: Problem) => problem.line),\n Order.mapInput(Order.Number, (problem: Problem) => problem.column),\n Order.mapInput(Order.String, (problem: Problem) => problem.rule),\n Order.mapInput(Order.String, (problem: Problem) => problem.message),\n]);\n\nconst problemKey = (problem: Problem): string =>\n pipe(\n [problem.file, String(problem.line), String(problem.column), problem.rule, problem.message],\n Arr.join(\"\\0\"),\n );\n\nexport const sortProblems = (problems: readonly Problem[]): readonly Problem[] =>\n Arr.sort(\n Arr.dedupeWith(problems, (left, right) => problemKey(left) === problemKey(right)),\n problemOrder,\n );\n\nexport const describeFinding = (problem: Problem): string => `[${problem.rule}] ${problem.message}`;\n\nexport const formatProblem =\n (relative: (file: string) => string) =>\n (problem: Problem): string =>\n `${relative(problem.file)}:${String(problem.line)}:${String(problem.column)} ${describeFinding(problem)}`;\n","export const JSON_FLAG = \"--json\";\n"],"mappings":";;;;;;AA6BA,MAAM,uBAAuB,IAAI,aAAa;AAI9C,MAAa,qBAA2B,UACtCA,MAAI,WAAW,QAAQ,MAAM,UAAU,SAAS,KAAK;AAEvD,MAAa,cAAc,SAAgC;CACzD,MAAM,WAAmB,CAAC;CAC1B,KAAK,cAAc,UAAU;EAC3B,SAAS,KAAK,KAAK;CACrB,CAAC;CACD,OAAO;AACT;AAEA,MAAM,eAAe;AACrB,MAAM,kBAAkB;AACxB,MAAM,oBAAoB;AAE1B,MAAa,aAAa,aAA6B;CACrD,MAAM,eAAe,KACnB,UACAC,SAAI,YAAY,oBAAoB,GACpC,OAAO,MAAM;EACX,cAAc;EACd,SAAS,UAAUA,SAAI,MAAM,QAAQ,qBAAqB,MAAM,CAAC,CAAC,QAAQ;CAC5E,CAAC,CACH;CACA,MAAM,WAAWA,SAAI,MAAM,GAAG,CAAC,CAAC,YAAY;CAC5C,IAAIA,SAAI,WAAW,YAAY,CAAC,CAAC,YA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