Skip to content

Commit d206ccb

Browse files
authored
[Comp-815] remove npm legacy-peer-deps (#760)
1 parent 8642629 commit d206ccb

File tree

4 files changed

+3453
-708
lines changed

4 files changed

+3453
-708
lines changed

.github/workflows/web.ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: ${{ matrix.node-version }}
4343
- name: Install dependencies
4444
run: |
45-
npm install --legacy-peer-deps
45+
npm install
4646
- name: Lint
4747
id: lint
4848
run: |
@@ -66,7 +66,7 @@ jobs:
6666

6767
- name: Install dependencies
6868
run: |
69-
npm install --legacy-peer-deps
69+
npm install
7070
7171
- name: Test with Cypress
7272
id: test
@@ -91,7 +91,7 @@ jobs:
9191
node-version: ${{ matrix.node-version }}
9292
- name: Install dependencies
9393
run: |
94-
npm install --legacy-peer-deps
94+
npm install
9595
- name: build to check strictness
9696
id: build
9797
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Change to the front-end directory:
8484

8585
### 3. Install Dependencies
8686
Install necessary npm packages:
87-
* `npm install --legacy-peer-deps`
87+
* `npm install`
8888

8989
### 4. Run Development Server
9090
Launch the development server:
@@ -178,7 +178,7 @@ example work yml for jest:
178178
179179
- name: Install dependencies
180180
run: |
181-
npm install --legacy-peer-deps
181+
npm install
182182
env:
183183
FONTAWESOME_PACKAGE_TOKEN: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
184184
@@ -220,7 +220,7 @@ you have to add a some dev dependencies and set them up in the app and then you
220220
221221
- name: Install dependencies
222222
run: |
223-
npm install --legacy-peer-deps
223+
npm install
224224
225225
- name: Test with Cypress
226226
id: test

compliance-web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ENV PATH /app/node_modules/.bin:$PATH
1616
COPY package.json ./
1717
COPY package-lock.json ./
1818

19-
RUN npm install --silent --legacy-peer-deps
19+
RUN npm install --silent
2020

2121
# create and set user permissions to app folder
2222
RUN mkdir -p node_modules/.cache && chmod -R 777 node_modules/.cache

0 commit comments

Comments
 (0)