Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/0.10.0 #436

Merged
merged 58 commits into from
Apr 3, 2021
Merged

release/0.10.0 #436

merged 58 commits into from
Apr 3, 2021

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Nov 12, 2020

Related Issue

Top level tracking branch to deliver the Feature Parity related Milestone and related features as originally captured in #418

Integration Draft PR for Getting Started repo available here.

Summary of Changes

  1. No Bundle development w/ refactor away from weback to koa / rollup
  2. Transforms Resources API - pt. 1
  3. CSS Bundling w/ Rollup + PostCSS
  4. HTML in markdown rendering being escaped / rendered
  5. Enabled GitHub Actions for release/* branches
  6. commands not working due to fs-extras dependency missing
  7. Revisit all technical documentation
  8. Restore userland PostCSS
  9. Fix default graph sorting (again), and included
  10. fix a rollup related bug in npm clients
  11. pretty Urls for serve task
  12. fix build error with pages with index in the name
  13. Transforms Resources API (pt. 2 / refactor) and documentation for Plugin APIs
  14. fix / validate all website functionality including custom markdown plugins and settings
  15. instances of <slot>ed content are rendering twice
  16. support common set of module formats from node_modules
  17. update README.md for plugins based on new ResourceInterface plugin API
  18. pin netlify.toml to NodeJS v12
  19. New Server Plugin API
  20. Refactored PostCSS as plugins as part of restore Babel / PostCSS / Browserslist for no bundle development #426
  21. fix rebase introduced regression with live reload
  22. fixed a missing module / dependency error in @greenwood/cli package from previous alpha.5 release
  23. handle bare imports in <head> tags
  24. fix merge order of template <head> tags, as well as ensured proper closing tag semantics
  25. restored default <meta> tags for default app template
  26. better support for top level pages
  27. formalize NodeJS v12 as minimum
  28. fix import CSS not working in non Chrome browsers
  29. fix only adding JS entry points to importMap
  30. Restored Babel (as a plugin) plus Browserslist support
  31. Restored GraphQL (as a plugin)
  32. better browser handling for chrome for importing CSS
  33. handle no bundling of remote URLs and add error handling for sync rollup hooks
  34. restore and enhance mode and optimization configuration settings
  35. clean up TODOs and restore all tests
  36. update website home and about pages for new vision, general editing / proof-reading

This also invalidates the following issues that can be closed when this gets merged

Also marks the following issues as fixed, either directly or indirectly

TODO

In rough order...

  1. CSS Bundling - restore support for CSS bundling (w/Rollup) #427
  2. Transforms Resource (multi phase) - [RFC] Plugins: Transforms #185
  3. Restore GraphQL - GraphQL (Apollo) data as its own package #278
  4. Restore MPA / strict modes / optimizations - Progressive Enhancement ("RedactJS") #354
  5. Sanity test out installing different npm packages - validate / support resolution of various common packages in node modules #429
  6. Restore userland PostCSS / Babel / Browserslist - restore Babel / PostCSS / Browserslist for no bundle development #426
  7. <script> and <style> tag ordering - assemble page and app <head> tags in the correct order  #431
  8. instances of <slot>ed content are rendering twice - instances of <slot>-ed content and lit-element are rendering twice #433
  9. handle ESM import in HTML - handle bare imports in HTML <script> tags when running build command #434
  10. fix / validate all website functionality - ensure correct working order of website and expected styles (e.g. shelf and scrolling, docs, markdown plugins, etc) #432
  11. Revisit all documentation - revisit all technical documentation for no bundle development #430
  12. Final release checklist - final release and questions checklist #428

@thescientist13 thescientist13 added bug Something isn't working RFC Proposal and changes to workflows, architecture, APIs, etc website Tasks related to the projects website / documentation documentation Greenwood specific docs breaking v0.10.0 labels Nov 12, 2020
@thescientist13 thescientist13 changed the title release/0.10.0 [WIP] release/0.10.0 Nov 13, 2020
@thescientist13 thescientist13 changed the title [WIP] release/0.10.0 release/0.10.0 Nov 13, 2020
@thescientist13 thescientist13 marked this pull request as ready for review December 20, 2020 17:44
@thescientist13 thescientist13 linked an issue Feb 14, 2021 that may be closed by this pull request
5 tasks
@thescientist13 thescientist13 removed a link to an issue Feb 14, 2021
5 tasks
@thescientist13 thescientist13 self-assigned this Feb 22, 2021
@thescientist13 thescientist13 marked this pull request as draft March 2, 2021 01:46
@thescientist13 thescientist13 marked this pull request as ready for review April 3, 2021 17:12
thescientist13 and others added 9 commits April 3, 2021 14:00
* basic unbundled rendering of home page

* got livereload working for all files

* JSON support

* import CSS support

* disable eslint complexity

* header working

* ading banner and stylinh and fixed binary image loading

* integrated evergreen deps

* fully restored the home page in develop mode

* wip getting serialization working

* wip getting serialization working

* clean up and refactor, serialize WIP

* upgrade puppeteer to latest

* a  bit hacky but home page is now being built for production

* render header navigation from graph

* page template working for site in development

* all pages working in develop

* all pages serializing for prod

* sort header and shelf

* shelf expansion and table of contents

* label fallback handling

* fix index page rendering

* clean up logging

* favicon support

* refactor server lifecycle to use compilation and expose devServer

* built in serve command

* serve docs

* add support for app templates

* pretty URLs

* shelf working WIP

* quick styling tweak for side nav

* copy assets and graph.json in copy lifecycle

* basic support for css files

* fix copy error for nested folders

* call rollup from JS API

* rollup configuration sourced from compilation

* make sure to await Promise.all

* Rfc/issue 355 organize serve lifecycle (#419)

* task: organize serve

* fix: remove ctx from resolve

* fix: refactor further

* task: scope filters by file

* linting

* renable default tests and limited smoke tests

* disable all tests enable subset of tests

* meta specs

* enable custom title case

* enable custom workspace spec

* track missing dev dep

* enabled workspace assets test case

* fix link closing slash

* content-outlet refactor

* enabled getting started test case

* enable nested directory test case

* enable app template case

* enable page template spec

* enable user directory mapping case

* update comments

* got code markdown rendering and added support for custom plugins from config

* markdown plugins working including prism

* default markdown specs

* enable all tests

* rename markdown case

* syntax highlighting markdown spec

Co-authored-by: Grant Hutchinson <[email protected]>
* basic unbundled rendering of home page

* got livereload working for all files

* JSON support

* import CSS support

* disable eslint complexity

* header working

* ading banner and stylinh and fixed binary image loading

* integrated evergreen deps

* fully restored the home page in develop mode

* wip getting serialization working

* wip getting serialization working

* clean up and refactor, serialize WIP

* upgrade puppeteer to latest

* a  bit hacky but home page is now being built for production

* render header navigation from graph

* page template working for site in development

* all pages working in develop

* all pages serializing for prod

* sort header and shelf

* shelf expansion and table of contents

* label fallback handling

* fix index page rendering

* clean up logging

* favicon support

* refactor server lifecycle to use compilation and expose devServer

* built in serve command

* serve docs

* add support for app templates

* pretty URLs

* shelf working WIP

* quick styling tweak for side nav

* copy assets and graph.json in copy lifecycle

* basic support for css files

* fix copy error for nested folders

* call rollup from JS API

* rollup configuration sourced from compilation

* make sure to await Promise.all

* Rfc/issue 355 organize serve lifecycle (#419)

* task: organize serve

* fix: remove ctx from resolve

* fix: refactor further

* task: scope filters by file

* linting

* renable default tests and limited smoke tests

* disable all tests enable subset of tests

* task: add custom transforms API from koa context

* fix: remove redundant line

* fix: more descriptive var

* meta specs

* fix: merge conflict

* enable custom title case

* enable custom workspace spec

* track missing dev dep

* enabled workspace assets test case

* fix link closing slash

* content-outlet refactor

* enabled getting started test case

* enable nested directory test case

* enable app template case

* enable page template spec

* enable user directory mapping case

* update comments

* task: standardize transforms

* fix: prod render

* task: adding disabled markdown transform

* fix: cleanup class names

* fix: cleanup class names

* got code markdown rendering and added support for custom plugins from config

* markdown plugins working including prism

* default markdown specs

* enable all tests

* rename markdown case

* syntax highlighting markdown spec

* fix: transform fixes

* task: add markdown and json transforms

* fix: header rendering, comment out eve-container temp

* fix: cleanup

* fix: remove node_module seperate transform, instead use js/css with path resolver

* task: remove old transforms

* fix: immutability of compilation object

* fix: tests, page-templates, defaults

* fix: cleanup

* fix: remove outdated transforms

Co-authored-by: Owen Buckley <[email protected]>
* init draft of CSS bundling with rollup and moved out of copy lifecycle

* emit and create CSS files in one place

* manually processing CSS with PostCSS and got cssnano minification working

* dont emit already emitted CSS link assets

* address PostCss from option warning

* disable theme.css tests in getting started case

* convert postcss to async

* CSS filename hashing

* css bunding and support for relative @imports

* remove logging

* refactoring

* temp work around for PostCSS and Rollup

* delete describe.only

* restored file name content hashing

* aysnc refactor around PostCSS

* added test cases for style and link tags, removed theme.css config

* refine style test cases
* add rehype-raw to markdown chain

* update markdown test case
* add github action for release branches

* formatting
* switch to native fs in test cases

* convert more fs-extra dependency usages to native fs

* convert more fs-extra dependency usages to native fs

* test bed defensive fs refactor

* test bed defensive fs refactor
…ect status (#452)

* WIP updating docs section of pages

* all docs updated first draft

* update getting started docs

* unescape escaped code fences

* delete dead code

* update tests and docs based on webpack features removed

* incorporate technical design docs

* additional corrections and proof reading

* final docs tweaks
thescientist13 and others added 26 commits April 3, 2021 14:07
#472)

* remove duplicate html parsing lib and refactor script and link emit logic accordingly

* refactor rollup script and link tag updates to new html parser

* handling bundling of inline script tags

* code cleanup

* wip

* fixed bug with the implementation

* restore optimization

* add specs for script style link tag usage

* add test for inline script with  node_modules

* use Buffer instead of cyrpto

* remove comment

* fix bug with incorrect script tag updating in rollup

* fix bug with incorrect script tag updating in rollup

* clean up scratch files and assert number of output bundles

* support node modules via link and script tags

* add specs for node modules link and style use cases

* naming refactor

* docs

* small refactor
* fix script and link head merge order

* add specs

* head tag merge refactoring

* add missing support for missing style tag head merging

* refactor test cases for app and page templates and fixed bug with mapping script tags

* consolidate specs

* flexible link tag support

* better handling of inline script tag matching
* better support for top level pages

* minor refactor
* initial example of a babel plugin

* babel working with babel

* ignore test file

* set default value for babelHelpers

* set peer deps for plugin-postcss and plugin-babel

* WIP babel preset env

* babel preset env working

* add default test case

* minor cleanup

* minor cleanup

* extendConfig refactoring and specs

* improve export map detection and force ESM support from Babel

* test cases and refactoring for postcss

* config look refactor

* enable preset env for postcss and update docs

* grammar

* grammar and punctuation

* delete obsolete test case

* restore eject command and specs and docs

* remove example code from www
* init commit of WIP with server and graphiql working

* WIP client side implementation

* output message when processing a commonjs file

* debug statement

* custom graphql client

* restore graphQL to shelf

* refactor shelf

* rollup bundling working

* graphql working in production build

* upgrade backend apollo 3

* move and re-enable data unit tests

* align server start usage with develop command

* fixed bug with dangling commas in es-modules-shims

* add new config query test case

* tests for menu query for navigation

* clean up

* add support for children query aliasing

* children query specs

* cleanup

* graph query test cases and support

* delete old cases

* console cleanup

* fix label confusion and restore id

* remove frontmatter

* refactoring and promisifying

* graph test with custom frontmatter

* restore docs

* remove example config query

* delete commented out code
* client side router optimization setting for build

* filter only for anchor tags

* preserve URL on route change

* mode vs optimization configuration

* test cases for MPA

* clean up merge conflict marker

* clarify test it statements

* fix bug with graphql head tag closing

* default optimization for preloading CSS

* only preload CSS

* add none optimization option

* all anticipated optimization settings

* simplify minified output check

* added static optimization setting for JS templating

* introduce inline optimization setting

* inline optimization support enhancements

* fix styling for tables

* documentation for mode and optimization

* use modulepreload for ESM script tags
* refactor smoke test and re-enable

* cleanup dupe testing

* refactor beforeEach to before

* turn coverage checks back on

* delete invalid test cases

* xdescribe and xit

* fix smoke test tag matching and add smoke tests to ggraphql

* add more smoke testing

* add missing plugin-graphql ChildrenQuery spec

* cleanup TODOs for path references normalization

* remove TODOs that will be tracked via github

* clean up rollup todos

* restore local request blocking to puppeteer

* remove commented code from config

* final thresholds for now

* clean up missed TODOs and console logs
* updated about page sections per refactor and new vision

* updated home page to reflect new vision

* new image

* delete webpack logo

* meeting feedback

* correct examples

* menu fixes and other tweaks

* fix card and image related best practices Lighthouse feedback

* home page and about page content revisions

* copy grammar and content tweaks

* homepage styling revamp, part 1

* fix page layout for docs

* correct aspect ration of simple.png

* content sync

* remove extra asset

Co-authored-by: aholtzman <[email protected]>
@thescientist13 thescientist13 merged commit 6ffdad6 into master Apr 3, 2021
@thescientist13 thescientist13 linked an issue Apr 3, 2021 that may be closed by this pull request
53 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking bug Something isn't working documentation Greenwood specific docs RFC Proposal and changes to workflows, architecture, APIs, etc v0.10.0 website Tasks related to the projects website / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Roadmap To 1.0 And Beyond
2 participants