chore: disable punycode deprecation warnings on newer node versions

This commit is contained in:
Alessio Gravili 2024-03-10 03:03:12 -04:00
parent 3c193246e2
commit e6d172694f

View File

@ -4,12 +4,12 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "next dev", "dev": "NODE_OPTIONS=--no-deprecation next dev",
"devsafe": "rm -rf .next && next dev", "devsafe": "rm -rf .next && NODE_OPTIONS=--no-deprecation next dev",
"build": "next build", "build": "NODE_OPTIONS=--no-deprecation next build",
"payload": "payload", "payload": "NODE_OPTIONS=--no-deprecation payload",
"start": "next start", "start": "NODE_OPTIONS=--no-deprecation next start",
"lint": "next lint" "lint": "NODE_OPTIONS=--no-deprecation next lint"
}, },
"engines": { "engines": {
"node": ">=18.17.0" "node": ">=18.17.0"