Skip to content

v0.27.1

Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 09 Dec 03:22
· 241 commits to master since this release

Overview

This patch release addresses some bugs identified as part of the last release.

If using Yarn, you can can upgrade all your @greenwood packages at once

$ yarn upgrade --scope @greenwood --latest

Changelog

https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.27.1

  1. CSS minification not handling / relative paths to node_modules
  2. <style> tags in the <body> are not getting optimized
  3. nested directories breaking copy plugin

Breaking Changes

N / A

Known Issues

N / A

Diff

$ git diff v0.27.0 v0.27.1 --stat | grep -v "www"
 lerna.json                                         |  2 +-
 packages/cli/package.json                          |  2 +-
 packages/cli/src/lifecycles/copy.js                | 10 ++--
 packages/cli/src/lifecycles/prerender.js           |  2 +-
 .../src/plugins/resource/plugin-standard-css.js    | 13 ++--
 .../build.config-optimization-default.spec.js      | 28 ++++++++-
 .../src/pages/index.html                           | 11 +++-
 .../build.default.workspace-javascript-css.spec.js |  6 +-
 .../build.plugins.copy/build.plugins.copy.spec.js  | 70 ++++++++++++++++++++++
 .../cases/build.plugins.copy/greenwood.config.js   | 19 ++++++
 packages/init/package.json                         |  2 +-
 packages/plugin-babel/package.json                 |  4 +-
 packages/plugin-google-analytics/package.json      |  4 +-
 packages/plugin-graphql/package.json               |  4 +-
 packages/plugin-import-commonjs/package.json       |  4 +-
 packages/plugin-import-css/package.json            |  4 +-
 packages/plugin-import-json/package.json           |  4 +-
 packages/plugin-include-html/package.json          |  4 +-
 packages/plugin-polyfills/package.json             |  4 +-
 packages/plugin-postcss/package.json               |  4 +-
 packages/plugin-renderer-lit/package.json          |  4 +-
 packages/plugin-renderer-puppeteer/package.json    |  4 +-
 packages/plugin-typescript/package.json            |  4 +-
 26 files changed, 173 insertions(+), 46 deletions(-)