Commit f6ab411
fix: add .js extension to import-lexer import in repo-patterns
Published 0.8.1 and 0.8.2 shipped a broken ESM import in
dist/repo-patterns.js (`from "./import-lexer"` without .js).
Node strict ESM resolution rejects the extensionless path,
crashing any consumer that imports repo-patterns at runtime.
Webpack/Turbopack tolerated it on the host, masking the bug,
but it broke the API server in Docker.
Add .js to the source so future builds (and any future drift
in fix-esm-imports.mjs) stay correct.
Bumps governance-sdk to 0.8.3.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e599df8 commit f6ab411
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments