@r_masseater/msch 0.129.0 → 0.129.2
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.mjs +28 -33
- package/dist/cli.mjs.map +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/decision-rules.d.mts +1 -1
- package/dist/decision-rules.mjs +1 -1
- package/dist/{define-lint-preset-D3jb88wH.mjs → define-lint-preset-PLWK5HYf.mjs} +2 -1
- package/dist/define-lint-preset-PLWK5HYf.mjs.map +1 -0
- package/dist/{index-CJ-DPimM.d.mts → index-BUNJ7vH_.d.mts} +1 -0
- package/dist/lint-rules.mjs +1 -1
- package/dist/lint-rules.mjs.map +1 -1
- package/dist/lint.d.mts +1 -1
- package/dist/lint.mjs +1 -1
- package/dist/{published-BbAu-6IS.mjs → published-BdMq0wXq.mjs} +2 -2
- package/dist/published-BdMq0wXq.mjs.map +1 -0
- package/dist/{repository-config-BdFUhbP3.mjs → repository-config-Dq5OIwyx.mjs} +9 -5
- package/dist/repository-config-Dq5OIwyx.mjs.map +1 -0
- package/dist/workspace-settings.mjs +5 -8
- package/dist/workspace-settings.mjs.map +1 -1
- package/package.json +10 -10
- package/skills/msch-checks/SKILL.md +1 -1
- package/skills/msch-publishing/SKILL.md +1 -1
- package/skills/msch-repository-config/SKILL.md +1 -1
- package/skills/msch-workspace-settings/SKILL.md +1 -1
- package/dist/define-lint-preset-D3jb88wH.mjs.map +0 -1
- package/dist/published-BbAu-6IS.mjs.map +0 -1
- package/dist/repository-config-BdFUhbP3.mjs.map +0 -1
package/dist/cli.mjs
CHANGED
|
@@ -11,10 +11,10 @@ import { i as workspaceDependencies$1, n as installedManifest, r as readManifest
|
|
|
11
11
|
import { C as childrenOf$4, D as propertyValue, E as nestedValues, O as stringsIn, S as KeySchema, T as literalOf, a as workspaceManifest, c as TASK_NAMES, d as definesTask, f as hasCargoTask, i as workspaceProjects, l as TEST_TASK_NAMES, n as unmatchedWorkspacePatterns, p as hasVerifyTask, r as workspaceDirectories, s as RUN_TASKS, t as publishedProjects, u as VERIFY_TASK, w as keyName, x as workspaceConfigOf } from "./workspace-projects-eapoa0az.mjs";
|
|
12
12
|
import { a as parent, i as join, n as isInside, t as baseName$1 } from "./path-BhBnc3Sn.mjs";
|
|
13
13
|
import { decodePackageJson, decodeVersionedPackageJson, readPackageJson, readRawPackageJson, readVersionedPackageJson, updatePackageJson, writePackageJson } from "@r_masseater/masseater-utils/kestrion/npm";
|
|
14
|
-
import { a as workspaceConfigs, c as publicEntriesOf, d as FRONTMATTER, f as splitFrontmatter, g as deployEntries, h as bundledEntries$1, i as publishedWorkspaces, l as modDirectories, m as workspaceLinks, o as entryNameOf, r as packedWorkspaces, s as isBinEntry, u as INDEX_SKILL, v as shadcnUiOf } from "./published-
|
|
14
|
+
import { a as workspaceConfigs, c as publicEntriesOf, d as FRONTMATTER, f as splitFrontmatter, g as deployEntries, h as bundledEntries$1, i as publishedWorkspaces, l as modDirectories, m as workspaceLinks, o as entryNameOf, r as packedWorkspaces, s as isBinEntry, u as INDEX_SKILL, v as shadcnUiOf } from "./published-BdMq0wXq.mjs";
|
|
15
15
|
import { parse, resolveConfigFromFile } from "vite-plus";
|
|
16
16
|
import { i as USAGE_SPOOL, n as DECISION_TIMEOUT_MS, r as JAPANESE, t as DECISION_MODEL } from "./config-B3SYjao5.mjs";
|
|
17
|
-
import { _ as existsAt, a as builtTextRuleNames, b as patternOf$1, c as GIT_HOOKS, d as meteredCommand, f as MDLCT_BIN, g as fu4Of, h as SUBJECT_SCRIPT, i as TEXT_IGNORES, l as MSCH_TASK_COMMANDS, m as COMMIT_LINT, n as STAGED$1, o as secretsOf, s as CI_TASKS, t as FORMAT, u as MSCH_VERIFY_COMMANDS, v as isIgnored, y as namedWorkspaces } from "./repository-config-
|
|
17
|
+
import { _ as existsAt, a as builtTextRuleNames, b as patternOf$1, c as GIT_HOOKS, d as meteredCommand, f as MDLCT_BIN, g as fu4Of, h as SUBJECT_SCRIPT, i as TEXT_IGNORES, l as MSCH_TASK_COMMANDS, m as COMMIT_LINT, n as STAGED$1, o as secretsOf, s as CI_TASKS, t as FORMAT, u as MSCH_VERIFY_COMMANDS, v as isIgnored, y as namedWorkspaces } from "./repository-config-Dq5OIwyx.mjs";
|
|
18
18
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
19
19
|
import treeSitter from "@vscode/tree-sitter-wasm";
|
|
20
20
|
import { t as startedOnce } from "./started-once-BN_hLlmU.mjs";
|
|
@@ -23,7 +23,7 @@ import { rolldown } from "rolldown";
|
|
|
23
23
|
import { stripVTControlCharacters } from "node:util";
|
|
24
24
|
import { builtinModules, isBuiltin as isBuiltin$1 } from "node:module";
|
|
25
25
|
import semver from "semver";
|
|
26
|
-
import { g as decisionTestRules, n as MARKDOWN_RULES, p as lint$3, t as MARKDOWN_IGNORES, x as exempt } from "./define-lint-preset-
|
|
26
|
+
import { g as decisionTestRules, n as MARKDOWN_RULES, p as lint$3, t as MARKDOWN_IGNORES, x as exempt } from "./define-lint-preset-PLWK5HYf.mjs";
|
|
27
27
|
import { NO_PATH, describeReference, diagnosticDetail, linksIn as linksIn$1, lint, markdownPathspecs, referenceOf as referenceOf$2, y8Section } from "@r_masseater/y8";
|
|
28
28
|
import { lint as lint$1, wismPathspecs, wismSection } from "@r_masseater/wism";
|
|
29
29
|
import { Parser, isPair, isScalar, parse as parse$1, parseDocument, visit as visit$1 } from "yaml";
|
|
@@ -49,7 +49,7 @@ import { Buffer } from "node:buffer";
|
|
|
49
49
|
import { createZstdDecompress } from "node:zlib";
|
|
50
50
|
// package.json
|
|
51
51
|
var name = "@r_masseater/msch";
|
|
52
|
-
var version = "0.129.
|
|
52
|
+
var version = "0.129.2";
|
|
53
53
|
var homepage = "https://github.com/masseater/ecosystems/tree/main/libs/msch#readme";
|
|
54
54
|
var repository = {
|
|
55
55
|
"type": "git",
|
|
@@ -1179,7 +1179,7 @@ const checkWorkspace = Effect.fn("checkWorkspace")(function* checkWorkspace(root
|
|
|
1179
1179
|
const files = yield* RepositoryFiles;
|
|
1180
1180
|
const manifest = yield* workspaceManifest(root);
|
|
1181
1181
|
const registry = pipe(manifest, Option.flatMap(registryOf));
|
|
1182
|
-
const guarded =
|
|
1182
|
+
const guarded = registry.pipe(Option.getOrElse(() => PUBLIC_REGISTRY), isRequired);
|
|
1183
1183
|
if (Option.isNone(manifest) || guarded) return [];
|
|
1184
1184
|
const file = files.join(root, WORKSPACE_FILE$6);
|
|
1185
1185
|
const read = yield* files.readFile(file);
|
|
@@ -2347,13 +2347,13 @@ var Matcher = class {
|
|
|
2347
2347
|
return show(this.#start);
|
|
2348
2348
|
}
|
|
2349
2349
|
};
|
|
2350
|
-
// ../../node_modules/.pnpm/minimatch@11.0.
|
|
2350
|
+
// ../../node_modules/.pnpm/minimatch@11.0.10/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
2351
2351
|
const MAX_PATTERN_LENGTH = 65536;
|
|
2352
2352
|
const assertValidPattern = (pattern) => {
|
|
2353
2353
|
if (typeof pattern !== "string") throw new TypeError("invalid pattern");
|
|
2354
2354
|
if (pattern.length > MAX_PATTERN_LENGTH) throw new TypeError("pattern is too long");
|
|
2355
2355
|
};
|
|
2356
|
-
// ../../node_modules/.pnpm/minimatch@11.0.
|
|
2356
|
+
// ../../node_modules/.pnpm/minimatch@11.0.10/node_modules/minimatch/dist/esm/escape.js
|
|
2357
2357
|
/**
|
|
2358
2358
|
* Escape all magic characters in a glob pattern.
|
|
2359
2359
|
*
|
|
@@ -2377,7 +2377,7 @@ const escape = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {})
|
|
|
2377
2377
|
if (c === "!") return (windowsPathsNoEscape ? "@(!)" : "\\!") + e.slice(1);
|
|
2378
2378
|
return e;
|
|
2379
2379
|
};
|
|
2380
|
-
// ../../node_modules/.pnpm/minimatch@11.0.
|
|
2380
|
+
// ../../node_modules/.pnpm/minimatch@11.0.10/node_modules/minimatch/dist/esm/unescape.js
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Un-escape a string that has been escaped with {@link escape}.
|
|
2383
2383
|
*
|
|
@@ -2405,7 +2405,7 @@ const unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}
|
|
|
2405
2405
|
if (magicalBraces) return windowsPathsNoEscape ? s.replace(/\[([^/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\])\]/g, "$1$2").replace(/\\([^/])/g, "$1");
|
|
2406
2406
|
return windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
|
|
2407
2407
|
};
|
|
2408
|
-
// ../../node_modules/.pnpm/minimatch@11.0.
|
|
2408
|
+
// ../../node_modules/.pnpm/minimatch@11.0.10/node_modules/minimatch/dist/esm/index.js
|
|
2409
2409
|
const DEFAULT_BRACE_EXPAND_MAX = 1e5;
|
|
2410
2410
|
const DEFAULT_GLOB_STAR_RECURSION_MAX = 200;
|
|
2411
2411
|
const AWE_KEY = "allowWindowsEscape";
|
|
@@ -2487,12 +2487,14 @@ const optionsKey = (o) => {
|
|
|
2487
2487
|
return wpe ? n + 12 : n;
|
|
2488
2488
|
};
|
|
2489
2489
|
const copyOptions = (o) => {
|
|
2490
|
-
const copy =
|
|
2490
|
+
const copy = Object.create(null);
|
|
2491
2491
|
for (const k in o) copy[k] = o[k];
|
|
2492
2492
|
return copy;
|
|
2493
2493
|
};
|
|
2494
|
+
const noOptions = {};
|
|
2494
2495
|
const cachedMinimatch = (pattern, options) => {
|
|
2495
|
-
|
|
2496
|
+
options ||= noOptions;
|
|
2497
|
+
const key = optionsKey(options);
|
|
2496
2498
|
let mm = cache.get(key)?.get(pattern);
|
|
2497
2499
|
if (mm) return mm;
|
|
2498
2500
|
mm = oldCache.get(key)?.get(pattern) ?? new Minimatch(pattern, copyOptions(options));
|
|
@@ -2511,7 +2513,6 @@ const cachedMinimatch = (pattern, options) => {
|
|
|
2511
2513
|
cacheTotalWeight += weight;
|
|
2512
2514
|
return mm;
|
|
2513
2515
|
};
|
|
2514
|
-
/* c8 ignore start */
|
|
2515
2516
|
const defaultPlatform = typeof process === "object" && process ? process.env?.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
|
|
2516
2517
|
const path = {
|
|
2517
2518
|
win32: { sep: "\\" },
|
|
@@ -3327,16 +3328,13 @@ var Minimatch = class {
|
|
|
3327
3328
|
for (fi = fileIndex, pi = patternIndex, fl = Math.min(fileEnd, file.length), pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
3328
3329
|
let p = pattern[pi];
|
|
3329
3330
|
let f = file[fi];
|
|
3330
|
-
/* c8 ignore start */
|
|
3331
3331
|
if (p === false || p === GLOBSTAR) return false;
|
|
3332
|
-
/* c8 ignore stop */
|
|
3333
3332
|
if (!portionMatch(p, f)) return false;
|
|
3334
3333
|
}
|
|
3335
3334
|
if (fi === fl && pi === pl) return true;
|
|
3336
3335
|
else if (fi === fl) return partial;
|
|
3337
3336
|
else if (pi === pl) return fi === fl - 1 && file[fi] === "";
|
|
3338
3337
|
else throw new Error("wtf?");
|
|
3339
|
-
/* c8 ignore stop */
|
|
3340
3338
|
}
|
|
3341
3339
|
braceExpand() {
|
|
3342
3340
|
return braceExpand(this.pattern, this.options);
|
|
@@ -3429,7 +3427,6 @@ var Minimatch = class {
|
|
|
3429
3427
|
return minimatch.defaults(def).Minimatch;
|
|
3430
3428
|
}
|
|
3431
3429
|
};
|
|
3432
|
-
/* c8 ignore stop */
|
|
3433
3430
|
minimatch.Minimatch = Minimatch;
|
|
3434
3431
|
minimatch.escape = escape;
|
|
3435
3432
|
minimatch.unescape = unescape;
|
|
@@ -4024,10 +4021,10 @@ const ownNames = (plugins, names) => {
|
|
|
4024
4021
|
const ownName = Predicate$1.not(isPluginName(plugins));
|
|
4025
4022
|
return pipe(names, Array$1.filter(ownName));
|
|
4026
4023
|
};
|
|
4027
|
-
const patternFor = (plugins) => ({ directory, names }) =>
|
|
4024
|
+
const patternFor = (plugins) => ({ directory, names }) => Array$1.findFirst(plugins.directories, (plugin) => plugin === directory).pipe(Option.match({
|
|
4028
4025
|
onNone: () => ownNames(plugins, names),
|
|
4029
4026
|
onSome: () => [directory]
|
|
4030
|
-
}));
|
|
4027
|
+
}), patternOf$1);
|
|
4031
4028
|
const problemsIn$21 = (file, source, plugins) => (workspace) => {
|
|
4032
4029
|
const message = messageFor$5(workspace.directory);
|
|
4033
4030
|
const at = positionOf(source);
|
|
@@ -12879,10 +12876,10 @@ const rustSources = Effect.fn("rustSources")(function* rustSources(root) {
|
|
|
12879
12876
|
const files = yield* RepositoryFiles;
|
|
12880
12877
|
const listed = yield* files.matchingFiles(root, EXCLUDED$6);
|
|
12881
12878
|
const owner = crateOf(crateDirectories(listed));
|
|
12882
|
-
return pipe(listed, Array$1.filter((name) => RUST_FILE.test(name)), Array$1.flatMap((name) =>
|
|
12879
|
+
return pipe(listed, Array$1.filter((name) => RUST_FILE.test(name)), Array$1.flatMap((name) => owner(name).pipe(Option.map((owned) => ({
|
|
12883
12880
|
...owned,
|
|
12884
12881
|
file: files.join(root, name)
|
|
12885
|
-
})))));
|
|
12882
|
+
})), Option.toArray)));
|
|
12886
12883
|
});
|
|
12887
12884
|
/** @internal */
|
|
12888
12885
|
const checkRustModules = Effect.fn("checkRustModules")(function* checkRustModules(root) {
|
|
@@ -13816,7 +13813,7 @@ const measure = Effect.fn("measure")(function* measure({ workspace, provided },
|
|
|
13816
13813
|
const everything = pipe(closures, Array$1.flatMap(([, packages]) => Array$1.fromIterable(packages)), HashSet.fromIterable);
|
|
13817
13814
|
const measured = yield* Effect.forEach(everything, (found) => installedSize(found).pipe(Effect.map((size) => [found, size])), { concurrency: SIZE_CONCURRENCY });
|
|
13818
13815
|
const sizes = HashMap.fromIterable(measured);
|
|
13819
|
-
const sizeOf = (packages) => packages.pipe(Array$1.fromIterable, Array$1.map((found) =>
|
|
13816
|
+
const sizeOf = (packages) => packages.pipe(Array$1.fromIterable, Array$1.map((found) => sizes.pipe(HashMap.get(found), Option.getOrElse(() => START$29))), Number$1.sumAll);
|
|
13820
13817
|
return {
|
|
13821
13818
|
closures,
|
|
13822
13819
|
sizeOf,
|
|
@@ -14063,8 +14060,7 @@ const modsOf = Effect.fn("modsOf")(function* modsOf(root, plugin) {
|
|
|
14063
14060
|
});
|
|
14064
14061
|
const wantedIn$1 = Effect.fn("wantedIn")(function* wantedIn(mod, file) {
|
|
14065
14062
|
const files = yield* RepositoryFiles;
|
|
14066
|
-
const
|
|
14067
|
-
const declarations = importedNames$1(Option.getOrElse(source, () => EMPTY$3));
|
|
14063
|
+
const declarations = (yield* files.readFile(file)).pipe(Option.getOrElse(() => EMPTY$3), importedNames$1);
|
|
14068
14064
|
const directory = files.dirname(file);
|
|
14069
14065
|
const packagesOf = (specifier) => vendorPackageOf(mod.vendor, files.join(directory, specifier));
|
|
14070
14066
|
return pipe(declarations, Array$1.filter(({ specifier }) => RELATIVE$1.test(specifier)), Array$1.flatMap(({ specifier, names }) => pipe(packagesOf(specifier), Array$1.map((name) => [name, names]))));
|
|
@@ -16364,11 +16360,11 @@ const CONFIG_FILE$4 = "vite.config.ts";
|
|
|
16364
16360
|
const FIRST$10 = 1;
|
|
16365
16361
|
const ONE$1 = 1;
|
|
16366
16362
|
const diagnostics = Metric.counter("lint.diagnostics", { description: "Diagnostics that each lint rule reported, before msch keeps only the errors" });
|
|
16367
|
-
const countDiagnostics = (check, found) => Effect.forEach(found, (diagnostic) =>
|
|
16363
|
+
const countDiagnostics = (check, found) => Effect.forEach(found, (diagnostic) => diagnostics.pipe(Metric.withAttributes({
|
|
16368
16364
|
"lint.check": check,
|
|
16369
16365
|
"lint.rule": diagnostic.rule,
|
|
16370
16366
|
"lint.severity": diagnostic.severity
|
|
16371
|
-
}), ONE$1), {
|
|
16367
|
+
}), Metric.update(ONE$1)), {
|
|
16372
16368
|
concurrency: 1,
|
|
16373
16369
|
discard: true
|
|
16374
16370
|
});
|
|
@@ -16983,7 +16979,7 @@ const syntaxComments = (grammars, grammar) => (source) => Option.match(grammars(
|
|
|
16983
16979
|
const SCRIPT_TYPE = /^(?:|module|text\/javascript|application\/javascript)$/iu;
|
|
16984
16980
|
const SHADER_TYPE = /shader|glsl/iu;
|
|
16985
16981
|
const scriptGrammar = (attribs) => {
|
|
16986
|
-
const type =
|
|
16982
|
+
const type = Record.get(attribs, "type").pipe(Option.getOrElse(() => ""), String$1.trim);
|
|
16987
16983
|
if (Record.get(attribs, "lang").pipe(Option.contains("ts"))) return Option.some("typescript");
|
|
16988
16984
|
if (SHADER_TYPE.test(type)) return Option.some("cpp");
|
|
16989
16985
|
return Option.liftPredicate("javascript", () => SCRIPT_TYPE.test(type));
|
|
@@ -18411,7 +18407,7 @@ var PackConfigUnreadable = class extends taggedError$5()("PackConfigUnreadable",
|
|
|
18411
18407
|
const runsStrictPublint = (config) => pipe(decodePackConfig(config), Option.flatMap(({ pack }) => Option.fromUndefinedOr(pack)), Option.map((pack) => Array$1.ensure(pack)), Option.exists(Array$1.some(isStrict)));
|
|
18412
18408
|
const problemFor = (file, source) => ({
|
|
18413
18409
|
file,
|
|
18414
|
-
...
|
|
18410
|
+
...String$1.indexOf(PACK_KEY)(source).pipe(Option.getOrElse(() => START$10), positionOf(source)),
|
|
18415
18411
|
rule: RULE$17,
|
|
18416
18412
|
message: "This package is published, so its pack must run publint with `publint: { strict: true }`. Without it, publishConfig can point at files vp pack never writes, and the published package fails to import."
|
|
18417
18413
|
});
|
|
@@ -19123,8 +19119,7 @@ const ownerOnlyMessages = (skill, qualified) => pipe(Option.liftPredicate(skill,
|
|
|
19123
19119
|
const ownerProblems = (skill, qualified) => pipe([prefixMessage(skill), ...ownerOnlyMessages(skill, qualified)], Array$1.getSomes, Array$1.map((message) => problem$2(skill.file, message)));
|
|
19124
19120
|
const hubProblems = (hub, names) => pipe(groupsOf(NAMED_IN_BACKTICKS, hub.source), Array$1.filter((name) => !names.has(name)), Array$1.map((name) => problem$2(hub.file, `names ${name}, which is not a skill.`)));
|
|
19125
19121
|
const documentProblems = Effect.fn("documentProblems")(function* documentProblems({ file, hub }, skill, others) {
|
|
19126
|
-
const
|
|
19127
|
-
const body = String$1.replace(FRONTMATTER, "")(Option.getOrElse(text, () => ""));
|
|
19122
|
+
const body = (yield* (yield* RepositoryFiles).readFile(file)).pipe(Option.getOrElse(() => ""), String$1.replace(FRONTMATTER, ""));
|
|
19128
19123
|
return pipe(others, Array$1.filter((other) => other.name !== skill.name && namesSkill(other.name)(body)), Array$1.map((other) => problem$2(file, `names ${other.name}. Only ${hub.name} names other skills; point to it from the hub instead.`)));
|
|
19129
19124
|
});
|
|
19130
19125
|
const spokeProblems = Effect.fn("spokeProblems")(function* spokeProblems(hub, skill, others) {
|
|
@@ -23038,11 +23033,11 @@ const githubOutcome = Effect.fn("githubOutcome")(function* githubOutcome(referen
|
|
|
23038
23033
|
token
|
|
23039
23034
|
});
|
|
23040
23035
|
const missing = `${reference.owner}/${reference.repo} does not exist, or the token in GH_TOKEN cannot read it.`;
|
|
23041
|
-
return yield* answered$1(lookup, missing, (response) =>
|
|
23036
|
+
return yield* answered$1(lookup, missing, (response) => response.pipe(HttpClientResponse.schemaBodyJson(Repository), Effect.flatMap((repository) => repositoryContentsOutcome(reference, repository, token))));
|
|
23042
23037
|
});
|
|
23043
23038
|
const versionOf = ({ "dist-tags": tags }, requested) => Option.match(requested, {
|
|
23044
23039
|
onNone: () => Option.fromNullishOr(tags[LATEST]),
|
|
23045
|
-
onSome: (asked) => Option.
|
|
23040
|
+
onSome: (asked) => Option.fromNullishOr(tags[asked]).pipe(Option.getOrElse(() => asked), Option.some)
|
|
23046
23041
|
});
|
|
23047
23042
|
const versionOutcome = ({ name, version }, packument) => Option.match(versionOf(packument, version), {
|
|
23048
23043
|
onNone: () => broken(`${name} has no ${LATEST} tag.`),
|
|
@@ -23054,7 +23049,7 @@ const versionOutcome = ({ name, version }, packument) => Option.match(versionOf(
|
|
|
23054
23049
|
})
|
|
23055
23050
|
})
|
|
23056
23051
|
});
|
|
23057
|
-
const npmOutcome = (reference) => answered$1(abbreviatedLookup(reference.name), `${reference.name} is not published on npm.`, (response) =>
|
|
23052
|
+
const npmOutcome = (reference) => answered$1(abbreviatedLookup(reference.name), `${reference.name} is not published on npm.`, (response) => response.pipe(HttpClientResponse.schemaBodyJson(Packument$1), Effect.map((packument) => versionOutcome(reference, packument))));
|
|
23058
23053
|
/** @internal */
|
|
23059
23054
|
const resolveReference = (reference) => Match.value(reference).pipe(Match.discriminatorsExhaustive("kind")({
|
|
23060
23055
|
github: githubOutcome,
|
|
@@ -23538,7 +23533,7 @@ const checks = Effect.fn("checks")(function* checks(input) {
|
|
|
23538
23533
|
const msch = Command.make("msch", rootFlags, checks).pipe(Command.withDescription("Runs every check against the repository"), Command.withSubcommands(SUBCOMMANDS));
|
|
23539
23534
|
/** @internal */
|
|
23540
23535
|
const runMsch = () => {
|
|
23541
|
-
|
|
23536
|
+
msch.pipe(Command.run({ version }), runCli("msch"));
|
|
23542
23537
|
};
|
|
23543
23538
|
// bin/msch.ts
|
|
23544
23539
|
runMsch();
|