@pre-cr/core
v0.1.0
Published
Core parsing and validation logic for Pre-CR Suite
Maintainers
Readme
@pre-cr/core
Core parsing, validation, review, doc generation, logging, and runner logic for Pre-CR Suite.
Install
pnpm add @pre-cr/core@pre-cr/core is the shared runtime library used by the server, editor clients, and headless gate. It is not a standalone command.
Project-level hook policy is parsed from .pre-cr.json and consumed by @pre-cr/server hook commands. Hook installation and execution live in the server package.
Public Beta Surface
The beta-stable surface is the changed-line coverage and setup-health pipeline, including shared .pre-cr.json hook policy types. Checklist, docs, review, context, and debug helpers remain available for in-repo use, but they are experimental until their contracts are hardened.
Scope
This README documents the core subproject inside pre-cr-suite-lsp/packages.
Repository Layout
.eslintrc.json- project file.package.json- JavaScript package metadata and scripts.src/- source code and package internals.tsconfig.json- project file.vitest.config.ts- project file.
Common Commands
pnpm build-tscpnpm typecheck-tsc --noEmitpnpm test-vitest runpnpm test:coverage-vitest run --coveragepnpm lint-eslint src --ext tspnpm clean-rm -rf dist coverage
Development Notes
Use pnpm from the containing workspace to install dependencies and run scripts.
Verification
Run the relevant test script listed above before changing behavior.
