@openexam/resolver
v0.1.0
Published
Semver-resolving addon dependency resolver + lockfile + audit, per ADR-010.
Readme
@openexam/resolver
Semver-resolving addon dependency resolver + lockfile + audit, per ADR-010.
import { resolve, audit, workspaceRegistry } from '@openexam/resolver';
const lock = await resolve({
packageRoot: '/path/to/my-quiz',
registry: workspaceRegistry({ workspaceRoot: '/path/to/openexam-monorepo' }),
});
const report = audit(lock);The lockfile shape is defined by
../../spec/0.2/lockfile.schema.json.
M2 ships a workspace-backed AddonRegistry that reads
addons/*/openexam.json from a monorepo; remote registries
(tarball / Git / registry.openexam.org) plug in against the
same AddonRegistry interface and land in M4 per
ADR-007.
License
Apache-2.0. See LICENSE and the canonical ../../LICENSE at the repository root.
