mirror of
https://github.com/appium/appium.git
synced 2026-01-27 12:48:53 -06:00
chore: commit package-lock.json
Because it’s now under VCS, we shouldn’t remove it when cleaning, since that will probably result in a dirty working copy. changed the `reinstall` script to call `npm ci`, which a) expects `package-lock.json` to exist, and b) removes `node_modules` before it installs stuff.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,7 +2,6 @@
|
||||
*.swp
|
||||
.DS_Store
|
||||
node_modules
|
||||
package-lock.json
|
||||
*.trace
|
||||
xcuserdata
|
||||
*.sublime-*
|
||||
|
||||
51732
package-lock.json
generated
Normal file
51732
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,7 @@
|
||||
"clean": "run-s clean:artifacts clean:packages clean:monorepo",
|
||||
"clean:artifacts": "run-s clean:distfiles clean:types && npx rimraf \"packages/*/build\"",
|
||||
"clean:distfiles": "npx rimraf \"packages/*/build/**/*.js\"",
|
||||
"clean:monorepo": "npx rimraf node_modules package-lock.json",
|
||||
"clean:monorepo": "npx rimraf node_modules",
|
||||
"clean:packages": "lerna clean -y && npx rimraf \"packages/*/package-lock.json\"",
|
||||
"clean:types": "tsc -b --clean",
|
||||
"dev": "run-p dev:*",
|
||||
@@ -46,7 +46,7 @@
|
||||
"precommit-lint": "lint-staged",
|
||||
"precommit-msg": "echo 'Pre-commit checks...'",
|
||||
"prepublishOnly": "run-s clean:artifacts build",
|
||||
"reinstall": "npm run clean && npm install",
|
||||
"reinstall": "run-p clean:artifacts clean:packages && npm ci",
|
||||
"start": "appium",
|
||||
"sync-pkgs": "run-p sync-pkgs:*",
|
||||
"sync-pkgs:appium-readme": "sync-monorepo-packages --force --no-package-json --packages=packages/appium README.md",
|
||||
|
||||
Reference in New Issue
Block a user