From 99734c1f9b0668c131297fe596c6a0588b2e51e0 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 5 Mar 2024 15:26:49 -0700 Subject: [PATCH] feat: publish npm-shrinkwrap.json (#161) --- .gitignore | 1 + package.json | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5f9e8be..570627a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules oclif.manifest.json oclif.lock +npm-shrinkwrap.json diff --git a/package.json b/package.json index 46ba3b1..3ed4725 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,8 @@ "/lib", "/messages", "/oclif.manifest.json", - "/oclif.lock" + "/oclif.lock", + "/npm-shrinkwrap.json" ], "keywords": [ "sfdx-plugin" @@ -104,9 +105,9 @@ "docs": "sf-docs", "format": "sf-format", "lint": "sf-lint", - "postpack": "rm -f oclif.manifest.json", + "postpack": "rm -f oclif.manifest.json oclif.lock npm-shrinkwrap.json", "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference", - "prepack": "sf-prepack && oclif lock", + "prepack": "sf-prepack && oclif lock && npm shrinkwrap", "pretest": "sf-compile-test", "test": "sf-test", "test:command-reference": "./bin/dev commandreference:generate -p @salesforce/sfdx-plugin-lwc-test --erroronwarnings",