When no token is found via --token/env/gh CLI, the script now opens github.com/settings/tokens/new pre-scoped to read:packages with clear instructions on Note/Expiration/Scopes, falling back to printing the URL when a browser can't be launched (SSH, containers, CI). Add --no-open to skip the launch attempt outright. Also document the flow in README (new 'Generating a GitHub token' section) and QUICKSTART troubleshooting, and add a hermetic test covering the --no-open + piped-token path.
37 lines
902 B
JSON
37 lines
902 B
JSON
{
|
|
"name": "@redsentech/lean-harness",
|
|
"version": "0.1.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "@redsentech/lean-harness",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"web-tree-sitter": "^0.25.10"
|
|
},
|
|
"bin": {
|
|
"lh": "src/cli.mjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
},
|
|
"node_modules/web-tree-sitter": {
|
|
"version": "0.25.10",
|
|
"resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.25.10.tgz",
|
|
"integrity": "sha512-Y09sF44/13XvgVKgO2cNDw5rGk6s26MgoZPXLESvMXeefBf7i6/73eFurre0IsTW6E14Y0ArIzhUMmjoc7xyzA==",
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"@types/emscripten": "^1.40.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/emscripten": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|