@zokugun/cli-utils 0.2.0 → 0.2.1

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.
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.Command = void 0;
37
- const commander = __importStar(require("commander"));
38
- const commander_1 = require("commander");
39
- Object.defineProperty(exports, "Command", { enumerable: true, get: function () { return commander_1.Command; } });
37
+ const commander = __importStar(require("@commander-js/extra-typings"));
38
+ const extra_typings_1 = require("@commander-js/extra-typings");
39
+ Object.defineProperty(exports, "Command", { enumerable: true, get: function () { return extra_typings_1.Command; } });
40
40
  exports.default = commander;
@@ -1,4 +1,4 @@
1
- import * as commander from 'commander';
2
- import { Command } from 'commander';
1
+ import * as commander from '@commander-js/extra-typings';
2
+ import { Command } from '@commander-js/extra-typings';
3
3
  export default commander;
4
4
  export { Command, };
@@ -1,4 +1,4 @@
1
- import * as commander from 'commander';
2
- import { Command } from 'commander';
1
+ import * as commander from '@commander-js/extra-typings';
2
+ import { Command } from '@commander-js/extra-typings';
3
3
  export default commander;
4
4
  export { Command, };
@@ -1,5 +1,5 @@
1
- import * as commander from 'commander';
2
- import { Command } from 'commander';
1
+ import * as commander from '@commander-js/extra-typings';
2
+ import { Command } from '@commander-js/extra-typings';
3
3
  export default commander;
4
4
  export {
5
5
  // eslint-disable-next-line unicorn/prefer-export-from
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zokugun/cli-utils",
3
3
  "description": "Utils for CLI app",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
7
7
  "email": "daiyam@zokugun.org"
@@ -13,7 +13,7 @@
13
13
  "url": "git+https://github.com/zokugun/node-cli-utils.git"
14
14
  },
15
15
  "bugs": {
16
- "url": "https://github.com/zokugun/node-cli-utils/issues"
16
+ "url": "https://github.com/zokugun/node-cli-utils/discussions/categories/issue-triage"
17
17
  },
18
18
  "type": "module",
19
19
  "exports": {
@@ -67,45 +67,49 @@
67
67
  }
68
68
  },
69
69
  "scripts": {
70
+ "audit:fix": "npm audit fix --min-release-age=0",
70
71
  "build": "npm run clean && npm run build:lib",
71
72
  "build:lib": "tsc-leda generate",
72
73
  "build:package": "tsc-leda update-package",
74
+ "ci:lint": "zizmor .",
75
+ "ci:lint:fix": "zizmor . --fix=all",
73
76
  "clean": "rimraf lib .src",
74
77
  "compile:src": "tsc -p src",
75
78
  "lint": "xo",
79
+ "lint:all": "fixpack && npm audit && npm run ci:lint && npm run lint",
76
80
  "lint:fix": "xo --fix",
77
81
  "postinstall": "patch-package",
78
82
  "prepack": "npm run build",
79
83
  "prepare": "husky; fixpack || true",
80
84
  "release": "release-it",
85
+ "update:artifacts": "artifact update",
86
+ "update:ci": "PINACT_MIN_AGE=7 pinact run",
87
+ "update:deps": "taze",
81
88
  "watch:build": "tsc-watch -p src --onSuccess 'npm run build'",
82
89
  "watch:src": "tsc-watch -p src"
83
90
  },
84
91
  "dependencies": {
85
- "@zokugun/log-update-plus": "^0.1.0",
86
- "ansi-colors": "^4.1.3",
87
- "cli-spinners": "^3.4.0",
88
- "commander": "^14.0.3",
89
- "enquirer": "^2.4.1",
90
- "patch-package": "^8.0.1"
92
+ "@commander-js/extra-typings": "14.0.0",
93
+ "@zokugun/log-update-plus": "0.1.1",
94
+ "ansi-colors": "4.1.3",
95
+ "cli-spinners": "3.4.0",
96
+ "commander": "14.0.3",
97
+ "enquirer": "2.4.1",
98
+ "patch-package": "8.0.1"
91
99
  },
92
100
  "devDependencies": {
93
- "@commitlint/cli": "^19.7.1",
94
- "@commitlint/config-conventional": "^19.7.1",
95
- "@types/node": "^20.14.8",
96
- "@zokugun/tsc-leda": "^0.3.1",
97
- "fixpack": "^4.0.0",
98
- "husky": "^9.1.7",
99
- "lint-staged": "^16.1.4",
100
- "release-it": "^19.2.4",
101
- "tsc-watch": "^7.2.0",
102
- "typescript": "^5.7.3",
101
+ "@commitlint/cli": "19.8.1",
102
+ "@commitlint/config-conventional": "19.8.1",
103
+ "@types/node": "20.19.39",
104
+ "@zokugun/tsc-leda": "0.3.1",
105
+ "fixpack": "4.0.0",
106
+ "husky": "9.1.7",
107
+ "lint-staged": "16.4.0",
108
+ "release-it": "20.0.0-1",
109
+ "taze": "19.11.0",
110
+ "tsc-watch": "7.2.0",
111
+ "typescript": "5.9.3",
103
112
  "xo": "0.60.0"
104
113
  },
105
- "overrides": {
106
- "terser-webpack-plugin": {
107
- "serialize-javascript": "^7.0.3"
108
- }
109
- },
110
114
  "keywords": []
111
115
  }