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:
Christopher Hiller
2022-03-10 10:56:35 -08:00
parent 0f5d3f8c1d
commit 8bde0703ad
3 changed files with 51734 additions and 3 deletions

1
.gitignore vendored
View File

@@ -2,7 +2,6 @@
*.swp
.DS_Store
node_modules
package-lock.json
*.trace
xcuserdata
*.sublime-*

51732
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -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",