Add npmrc so that newer node/npm version works (#806)

* Add .npmrc so that it works with newer npm

* Remove engine upper limit as it works with npmrc

* Lockfile maintainace, created new mapping with npm install

* Add npmrc so Docker doesnt fail on new npm version

* Revert 8a1946d55833daee6b335189733f02251de4c181 will set renovate
This commit is contained in:
Krishan 2022-09-03 21:36:47 +05:30 committed by GitHub
parent 843b9ddffd
commit 0f6f65045d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

1
.npmrc Normal file
View file

@ -0,0 +1 @@
legacy-peer-deps=true

View file

@ -3,7 +3,7 @@ FROM node:17.9.0-alpine3.15 as builder
WORKDIR /src
COPY package.json package-lock.json /src/
COPY .npmrc package.json package-lock.json /src/
RUN npm ci
COPY . /src/
RUN npm run build

4
package-lock.json generated
View file

@ -77,8 +77,8 @@
"webpack-merge": "^5.7.3"
},
"engines": {
"node": ">=14.15.0 <=17.9.0",
"npm": ">=6.14.8 <=8.5.5"
"node": ">=14.15.0",
"npm": ">=6.14.8"
}
},
"node_modules/@ampproject/remapping": {

View file

@ -4,8 +4,8 @@
"description": "Yet another matrix client",
"main": "index.js",
"engines": {
"npm": ">=6.14.8 <=8.5.5",
"node": ">=14.15.0 <=17.9.0"
"npm": ">=6.14.8",
"node": ">=14.15.0"
},
"scripts": {
"start": "webpack serve --config ./webpack.dev.js --open",