@pnpm/prepare-package
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -13,3 +13,3 @@ "use strict"; | ||
async function preparePackage(pkgDir) { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
const manifest = await (0, read_package_json_1.safeReadPackageFromDir)(pkgDir); | ||
@@ -22,3 +22,3 @@ if (((_a = manifest === null || manifest === void 0 ? void 0 : manifest.scripts) === null || _a === void 0 ? void 0 : _a.prepare) != null && manifest.scripts.prepare !== '') { | ||
catch (err) { // eslint-disable-line | ||
throw new error_1.default('PREPARE_PKG_FAILURE', `${err.shortMessage}`); // eslint-disable-line | ||
throw new error_1.default('PREPARE_PKG_FAILURE', (_d = err.shortMessage) !== null && _d !== void 0 ? _d : err.message); | ||
} | ||
@@ -25,0 +25,0 @@ await (0, rimraf_1.default)(path_1.default.join(pkgDir, 'node_modules')); |
{ | ||
"name": "@pnpm/prepare-package", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Prepares a Git-hosted package", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"@pnpm/error": "2.0.0", | ||
"@pnpm/read-package-json": "5.0.7", | ||
"@pnpm/read-package-json": "5.0.8", | ||
"@zkochan/rimraf": "^2.1.1", | ||
@@ -29,0 +29,0 @@ "execa": "npm:safe-execa@^0.1.1", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4811
+ Added@pnpm/read-package-json@5.0.8(transitive)
+ Added@pnpm/types@7.7.1(transitive)
- Removed@pnpm/read-package-json@5.0.7(transitive)
- Removed@pnpm/types@7.7.0(transitive)