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:
parent
843b9ddffd
commit
0f6f65045d
4 changed files with 6 additions and 5 deletions
1
.npmrc
Normal file
1
.npmrc
Normal file
|
@ -0,0 +1 @@
|
|||
legacy-peer-deps=true
|
|
@ -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
4
package-lock.json
generated
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue