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
|
WORKDIR /src
|
||||||
|
|
||||||
COPY package.json package-lock.json /src/
|
COPY .npmrc package.json package-lock.json /src/
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
COPY . /src/
|
COPY . /src/
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -77,8 +77,8 @@
|
||||||
"webpack-merge": "^5.7.3"
|
"webpack-merge": "^5.7.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.15.0 <=17.9.0",
|
"node": ">=14.15.0",
|
||||||
"npm": ">=6.14.8 <=8.5.5"
|
"npm": ">=6.14.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
"description": "Yet another matrix client",
|
"description": "Yet another matrix client",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": ">=6.14.8 <=8.5.5",
|
"npm": ">=6.14.8",
|
||||||
"node": ">=14.15.0 <=17.9.0"
|
"node": ">=14.15.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack serve --config ./webpack.dev.js --open",
|
"start": "webpack serve --config ./webpack.dev.js --open",
|
||||||
|
|
Loading…
Reference in a new issue