Add the end-to-end test tier: a Gitea Actions workflow (GitHub-compatible) that runs the unit+integration tiers plus e2e tests against a pinned disposable Gitea service container. The e2e suite provisions its own repo, token, and seed data over HTTP and drives the real CLI seam, gated on GITEA_AXI_E2E_URL so the default suite stays dependency-free. A fixture-vs-live shape guard anchors the issue-list FieldDef paths against both the recorded fixture and the live response, failing on divergence.
35 lines
751 B
JSON
35 lines
751 B
JSON
{
|
|
"name": "gitea-axi",
|
|
"version": "0.1.0",
|
|
"description": "Agent-ergonomic CLI for Gitea issues and pull requests",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"bin": {
|
|
"gitea-axi": "dist/main.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"prepublishOnly": "npm run build",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "vitest run --config vitest.e2e.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@toon-format/toon": "^2.3.0",
|
|
"axi-sdk-js": "^0.1.8",
|
|
"gitea-js": "^1.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.2.0"
|
|
}
|
|
}
|