Files
zeekayandHanzo Dev 9cfc3af66d the Go client for Hanzo Runtime
Generated from Runtime's OpenAPI document, and pure standard library — it
requires nothing else, so a caller pays only for this package.

It lives here rather than inside Runtime because a nested module is resolved
by the path it declares, and one declaring a path it does not sit at is
reachable by nobody: no proxy answers for it and no consumer can name it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-14 08:41:09 -07:00

38 lines
1.1 KiB
JSON

{
"name": "api-client-go",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/api-client-go",
"tags": [],
"targets": {
"test": {
"executor": "@nx-go/nx-go:test"
},
"build": {
"executor": "@nx-go/nx-go:build",
"options": {
"main": "./{projectRoot}",
"outputPath": "dist/libs/api-client-go"
}
},
"lint": {
"executor": "@nx-go/nx-go:lint"
},
"generate:api-client": {
"executor": "nx:run-commands",
"options": {
"command": "yarn run openapi-generator-cli generate --git-repo-id=apiclient --git-user-id=hanzoai -i dist/apps/api/openapi.json -g go --additional-properties=packageName=apiclient,moduleVersion=$DEFAULT_PACKAGE_VERSION,generateInterfaces=true,enumClassPrefix=true,structPrefix=true -o libs/api-client-go"
}
},
"tidy": {
"executor": "@nx-go/nx-go:tidy"
},
"format": {
"executor": "nx:run-commands",
"options": {
"command": "cd {projectRoot} && go fmt ./... && prettier --write \"**/*.yaml\""
}
}
}
}