@lzear/forge
v6.2.0
Published
Umbrella package for all lzear dev tooling
Downloads
864
Maintainers
Readme
@lzear/forge
One dev dependency for all forge tooling, plus the forge CLI. Node ≥ 24.
yarn add -D @lzear/forgeCLI
check and update take --json.
forge init [--lib|--app] [--bun|--yarn] [--dry]— scaffold a forge repo (React configs whenreactis a dependency), writing only missing files (Adopt), workflows pinned to this version's release; prints the steps left, then runsforge check --skip-remoteonce the dev deps are installed.forge check [--skip-remote] [--only <ids>] [--skip <ids>] [--fix] [--strict]— audit the repo against forge standards (checks, skipping); exits 1 on a gate failure, while drift (new releases, advisories) warns,--strictfailing on it too;--fixrepairs what it can (fixes), then checks again; a coding agent sees failures and drift only.forge update [--dry] [--no-install] [--only <ids>] [--skip <ids>]— bump dependency ranges (deps: ncu, versions ≥ 3 days old except own packages, honors.ncurc, skips workspaces that are git submodules),package-manager,node-version(.nvmrc/.node-version),bun-version,actions(workflow and actionuses:pins: a SHA moves to the newest release's commit, a tag keeps its precision,v4→v5; third-party releases ≥ 3 days old, dated by GitHub's API,GH_TOKENraising its rate limit) andlicense-year, theninstalland dedupe;--only/--skippick steps by id.forge sync [--dry] [--check]— write.editorconfig,lefthook.ymland.github/zizmor.ymlfrom the templates bundled with this version, and update.codacy.ymlwhere it exists;--checkexits 1 on drift.
Optional Codacy coverage upload: gh secret set CODACY_PROJECT_TOKEN (-R owner/name when origin points elsewhere).
Re-exports
@lzear/forge/eslint→@lzear/eslint-config(npm only)@lzear/forge/{tsconfig/*,tsdown,vite,vitest,vitest/react,commitlint,commitlint/emoji}→@lzear/configs@lzear/forge/repo-lint→@lzear/repo-lint
