Files
redsen-lean-harness/package.json
T
mozempkandCopilot 8330cf7900 ci: publish @redsentech/lean-harness to GitHub Packages
- Rename npm package scope @redsen -> @redsentech (GitHub Packages
  requires the scope to match the owning org/user login).
- Add publishConfig.registry pointing at npm.pkg.github.com.
- Add .github/workflows/publish.yml: on push of a vX.Y.Z tag (or manual
  dispatch), runs validate + test, checks the tag matches
  package.json's version, then npm publish using the auto-issued
  GITHUB_TOKEN (packages: write permission, no secret to manage).
- Update README/QUICKSTART lh-CLI install instructions for the private,
  org-scoped registry (.npmrc scope + auth token setup).
- Verified locally with npm publish --dry-run: 68 files, correct
  registry target, correct tarball contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-10 00:51:06 +02:00

40 lines
909 B
JSON

{
"name": "@redsentech/lean-harness",
"version": "0.1.0",
"description": "Imperative, token-lean, self-documenting agent harness for GitHub Copilot CLI and VS Code Copilot.",
"license": "MIT",
"author": "Redsen <https://github.com/redsentech>",
"repository": {
"type": "git",
"url": "git+https://github.com/redsentech/lean-harness.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"engines": {
"node": ">=20"
},
"bin": {
"lh": "./src/cli.mjs"
},
"files": [
"src",
"templates",
".github",
"plugin.json",
"marketplace.json",
"README.md",
"LICENSE"
],
"scripts": {
"validate": "node scripts/validate.mjs",
"test": "node --test tests/*.test.mjs",
"lh": "node src/cli.mjs",
"onboard": "node scripts/onboard.mjs"
},
"dependencies": {
"web-tree-sitter": "^0.25.10"
}
}