mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-10-31 23:15:05 +01:00
Use Node.js 20 (#1076)
This commit is contained in:
parent
ae370d2c60
commit
a13eafee61
@ -8,7 +8,7 @@ Before submitting your contribution, please make sure to take a moment and read
|
|||||||
|
|
||||||
## Development Setup
|
## Development Setup
|
||||||
|
|
||||||
You will need [Node.js](http://nodejs.org) **version 18+**, and [pnpm](https://pnpm.io/installation) **version 8+**.
|
You will need [Node.js](http://nodejs.org) **version 20+**, and [pnpm](https://pnpm.io/installation) **version 8+**.
|
||||||
|
|
||||||
After cloning the repo and entering the the directory, go to the `/website` folder and run:
|
After cloning the repo and entering the the directory, go to the `/website` folder and run:
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[build.environment]
|
[build.environment]
|
||||||
NODE_VERSION = "18"
|
NODE_VERSION = "20"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
base = "website"
|
base = "website"
|
||||||
@ -9,4 +9,4 @@
|
|||||||
command = "VITE_HOSTNAME=$URL pnpm build"
|
command = "VITE_HOSTNAME=$URL pnpm build"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "VITE_HOSTNAME=$DEPLOY_PRIME_URL pnpm build"
|
command = "VITE_HOSTNAME=$DEPLOY_PRIME_URL pnpm build"
|
||||||
|
@ -1 +1 @@
|
|||||||
18
|
20
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18",
|
"node": ">=20",
|
||||||
"pnpm": ">=8"
|
"pnpm": ">=8"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user