juk-cli 0.2.0 → 0.4.0

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/dist/index.mjs +3 -3
  2. package/package.json +14 -14
package/dist/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  /*!
3
- * JS Utils Kit CLI v0.2.0
3
+ * JS Utils Kit CLI v0.4.0
4
4
  * command line interface utilities
5
5
  *
6
- * Copyright (c) 30-01-2026 Sriman
6
+ * Copyright (c) 04-03-2026 Sriman
7
7
  * Homepage: https://github.com/teneplaysofficial/js-utils-kit/tree/main/packages/juk-cli#readme
8
8
  * Repository: https://github.com/teneplaysofficial/js-utils-kit
9
9
  * License: MIT
10
10
  *
11
11
  * This software is provided "as-is", without any express or implied warranty.
12
12
  */
13
- import e,{exit as t}from"node:process";import n from"node:path";import{isCI as r}from"@js-utils-kit/env";import i from"figlet";const a=[{flags:`-h, --help`,desc:`Show this help message`},{flags:`-v, --version`,desc:`Show CLI version`},{flags:`--is-ci`,desc:`Detects whether the command is running in a Continuous Integration (CI) environment and exits accordingly`}],o=[``,`-h`,`-v`,`--is-ci`],s=a.flatMap(e=>e.flags.split(`,`).map(e=>e.trim()));var c={name:`juk-cli`,displayName:`JS Utils Kit CLI`,version:`0.2.0`,description:`command line interface utilities`,private:!1,license:`MIT`,author:{name:`Sriman`,email:`136729116+TenEplaysOfficial@users.noreply.github.com`,url:`https://tene.vercel.app`},homepage:`https://github.com/teneplaysofficial/js-utils-kit/tree/main/packages/juk-cli#readme`,repository:{type:`git`,url:`https://github.com/teneplaysofficial/js-utils-kit`,directory:`packages/juk-cli`},bugs:{url:`https://github.com/teneplaysofficial/js-utils-kit/issues`},files:[`dist`],engines:{node:`>=22`},type:`module`,bin:{"juk-cli":`dist/index.mjs`,juk:`dist/index.mjs`,"js-utils-kit":`dist/index.mjs`,utils:`dist/index.mjs`},scripts:{build:`tsdown`},dependencies:{"@js-utils-kit/env":`workspace:*`,figlet:`catalog:`}};const l=Object.keys(c.bin??{}),u=n.basename(process.argv[1]??``),d=l.includes(u)?u:`juk`,f=Math.max(...a.map(e=>e.flags.length));function p(){console.log(`
13
+ import e,{exit as t}from"node:process";import n from"node:path";import{isCI as r}from"@js-utils-kit/env";import i from"figlet";const a=[{flags:`-h, --help`,desc:`Show this help message`},{flags:`-v, --version`,desc:`Show CLI version`},{flags:`--is-ci`,desc:`Detects whether the command is running in a Continuous Integration (CI) environment and exits accordingly`}],o=[``,`-h`,`-v`,`--is-ci`],s=a.flatMap(e=>e.flags.split(`,`).map(e=>e.trim()));var c={name:`juk-cli`,displayName:`JS Utils Kit CLI`,version:`0.4.0`,description:`command line interface utilities`,homepage:`https://github.com/teneplaysofficial/js-utils-kit/tree/main/packages/juk-cli#readme`,repository:{type:`git`,url:`https://github.com/teneplaysofficial/js-utils-kit`,directory:`packages/juk-cli`},bugs:{url:`https://github.com/teneplaysofficial/js-utils-kit/issues`},license:`MIT`,author:{name:`Sriman`,email:`136729116+TenEplaysOfficial@users.noreply.github.com`,url:`https://tene.vercel.app`},private:!1,files:[`dist`],type:`module`,bin:{"js-utils-kit":`dist/index.mjs`,juk:`dist/index.mjs`,"juk-cli":`dist/index.mjs`,utils:`dist/index.mjs`},engines:{node:`>=22`},scripts:{build:`tsdown`},dependencies:{"@js-utils-kit/env":`workspace:*`,figlet:`catalog:`}};const l=Object.keys(c.bin??{}),u=n.basename(process.argv[1]??``),d=l.includes(u)?u:`juk`,f=Math.max(...a.map(e=>e.flags.length));function p(){console.log(`
14
14
  Usage: ${d} [options]
15
15
 
16
16
  Options:
package/package.json CHANGED
@@ -1,15 +1,8 @@
1
1
  {
2
2
  "name": "juk-cli",
3
3
  "displayName": "JS Utils Kit CLI",
4
- "version": "0.2.0",
4
+ "version": "0.4.0",
5
5
  "description": "command line interface utilities",
6
- "private": false,
7
- "license": "MIT",
8
- "author": {
9
- "name": "Sriman",
10
- "email": "136729116+TenEplaysOfficial@users.noreply.github.com",
11
- "url": "https://tene.vercel.app"
12
- },
13
6
  "homepage": "https://github.com/teneplaysofficial/js-utils-kit/tree/main/packages/juk-cli#readme",
14
7
  "repository": {
15
8
  "type": "git",
@@ -19,22 +12,29 @@
19
12
  "bugs": {
20
13
  "url": "https://github.com/teneplaysofficial/js-utils-kit/issues"
21
14
  },
15
+ "license": "MIT",
16
+ "author": {
17
+ "name": "Sriman",
18
+ "email": "136729116+TenEplaysOfficial@users.noreply.github.com",
19
+ "url": "https://tene.vercel.app"
20
+ },
21
+ "private": false,
22
22
  "files": [
23
23
  "dist"
24
24
  ],
25
- "engines": {
26
- "node": ">=22"
27
- },
28
25
  "type": "module",
29
26
  "bin": {
30
- "juk-cli": "dist/index.mjs",
31
- "juk": "dist/index.mjs",
32
27
  "js-utils-kit": "dist/index.mjs",
28
+ "juk": "dist/index.mjs",
29
+ "juk-cli": "dist/index.mjs",
33
30
  "utils": "dist/index.mjs"
34
31
  },
32
+ "engines": {
33
+ "node": ">=22"
34
+ },
35
35
  "dependencies": {
36
36
  "figlet": "^1.10.0",
37
- "@js-utils-kit/env": "1.4.0"
37
+ "@js-utils-kit/env": "1.6.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsdown"