chore: npm 7 compat

This commit is contained in:
Nathan Walker
2021-04-12 09:54:30 -07:00
parent 53c8f673f7
commit 17a7019085
6 changed files with 8 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup
run: npm install
run: npm install --legacy-peer-deps
- name: Generate Version
run: |

View File

@@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup
run: npm install
run: npm install --legacy-peer-deps
- name: Generate Version
working-directory: packages/webpack

View File

@@ -7,7 +7,7 @@
"url": "https://github.com/NativeScript/NativeScript.git"
},
"scripts": {
"clean": "npx rimraf hooks node_modules platforms package-lock.json && npm i"
"clean": "npx rimraf hooks node_modules platforms package-lock.json && npm i --legacy-peer-deps"
},
"dependencies": {
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core",

View File

@@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/*",
"setup": "npm run clean && npm install",
"setup": "npm run clean && npm install --legacy-peer-deps",
"setup:yarn": "yarn run clean && yarn",
"setup:pnpm": "pnpm run clean && pnpm install",
"postinstall": "ts-patch install && husky install && nx run core:setup",

View File

@@ -29,7 +29,7 @@
"url": "https://github.com/NativeScript/nativescript-dev-webpack.git"
},
"scripts": {
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts",
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts --legacy-peer-deps",
"tsc": "tsc",
"postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js",

View File

@@ -26,7 +26,7 @@
"clean": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i", "npx rimraf -- package-lock.json"],
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i --legacy-peer-deps", "npx rimraf -- package-lock.json"],
"cwd": "apps/automated",
"parallel": false
}
@@ -58,7 +58,7 @@
"clean": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i", "npx rimraf -- package-lock.json"],
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i --legacy-peer-deps", "npx rimraf -- package-lock.json"],
"cwd": "apps/toolbox",
"parallel": false
}
@@ -90,7 +90,7 @@
"clean": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i", "npx rimraf -- package-lock.json"],
"commands": ["npx rimraf -- hooks node_modules platforms package-lock.json webpack.config.js", "npm i --legacy-peer-deps", "npx rimraf -- package-lock.json"],
"cwd": "apps/ui",
"parallel": false
}