Skip to content

Commit 17a7019

Browse files
committed
chore: npm 7 compat
1 parent 53c8f67 commit 17a7019

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/npm_release_tns_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v2
1919

2020
- name: Setup
21-
run: npm install
21+
run: npm install --legacy-peer-deps
2222

2323
- name: Generate Version
2424
run: |

.github/workflows/npm_release_webpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818

1919
- name: Setup
20-
run: npm install
20+
run: npm install --legacy-peer-deps
2121

2222
- name: Generate Version
2323
working-directory: packages/webpack

apps/automated/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/NativeScript/NativeScript.git"
88
},
99
"scripts": {
10-
"clean": "npx rimraf hooks node_modules platforms package-lock.json && npm i"
10+
"clean": "npx rimraf hooks node_modules platforms package-lock.json && npm i --legacy-peer-deps"
1111
},
1212
"dependencies": {
1313
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"scripts": {
66
"clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/*",
7-
"setup": "npm run clean && npm install",
7+
"setup": "npm run clean && npm install --legacy-peer-deps",
88
"setup:yarn": "yarn run clean && yarn",
99
"setup:pnpm": "pnpm run clean && pnpm install",
1010
"postinstall": "ts-patch install && husky install && nx run core:setup",

packages/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"url": "https://github.com/NativeScript/nativescript-dev-webpack.git"
3030
},
3131
"scripts": {
32-
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts",
32+
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts --legacy-peer-deps",
3333
"tsc": "tsc",
3434
"postinstall": "node postinstall.js",
3535
"preuninstall": "node preuninstall.js",

workspace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"clean": {
2727
"builder": "@nrwl/workspace:run-commands",
2828
"options": {
29-
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i", "npx rimraf -- package-lock.json"],
29+
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i --legacy-peer-deps", "npx rimraf -- package-lock.json"],
3030
"cwd": "apps/automated",
3131
"parallel": false
3232
}
@@ -58,7 +58,7 @@
5858
"clean": {
5959
"builder": "@nrwl/workspace:run-commands",
6060
"options": {
61-
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i", "npx rimraf -- package-lock.json"],
61+
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i --legacy-peer-deps", "npx rimraf -- package-lock.json"],
6262
"cwd": "apps/toolbox",
6363
"parallel": false
6464
}
@@ -90,7 +90,7 @@
9090
"clean": {
9191
"builder": "@nrwl/workspace:run-commands",
9292
"options": {
93-
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i", "npx rimraf -- package-lock.json"],
93+
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i --legacy-peer-deps", "npx rimraf -- package-lock.json"],
9494
"cwd": "apps/ui",
9595
"parallel": false
9696
}

0 commit comments

Comments
 (0)