Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #771 from boschresearch/fix/legacy-peer-deps
Browse files Browse the repository at this point in the history
add --legacy-peer-deps flag to all pipelines
  • Loading branch information
schlagtim authored Jun 23, 2022
2 parents 6a056cc + fc52229 commit 0e558ff
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 35 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
- name: Setup node and install deps
uses: actions/setup-node@v2
with:
node-version: '16.15.0'
check-latest: false
- run: npm --prefix frontend ci --no-optional
node-version: '16'
check-latest: true
- run: npm --prefix frontend ci --legacy-peer-deps

- name: Setup Java
uses: actions/setup-java@v2
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Dockerfile that builds frontend and backend, mainly used by the docker-compose files

# Vue Build Container
FROM node:16-alpine3.13 as VUE
FROM node:16-buster as VUE
WORKDIR /frontend
COPY frontend .
RUN npm install && npm run build
RUN npm ci --legacy-peer-deps && npm run build

# Micronaut build
FROM maven:3-eclipse-temurin-17 as MAVEN
Expand Down
6 changes: 3 additions & 3 deletions backend/business-partner-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@
</goals>
<configuration>
<!-- See https://nodejs.org/en/download/ -->
<nodeVersion>v16.15.0</nodeVersion>
<npmVersion>8.5.5</npmVersion>
<nodeVersion>v16.15.1</nodeVersion>
<npmVersion>8.11.0</npmVersion>
</configuration>
</execution>
<execution>
Expand All @@ -428,7 +428,7 @@
<goal>npm</goal>
</goals>
<configuration>
<arguments>ci --no-optional</arguments>
<arguments>ci --legacy-peer-deps</arguments>
</configuration>
</execution>
<execution>
Expand Down
4 changes: 3 additions & 1 deletion frontend/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
#
# SPDX-License-Identifier: Apache-2.0
save-exact=true
optional=false
save-prefix=
omit[]=optional
legacy-peer-deps=true
39 changes: 13 additions & 26 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e558ff

Please sign in to comment.