Skip to content

v5.0.0-beta.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@sokra sokra released this 22 May 20:09

Features

  • generate and publish type declaration file for typescript
  • exports field support
    • add exportsFields option
    • add conditionNames option
  • self reference resolving when exports field is present

Bugfixes

  • module/ now correctly resolves to directory and not to module.js as file
  • fix lisence field in package.json

Performance

  • deduplicate duplicate entries in aliasFields, descriptionFiles, extensions, modules, mainFields and mainFiles

Internals

  • Options are normalized separatly
  • improve handling of scoped packages @scope/name

Contributing

  • add a lot of type information
  • Linting type information
  • Linting formating