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.30.0 #1208

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
c04eb90
upgrade wcc v0.11.0 (#1200)
thescientist13 Mar 9, 2024
4bf08a2
enhancement/Issue-1087: Upgrade Rollup to latest 3.x.x (#1187)
DevLab2425 Mar 9, 2024
d7b0f2f
feature/discussion 1117 Isolation Mode (v1) (#1206)
thescientist13 Mar 10, 2024
6f0ba0d
feature/issue 1197 Lit v3 upgrade and SSR fixes and enhancements (#1201)
thescientist13 Mar 10, 2024
a27c861
enhancement/Issue-1118: Single File Bundles for SSR and API routes (#…
DevLab2425 Mar 10, 2024
1370ec9
v0.30.0-alpha.0
thescientist13 Mar 10, 2024
a0ce9d0
ensure minimum compatible version of wcc 0.12.1 (#1209)
thescientist13 Mar 16, 2024
a13d809
bug/issue 1118 SSR pages are missing URL chunks of route chunk (#1210)
thescientist13 Mar 16, 2024
3925dbc
v0.30.0-alpha.1
thescientist13 Mar 16, 2024
9817915
remove Lit renderer plugin duplicate caveats section (#1214)
thescientist13 Mar 21, 2024
cadf3b7
feature/issue 923 native import attributes for CSS and JSON (#1215)
thescientist13 Apr 29, 2024
b007dff
feature/issue 1199 `url` references in CSS bundling (#1211)
thescientist13 May 4, 2024
09a36cd
v0.30.0-alpha.2
thescientist13 May 6, 2024
bb4fdc5
document handling query params for theme pack plugin local dev (#1228)
thescientist13 May 23, 2024
1a21f68
bug/issue 1226 nested SSR pages release branch rebase and refactor (#…
thescientist13 Jun 1, 2024
87cdf8d
Rfcs/issue 955 layouts and pages (#1212)
thescientist13 Jun 22, 2024
c08cd27
enhancement/general improvements and fixes for custom resource plugin…
thescientist13 Jun 22, 2024
294a02e
bug/issue 1242 handle optimization ordering issue with functions in C…
thescientist13 Jun 22, 2024
957a780
feature/issue 1232 static sitemap (#1240)
jstockdi Jun 22, 2024
575550c
bug/issue 1199 gracefully handle unresolvable asset URLs during CSS o…
thescientist13 Jun 22, 2024
3180e14
enhancement/issue 1178 support all remaining standard pseudo-class an…
thescientist13 Jun 22, 2024
b25831b
v0.30.0-alpha.3
thescientist13 Jun 22, 2024
e3d42d3
bug/issue 1223 support nested pages and API for and adapters (#1237)
thescientist13 Jun 26, 2024
4ce37fc
bug/issue 1241 prerendering formatting breaks bundle mapping optimiza…
thescientist13 Jun 26, 2024
a901210
check for HTML accept type for SPA routes (#1251)
thescientist13 Jun 26, 2024
56f8c7d
v0.30.0-alpha.4
thescientist13 Jun 29, 2024
205352e
enhancement/issue 923 real production import attributes (#1259)
thescientist13 Jul 31, 2024
978e7cc
enhancement/issue 1255 frontmatter imports attributes (#1256)
thescientist13 Jul 31, 2024
5084cdc
fix syntax highlighting language (#1261)
thescientist13 Jul 31, 2024
12c9793
feature/issue 1257 CSS optimization workflow parity (#1258)
thescientist13 Aug 2, 2024
2d7f762
v0.30.0-alpha.5
thescientist13 Aug 3, 2024
390d7a1
better refine when standard CSS plugin should intercept (#1262)
thescientist13 Aug 8, 2024
38671e5
disable livereload background image loading behavior (#1264)
thescientist13 Aug 21, 2024
9f31034
enhancement/issue 1253 init baseline starting point (#1254)
thescientist13 Aug 29, 2024
16c2a99
feature/issue 1268 import map and attribute polyfill configuration (#…
thescientist13 Sep 5, 2024
84db8ea
provide fully synced compilation to custom loader script and resource…
thescientist13 Sep 6, 2024
3139ba5
v0.30.0-alpha.6
thescientist13 Sep 6, 2024
e749a14
enhancement/optimize graphql server for production builds (#1277)
thescientist13 Sep 20, 2024
d155a31
enhancement/issue 955 support multiple custom page formats at once (#…
thescientist13 Sep 20, 2024
81c1f81
feature/issue 1253 add initial directory option for init scaffolding …
thescientist13 Sep 20, 2024
76ff3a1
feature/upgrade css tree 3.0.0 with formal CSS nesting handling (#1281)
thescientist13 Sep 20, 2024
0a96e8e
rfc/issue 1167 content as data (#1266)
thescientist13 Oct 18, 2024
03f5999
feature/issue 1233 CSS Modules ™️ plugin (#1285)
thescientist13 Oct 18, 2024
91a757d
clean up and leftovers from content as data PR (#1287)
thescientist13 Oct 19, 2024
62ebfc3
clean up and leftovers from content as data PR (#1287)
thescientist13 Oct 19, 2024
cbfdaf3
feature/WCC v0.15.0 and HTML Web Components (#1284)
thescientist13 Oct 19, 2024
198f87a
v0.30.0-alpha.7
thescientist13 Oct 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .c8rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

"checkCoverage": true,

"statements": 80,
"statements": 75,
"branches": 85,
"functions": 85,
"lines": 80,
"lines": 75,

"watermarks": {
"statements": [75, 85],
Expand Down
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
**/node_modules/**
!.eslintrc.cjs
!.mocharc.js
packages/init/src/template/**
packages/init/test/cases/**/output/**
packages/init/test/cases/**/my-app/**
packages/plugin-babel/test/cases/**/*main.js
TODO.md
23 changes: 18 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
// need this custom parser configuration until ESLint natively supports import attributes
// https://github.com/eslint/eslint/discussions/15305#discussioncomment-2508948
module.exports = {
parser: '@typescript-eslint/parser',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
ecmaVersion: 2022,
sourceType: 'module',
requireConfigFile: false,
ecmaFeatures: {
jsx: true
},
babelOptions: {
plugins: [
'@babel/plugin-syntax-import-assertions'
],
presets: ['@babel/preset-react']
}
},
plugins: [
'@typescript-eslint',
'no-only-tests'
],
extends: 'plugin:markdown/recommended',
// plugin does not seem to work well with custom parsers?
// https://github.com/eslint/eslint-plugin-markdown/discussions/221
// extends: 'plugin:markdown/recommended-legacy',
env: {
browser: true,
node: false
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The [layout](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/
- _lib/_ - Custom utility and client facing files
- _lifecycles/_ - Tasks that can be composed by commands to support the full needs of that command
- _plugins/_ - Custom default plugins maintained by the CLI project
- _templates/_ - Default templates and / or pages provided by Greenwood.
- _layouts/_ - Default layouts and / or pages provided by Greenwood.


#### Lifecycles
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Continuous Integration (Experimental)
name: Continuous Integration (Loaders)

on: [pull_request]

Expand All @@ -25,4 +25,4 @@ jobs:
yarn install --frozen-lockfile && yarn lerna bootstrap
- name: Test
run: |
yarn test:exp
yarn test:loaders
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Continuous Integration Windows (Experimental)
name: Continuous Integration Windows (Loaders)

on: [pull_request]

Expand All @@ -22,4 +22,4 @@ jobs:
yarn install --frozen-lockfile --network-timeout 1000000 && yarn lerna bootstrap
- name: Test
run: |
yarn test:exp:win
yarn test:loaders:win
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
.vscode/
coverage/
node_modules/
packages/init/test/**/my-app
packages/init/test/**/output
packages/**/test/**/yarn.lock
packages/**/test/**/package-lock.json
packages/**/test/**/netlify
packages/**/test/**/.netlify
packages/**/test/**/.vercel
public/
adapter-outlet/
adapter-output/
1 change: 1 addition & 0 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ ls:
ignore:
- .git
- node_modules
- packages/plugin-babel/node_modules
- packages/init/node_modules
- packages/plugin-typescript/node_modules
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.1
18.20.0
17 changes: 11 additions & 6 deletions greenwood.config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
import { greenwoodPluginGraphQL } from '@greenwood/plugin-graphql';
import { greenwoodPluginIncludeHTML } from '@greenwood/plugin-include-html';
import { greenwoodPluginImportCss } from '@greenwood/plugin-import-css';
import { greenwoodPluginImportJson } from '@greenwood/plugin-import-json';
import { greenwoodPluginPolyfills } from '@greenwood/plugin-polyfills';
import { greenwoodPluginPostCss } from '@greenwood/plugin-postcss';
import { greenwoodPluginImportRaw } from '@greenwood/plugin-import-raw';
import { greenwoodPluginRendererPuppeteer } from '@greenwood/plugin-renderer-puppeteer';
import rollupPluginAnalyzer from 'rollup-plugin-analyzer';

export default {
workspace: new URL('./www/', import.meta.url),
optimization: 'inline',
staticRouter: true,
interpolateFrontmatter: true,
activeContent: true,
plugins: [
greenwoodPluginGraphQL(),
greenwoodPluginPolyfills(),
greenwoodPluginPolyfills({
lit: true
}),
greenwoodPluginPostCss(),
greenwoodPluginImportJson(),
greenwoodPluginImportCss(),
greenwoodPluginImportRaw({
matches: [
'eve-button.css',
'eve-container.css'
]
}),
greenwoodPluginIncludeHTML(),
greenwoodPluginRendererPuppeteer(),
{
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.29.4",
"version": "0.30.0-alpha.7",
"packages": [
"packages/*",
"www"
Expand Down
17 changes: 16 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,19 @@

[[redirects]]
from = "/docs/tech-stack/"
to = "/about/tech-stack/"
to = "/about/tech-stack/"

[[redirects]]
from = "/docs/menus/:splat"
to = "/docs/data/"
status = 200

[[redirects]]
from = "/docs/data/#external-sources"
to = "/docs/data/#pages-data"
status = 200

[[redirects]]
from = "/docs/data/#internal-sources"
to = "/docs/data/#pages-data"
status = 200
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,24 @@
"build": "cross-env __GWD_ROLLUP_MODE__=strict node . build",
"serve": "node . serve",
"develop": "node . develop",
"test": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=true __GWD_ROLLUP_MODE__=strict NODE_NO_WARNINGS=1 c8 mocha --exclude \"./packages/**/test/cases/exp-*/**\" \"./packages/**/**/*.spec.js\"",
"test:exp": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=true __GWD_ROLLUP_MODE__=strict NODE_NO_WARNINGS=1 node --experimental-loader $(pwd)/test/test-loader.js ./node_modules/mocha/bin/mocha \"./packages/**/**/*.spec.js\"",
"test:exp:win": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=true __GWD_ROLLUP_MODE__=strict NODE_NO_WARNINGS=1 node --experimental-loader file:\\\\%cd%\\test\\test-loader.js ./node_modules/mocha/bin/mocha --exclude \"./packages/init/test/cases/**\" \"./packages/**/**/*.spec.js\"",
"test": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=true __GWD_ROLLUP_MODE__=strict NODE_NO_WARNINGS=1 c8 mocha --exclude \"./packages/**/test/cases/loaders-*/**\" \"./packages/**/**/*.spec.js\"",
"test:loaders": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=true __GWD_ROLLUP_MODE__=strict NODE_NO_WARNINGS=1 node --loader $(pwd)/test/test-loader.js ./node_modules/mocha/bin/mocha \"./packages/**/**/*.spec.js\"",
"test:loaders:win": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=true __GWD_ROLLUP_MODE__=strict NODE_NO_WARNINGS=1 node --loader file:\\\\%cd%\\test\\test-loader.js ./node_modules/mocha/bin/mocha --exclude \"./packages/init/test/cases/**\" \"./packages/**/**/*.spec.js\"",
"test:tdd": "yarn test --watch",
"lint:js": "eslint \"*.{js,md}\" \"./packages/**/**/*.{js,md}\" \"./test/*.js\" \"./www/**/**/*.{js,md}\"",
"lint:js": "eslint \"*.js\" \"./packages/**/**/*.js\" \"./test/*.js\" \"./www/**/**/*.js\"",
"lint:ts": "eslint \"./packages/**/**/*.ts\"",
"lint:css": "stylelint \"./www/**/*.js\", \"./www/**/*.css\"",
"lint": "ls-lint && yarn lint:js && yarn lint:ts && yarn lint:css"
"lint": "ls-lint && yarn lint:js && yarn lint:css"
},
"resolutions": {
"lit": "^2.1.1"
"lit": "^3.1.0"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/plugin-syntax-import-assertions": "^7.24.1",
"@babel/preset-react": "^7.24.1",
"@ls-lint/ls-lint": "^1.10.0",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"babel-eslint": "^10.1.0",
"c8": "^7.10.0",
"chai": "^4.2.0",
Expand Down
24 changes: 13 additions & 11 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@greenwood/cli",
"version": "0.29.4",
"version": "0.30.0-alpha.7",
"description": "Greenwood CLI.",
"type": "module",
"repository": "https://github.com/ProjectEvergreen/greenwood",
Expand All @@ -18,7 +18,7 @@
"NodeJS"
],
"engines": {
"node": ">=18.12.1"
"node": ">=18.20.0"
},
"bin": {
"greenwood": "./src/index.js"
Expand All @@ -30,15 +30,16 @@
"access": "public"
},
"dependencies": {
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-terser": "^0.1.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"acorn": "^8.0.1",
"acorn-import-attributes": "^1.9.5",
"acorn-walk": "^8.0.0",
"commander": "^2.20.0",
"css-tree": "^2.2.1",
"es-module-shims": "^1.2.0",
"css-tree": "^3.0.0",
"es-module-shims": "^1.8.3",
"front-matter": "^4.0.2",
"koa": "^2.13.0",
"koa-body": "^6.0.1",
Expand All @@ -50,9 +51,9 @@
"remark-frontmatter": "^2.0.0",
"remark-parse": "^8.0.3",
"remark-rehype": "^7.0.0",
"rollup": "^2.58.0",
"rollup": "^3.29.4",
"unified": "^9.2.0",
"wc-compiler": "~0.10.0"
"wc-compiler": "~0.15.0"
},
"devDependencies": {
"@babel/runtime": "^7.10.4",
Expand All @@ -62,7 +63,8 @@
"@material/mwc-button": "^0.25.2",
"@stencil/core": "^2.12.0",
"@types/trusted-types": "^2.0.2",
"lit": "^2.0.0",
"geist": "^1.2.0",
"lit": "^3.1.0",
"lit-redux-router": "~0.20.0",
"lodash-es": "^4.17.20",
"postcss-nested": "^4.1.2",
Expand Down
Loading
Loading