v5.0.0-alpha.3
vitest doesn't apply tsup's `define`, so a bare `__PKG_VERSION__` reference threw ReferenceError when a test imported the package barrel. Guard with `typeof` so it falls back to '0.0.0-dev' in tests while tsup still inlines the real version into the build.