[examples] fix redwood template and update examples to use at least node@16 (#10395)

The redwood template was broken because it would use node@18, which is not supported for the version of redwood used in the template. This PR updates that version to be node@16, which does work.

While we're at it, I also updated other examples to be at least node@16. I tested deployments of each of these and the all work.
This commit is contained in:
Sean Massa
2023-08-25 10:01:55 -05:00
committed by GitHub
parent d3c84e5d2a
commit cff72e3129
6 changed files with 10 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
---
"examples": patch
---
update examples to use at least node@16

View File

@@ -30,6 +30,6 @@
"wct-browser-legacy": "^1.0.0"
},
"engines": {
"node": ">=8.0"
"node": ">=16.0"
}
}

View File

@@ -14,7 +14,7 @@
"extends": "@redwoodjs/eslint-config"
},
"engines": {
"node": ">=12",
"node": "16.x",
"yarn": ">=1.15"
}
}

View File

@@ -27,6 +27,6 @@
"typescript": "^5.1.3"
},
"engines": {
"node": ">=14"
"node": ">=16"
}
}

View File

@@ -46,6 +46,6 @@
]
},
"engines": {
"node": ">=8.0.0 <17"
"node": "16.x"
}
}

View File

@@ -5,7 +5,7 @@
"build": "vuepress build src"
},
"engines": {
"node": ">=14.0.0 <18.0.0"
"node": ">=16.0.0 <18.0.0"
},
"devDependencies": {
"vuepress": "1.9.7"