Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brillout/release-me

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brillout/release-me - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

20

dist/releaseMe.js

@@ -66,3 +66,3 @@ "use strict";

const gitTagPrefix = args.gitTagPrefix ? `${args.gitTagPrefix}@` : 'v';
await changelog(packageRootDir, gitTagPrefix);
await changelog(monorepoRootDir, packageRootDir, gitTagPrefix);
await showPreview(pkg, packageRootDir);

@@ -161,3 +161,3 @@ await askConfirmation();

}
async function changelog(packageRootDir, gitTagPrefix) {
async function changelog(monorepoRootDir, packageRootDir, gitTagPrefix) {
const readable = (0, conventional_changelog_1.default)({

@@ -170,3 +170,6 @@ preset: 'angular',

// - https://github.com/conventional-changelog/conventional-changelog/issues/556#issuecomment-555539998
path: packageRootDir,
path: isSamePath(monorepoRootDir, packageRootDir)
? // Set to `undefined` in order to enable empty release commits (e.g. `fix: `).
undefined
: packageRootDir,
}, {

@@ -452,1 +455,12 @@ // Skip revert commits.

}
function isSamePath(p1, p2) {
p1 = path.normalize(p1);
p2 = path.normalize(p2);
(0, assert_1.default)(!p1.includes('\\'));
(0, assert_1.default)(!p2.includes('\\'));
(0, assert_1.default)(p1.startsWith('/'));
(0, assert_1.default)(p2.startsWith('/'));
(0, assert_1.default)(!p1.endsWith('/'));
(0, assert_1.default)(!p2.endsWith('/'));
return p1 === p2;
}

2

package.json
{
"name": "@brillout/release-me",
"version": "0.2.1",
"version": "0.2.2",
"scripts": {

@@ -5,0 +5,0 @@ "// === Dev ===": "",

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