Skip to content

v0.33.0-alpha.8

Pre-release
Pre-release

Choose a tag to compare

@thescientist13 thescientist13 released this 07 Sep 17:59
· 93 commits to master since this release

Overview

This release in the v0.33.0 release line introduces a breaking change by moving markdown support to be a plugin, formally removed the eject command, made a bug fix for nested SSR pages and API routes support in adapter plugins, and made a number of refinements to the TypeScript new project scaffolding output.

# npm
$ npm i -D @greenwood/cli@alpha

# Yarn 1.x (classic)
$ yarn upgrade @greenwood/cli@alpha --dev

# pnpm
$ pnpm i -D @greenwood/cli@alpha

Changelog

https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.33.0%20label%3Aalpha.8

  1. feat(plugins): #1247 standalone markdown plugin (BREAKING)
  2. enhancement(cli): issue 1390 deprecate eject command (BREAKING)
  3. bug(adapters): issue 1462 fix nested routing for all adapter plugins
  4. enhancement(cli): issue 1552 replace commander with util.parseArgs in @greenwood/cli (thanks @shyok21 🙌 )

Features (Early Access)

N / A

Breaking Changes

Markdown

Markdown support has been moved to a standalone plugin now, but the configuration is still the same. You'll now need to install @greenwood/plugin-markdown and add it to your Greenwood configuration file.

// before
export default {
  // ...

  markdown: {
    plugins: [
      "@mapbox/rehype-prism",
      "remark-gfm",
    ],
  },
};
// after
import { greenwoodPluginMarkdown } from "@greenwood/plugin-markdown";

export default {
  // ...

  plugins: [
    greenwoodPluginMarkdown({
      plugins: [
        "@mapbox/rehype-prism",
        "remark-gfm",
      ],
    }),
  ],
};

eject command

The eject has been officially removed in this release and there is no alternative. (this was soft deprecated during the documentation website refresh)

Known Issues

  1. remove old markdown references in config lifecycle

Diff

v0.33.0-alpha.7...v0.33.0-alpha.8