@mono-labs/cli 0.0.31 → 0.0.33
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/lib/index.js +2 -1
- package/package.json +2 -1
package/lib/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import 'dotenv/config'
|
|
2
|
+
import spawn from 'cross-spawn';
|
|
2
3
|
|
|
3
4
|
import { program } from './app.js'
|
|
4
5
|
import './commands/build/index.js'
|
|
@@ -38,7 +39,7 @@ program.on('command:*', (operands) => {
|
|
|
38
39
|
console.log('Rest is empty or starts with flags, inserting DEFAULT_SCRIPT');
|
|
39
40
|
// Prefer an explicit script name; if you want to always use `run`, do:
|
|
40
41
|
// rest = ['run', DEFAULT_SCRIPT, ...rest];
|
|
41
|
-
rest = [
|
|
42
|
+
rest = ['', ...rest]; // yarn workspace <ws> dev --flags
|
|
42
43
|
console.log('Rest after inserting DEFAULT_SCRIPT:', rest);
|
|
43
44
|
}
|
|
44
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mono-labs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "A CLI tool for building and deploying projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@aws-sdk/util-dynamodb": "^3.848.0",
|
|
33
33
|
"chalk": "^4.1.2",
|
|
34
34
|
"commander": "^11.1.0",
|
|
35
|
+
"cross-spawn": "^7.0.6",
|
|
35
36
|
"dotenv": "^17.2.0",
|
|
36
37
|
"inquirer": "^12.8.2",
|
|
37
38
|
"tree-kill": "^1.2.2"
|