From bdb9c82c375f283d59195518a7cf1f2d61e076b9 Mon Sep 17 00:00:00 2001 From: Sam Harrison Date: Thu, 12 Dec 2019 16:49:21 -0600 Subject: [PATCH] fix: drop the lock file checkout step during packaging --- .gitignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fdcb474a3..799e1fa70 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ twilio.env .env .history package-lock.json +npm-shrinkwrap.json ### Backup package.json files created during release ### *.bak diff --git a/package.json b/package.json index 06d9b90de..b027902e8 100644 --- a/package.json +++ b/package.json @@ -105,9 +105,9 @@ "url": "https://github.com/twilio/twilio-cli.git" }, "scripts": { - "postpack": "rimraf oclif.manifest.json npm-shrinkwrap.json", + "postpack": "rimraf oclif.manifest.json", "posttest": "eslint --ignore-path .gitignore . && npm audit", - "prepack": "oclif-dev manifest && oclif-dev readme && npm shrinkwrap && git checkout -- package-lock.json", + "prepack": "oclif-dev manifest && oclif-dev readme && npm shrinkwrap", "test": "nyc --check-coverage --lines 90 --reporter=html --reporter=text mocha --forbid-only \"test/**/*.test.js\"", "version": "oclif-dev readme && git add README.md", "postinstall": "node welcome.js"