From bb0d37f45981f801f7eabe23267e65449e081ad8 Mon Sep 17 00:00:00 2001 From: rogup Date: Tue, 2 Apr 2024 15:16:35 +0100 Subject: [PATCH] Fix deploy.sh script transpiling --- .gitignore | 4 ++-- package-lock.json | 16 ++++++++-------- package.json | 2 +- scripts/deploy.sh | 1 - 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index f593559..822a9b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -lib -node_modules +lib/ +node_modules/ .env data/shapefiles/ diff --git a/package-lock.json b/package-lock.json index e14313c..a79db4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "ts-mocha": "^10.0.0", "ts-node": "^10.7.0", "tslib": "^2.3.1", - "typescript": "^4.6.2" + "typescript": "^5.4.3" } }, "node_modules/@cspotcode/source-map-consumer": { @@ -3694,16 +3694,16 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "node_modules/typescript": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.2.tgz", - "integrity": "sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==", + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", + "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/umzug": { @@ -6869,9 +6869,9 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "typescript": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.2.tgz", - "integrity": "sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==", + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", + "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", "dev": true }, "umzug": { diff --git a/package.json b/package.json index a30b28f..4c2cff1 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,6 @@ "ts-mocha": "^10.0.0", "ts-node": "^10.7.0", "tslib": "^2.3.1", - "typescript": "^4.6.2" + "typescript": "^5.4.3" } } diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 800e70c..a86a233 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -16,7 +16,6 @@ fi git pull # Install dependencies -export NODE_ENV=production npm ci # Transpile ts into js