v0.33.0-alpha.3
Pre-release
Pre-release
·
130 commits
to master
since this release
Overview
This release in the v0.33.0 release line addresses some regressions from the prior alpha release around pages and layouts content merging, fixes an issue with nested type modifiers when using TypeScript, and some general internal enhancements.
# npm
$ npm i -D @greenwood/cli@alpha
# Yarn 1.x (classic)
$ yarn upgrade @greenwood/cli@alpha --dev
# pnpm
$ pnpm i -D @greenwood/cli@alphaChangelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.33.0%20label%3Aalpha.3
- page contents overriding layouts content when no outlet tag is being used
- reconcile page level custom title and layout
<title>merging when using active content - pre-rendered SSR routes with a
<body>tag causing a build error - nested
typemodifier imports andverbatimModuleSyntaxcausing Greenwood to run incorrectly - upgrade to latest version of node-html-parser
- prefix NodeJS builtin module imports with
node:
Features (Early Access)
N / A
Breaking Changes
SSR Custom Imports
Based on a small refactor in this release of Greenwood, the document snippet for invoking the custom loaders hooks will need to change slightly to use bin.js
# before
$ node --import @greenwood/cli/register ./node_modules/@greenwood/cli/src/index.js <command># after
$ node --import @greenwood/cli/register ./node_modules/@greenwood/cli/src/bin.js <command>N / A