Releases: ProjectEvergreen/greenwood
v0.7.1
Overview
Fixed a bug where class names used by Greenwood default templates were conflicting with unified markdown plugins output.
Breaking Changes
Not a breaking change per se, but if you were styling based on generated class names like .content
and .page-template
, you will need to prefix them with gwd
instead.
// before
.page-template {
/* css */
}
// before
.gwd-page-template {
/* css */
}
Key Changes
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.7.1
Known Issues
- Multiple Similar Queries not working
- Components are over-rendering
- Better puppeteer / CI support and stability
Diff
$ git diff v0.7.0 v0.7.1 --stat
lerna.json | 2 +-
packages/cli/package.json | 2 +-
packages/cli/src/templates/page-template.js | 4 ++--
packages/plugin-google-analytics/package.json | 4 ++--
packages/plugin-polyfills/package.json | 4 ++--
www/package.json | 2 +-
www/pages/docs/layouts.md | 4 ++--
www/pages/getting-started/key-concepts.md | 4 ++--
www/styles/home.css | 2 +-
www/styles/page.css | 15 ++++++++++-----
www/styles/theme.css | 4 ++--
www/templates/app-template.js | 4 ++--
www/templates/home-template.js | 4 ++--
www/templates/page-template.js | 6 +++---
14 files changed, 33 insertions(+), 28 deletions(-)
v0.7.0
Overview
Opens up Greenwood's configuration to provide custom unified markdown plugins. Also added custom build configurations for being able to provide your own Babel, PostCSS, Browserslist, and Webpack configurations. Users can also now eject
Greenwoods configuration for full customization abilities.
Also fixed a bug with plugin-google-analytics immediately redirected and also broken documentation.
Breaking Changes
N / A
Key Changes
- Custom webpack configuration and eject
- Custom Babel, PostCSS and Browserslist configuration
- Custom unified markdown plugins
- Google Analytics Plugin outboundLink fix and docs update
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.7.0
Known Issues
- Multiple Similar Queries not working
- Components are over-rendering
- Better puppeteer / CI support and stability
Diff
$ git diff v0.6.0 v0.7.0 --stat
.browserslistrc | 3 +
README.md | 4 +-
greenwood.config.js | 10 ++-
lerna.json | 2 +-
packages/cli/package.json | 6 +-
packages/cli/src/config/webpack.config.common.js | 9 ++-
packages/cli/src/index.js | 28 ++++++-
packages/cli/src/lifecycles/config.js | 10 ++-
packages/cli/src/lifecycles/context.js | 27 ++++++-
packages/cli/src/tasks/build.js | 3 +-
packages/cli/src/tasks/develop.js | 3 +-
packages/cli/src/tasks/eject.js | 26 +++++++
packages/cli/test/cases/build.config.babel/babel.config.js | 20 +++++
packages/cli/test/cases/build.config.babel/build.config.babel.spec.js | 58 +++++++++++++++
packages/cli/test/cases/build.config.babel/src/pages/index.md | 3 +
.../cases/build.config.markdown-custom.plugins/build.config.markdown-custom.spec.js | 65 ++++++++++++++++
packages/cli/test/cases/build.config.markdown-custom.plugins/greenwood.config.js | 9 +++
.../build.config.markdown-custom.settings/build.config.markdown-custom.settings.spec.js | 56 ++++++++++++++
packages/cli/test/cases/build.config.markdown-custom.settings/greenwood.config.js | 5 ++
packages/cli/test/cases/build.config.markdown-custom.settings/src/pages/index.md | 13 ++++
packages/cli/test/cases/build.config.postcss/build.config.postcss.spec.js | 69 +++++++++++++++++
packages/cli/test/cases/build.config.postcss/postcss.config.js | 9 +++
packages/cli/test/cases/build.config.postcss/src/pages/hello.md | 11 +++
packages/cli/test/cases/build.config.postcss/src/pages/index.md | 3 +
packages/cli/test/cases/build.default.webpack/build.default.webpack.spec.js | 66 +++++++++++++++++
packages/cli/test/cases/build.default.webpack/webpack.config.common.js | 172 +++++++++++++++++++++++++++++++++++++++++++
packages/cli/test/cases/build.default.webpack/webpack.config.develop.js | 93 +++++++++++++++++++++++
packages/cli/test/cases/build.default.webpack/webpack.config.prod.js | 17 +++++
packages/cli/test/cases/eject.default/eject.default.spec.js | 147 ++++++++++++++++++++++++++++++++++++
packages/plugin-google-analytics/README.md | 2 +-
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-google-analytics/src/index.js | 3 +-
packages/plugin-google-analytics/test/cases/default/default.spec.js | 3 +-
packages/plugin-polyfills/package.json | 4 +-
postcss.config.js | 9 +++
test/test-bed.js | 3 +-
www/assets/link.png | Bin 0 -> 4777 bytes
www/components/header/header.js | 2 +-
www/components/scroll/scroll.js | 23 +++---
www/components/social-icons/social-icons.js | 6 +-
www/package.json | 7 +-
www/pages/docs/build.md | 65 ++++++++++++++++
www/pages/docs/configuration.md | 24 +++++-
www/pages/docs/css-and-images.md | 2 +-
www/pages/docs/data.md | 2 +-
www/pages/docs/front-matter.md | 2 +-
www/pages/docs/layouts.md | 6 +-
www/pages/docs/markdown.md | 7 +-
www/pages/docs/menus.md | 2 +-
www/pages/docs/tech-stack.md | 2 +-
www/pages/getting-started/branding.md | 1 +
www/pages/getting-started/creating-content.md | 1 +
www/pages/getting-started/index.md | 1 +
www/pages/getting-started/key-concepts.md | 3 +-
www/pages/getting-started/project-setup.md | 1 +
www/styles/page.css | 12 +++
yarn.lock | 70 ++++++++++++++++--
57 files changed, 1145 insertions(+), 69 deletions(-)
v0.6.0
Overview
Improves performance and bundling by code splitting by page route. Also improved markdown authoring (via wc-markdown-loader) experience by doing the following
- Removed the need to use
render
after fence blocks - HTML supported out of the box
Breaking Changes
- Remove
render
keyword from your fence blocks in your markdown - Escape
$
or ` in your markdown - If you are using a custom app-template.js, you can remove the line
import './list'
More info on supported syntax available at wc-markdown-loader repo.
Key Changes
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.6.0
Known Issues
- Dedupe content from JavaScript
- Components are over-rendering
- Better puppeteer / CI support and stability
Diff
$ git diff v0.5.1 v0.6.0 --stat
lerna.json | 2 +-
packages/cli/package.json | 4 +-
packages/cli/src/lifecycles/graph.js | 14 +-
packages/cli/src/lifecycles/scaffold.js | 28 +-
packages/cli/src/templates/app-template.js | 1 -
.../cli/test/cases/build.default.workspace-nested/src/pages/blog/2019/index.md | 2 +-
.../test/cases/build.default.workspace-template-app/src/templates/app-template.js | 1 -
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-polyfills/package.json | 4 +-
www/package.json | 2 +-
www/pages/about/how-it-works.md | 6 +-
www/pages/docs/component-model.md | 21 +-
www/pages/docs/configuration.md | 14 +-
www/pages/docs/css-and-images.md | 16 +-
www/pages/docs/data.md | 30 +-
www/pages/docs/front-matter.md | 16 +-
www/pages/docs/index.md | 6 +-
www/pages/docs/layouts.md | 15 +-
www/pages/docs/markdown.md | 22 +-
www/pages/docs/menus.md | 28 +-
www/pages/getting-started/branding.md | 12 +-
www/pages/getting-started/build-and-deploy.md | 2 +-
www/pages/getting-started/creating-content.md | 14 +-
www/pages/getting-started/index.md | 4 +-
www/pages/getting-started/key-concepts.md | 10 +-
www/pages/getting-started/next-steps.md | 2 +-
www/pages/getting-started/project-setup.md | 10 +-
www/pages/getting-started/quick-start.md | 2 +-
www/pages/guides/cloudflare-workers-deployment.md | 16 +-
www/pages/guides/firebase.md | 18 +-
www/pages/guides/netlify-cms.md | 29 +-
www/pages/guides/s3-cloudfront.md | 6 +-
www/pages/index.md | 6 -
www/pages/plugins/index-hooks.md | 13 +-
www/pages/plugins/index.md | 6 +-
www/pages/plugins/webpack.md | 4 +-
www/styles/page.css | 2 +
www/templates/app-template.js | 117 ++++++++
www/templates/home-template.js | 4 -
www/templates/page-template.js | 31 +-
yarn.lock | 624 ++++++++++++++++++++++++++++++++++++++-
41 files changed, 928 insertions(+), 240 deletions(-)
v0.5.1
Overview
Fixes a critical bug with oversized cache.json files as well as adding a number of new guides to the website.
Key Changes
Known Issues
- Dedupe content from JavaScript
- Components are over-rendering
- Better puppeteer / CI support and stability
Breaking Changes
None
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.5.1++
$ git diff v0.5.0 v0.5.1 --stat
lerna.json | 2 +-
packages/cli/package.json | 2 +-
packages/cli/src/data/cache.js | 10 +-
packages/cli/test/cases/build.data.graph/build.data.graph.spec.js | 40 +++++++-
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-polyfills/package.json | 4 +-
www/assets/netlify-admin.png | Bin 0 -> 18576 bytes
www/assets/netlify-cms.jpg | Bin 0 -> 34225 bytes
www/assets/netlify-create-new.png | Bin 0 -> 27472 bytes
www/assets/netlify-deploy.png | Bin 0 -> 54221 bytes
www/assets/netlify-git-gateway.png | Bin 0 -> 65434 bytes
www/assets/netlify-invite.png | Bin 0 -> 50337 bytes
www/assets/netlify-registration.png | Bin 0 -> 49861 bytes
www/assets/netlify-workflow.png | Bin 0 -> 24123 bytes
www/components/header/header.js | 3 +-
www/components/scroll/scroll.js | 20 ++--
www/components/shelf/shelf.css | 29 +++++-
www/components/shelf/shelf.js | 46 +++++----
www/package.json | 2 +-
www/pages/about/index.md | 1 +
www/pages/docs/index.md | 1 +
www/pages/getting-started/index.md | 1 +
www/pages/guides/cloudflare-workers-deployment.md | 118 +++++++++++++++++++++++
www/pages/guides/firebase.md | 112 ++++++++++++++++++++++
www/pages/guides/index.md | 14 +++
www/pages/guides/netlify-cms.md | 191 +++++++++++++++++++++++++++++++++++++
www/pages/guides/netlify-deploy.md | 28 ++++++
www/pages/guides/now.md | 39 ++++++++
www/pages/guides/s3-cloudfront.md | 105 ++++++++++++++++++++
www/pages/plugins/index.md | 1 +
www/templates/page-template.js | 3 +-
yarn.lock | 6 +-
32 files changed, 727 insertions(+), 55 deletions(-)
v0.5.0
Overview
Adds support for GraphQL to allow for content querying to create dynamically static pages, including <meta>
and <title>
tags.
Key Changes
- Build Time Data Access
- Deterministic Queries
- Configuration as data
<title>
from data<meta>
from data- Custom frontmatter as data
- Created a MenuQuery
Known Issues
- cache.json files are large and are being over
fetch
ed - Dedupe content from JavaScript
- Components are over-rendering
- Better puppeteer / CI support and stability
Breaking Changes
- In your page templates, you will need to remove all instances of
METAIMPORT
,METADATA
,METAELEMENT
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.5.0++
$ git diff v0.4.2 v0.5.0 --stat
.eslintignore | 3 +
.eslintrc | 201 ----
.eslintrc.js | 226 +++++
.github/CONTRIBUTING.md | 51 +-
.github/workflows/chromium-lib-install.sh | 10 +
.github/workflows/ci.yml | 4 +-
.github/workflows/master.yml | 4 +-
.mocharc.js | 6 +
lerna.json | 2 +-
nyc.config.js | 10 +-
package.json | 9 +-
packages/cli/package.json | 22 +-
packages/cli/src/config/babel.config.js | 7 +-
packages/cli/src/config/webpack.config.common.js | 16 +-
packages/cli/src/data/cache.js | 51 +
packages/cli/src/data/client.js | 37 +
packages/cli/src/data/queries/children.gql | 10 +
packages/cli/src/data/queries/config.gql | 19 +
packages/cli/src/data/queries/graph.gql | 10 +
packages/cli/src/data/queries/menu.gql | 20 +
packages/cli/src/data/schema/config.js | 45 +
packages/cli/src/data/schema/graph.js | 198 ++++
packages/cli/src/data/schema/schema.js | 50 +
packages/cli/src/data/server.js | 31 +
packages/cli/src/lib/browser.js | 26 +-
packages/cli/src/lifecycles/config.js | 2 +-
packages/cli/src/lifecycles/context.js | 2 -
packages/cli/src/lifecycles/graph.js | 71 +-
packages/cli/src/lifecycles/scaffold.js | 20 +-
packages/cli/src/lifecycles/serialize.js | 97 +-
packages/cli/src/plugins/meta.js | 71 --
packages/cli/src/tasks/develop.js | 5 +
packages/cli/src/templates/app-template.js | 85 +-
packages/cli/src/templates/index.html | 3 +-
packages/cli/src/templates/page-template.js | 3 -
packages/cli/test/cases/build.config.default/build.config.default.spec.js | 2 +-
.../test/cases/build.config.error-public-path/build.config.error-public-path.spec.js | 9 +-
.../test/cases/build.config.error-theme-file/build.config.error-theme-file.spec.js | 8 +-
packages/cli/test/cases/build.config.error-title/build.config.error-title.spec.js | 8 +-
.../build.config.error-workspace-absolute.spec.js | 8 +-
.../cli/test/cases/build.config.error-workspace/build.config.error-workspace.spec.js | 8 +-
packages/cli/test/cases/build.config.meta/build.config.meta.spec.js | 15 +-
packages/cli/test/cases/build.config.public-path/build.config.public-path.spec.js | 6 +-
packages/cli/test/cases/build.config.theme/build.config.theme.spec.js | 6 +-
packages/cli/test/cases/build.config.theme/src/templates/page-template.js | 3 -
packages/cli/test/cases/build.config.title/build.config.title.spec.js | 23 +-
.../test/cases/build.config.workspace-custom/build.config.workspace-custom.spec.js | 4 +-
.../build.data.graph-custom-frontmatter/build.data.graph-custom-frontmatter.spec.js | 109 ++
.../cli/test/cases/build.data.graph-custom-frontmatter/src/pages/blog/first-post.md | 10 +
.../cli/test/cases/build.data.graph-custom-frontmatter/src/pages/blog/second-post.md | 10 +
packages/cli/test/cases/build.data.graph-custom-frontmatter/src/pages/index.md | 7 +
.../cli/test/cases/build.data.graph-custom-frontmatter/src/templates/blog-template.js | 80 ++
packages/cli/test/cases/build.data.graph/build.data.graph.spec.js | 175 ++++
packages/cli/test/cases/build.data.graph/src/components/header.js | 57 ++
packages/cli/test/cases/build.data.graph/src/pages/blog/first-post.md | 10 +
packages/cli/test/cases/build.data.graph/src/pages/blog/second-post.md | 10 +
packages/cli/test/cases/build.data.graph/src/pages/index.md | 7 +
packages/cli/test/cases/build.data.graph/src/templates/blog-template.js | 66 ++
packages/cli/test/cases/build.data.graph/src/templates/page-template.js | 23 +
.../test/cases/build.default.workspace-assets/build.default.workspace-assets.spec.js | 2 +-
.../build.default.workspace-getting-started.spec.js | 4 +-
.../test/cases/build.default.workspace-getting-started/src/templates/blog-template.js | 4 -
.../test/cases/build.default.workspace-nested/build.default.workspace-nested.spec.js | 4 +-
.../build.default.workspace-template-app/build.default.workspace-template-app.spec.js | 19 +-
.../cli/test/cases/build.default.workspace-template-app/src/templates/app-template.js | 23 +-
.../build.default.workspace-template-page-style.spec.js | 6 +-
.../cases/build.default.workspace-template-page-style/src/templates/page-template.js | 3 -
.../test/cases/build.default.workspace-template-page/src/templates/page-template.js | 3 -
.../build.default.workspace-user-directory-mapping/src/templates/page-template.js | 4 -
.../cli/test/cases/build.plugins-error-provider/build.plugins-error-provider.spec.js | 8 +-
packages/cli/test/cases/build.plugins-error-type/build.plugins-error-type.spec.js | 10 +-
packages/cli/test/cases/build.plugins-error-type/greenwood.config.js | 2 +-
packages/cli/test/cases/build.plugins-index/build.plugins-index.spec.js | 6 +-
packages/cli/test/cases/build.plugins-index/greenwood.config.js | 8 +-
packages/cli/test/cases/build.plugins-webpack/build-plugins-webpack.spec.js | 4 +-
packages/cli/test/cases/build.plugins-webpack/greenwood.config.js | 2 +-
packages/cli/test/unit/data/mocks/config.js | 17 +
packages/cli/test/unit/data/mocks/graph.js | 4 +
packages/cli/test/unit/data/schema/config.spec.js | 83 ++
packages/cli/test/unit/data/schema/graph.menu.spec.js | 354 +++++++
packages/cli/test/unit/data/schema/graph.spec.js | 105 ++
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-google-analytics/test/cases/default/default.spec.js | 8 +-
.../plugin-google-analytics/test/cases/error-analytics-id/error-analytics-id.spec.js | 6 +-
packages/plugin-google-analytics/test/cases/option-anonymous/option-anonymous.spec.js | 8 +-
packages/plugin-polyfills/README.md | 10 +-
packages/plugin-polyfills/package.json | 4 +-
packages/plugi...
v0.4.2
Overview
Critical bug fixes and set minimum NodeJS version to v10.x (tested up to v12.x).
Key Changes
- babel configuration not being used
- filenames that include existing directory name in the filename causes compilation error
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?utf8=%E2%9C%93&q=label%3A0.4.2+
$ git diff v0.4.1 v0.4.2 --stat
.github/workflows/ci.yml | 4 +--
.github/workflows/master.yml | 2 +-
lerna.json | 2 +-
packages/cli/package.json | 8 ++++-
packages/cli/src/config/.babelrc | 14 ---------
packages/cli/src/config/babel.config.js | 40 +++++++++++++++++++++++++
packages/cli/src/config/webpack.config.common.js | 37 +++++++++++++++--------
packages/cli/src/index.js | 0
.../build.default.workspace-user-directory-mapping.spec.js | 53 +++++++++++++++++++++++++++++++++
.../src/components/header/header.js | 10 +++++++
.../build.default.workspace-user-directory-mapping/src/pages/index.md | 3 ++
.../build.default.workspace-user-directory-mapping/src/pages/pages.md | 3 ++
.../src/services/components.js | 5 ++++
.../src/services/pages/pages.js | 5 ++++
.../src/templates/page-template.js | 22 ++++++++++++++
packages/plugin-google-analytics/package.json | 4 +--
packages/plugin-polyfills/package.json | 4 +--
www/components/header/header.js | 2 +-
www/components/social-icons/social-icons.js | 44 ++++++++++++++++++++-------
www/package.json | 2 +-
www/pages/docs/layouts.md | 4 +--
www/templates/home-template.js | 2 +-
yarn.lock | 29 +++++++++++++++++-
23 files changed, 246 insertions(+), 53 deletions(-)
v0.4.1
Overview
Follow up bug fixes, technical improvements and documentation and a lot of fixes to the website.
Key Changes
- hook plugins not working with
greenwood develop
- #210 greenwood develop
not working for Edge (related to above) - #197- Moved Getting Started repo to Project Evergreen organization - #241
- Document a known issue with markdown page naming restriction - #254
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?utf8=%E2%9C%93&q=label%3A0.4.1+is%3Aclosed+
$ git diff v0.4.0 v0.4.1 --stat
.circleci/config.yml | 33 -------------------
.github/CONTRIBUTING.md | 25 ++++++++++++--
.github/workflows/ci.yml | 34 +++++++++++++++++++
.github/workflows/master.yml | 37 +++++++++++++++++++++
Dockerfile | 9 ++++++
README.md | 5 ++-
lerna.json | 2 +-
packages/cli/package.json | 9 +++++-
packages/cli/src/config/webpack.config.common.js | 21 ++++++++----
packages/cli/src/config/webpack.config.develop.js | 54 +++++++++++++++----------------
packages/cli/src/config/webpack.config.prod.js | 11 +------
packages/cli/src/lib/browser.js | 71 +++++++++++++++++++++++++++++++++++++---
packages/cli/src/lib/renderer.js | 77 --------------------------------------------
packages/cli/test/cases/build.config.public-path/build.config.public-path.spec.js | 2 +-
.../build.default.workspace-getting-started.spec.js | 2 +-
packages/plugin-google-analytics/package.json | 15 +++++++--
packages/plugin-polyfills/package.json | 15 +++++++--
www/components/header/header.css | 12 ++++++-
www/components/header/header.js | 10 ++----
www/components/icons/chevron-down/chevron-down.js | 8 +++++
www/components/icons/chevron-right/chevron-right.js | 8 +++++
www/components/icons/github-icon.js | 22 +++++++++++++
www/components/icons/slack-icon.js | 39 ++++++++++++++++++++++
www/components/icons/twitter-icon.js | 28 ++++++++++++++++
www/components/scroll/scroll.js | 17 ++++++----
www/components/shelf/about.json | 12 ++-----
www/components/shelf/documentation-list.json | 30 ++++-------------
www/components/shelf/getting-started-list.json | 26 ++-------------
www/components/shelf/plugins.json | 5 +--
www/components/shelf/shelf.js | 73 ++++++++++++++++-------------------------
www/components/social-icons/social-icons.css | 16 +++++++++
www/components/social-icons/social-icons.js | 24 ++++++++++++++
www/package.json | 2 +-
www/pages/docs/layouts.md | 23 +++++++++++++
www/pages/docs/tech-stack.md | 2 +-
www/pages/getting-started/branding.md | 2 +-
www/pages/getting-started/creating-content.md | 2 +-
www/pages/getting-started/next-steps.md | 4 +--
www/pages/getting-started/quick-start.md | 4 +--
39 files changed, 489 insertions(+), 302 deletions(-)
Plugins and Packages
Overview
This was a big release for Greenwood! We moved to Lerna and established the repository as a monorepo. In addition, introduced a Plugins API and created some plugins of our own for managing polyfills and Google Analytics. See the website for more information about Plugins and how to add them to your project, or write your own!
Key Features / RFCs
- [RFC] Integrated Lerna as a monorepo #181
- [RFC] Index Hooks Plugins API - #182
- Google Analytics Plugin + introduce Composite Plugins concept - #186
- [RFC] Webpack Build Plugins - #183
- Polyfills Plugin: #187
- Hardended build pipeline and testing setup - #213
- [RFC] Web Components loader - #9
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.4.0+is%3Aclosed
$ git diff 0.3.6 v0.4.0 --stat
.circleci/config.yml | 4 +-
.github/CONTRIBUTING.md | 83 +-
README.md | 1 +
greenwood.config.js | 12 +-
lerna.json | 9 +
nyc.config.js | 9 +-
package.json | 74 +-
packages/cli/README.md | 28 +
packages/cli/config/postcss.config.js | 6 -
packages/cli/lib/browser.js | 23 -
packages/cli/lifecycles/serialize.js | 40 -
packages/cli/package.json | 53 +
packages/cli/src/config/.babelrc | 14 +
packages/cli/{ => src}/config/.browserslistrc | 2 +-
packages/cli/src/config/postcss.config.js | 7 +
packages/cli/{ => src}/config/webpack.config.common.js | 45 +-
packages/cli/{ => src}/config/webpack.config.develop.js | 6 +-
packages/cli/{ => src}/config/webpack.config.prod.js | 2 +-
packages/cli/{ => src}/index.js | 4 +-
packages/cli/src/lib/browser.js | 28 +
packages/cli/{ => src}/lib/renderer.js | 31 +-
packages/cli/{ => src}/lifecycles/compile.js | 4 +-
packages/cli/{ => src}/lifecycles/config.js | 43 +-
packages/cli/{ => src}/lifecycles/context.js | 25 +-
packages/cli/{ => src}/lifecycles/graph.js | 29 +-
packages/cli/{ => src}/lifecycles/scaffold.js | 100 +-
packages/cli/src/lifecycles/serialize.js | 64 +
packages/cli/{ => src}/plugins/meta.js | 0
packages/cli/{ => src}/tasks/build.js | 0
packages/cli/{ => src}/tasks/develop.js | 0
packages/cli/{ => src}/templates/404.html | 2 +-
packages/cli/{ => src}/templates/app-template.js | 0
packages/cli/{ => src}/templates/hello.md | 0
packages/cli/src/templates/index.html | 25 +
packages/cli/{ => src}/templates/index.md | 0
packages/cli/{ => src}/templates/page-template.js | 0
packages/cli/templates/index.html | 31 -
.../cli/test}/cases/build.config.default/build.config.default.spec.js | 22 +-
.../cli/test}/cases/build.config.default/greenwood.config.js | 0
.../build.config.error-public-path.spec.js | 16 +-
.../test}/cases/build.config.error-public-path/greenwood.config.js | 0
.../build.config.error-theme-file.spec.js | 14 +-
.../cli/test}/cases/build.config.error-theme-file/greenwood.config.js | 0
.../cases/build.config.error-title/build.config.error-title.spec.js | 14 +-
.../cli/test}/cases/build.config.error-title/greenwood.config.js | 0
.../build.config.error-workspace-absolute.spec.js | 14 +-
.../cases/build.config.error-workspace-absolute/greenwood.config.js | 0
.../build.config.error-workspace/build.config.error-workspace.spec.js | 14 +-
.../cli/test}/cases/build.config.error-workspace/greenwood.config.js | 0
.../cli/test}/cases/build.config.meta/build.config.meta.spec.js | 26 +-
.../cli/test}/cases/build.config.meta/greenwood.config.js | 0
.../cli/test}/cases/build.config.meta/src/pages/about/index.md | 0
.../cli/test}/cases/build.config.meta/src/pages/hello.md | 0
.../cli/test}/cases/build.config.meta/src/pages/index.md | 0
.../cases/build.config.public-path/build.config.public-path.spec.js | 19 +-
.../cli/test}/cases/build.config.public-path/greenwood.config.js | 0
.../cli/test}/cases/build.config.theme/build.config.theme.spec.js | 24 +-
.../cli/test}/cases/build.config.theme/greenwood.config.js | 0
.../cli/test}/cases/build.config.theme/src/styles/my-brand.css | 0
.../cli/test}/cases/build.config.theme/src/templates/page-template.js | 0
.../cli/test}/cases/build.config.title/build.config.title.spec.js | 26 +-
.../cli/test}/cases/build.config.title/greenwood.config.js | 0
.../cli/test}/cases/build.config.title/src/pages/hello.md | 0
.../cli/test}/cases/build.config.title/src/pages/index.md | 0
.../build.config.workspace-custom.spec.js | 22 +-
.../cli/test}/cases/build.config.workspace-custom/greenwood.config.js | 0
.../cli/test}/cases/build.config.workspace-custom/www/pages/about.md | 0
.../cli/test}/cases/build.config.workspace-custom/www/pages/index.md | 0
.../build.default.workspace-assets.spec.js | 6 +-
.../test}/cases/build.default.workspace-assets/src/assets/brand.png | Bin
.../build.default.workspace-getting-started.spec.js | 14 +-
.../src/assets/greenwood-logo.png | Bin
.../build.default.workspace-getting-started/src/components/footer.js | 0
.../build.default.workspace-getting-started/src/components/header.js | 0
.../src/pages/blog/first-post.md | 0
.../src/pages/blog/second-post.md | 0
.../cases/build.default.workspace-getting-started/src/pages/index.md | 0
.../build.default.workspace-getting-started/src/styles/theme.css | 0
.../src/templates/blog-template.js | 0
.../src/templates/page-template.js | 0
.../build.default.workspace-nested.spec.js | 22 +-
.../cases/build.default.workspace-nested/src/pages/blog/2019/index.md | 0
.../cli/test}/cases/build.default.workspace-nested/src/pages/index.md | 0
.../build.default.workspace-template-app.spec.js | 28 +-
.../src/templates/app-template.js | 0
.../build.default.workspace-template-page-style.spec.js | 22 +-
.../build.default.workspace-template-page-style/src/styles/style.css | 0
.../build.default.workspace-template-page-style/src/styles/theme.css | 0
.../src/templates/page-template.js | 0
.../build.default.workspace-template-page.spec.js | 18 +-
.../src/templates/page-template.js | 0
.../cli/test}/cases/build.default/build.default.spec.js | 18 +-
.../build.plugins-error-provider/build.plugins-error-provider.spec.js | 49 +
.../cli/test/cases/build.plugins-error-provider/greenwood.config.js | 8 +
.../cases/build.plugins-error-type/build.plugins-error-type.spec.js | 50 +
packages/cli/test/cases/build.plugins-error-type/greenwood.config.js | 8 +
.../cli/test/cases/build.plugins-index/build.plugins-index.spec.js | 85 +
packages/cli/test/cases/build.plugins-index/greenwood.config.js | 31 +
.../test/cases/build.plugins-webpack/build-plugins-webpack.spec.js | 78 +
packages/cli/test/cases/build.plugins-webpack/greenwood.config.js | 13 +
packages/plugin-google-analytics/README.md | 56 +
packages/plugin-google-analytics/package.json | 18 +
packages/plugin-google-analytics/src/index.js | 39 +
packages/plugin-google-analytics/test/cases/default/default.spec.js | 127 +
.../plugin-google-analytics/test/cases/default/greenwood.config.js | 9 +
.../test/cases/error-analytics-id/error-analytics-id.spec.js | 49 +
.../test/cases/error-analytics-id/greenwood.config.js | 7 +
.../test/cases/option-anonymous/greenwood.config.js | 10 +
.../test/cases/option-anonymous/option-anonymous.spec.js | 110 +
packages/plugin-polyfills/README.md | 48 +
packages/plugin-polyfills/package.json | 21 +
packages/plugin-polyfills/src/index.js | 34 +
packages/plugin-polyfills/test/cases/default/default.spec.js | 75 +
packages/plugin-polyfills/test/cases/default/greenwood.confi...
0.3.6
Overview
Improved polyfill loading by using minified version of Babel polyfills. Release also includes updates to the website assets as well.
Key Features / RFCs
- N / A
Known Issues
- N / A
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?utf8=%E2%9C%93&q=label%3A0.3.6+
$ git diff 0.3.5 0.3.6 --stat
README.md | 11 +++++++++--
package.json | 2 +-
packages/cli/templates/index.html | 12 ++++++------
test/cli/cases/build.config.meta/build.config.meta.spec.js | 2 +-
test/cli/cases/build.config.public-path/build.config.public-path.spec.js | 10 ++++++++--
test/cli/cases/build.config.title/build.config.title.spec.js | 2 +-
.../build.default.workspace-template-app.spec.js | 2 +-
test/cli/smoke-test.js | 35 ++++++++++++++++++++++++++++++-----
www/assets/getting-started-netlify-config.png | Bin 121335 -> 28447 bytes
www/assets/greenwood-logo.png | Bin 15037 -> 5017 bytes
www/pages/docs/configuration.md | 6 ++++--
11 files changed, 61 insertions(+), 21 deletions(-)
0.3.5
Overview
Fixed a big with devServer.host
configuration option. Also includes misc updates to the website / README.
Key Features / RFCs
- N / A
Known Issues
- N / A
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?utf8=%E2%9C%93&q=label%3A0.3.5+
$ git diff 0.3.4 0.3.5 --stat
package.json | 2 +-
packages/cli/config/webpack.config.develop.js | 1 +
packages/cli/lifecycles/config.js | 4 +-
packages/cli/templates/theme.css | 80 --------------------------
test/cli/test-bed.js | 2 +-
www/components/shelf/getting-started-list.json | 8 +--
www/pages/about/community.md | 1 +
www/pages/about/index.md | 2 +-
www/pages/docs/configuration.md | 2 +-
www/pages/getting-started/branding.md | 2 +-
www/pages/getting-started/build-and-deploy.md | 2 +-
www/pages/getting-started/creating-content.md | 14 +++--
12 files changed, 22 insertions(+), 98 deletions(-)