@goldstack/utils-cli 0.3.28 → 0.3.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -1
  2. package/package.json +3 -4
package/README.md CHANGED
@@ -1,5 +1,25 @@
1
+ [![npm version](https://badge.fury.io/js/%40goldstack%2Futils-cli.svg)](https://badge.fury.io/js/%40goldstack%2Futils-cli)
2
+
1
3
  # Goldstack CLI Utils
2
4
 
3
5
  This library contains a method to wrap the execution for a Node.js CLI application.
4
6
 
5
- See [Source Code](https://github.com/goldstack/goldstack/blob/master/workspaces/templates-lib/packages/utils-cli/src/utilsCli.ts).
7
+ This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @goldstack/utils-cli
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```typescript
17
+ import { runCli } from '@goldstack/utils-cli';
18
+
19
+ runCli(async () => {
20
+ // Your CLI logic here
21
+ });
22
+ ```
23
+
24
+ See [Source Code](https://github.com/goldstack/goldstack/blob/master/workspaces/utils/packages/utils-cli/src/utilsCli.ts).
25
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/utils-cli",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "description": "Utilities for building command line interfaces.",
5
5
  "keywords": [
6
6
  "goldstack",
@@ -29,9 +29,9 @@
29
29
  "compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
30
30
  "coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
31
31
  "prepublishOnly": "yarn run build",
32
- "publish": "utils-git changed --exec \"yarn npm publish $@\"",
32
+ "publish": "yarn npm publish --tolerate-republish",
33
33
  "test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
34
- "version:apply": "utils-git changed --exec \"yarn version $@ && yarn version apply\"",
34
+ "version:apply": "yarn version $@ && yarn version apply",
35
35
  "version:apply:force": "yarn version $@ && yarn version apply"
36
36
  },
37
37
  "dependencies": {
@@ -39,7 +39,6 @@
39
39
  "pino-pretty": "^11.2.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@goldstack/utils-git": "0.2.23",
43
42
  "@swc/core": "^1.15.8",
44
43
  "@swc/jest": "^0.2.39",
45
44
  "@types/jest": "^30.0.0",