Skip to content

v0.31.0-alpha.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 18 Jan 20:53
· 10 commits to master since this release

Overview

This pre-release in the v0.31.0 fixes a bug with Rollup bundling and fixes some bugs and makes some enhancements for import map generation.

You can find the top-level tracking issue for this release here and if you have any questions, please feel free to reach out in Discord in the Greenwood #general channel.

To test the alpha, either manually bump all the versions in your package.json or you can use your package manager to upgrade each of your Greenwood dependencies to the alpha line (either way, all Greenwood dependencies need to be one the same version).

# npm
$ npm i @greenwood/cli@alpha

# Yarn 1.x (classic)
$ yarn upgrade @greenwood/cli@alpha

# pnpm
$ pnpm i @greenwood/cli@alpha

Changelog

https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.31.0+label%3Aalpha.5

  1. import map generation not finding package.json for some libraries like tslib (when recursively segmenting entry point)
  2. rollup bundling failing trying to resolve directories
  3. log when API routes are being bundled
  4. import map generation cache and dedupe optimizations

Breaking Changes

N / A

Known Issues

  1. In some cases Rollup bundling may fail on invalid URL

Diff

v0.31.0-alpha.4...v0.31.0-alpha.5