Commit 033d334
committed
ci(astro): smoke-test via static grep (vanilla Node can't import .astro re-export)
v0.1.2 re-exports <Image> from dist/index.js using 'export { default as Image } from "./Image.astro"'. Node has no loader for .astro, so vanilla 'node import("./dist/index.js")' fails with 'Unknown file extension'. That's expected — only Astro/Vite consumers can evaluate this module. Smoke test switches to static grep over the tarball contents, which catches packaging regressions (wrong main path, missing export, broken re-export specifier) without requiring an Astro build runner.1 parent 82c97f5 commit 033d334
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
161 | 174 | | |
162 | 175 | | |
163 | 176 | | |
| |||
0 commit comments