IF Commons GitHub

dialect

Written to: 3 requirements: 3 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-mise-dialect FR-001, 0002-mise-dialect FR-002, 0002-mise-dialect FR-003

The dialect of tools for mise: what it guarantees, how it writes an exact version and what its check answers, as data, and the call that makes the dialect from the commands of the packaging ontology. mise builds some tools from source (as it does for languages with a build plugin), so the dialect says it can build from source and is used only where the fleet approved source builds. Everything else (the command lines, the plan file, the program, the observation) is in @intellectual-frontiers/package-managers.

import { mise, TOOL_DIALECT } from "./dialect.ts";
TOOL_DIALECT.guarantees.pin; // "exact"

Source: commons/archon-dialect-mise/src/dialect.ts

Mutation score of this file: 85.2% (4 of 27 changes to its code were not noticed by a test).

4 of 5 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

DIALECT_IDconst
const DIALECT_ID: "mise"

The id of the dialect.

Imported by 4 tests of the run (4 passed, 0 failed): the library's results

SPECconst
const SPEC: ManagerSpec

The manager as the kit needs it: mise, which installs the tools of an account in the account's own folder at the versions it is told.

Imported by 4 tests of the run (4 passed, 0 failed): the library's results

TOOL_DIALECTconst
const TOOL_DIALECT: ToolDialect

The dialect as Toolchain reads it.

Imported by 4 tests of the run (4 passed, 0 failed): the library's results

misefunction
function mise(commands: CommandSource, options?: DialectOptions): Dialect

The dialect, made from the commands of the packaging ontology (the reader of supply-chain/commands, as a function); elevate is the program that raises the rights, where the manager needs them.

Imported by 4 tests of the run (4 passed, 0 failed): the library's results

observeRequirementsfunctionno test imports it
function observeRequirements(commands: CommandSource, requirements: readonly Requirement[], o?: { readonly run?: Run | undefined; }): Promise<ReadonlyMap<RequirementId, JsonValue>>

What Archon is given of what is installed: see the kit.

Titles, headings, exports, tables, columns and requirements. Esc closes.