Note for all Flow users: all projects in adeira/universe
now use implicit exact Flow types ({}
for strict objects and { ... }
for open objects, syntax {||}
is deprecated). We do not expect any issues as long as you are using exact_by_default=true
Flow option.
- Support for non-standard
"module"
top field inpackage.json
has been removed. The plan is to replace it with more standardized packages approach without our custom quirks.
- Support for Node.js 12 has been removed. This package might continue working on older Node.js versions, however, it's highly recommended upgrading to Node.js version 14 or newer. For more details, see: https://nodejs.org/en/about/releases/, or discuss here: adeira/universe#1588
- Upgrade
@adeira/babel-preset-adeira
to 2.0.0. - Breaking Change: Add reactRuntime option. You can set it to
automatic
to use the new JSX transform, or set it toclassic
to use the classical version. Note thatautomatic
is the default. - Improved NPM API error handling
- Updated dependencies
- Set root mode to upwards to apply consumer projects babel config
- Fixed simultaneous publishing of CJS and MJS files. MJS projects are now exported with correct
main
field inpackage.json
.
- All JS files are now distributed in 3 variants: transpiled JS code, Flow versions and MJS versions supporting ES6 imports.
- Breaking: NPM publisher now accepts explicit
Set
of workspace names to publish. We changed it so you don't publish a package from your monorepo by accident - it's necessary to be explicit.
- Internal dependencies upgraded and
@adeira/babel-preset-adeira
bumped to version 3.0.0 which now supports dynamicimport()
syntax.