Skip to content

Commit 51626a6

Browse files
fix: regenerate opencode-config-bun.lock to remove stale typescript entry
1 parent 044ef82 commit 51626a6

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.lore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* **Hono middleware registration order: /healthz bypasses app.use('\*') registered after it**: Hono middleware order matters: middleware only applies to routes registered after it. If \`/healthz\` is defined before \`app.use('\*', ...)\`, it bypasses global middleware like CORS. Fix: register \`app.use('\*', cors({...}))\` as the very first call on the app, before any routes or \`app.onError\`. Also ensure CORS is not scoped only to \`/api/\*\` if endpoints like \`/healthz\` must be browser-accessible, and include required methods (e.g. POST) for webhook preflight.
5353

5454
<!-- lore:019e1434-aad7-7b0f-b957-3ced873e8384 -->
55-
* **opencode-config-bun.lock must be regenerated via temp install**: \`opencode-config-bun.lock\` must be regenerated via an isolated temp install using only \`opencode-config-package.json\`. With npm-based deps (no \`file:\`), do NOT copy \`packages/opentower/package.json\`—that was only required for \`file:\` resolution. CI uses \`bun install --frozen-lockfile\`, so any mismatch fails; always follow the CI script to regenerate.
55+
* **opencode-config-bun.lock must be regenerated via temp install**: \`opencode-config-bun.lock\` is fragile in rebases/merges and often conflicts. Do not manually merge versions—regenerate it via the isolated temp install using only \`opencode-config-package.json\`. CI enforces \`bun install --frozen-lockfile\`, so any manual merge risks subtle mismatches and failures.
5656

5757
### Pattern
5858

opencode-config-bun.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,6 @@
402402

403403
"type-fest": ["type-fest@0.13.1", "", {}, "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg=="],
404404

405-
"typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
406-
407405
"undici-types": ["undici-types@7.21.0", "", {}, "sha512-w9IMgQrz4O0YN1LtB7K5P63vhlIOvC7opSmouCJ+ZywlPAlO9gIkJ+otk6LvGpAs2wg4econaCz3TvQ9xPoyuQ=="],
408406

409407
"unified": ["unified@11.0.5", "", { "dependencies": { "@types/unist": "^3.0.0", "bail": "^2.0.0", "devlop": "^1.0.0", "extend": "^3.0.0", "is-plain-obj": "^4.0.0", "trough": "^2.0.0", "vfile": "^6.0.0" } }, "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA=="],

0 commit comments

Comments
 (0)