🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@stacksjs/bumpx

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacksjs/bumpx - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+1
-1
dist/bin/cli.js
#!/usr/bin/env node
// @bun
import{a as A,b as W,f as Q,g as G,h as _}from"../chunk-afsx92r6.js";import{F as h,G as q,j as X,k as Y}from"../chunk-pncc752s.js";import{J as Z}from"../chunk-rpzxpagy.js";import{K as L,L as H}from"../chunk-ys4t56yj.js";import w from"process";var N="0.2.0";w.on("SIGINT",()=>{Q.value=!0,w.stderr.write(`
import{a as A,b as W,f as Q,g as G,h as _}from"../chunk-afsx92r6.js";import{F as h,G as q,j as X,k as Y}from"../chunk-pncc752s.js";import{J as Z}from"../chunk-rpzxpagy.js";import{K as L,L as H}from"../chunk-ys4t56yj.js";import w from"process";var N="0.2.1";w.on("SIGINT",()=>{Q.value=!0,w.stderr.write(`
Operation cancelled by user \x1B[3m(Ctrl+C)\x1B[0m

@@ -5,0 +5,0 @@ `),w.exit(0)});var K=new Z("bumpx");function R({event:b,script:m,updatedFiles:u,skippedFiles:j,newVersion:J},y=!1){switch(b){case"fileUpdated":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Updated ${u[u.length-1]} to ${J}`));break;case"fileSkipped":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.info} ${j[j.length-1]} did not need to be updated`));break;case"gitCommit":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Git commit`));break;case"gitTag":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Git tag`));break;case"gitPush":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Git push`));break;case"npmScript":console.log(q.green(`${h.checkmark} Npm run ${m}`));break;case"execute":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Execute ${m}`));break;case"changelogGenerated":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Generated changelog`));break}}async function S(){if(G(),w.env.NODE_ENV==="test"||w.env.BUN_ENV==="test"||w.argv.includes("test"))return!0;try{let b=await import("../chunk-rpzxpagy.js"),m=b.confirm||b.default?.confirm||b.CLI?.confirm;if(!m)throw new Error("Unable to import confirmation prompt from @stacksjs/clapp");return console.log(`

{
"name": "@stacksjs/bumpx",
"type": "module",
"version": "0.2.0",
"version": "0.2.1",
"description": "Automatically bump your versions.",

@@ -6,0 +6,0 @@ "author": "Chris Breuer <chris@stacksjs.org>",