@pnpm/exportable-manifest
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -9,4 +9,4 @@ "use strict"; | ||
const read_project_manifest_1 = require("@pnpm/read-project-manifest"); | ||
const fromPairs_js_1 = __importDefault(require("ramda/src/fromPairs.js")); | ||
const omit_js_1 = __importDefault(require("ramda/src/omit.js")); | ||
const fromPairs_1 = __importDefault(require("ramda/src/fromPairs")); | ||
const omit_1 = __importDefault(require("ramda/src/omit")); | ||
const overridePublishConfig_1 = require("./overridePublishConfig"); | ||
@@ -22,5 +22,5 @@ const PREPUBLISH_SCRIPTS = [ | ||
async function makePublishManifest(dir, originalManifest, opts) { | ||
const publishManifest = (0, omit_js_1.default)(['pnpm', 'scripts'], originalManifest); | ||
const publishManifest = (0, omit_1.default)(['pnpm', 'scripts'], originalManifest); | ||
if (originalManifest.scripts != null) { | ||
publishManifest.scripts = (0, omit_js_1.default)(PREPUBLISH_SCRIPTS, originalManifest.scripts); | ||
publishManifest.scripts = (0, omit_1.default)(PREPUBLISH_SCRIPTS, originalManifest.scripts); | ||
} | ||
@@ -43,3 +43,3 @@ for (const depsField of ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies']) { | ||
return dependencies; | ||
const publishDependencies = (0, fromPairs_js_1.default)(await Promise.all(Object.entries(dependencies) | ||
const publishDependencies = (0, fromPairs_1.default)(await Promise.all(Object.entries(dependencies) | ||
.map(async ([depName, depSpec]) => [ | ||
@@ -46,0 +46,0 @@ depName, |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.overridePublishConfig = void 0; | ||
const isEmpty_js_1 = __importDefault(require("ramda/src/isEmpty.js")); | ||
const isEmpty_1 = __importDefault(require("ramda/src/isEmpty")); | ||
// property keys that are copied from publishConfig into the manifest | ||
@@ -43,3 +43,3 @@ const PUBLISH_CONFIG_WHITELIST = new Set([ | ||
}); | ||
if ((0, isEmpty_js_1.default)(publishConfig)) { | ||
if ((0, isEmpty_1.default)(publishConfig)) { | ||
delete publishManifest.publishConfig; | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "@pnpm/exportable-manifest", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Creates an exportable manifest", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/exportable-manifest": "3.1.1", | ||
"@pnpm/exportable-manifest": "3.1.2", | ||
"@types/ramda": "0.28.14" | ||
@@ -31,5 +31,5 @@ }, | ||
"@pnpm/error": "3.0.1", | ||
"@pnpm/read-project-manifest": "3.0.8", | ||
"@pnpm/read-project-manifest": "3.0.9", | ||
"@pnpm/types": "8.5.0", | ||
"ramda": "^0.28.0" | ||
"ramda": "npm:@pnpm/ramda@0.28.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "funding": "https://opencollective.com/pnpm", |
Sorry, the diff of this file is not supported yet
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
12386
+ Added@pnpm/ramda@0.28.1(transitive)
+ Added@pnpm/read-project-manifest@3.0.9(transitive)
+ Added@pnpm/write-project-manifest@3.0.7(transitive)
- Removed@pnpm/read-project-manifest@3.0.8(transitive)
- Removed@pnpm/write-project-manifest@3.0.6(transitive)
- Removedramda@0.28.0(transitive)
Updatedramda@npm:@pnpm/ramda@0.28.1