New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

semantic-release-monorepo

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semantic-release-monorepo - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

src/git-utils.js

16

index.js

@@ -1,7 +0,17 @@

const getCommits = require('./src/get-commits');
// Default plugins that we'll wrap to filter commits by package.
const commitAnalyzer = require('@semantic-release/commit-analyzer');
const releaseNotesGenerator = require('@semantic-release/release-notes-generator');
const overrideOption = (key, wrapperFn) => pluginFn => async (pluginConfig, options) => {
const overriddenValue = await wrapperFn(options[key]);
return pluginFn(pluginConfig, { ...options, [key]: overriddenValue });
};
const withPackageCommits = overrideOption('commits', require('./src/with-package-commits'));
const publish = require('./src/publish');
module.exports = {
getCommits,
analyzeCommits: withPackageCommits(commitAnalyzer),
generateNotes: withPackageCommits(releaseNotesGenerator),
publish,
};
};

2

package.json

@@ -1,1 +0,1 @@

{"name":"semantic-release-monorepo","version":"1.0.0","description":"Plugins for `semantic-release` allowing it to be used with a monorepo.","main":"index.js","scripts":{"test":"echo \"No test specified\" && exit 0"},"license":"MIT","peerDependencies":{"semantic-release":"https://github.com/Updater/semantic-release#get-commits-plugin"},"dependencies":{"read-pkg":"^3.0.0"},"devDependencies":{"semantic-release":"https://github.com/Updater/semantic-release#get-commits-plugin"}}
{"name":"semantic-release-monorepo","version":"2.0.0","description":"Plugins for `semantic-release` allowing it to be used with a monorepo.","main":"index.js","scripts":{"test":"echo \"No test specified\" && exit 0"},"license":"MIT","peerDependencies":{"semantic-release":"^11.0.0"},"dependencies":{"execa":"^0.8.0","pkg-up":"^2.0.0","ramda":"^0.25.0","read-pkg":"^3.0.0"},"devDependencies":{"semantic-release":"^11.0.0"}}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc