From a2d94058247a4d714aa88eb2fa67338e48ad3dc8 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 21 Nov 2022 16:27:32 -0800 Subject: [PATCH] deprecate node < 18 --- README.md | 4 +- packages/backend/package.json | 4 +- packages/client/src/pages/about-calckey.vue | 2 +- packages/client/src/pages/page.vue | 86 ++++++++++----------- 4 files changed, 47 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index b729f421e..b4af8e16a 100644 --- a/README.md +++ b/README.md @@ -48,9 +48,7 @@ This guide will work for both **starting from scratch** and **migrating from Mis ## 📦 Dependencies -- At least 🐢 [NodeJS](https://nodejs.org/en/) v16.15.0 (v18.12.1 recommended) - -> ⚠️ NodeJS v19 is not supported as of right now because of [this issue](https://github.com/nodejs/node-gyp/issues/2757). +- At least 🐢 [NodeJS](https://nodejs.org/en/) v18.12.1 (v19.1.0 recommended) - 🐘 At least [PostgreSQL](https://www.postgresql.org/) v12 diff --git a/packages/backend/package.json b/packages/backend/package.json index 52c83be0c..2f7a11984 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -4,8 +4,8 @@ "private": true, "type": "module", "scripts": { - "start": "node --experimental-json-modules ./built/index.js", - "start:test": "NODE_ENV=test node --experimental-json-modules ./built/index.js", + "start": "node ./built/index.js", + "start:test": "NODE_ENV=test node ./built/index.js", "migrate": "typeorm migration:run -d ormconfig.js", "build": "tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json", "watch": "node watch.mjs", diff --git a/packages/client/src/pages/about-calckey.vue b/packages/client/src/pages/about-calckey.vue index 44a661ce0..a462ae7b6 100644 --- a/packages/client/src/pages/about-calckey.vue +++ b/packages/client/src/pages/about-calckey.vue @@ -19,7 +19,7 @@