@snappedly-tools/shipyard 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -140,6 +140,9 @@ authentication does not work in your environment, use the API-key fallback:
|
|
|
140
140
|
host and put the result in `CLAUDE_CODE_OAUTH_TOKEN` in `.shipyard/.env`.
|
|
141
141
|
- Claude Code API authentication: uncomment `ANTHROPIC_API_KEY` in
|
|
142
142
|
`.shipyard/.env` and put your API key there.
|
|
143
|
+
- GitHub Issues authentication: set `GH_TOKEN` in `.shipyard/.env`. To use the
|
|
144
|
+
token from a host-side `gh auth login` without storing it in the file, leave
|
|
145
|
+
`GH_TOKEN=` blank and run `GH_TOKEN="$(gh auth token)" npx shipyard run`.
|
|
143
146
|
|
|
144
147
|
## Generated files
|
|
145
148
|
|
package/dist/index.js
CHANGED
|
@@ -701,8 +701,8 @@ var resolveEnv = (repoDir) => Effect.gen(function* () {
|
|
|
701
701
|
const shipyardEnv = yield* parseEnvFile(envPath);
|
|
702
702
|
const result3 = {};
|
|
703
703
|
for (const key of Object.keys(shipyardEnv)) {
|
|
704
|
-
const value = shipyardEnv[key]
|
|
705
|
-
if (value
|
|
704
|
+
const value = shipyardEnv[key] || process.env[key];
|
|
705
|
+
if (value) {
|
|
706
706
|
result3[key] = value;
|
|
707
707
|
}
|
|
708
708
|
}
|