@codelia/cli 0.1.3 → 0.1.10
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/index.cjs +5 -2
- package/dist/index.js +5 -2
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -845,8 +845,7 @@ var resolveTuiCommand = (options = {}) => {
|
|
|
845
845
|
const cliPackageRoot = options.cliPackageRoot === void 0 ? resolveCliPackageRoot() : options.cliPackageRoot;
|
|
846
846
|
const seen = /* @__PURE__ */ new Set();
|
|
847
847
|
const optionalTuiBinary = resolveOptionalBinary(platform, arch);
|
|
848
|
-
const
|
|
849
|
-
...optionalTuiBinary ? [optionalTuiBinary] : [],
|
|
848
|
+
const localCandidates = [
|
|
850
849
|
...cliPackageRoot ? [
|
|
851
850
|
import_node_path2.default.resolve(cliPackageRoot, "dist/bin", tuiBinaryName),
|
|
852
851
|
import_node_path2.default.resolve(
|
|
@@ -865,6 +864,10 @@ var resolveTuiCommand = (options = {}) => {
|
|
|
865
864
|
import_node_path2.default.resolve(cwd, "crates/tui/target/release", tuiBinaryName),
|
|
866
865
|
import_node_path2.default.resolve(cwd, "crates/tui/target/debug", tuiBinaryName)
|
|
867
866
|
];
|
|
867
|
+
const candidates = [
|
|
868
|
+
...localCandidates,
|
|
869
|
+
...optionalTuiBinary ? [optionalTuiBinary] : []
|
|
870
|
+
];
|
|
868
871
|
for (const candidate of candidates) {
|
|
869
872
|
if (seen.has(candidate)) continue;
|
|
870
873
|
seen.add(candidate);
|
package/dist/index.js
CHANGED
|
@@ -829,8 +829,7 @@ var resolveTuiCommand = (options = {}) => {
|
|
|
829
829
|
const cliPackageRoot = options.cliPackageRoot === void 0 ? resolveCliPackageRoot() : options.cliPackageRoot;
|
|
830
830
|
const seen = /* @__PURE__ */ new Set();
|
|
831
831
|
const optionalTuiBinary = resolveOptionalBinary(platform, arch);
|
|
832
|
-
const
|
|
833
|
-
...optionalTuiBinary ? [optionalTuiBinary] : [],
|
|
832
|
+
const localCandidates = [
|
|
834
833
|
...cliPackageRoot ? [
|
|
835
834
|
path2.resolve(cliPackageRoot, "dist/bin", tuiBinaryName),
|
|
836
835
|
path2.resolve(
|
|
@@ -849,6 +848,10 @@ var resolveTuiCommand = (options = {}) => {
|
|
|
849
848
|
path2.resolve(cwd, "crates/tui/target/release", tuiBinaryName),
|
|
850
849
|
path2.resolve(cwd, "crates/tui/target/debug", tuiBinaryName)
|
|
851
850
|
];
|
|
851
|
+
const candidates = [
|
|
852
|
+
...localCandidates,
|
|
853
|
+
...optionalTuiBinary ? [optionalTuiBinary] : []
|
|
854
|
+
];
|
|
852
855
|
for (const candidate of candidates) {
|
|
853
856
|
if (seen.has(candidate)) continue;
|
|
854
857
|
seen.add(candidate);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codelia/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20 <25"
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@codelia/config-loader": "0.1.
|
|
23
|
-
"@codelia/protocol": "0.1.
|
|
24
|
-
"@codelia/runtime": "0.1.
|
|
25
|
-
"@codelia/storage": "0.1.
|
|
22
|
+
"@codelia/config-loader": "0.1.10",
|
|
23
|
+
"@codelia/protocol": "0.1.10",
|
|
24
|
+
"@codelia/runtime": "0.1.10",
|
|
25
|
+
"@codelia/storage": "0.1.10",
|
|
26
26
|
"cac": "^6.7.14",
|
|
27
27
|
"zod": "^4.3.6"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@codelia/tui-darwin-arm64": "0.1.
|
|
31
|
-
"@codelia/tui-darwin-x64": "0.1.
|
|
32
|
-
"@codelia/tui-linux-arm64": "0.1.
|
|
33
|
-
"@codelia/tui-linux-x64": "0.1.
|
|
34
|
-
"@codelia/tui-win32-x64": "0.1.
|
|
30
|
+
"@codelia/tui-darwin-arm64": "0.1.10",
|
|
31
|
+
"@codelia/tui-darwin-x64": "0.1.10",
|
|
32
|
+
"@codelia/tui-linux-arm64": "0.1.10",
|
|
33
|
+
"@codelia/tui-linux-x64": "0.1.10",
|
|
34
|
+
"@codelia/tui-win32-x64": "0.1.10"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsup --config tsup.config.ts",
|