@imagexmedia/cli 0.0.1 → 0.0.3
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.
- package/dist/commands/turbo.js +3 -0
- package/package.json +6 -3
package/dist/commands/turbo.js
CHANGED
|
@@ -8,6 +8,7 @@ export default function execute(app) {
|
|
|
8
8
|
.option('--force', 'Ignore cache')
|
|
9
9
|
.option('--production', 'Use production mode')
|
|
10
10
|
.option('--watch', 'Use watch mode')
|
|
11
|
+
.option('--tui', 'Use TUI')
|
|
11
12
|
.action(async (task, workspace, options) => {
|
|
12
13
|
const cmd = ['npx', 'turbo', 'run', task];
|
|
13
14
|
const opt = [];
|
|
@@ -24,6 +25,8 @@ export default function execute(app) {
|
|
|
24
25
|
opt.push('--production');
|
|
25
26
|
if (options.watch)
|
|
26
27
|
opt.push('--watch');
|
|
28
|
+
if (options.tui)
|
|
29
|
+
cmd.push('--ui', 'tui');
|
|
27
30
|
await $({ stdio: 'inherit' }) `${cmd} -- ${opt}`;
|
|
28
31
|
});
|
|
29
32
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imagexmedia/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"description": "The ImageX SWAT CLI package.",
|
|
6
6
|
"author": "ImageX Media",
|
|
7
7
|
"license": "MIT",
|
|
@@ -21,13 +21,16 @@
|
|
|
21
21
|
"configs",
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22"
|
|
26
|
+
},
|
|
24
27
|
"scripts": {
|
|
25
28
|
"build": "rm -rf dist && tsc -b && chmod +x dist/bin/*.js && mkdir -p packs && npm pack --pack-destination packs"
|
|
26
29
|
},
|
|
27
|
-
"
|
|
30
|
+
"dependencies": {
|
|
28
31
|
"chalk": "^5.6.2",
|
|
29
32
|
"commander": "^14.0.2",
|
|
30
33
|
"execa": "^9.6.1",
|
|
31
|
-
"listr2": "^
|
|
34
|
+
"listr2": "^10.1.0"
|
|
32
35
|
}
|
|
33
36
|
}
|