Files
gitea-axi/package.json
alexion ccc8dbe998
All checks were successful
CI / test (22) (pull_request) Successful in 1m8s
CI / test (true, 24) (pull_request) Successful in 1m12s
CI / test (22) (push) Successful in 47s
CI / test (true, 24) (push) Successful in 1m4s
ci: matrix over Node 22 and 24, add the bench and packaging tiers (task 0040)
The workflow pinned Node 20, which reached end-of-life in April 2026, while
the manifest promised support down to it — so the entire claimed range below
the single tested version went unverified and its floor was unsupported.

Matrix over the two supported long-term-support majors and narrow the engine
range to `^22 || ^24`, naming exactly what is tested. Narrowing is free now
because nothing has been published and no tags exist.

The benchmark harness tier joins every leg: it is deterministic and needs no
network, and its non-default runner configuration made it easy to believe it
was running when it was not. The end-to-end and packaging tiers run on the
highest leg only, conditioned on a flag attached to that leg through a matrix
`include` entry rather than on a version number restated at each site. The
benchmark smoke tier stays out, since it would pass by skipping.

`@types/node` follows the new floor; it was the last Node 20 reference in the
manifest, and the typecheck runs on every leg.
2026-07-19 23:45:55 -04:00

65 lines
1.8 KiB
JSON

{
"name": "gitea-axi",
"version": "0.1.0",
"description": "Agent-ergonomic CLI for Gitea issues and pull requests",
"type": "module",
"license": "MIT",
"engines": {
"node": "^22 || ^24"
},
"bin": {
"gitea-axi": "dist/main.js"
},
"repository": {
"type": "git",
"url": "git+https://git.alexion.dev/alexion/gitea-axi.git"
},
"homepage": "https://git.alexion.dev/alexion/gitea-axi",
"bugs": {
"url": "https://git.alexion.dev/alexion/gitea-axi/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"skills"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepack": "npm run build",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:pack": "vitest run --config vitest.packaging.config.ts",
"test:installed": "vitest run --config vitest.packaging.config.ts --passWithNoTests=false test/packaging/installed-binary.test.ts",
"test:bench": "vitest run --config vitest.bench.config.ts",
"test:bench:smoke": "vitest run --config vitest.bench-smoke.config.ts",
"bench:run": "tsx bench/run.ts",
"bench:report": "tsx bench/report.ts"
},
"dependencies": {
"@toon-format/toon": "^2.3.0",
"axi-sdk-js": "^0.1.8",
"gitea-js": "^1.23.0"
},
"devDependencies": {
"@types/node": "^22.20.1",
"@vitest/coverage-v8": "^3.2.7",
"tsx": "^4.23.1",
"typescript": "^5.8.0",
"vitest": "^3.2.0"
},
"peerDependencies": {
"@anthropic-ai/claude-agent-sdk": ">=0.3.0"
},
"peerDependenciesMeta": {
"@anthropic-ai/claude-agent-sdk": {
"optional": true
}
}
}