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.0 to 0.2.1

16

dist/releaseMe.js

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

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

@@ -161,3 +161,3 @@ if (!args.dev) {

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

@@ -177,3 +177,3 @@ preset: 'angular',

const changelog = await streamToString(readable);
prerendFile(getChangeLogPath(monorepoRootDir, packageRootDir), changelog);
prerendFile(getChangeLogPath(packageRootDir), changelog);
/*

@@ -220,8 +220,8 @@ // Usage examples:

}
function getChangeLogPath(monorepoRootDir, packageRootDir) {
return path.join(monorepoRootDir, packageRootDir, 'CHANGELOG.md');
function getChangeLogPath(packageRootDir) {
return path.join(packageRootDir, 'CHANGELOG.md');
}
async function showPreview(pkg, monorepoRootDir, packageRootDir) {
async function showPreview(pkg, packageRootDir) {
await showCmd('git status');
await diffAndLog(getChangeLogPath(monorepoRootDir, packageRootDir));
await diffAndLog(getChangeLogPath(packageRootDir));
await diffAndLog(path.join(pkg.packageDir, 'package.json'));

@@ -228,0 +228,0 @@ async function diffAndLog(filePath) {

{
"name": "@brillout/release-me",
"version": "0.2.0",
"version": "0.2.1",
"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