Skip to content

Commit

Permalink
chore(web): set website to a Node version that Vercel supports
Browse files Browse the repository at this point in the history
  • Loading branch information
justmoon committed May 19, 2024
1 parent 3e3cb2f commit 151dd47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .meta-updater/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ export default createUpdateOptions(async (workspaceDir) => {

return {
"package.json": (manifest, dir) => {
console.log({ manifest })
return {
...manifest,
author: "Stefan Thomas <[email protected]>",
engines: { node: `=${NODE_VERSION}` },
engines: {
node:
manifest.name === "@dassie/app-website" ?
"18.x"
: `=${NODE_VERSION}`,
},
}
},
"tsconfig.json": (tsConfig, { manifest, dir }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"@dassie/meta-tsconfig": "workspace:^"
},
"engines": {
"node": "=22.1.0"
"node": "18.x"
}
}

0 comments on commit 151dd47

Please sign in to comment.