@eve-horizon/cli 0.2.25 → 0.2.27
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.js +4 -3
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -48884,7 +48884,7 @@ var HELP = {
|
|
|
48884
48884
|
},
|
|
48885
48885
|
update: {
|
|
48886
48886
|
description: "Update project",
|
|
48887
|
-
usage: "eve project update <project_id> [--name <name>] [--deleted <bool>]"
|
|
48887
|
+
usage: "eve project update <project_id> [--name <name>] [--repo-url <url>] [--branch <branch>] [--deleted <bool>]"
|
|
48888
48888
|
},
|
|
48889
48889
|
sync: {
|
|
48890
48890
|
description: "Sync manifest from local .eve/manifest.yaml to Eve API",
|
|
@@ -51654,7 +51654,7 @@ async function handleProject(subcommand, positionals, flags, context2) {
|
|
|
51654
51654
|
switch (subcommand) {
|
|
51655
51655
|
case "ensure": {
|
|
51656
51656
|
const name = typeof flags.name === "string" ? flags.name : "";
|
|
51657
|
-
const repoUrl = typeof flags["repo-url"] === "string" ? flags["repo-url"] : void 0;
|
|
51657
|
+
const repoUrl = typeof flags["repo-url"] === "string" ? flags["repo-url"] : typeof flags.repo === "string" ? flags.repo : void 0;
|
|
51658
51658
|
const branch = typeof flags.branch === "string" ? flags.branch : "main";
|
|
51659
51659
|
const slug = typeof flags.slug === "string" ? flags.slug : void 0;
|
|
51660
51660
|
const orgIdRaw = typeof flags.org === "string" ? flags.org : context2.orgId;
|
|
@@ -51753,6 +51753,7 @@ async function handleProject(subcommand, positionals, flags, context2) {
|
|
|
51753
51753
|
const body = {};
|
|
51754
51754
|
if (typeof flags.name === "string") body.name = flags.name;
|
|
51755
51755
|
if (typeof flags["repo-url"] === "string") body.repo_url = flags["repo-url"];
|
|
51756
|
+
else if (typeof flags.repo === "string") body.repo_url = flags.repo;
|
|
51756
51757
|
if (typeof flags.branch === "string") body.branch = flags.branch;
|
|
51757
51758
|
const deleted = toBoolean(flags.deleted);
|
|
51758
51759
|
if (deleted !== void 0) body.deleted = deleted;
|
|
@@ -75451,7 +75452,7 @@ async function handleRoles(action, positionals, flags, context2, json) {
|
|
|
75451
75452
|
}
|
|
75452
75453
|
async function handleBind(flags, context2, json) {
|
|
75453
75454
|
const orgId = getStringFlag(flags, ["org"]) ?? context2.orgId;
|
|
75454
|
-
const projectId = getStringFlag(flags, ["project"])
|
|
75455
|
+
const projectId = getStringFlag(flags, ["project"]);
|
|
75455
75456
|
const roleName = getStringFlag(flags, ["role"]);
|
|
75456
75457
|
const scopeJson = parseScopeJsonFlag(flags);
|
|
75457
75458
|
if (!orgId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eve-horizon/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.27",
|
|
4
4
|
"description": "Eve Horizon CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
"dist",
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --external:yaml"
|
|
22
|
+
},
|
|
20
23
|
"publishConfig": {
|
|
21
24
|
"access": "public"
|
|
22
25
|
},
|
|
@@ -24,17 +27,14 @@
|
|
|
24
27
|
"node": ">=22.0.0"
|
|
25
28
|
},
|
|
26
29
|
"dependencies": {
|
|
27
|
-
"postgres": "^3.4.0",
|
|
28
|
-
"skills": "^1.3.7",
|
|
29
30
|
"yaml": "^2.5.1"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
33
|
+
"@eve/migrate": "workspace:*",
|
|
34
|
+
"@eve/shared": "workspace:*",
|
|
32
35
|
"@types/node": "^22.0.0",
|
|
33
36
|
"esbuild": "^0.27.3",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"build": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --external:yaml"
|
|
37
|
+
"postgres": "^3.4.0",
|
|
38
|
+
"typescript": "^5.7.0"
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|