Skip to content

v0.19.0

Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 11 Nov 16:10
· 310 commits to master since this release

Overview

In addition to some bug fixes, this minor releases two cool new features to Greenwood:

  • A new init package for scaffolding out a new Greenwood project! (Thanks @hutchgrant 馃檶 )
  • An plugin for getting more (static) HTML from your JavaScript. HTML Imports* are back!

Check out our v0.19.0 release blog post to learn more about these new features!

Given that Node v12 is in maintenance (LTS) mode, we recommend users to start migrating to Node v14.


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.19.0

  1. Init Command and Package
  2. Plugin: HTML Include
  3. incorrect <head> tag assembly for app and page templates when page content also includes head "like" tags
  4. inline optimization is leaving behind tracking markers for inline <script> tags

Breaking Changes

N / A

Known Issues

N / A

Diff

%  git diff v0.18.0 v0.19.0 --stat | grep -v "www/"
 .ls-lint.yml                                       |   3 +-
 .mocharc.js                                        |   2 +-
 greenwood.config.js                                |   4 +-
 lerna.json                                         |   2 +-
 packages/cli/package.json                          |   2 +-
 packages/cli/src/config/rollup.config.js           |   3 +-
 .../src/plugins/resource/plugin-standard-html.js   | 162 +++++++++++----------
 .../build.config-optimization-inline.spec.js       |   2 +-
 ...default.workspace-template-page-and-app.spec.js |  26 +++-
 .../src/templates/app.html                         |   4 +
 packages/init/README.md                            |  43 ++++++
 packages/init/package.json                         |  28 ++++
 packages/init/src/copy-folder.js                   |  43 ++++++
 packages/init/src/index.js                         | 150 +++++++++++++++++++
 packages/init/src/template/greenwood.config.js     |   3 +
 packages/init/src/template/package.json            |  14 ++
 packages/init/src/template/src/pages/index.md      |   1 +
 .../test/cases/build.default/build.default.spec.js |  64 ++++++++
 .../cases/develop.default/develop.default.spec.js  | 146 +++++++++++++++++++
 .../test/cases/init.default/init.default.spec.js   | 106 ++++++++++++++
 .../init/test/cases/init.yarn/init.yarn.spec.js    |  67 +++++++++
 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/README.md             | 157 ++++++++++++++++++++
 packages/plugin-include-html/package.json          |  28 ++++
 packages/plugin-include-html/src/index.js          |  59 ++++++++
 .../build.default.custom-element.spec.js           |  81 +++++++++++
 .../greenwood.config.js                            |   7 +
 .../build.default-custom-element/package.json      |   3 +
 .../src/components/footer.js                       |  20 +++
 .../src/pages/index.html                           |   8 +
 .../build.default.link-tag.spec.js                 |  81 +++++++++++
 .../build.default-link-tag/greenwood.config.js     |   7 +
 .../src/includes/header.html                       |   5 +
 .../build.default-link-tag/src/pages/index.html    |   8 +
 packages/plugin-polyfills/package.json             |   4 +-
 packages/plugin-postcss/package.json               |   4 +-
 packages/plugin-typescript/package.json            |   4 +-
 yarn.lock                                          |  13 ++
 55 files changed, 1514 insertions(+), 168 deletions(-)