- Don't require
package.json
to exist forcrawlFrameworkPkgs
(#16)
- Allow Vite 6 peer dependency (remove beta support)
- Allow Vite 6 beta peer dependency (experimental support)
- Duplicate CJS types to correct ESM types export
- Fix ESM types export
The library is now v1! This release is mostly ceremonial as the API has been stable for a while without any plans to change it. As such, there are no breaking changes.
- Remove top-level await to allow future compatibility to
require
ESM code - Export proper ESM and CJS types
- Align
findDepPkgJsonPath
implementation with Vite - Allow Vite 5 peer dependency
- Fix
findDepPkgJsonPath
usage in Windows mapped network drives
- Allow Vite 4 peer dependency
findClosestPkgJsonPath
only returnspackage.json
file, not directory- Support
predicate
parameter forfindClosestPkgJsonPath
to filter paths
- Don't throw error if
package.json
not found in Deno
- BREAKING: Rename
pkgJsonNeedsOptimization
topkgNeedsOptimization
with new parameters and async for correctness - Prevent deep optimize packages with no exports and
index.js
file - Correctly respect Vite user config for
crawlFrameworkPkgs
- Export new utilities to respect Vite user config
- Fix Windows
package.json
import resolve - Remove
ssr.external
duplicates forcrawlFrameworkPkgs
Initial release