@ait-co/console-cli 0.1.19 → 0.1.20
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/cli.mjs +4 -4
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1475,7 +1475,7 @@ var ManifestError = class extends Error {
|
|
|
1475
1475
|
this.field = field;
|
|
1476
1476
|
}
|
|
1477
1477
|
};
|
|
1478
|
-
const DEFAULT_NAMES = ["aitcc.
|
|
1478
|
+
const DEFAULT_NAMES = ["aitcc.yaml", "aitcc.json"];
|
|
1479
1479
|
async function fileExists(path) {
|
|
1480
1480
|
try {
|
|
1481
1481
|
await access(path);
|
|
@@ -1487,7 +1487,7 @@ async function fileExists(path) {
|
|
|
1487
1487
|
/**
|
|
1488
1488
|
* Resolve the manifest file path. When `explicit` is provided, we use it
|
|
1489
1489
|
* verbatim (resolved against `cwd`) and require it to exist. Otherwise we
|
|
1490
|
-
* auto-detect `aitcc.
|
|
1490
|
+
* auto-detect `aitcc.yaml` then `aitcc.json` under `cwd`.
|
|
1491
1491
|
*/
|
|
1492
1492
|
async function resolveManifestPath(explicit, cwd) {
|
|
1493
1493
|
if (explicit) {
|
|
@@ -3987,7 +3987,7 @@ const appCommand = defineCommand({
|
|
|
3987
3987
|
},
|
|
3988
3988
|
config: {
|
|
3989
3989
|
type: "string",
|
|
3990
|
-
description: "Path to the app manifest. Defaults to `./aitcc.
|
|
3990
|
+
description: "Path to the app manifest. Defaults to `./aitcc.yaml`, then `./aitcc.json`."
|
|
3991
3991
|
},
|
|
3992
3992
|
"dry-run": {
|
|
3993
3993
|
type: "boolean",
|
|
@@ -5561,7 +5561,7 @@ function resolveVersion() {
|
|
|
5561
5561
|
if (typeof injected === "string" && injected.length > 0) return injected;
|
|
5562
5562
|
} catch {}
|
|
5563
5563
|
try {
|
|
5564
|
-
return "0.1.
|
|
5564
|
+
return "0.1.20";
|
|
5565
5565
|
} catch {}
|
|
5566
5566
|
return "0.0.0-dev";
|
|
5567
5567
|
}
|