Releases: ProjectEvergreen/greenwood
v0.9.0
Overview
Introduced an optimization
configuration for Greenwood, to further allow for applications to customize and tailer the user experience they want to deliver. To learn more visit our How It Works page. Bundled chunks for spa (default) mode are also now shipped with the async
attribute on them.
Breaking Changes
None
Key Changes
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.9.0
Known Issues
Diff
$ git diff v0.8.0 v0.9.0 --stat
.gitattributes | 5 +-
.ls-lint.yml | 16 ++++++
lerna.json | 2 +-
netlify.toml | 6 ++
package.json | 9 +--
packages/cli/package.json | 2 +-
packages/cli/src/data/client.js | 4 +-
packages/cli/src/data/queries/config.gql | 1 +
packages/cli/src/data/schema/config.js | 1 +
packages/cli/src/lifecycles/config.js | 11 +++-
packages/cli/src/lifecycles/serialize.js | 24 ++++++--
.../cases/build.config.error-mode/build.config.error-mode.spec.js | 44 ++++++++++++++
packages/cli/test/cases/build.config.error-mode/greenwood.config.js | 3 +
packages/cli/test/cases/build.config.meta/build.config.meta.spec.js | 28 ++++++++-
packages/cli/test/cases/build.config.mode/build.config.mode.spec.js | 95 +++++++++++++++++++++++++++++++
packages/cli/test/cases/build.config.mode/greenwood.config.js | 3 +
packages/cli/test/cases/build.config.mode/src/pages/about/index.md | 0
packages/cli/test/cases/build.config.mode/src/pages/hello.md | 7 +++
packages/cli/test/cases/build.config.mode/src/pages/index.md | 3 +
packages/cli/test/cases/build.config.title/build.config.title.spec.js | 29 +++++++++-
.../build.data.graph-custom-frontmatter.spec.js | 38 ++++++++++++-
packages/cli/test/cases/build.data.graph/build.data.graph.spec.js | 63 +++++++++++++++++---
.../build.default.workspace-template-app.spec.js | 28 ++++++++-
packages/cli/test/unit/data/schema/config.spec.js | 8 +++
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-polyfills/package.json | 4 +-
test/smoke-test.js | 29 ++++++++--
www/assets/fonts/source-sans-pro-v13-latin-regular.ttf | Bin 0 -> 40408 bytes
www/assets/fonts/source-sans-pro-v13-latin-regular.woff | Bin 0 -> 20179 bytes
www/assets/fonts/source-sans-pro-v13-latin-regular.woff2 | Bin 0 -> 16112 bytes
www/assets/fonts/source-sans-pro.css | 11 ++++
www/components/shelf/shelf.css | 4 +-
www/package.json | 2 +-
www/pages/about/how-it-works.md | 48 ++++++++++++++++
www/pages/docs/configuration.md | 14 +++++
www/pages/docs/data.md | 1 +
www/pages/docs/layouts.md | 2 +-
www/pages/guides/netlify-deploy.md | 2 +
www/styles/theme.css | 4 +-
yarn.lock | 5 ++
40 files changed, 514 insertions(+), 46 deletions(-)
v0.8.0
Overview
Enhancements for making it easer to manage custom app templates, performance improvements for Google Analytics plugin, and removing "magic strings",
Breaking Changes
Magic Strings
You can now remove MDIMPORT
and MYROUTES
from your templates.
App Templates
App Templates have been simplified, now you only have to define a render
function!
ChildrenQuery Parent Filtering
ChildrenQuery
now longer returns the parent so you don't have to filter that out from the response anymore.
Key Changes
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.8.0+
Known Issues
Diff
$ git diff v0.7.2 v0.8.0 --stat
.github/workflows/chromium-lib-install.sh | 3 +-
lerna.json | 2 +-
package.json | 2 +-
packages/cli/package.json | 4 +-
packages/cli/src/config/webpack.config.common.js | 3 +-
packages/cli/src/data/schema/graph.js | 2 +-
packages/cli/src/lifecycles/scaffold.js | 27 +-
packages/cli/src/templates/app-template.js | 94 +-
packages/cli/src/templates/base-template.js | 104 +
packages/cli/src/templates/index.html | 2 +-
packages/cli/src/templates/page-template.js | 1 -
packages/cli/test/cases/build.config.babel/build.config.babel.spec.js | 4 +-
packages/cli/test/cases/build.config.theme/src/templates/page-template.js | 1 -
.../test/cases/build.data.graph-custom-frontmatter/src/templates/blog-template.js | 2 -
packages/cli/test/cases/build.data.graph/src/templates/blog-template.js | 6 +-
packages/cli/test/cases/build.data.graph/src/templates/page-template.js | 2 -
packages/cli/test/cases/build.data.graph/src/templates/post-template.js | 2 -
packages/cli/test/cases/build.default.webpack/webpack.config.common.js | 3 +-
.../cases/build.default.workspace-getting-started/src/templates/blog-template.js | 2 -
.../cases/build.default.workspace-getting-started/src/templates/page-template.js | 2 -
.../build.default.workspace-template-app.spec.js | 2 +-
.../test/cases/build.default.workspace-template-app/src/templates/app-template.js | 40 +-
.../build.default.workspace-template-page-style/src/templates/page-template.js | 1 -
.../test/cases/build.default.workspace-template-page/src/templates/page-template.js | 1 -
.../build.default.workspace-user-directory-mapping/src/templates/page-template.js | 1 -
packages/cli/test/unit/data/schema/graph.spec.js | 33 +-
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-google-analytics/src/index.js | 2 +
packages/plugin-google-analytics/test/cases/default/default.spec.js | 21 +
packages/plugin-polyfills/package.json | 4 +-
test/smoke-test.js | 2 +-
www/package.json | 2 +-
www/pages/docs/css-and-images.md | 4 -
www/pages/docs/layouts.md | 57 +-
www/pages/getting-started/branding.md | 4 -
www/pages/getting-started/creating-content.md | 2 -
www/pages/getting-started/key-concepts.md | 1 -
www/pages/guides/cloudflare-workers-deployment.md | 2 +-
www/pages/guides/firebase.md | 2 +-
www/pages/guides/s3-cloudfront.md | 2 +-
www/pages/index.md | 3 +
www/templates/app-template.js | 93 +-
www/templates/home-template.js | 6 -
www/templates/page-template.js | 2 -
yarn.lock | 5903 ++++++++++++++++++++-------------------
45 files changed, 3296 insertions(+), 3166 deletions(-)
v0.7.2
Overview
Fixed a bug where similar query calls in an app were causing Apollo invariant errors in production. Solution also supported another feature to cache / code split query files (cache.json) when built.
Breaking Changes
None
Key Changes
- similar query invariant error
- [code splitting / chunking of cache.json files](code splitting / chunking of cache.json files)
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.7.2
Known Issues
Diff
$ git diff v0.7.1 v0.7.2 --stat
lerna.json | 2 +-
packages/cli/package.json | 5 +-
packages/cli/src/data/cache.js | 25 ++++----
packages/cli/src/data/client.js | 14 ++--
packages/cli/src/data/common.js | 46 ++++++++++++++
packages/cli/src/lifecycles/serialize.js | 30 +--------
.../build.data.graph-custom-frontmatter/build.data.graph-custom-frontmatter.spec.js | 16 +++--
packages/cli/test/cases/build.data.graph/build.data.graph.spec.js | 138 +++++++++++++++++++++++++---------------
.../cases/build.data.graph/src/pages/blog/{first-post.md => first-post/index.md} | 3 +-
packages/cli/test/cases/build.data.graph/src/pages/blog/index.md | 5 ++
.../cases/build.data.graph/src/pages/blog/{second-post.md => second-post/index.md} | 3 +-
packages/cli/test/cases/build.data.graph/src/templates/blog-template.js | 14 ++--
packages/cli/test/cases/build.data.graph/src/templates/post-template.js | 69 ++++++++++++++++++++
packages/cli/test/unit/data/common.spec.js | 71 +++++++++++++++++++++
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-polyfills/package.json | 4 +-
www/package.json | 2 +-
www/styles/page.css | 13 +++-
yarn.lock | 5 --
19 files changed, 338 insertions(+), 131 deletions(-)
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
$ 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(-)