Skip to content

feature and plugin deprecations #1390

@thescientist13

Description

@thescientist13

Type of Change

Breaking

Summary

As we draw closer to the 1.0 release, this issue is aimed at tracking the deprecations (and deletions?) of various features and plugins from the Greenwood CLI

Details

Type Name Description Consensus
CLI Eject Technically Greenwood has an "eject" command, but its not really a use case worth supporting when we already have such an extensive set of plugin APIs now
Plugin CommonJS This one can be very hit or miss since it only does a best guess at trying to detect CJS modules being shipped to the browser, and in general goes agains the spirit of Greenwood being ESM first in the browser and its priority for using import maps. Maybe a good time to align with ProjectEvergreen/www.greenwoodjs.dev#183
Plugin Google Analytics This seems easy enough to maintain by the community, and well there are probably other better trackers to be using. Plus we are way behind on our implementation / support
Plugin Import JSON Already deprecated, just needs to be deleted
Plugin Import CSS Already deprecated, just needs to be deleted
Plugin Puppeteer Renderer Maybe too soon to delete this one, since it's the only reference implementation of our custom renderer? Could go either way on this one
Plugin GraphQL I don't really use GraphQL personally, and recently Greenwood pulled in first party "content as data" support, so not sure we need to maintain two flavors as first party. (and we don't feature it on the main website sidebar). If we do or do not deprecate this, we will need to close or complete these - https://github.com/ProjectEvergreen/greenwood/issues?q=state%3Aopen%20label%3A%22Content%20as%20Data%22
CLI Source Plugin If we adopt, then does it make sense to keep this around as a plugin anymore?
  • ❓ - Still being evaluated / unsure
  • ❌ - Being removed
  • ✅ - Being kept

Although we should probably hold onto the GraphQL plugin, we should probably update Apollo, or maybe do we even need an Apollo client? 🤔

Metadata

Metadata

Type

Projects

Status

📋 Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions