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 | 60 ++++++++++++++-------------- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index 496da55..6116087 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 3f8da64..6137b96 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 79ae50a..e9515fd 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -1097,24 +1097,6 @@ "url": "https://opencollective.com/eslint" } }, - "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==", - "dev": true, - "dependencies": { - "confusing-browser-globals": "^1.0.10", - "object.assign": "^4.1.2", - "object.entries": "^1.1.2" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "eslint": "^5.16.0 || ^6.8.0 || ^7.2.0", - "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", @@ -1137,6 +1119,36 @@ "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==", + "dev": true, + "dependencies": { + "confusing-browser-globals": "^1.0.10", + "object.assign": "^4.1.2", + "object.entries": "^1.1.2" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "eslint": "^5.16.0 || ^6.8.0 || ^7.2.0", + "eslint-plugin-import": "^2.22.1" + } + }, + "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, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "eslint": "^7.32.0" + } + }, "node_modules/eslint-import-resolver-node": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", @@ -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",