From 739d049a1b83749ecb19a62c2422365b69a50418 Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Sun, 19 Nov 2023 13:57:55 +0000 Subject: [PATCH] patch: --legacy-peer-deps should be a temporary solution --- .github/workflows/npm-update-bot.yml | 4 +- Dockerfile | 2 +- src/package-lock.json | 58 ++++++++++++++-------------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index 496da554..6116087b 100644 --- a/.github/workflows/npm-update-bot.yml +++ b/.github/workflows/npm-update-bot.yml @@ -20,9 +20,9 @@ jobs: - name: Bot 🤖 "Updating NPM Packages..." run: | npm config set fund false - npm update --legacy-peer-deps + npm update cd src - npm update --legacy-peer-deps + npm update git config --global user.name 'NPM Update Bot' git config --global user.email 'npmupbot@users.noreply.github.com' git add . diff --git a/Dockerfile b/Dockerfile index 3f8da640..6137b967 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM docker.io/library/node:18-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c9 # Copy Web UI COPY src/ /app/ WORKDIR /app -RUN npm config set fund false && npm ci --omit=dev --legacy-peer-deps +RUN npm config set fund false && npm ci --omit=dev # Copy build result to a new image. # This saves a lot of disk space. diff --git a/src/package-lock.json b/src/package-lock.json index 79ae50a5..e9515fda 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -1097,7 +1097,29 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-config-airbnb-base": { + "node_modules/eslint-config-athom": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eslint-config-athom/-/eslint-config-athom-3.1.1.tgz", + "integrity": "sha512-GtnARfOvuW/vJIvtfmZHwXXQimkuzR3+dNeGD95ASEr7DjjbF+26pWz6EBeFFSL3FnzF9oJr+jsxqTxlaK21nQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/eslint-plugin": "^5.30.7", + "@typescript-eslint/parser": "^5.30.7", + "eslint-config-airbnb-base": "^14.2.1", + "eslint-plugin-homey-app": "^1.0.2", + "eslint-plugin-import": "^2.24.2", + "eslint-plugin-mocha": "^6.3.0", + "eslint-plugin-node": "^11.1.0", + "typescript": "^4.4.3" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.5.0" + } + }, + "node_modules/eslint-config-athom/node_modules/eslint-config-airbnb-base": { "version": "14.2.1", "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz", "integrity": "sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==", @@ -1115,26 +1137,16 @@ "eslint-plugin-import": "^2.22.1" } }, - "node_modules/eslint-config-athom": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/eslint-config-athom/-/eslint-config-athom-3.1.1.tgz", - "integrity": "sha512-GtnARfOvuW/vJIvtfmZHwXXQimkuzR3+dNeGD95ASEr7DjjbF+26pWz6EBeFFSL3FnzF9oJr+jsxqTxlaK21nQ==", + "node_modules/eslint-config-athom/node_modules/eslint-plugin-homey-app": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-homey-app/-/eslint-plugin-homey-app-1.0.2.tgz", + "integrity": "sha512-uO09MpI0GaRfxWd8jKf6ei71zCCx3C4/8m1vm/GqYv1y/TEi8i2GdIlBCqyN67IXd4fwT+BNd+BoGxKh+8WC8A==", "dev": true, - "dependencies": { - "@typescript-eslint/eslint-plugin": "^5.30.7", - "@typescript-eslint/parser": "^5.30.7", - "eslint-config-airbnb-base": "^14.2.1", - "eslint-plugin-homey-app": "^1.0.2", - "eslint-plugin-import": "^2.24.2", - "eslint-plugin-mocha": "^6.3.0", - "eslint-plugin-node": "^11.1.0", - "typescript": "^4.4.3" - }, "engines": { - "node": ">=12.0.0" + "node": ">=12" }, "peerDependencies": { - "eslint": ">=7.5.0" + "eslint": "^7.32.0" } }, "node_modules/eslint-import-resolver-node": { @@ -1202,18 +1214,6 @@ "eslint": ">=4.19.1" } }, - "node_modules/eslint-plugin-homey-app": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-homey-app/-/eslint-plugin-homey-app-1.0.2.tgz", - "integrity": "sha512-uO09MpI0GaRfxWd8jKf6ei71zCCx3C4/8m1vm/GqYv1y/TEi8i2GdIlBCqyN67IXd4fwT+BNd+BoGxKh+8WC8A==", - "dev": true, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "eslint": "^7.32.0" - } - }, "node_modules/eslint-plugin-import": { "version": "2.29.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz",