Skip to content

v0.29.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@thescientist13 thescientist13 released this 23 Jul 19:11
· 385 commits to master since this release

Overview

This release in the v0.29.0 release line introduces support for an adapter plugin API that can run code at the end of a Greenwood build to facilitate (in future PRs) the ability to deploy Greenwood to Serverless and Edge environments like Netlify and Vercel.

In development docs here, full release blog will come out with the final 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.29.0+label%3Aalpha.1

  1. Adapter Plugin API

Breaking Changes

N / A

Known Issues

N / A

Diff

Diff looks big because repo was formatted post v0.28.4 release - #1119

$ git diff v0.29.0-alpha.0 v0.29.0-alpha.1 --stat | grep -v "www"
 .gitignore                                         |   3 +-
 lerna.json                                         |   2 +-
 packages/cli/package.json                          |   2 +-
 packages/cli/src/commands/build.js                 |   7 ++
 packages/cli/src/config/rollup.config.js           |   1 -
 packages/cli/src/lifecycles/bundle.js              |   4 -
 packages/cli/src/lifecycles/config.js              |   2 +-
 .../build.config.plugins-adapter.spec.js           | 117 +++++++++++++++++++++
 .../cases/build.plugins.adapter/generic-adapter.js |  60 +++++++++++
 .../build.plugins.adapter/greenwood.config.js      |   7 ++
 .../build.plugins.adapter/src/api/greeting.js      |  12 +++
 .../build.plugins.adapter/src/components/card.js   |  22 ++++
 .../cases/build.plugins.adapter/src/pages/index.js |  24 +++++
 .../build.plugins.error-type.spec.js               |   2 +-
 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-import-jsx/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 +-
 38 files changed, 399 insertions(+), 46 deletions(-)