@levr-one/cli 0.10.19 → 0.10.21
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/{addHandler-r0Yw1vu-.js → addHandler-DUulKXOX.js} +68 -68
- package/dist/appendHandler-DkbMvFOn.js +80 -0
- package/dist/artifact-upload-BnqeVY_b.js +296 -0
- package/dist/attachHandler-BOxIqxAw.js +151 -0
- package/dist/cli.js +237 -17
- package/dist/connect-CPybjrXT.js +36 -0
- package/dist/{currentHandler-BBHqC26D.js → currentHandler-B_sWXNeW.js} +1 -1
- package/dist/{importHandler-DptPgXYU.js → importHandler-oENkrali.js} +8 -8
- package/dist/{listHandler-Ct_-wWi2.js → listHandler-E666F9uV.js} +5 -5
- package/dist/{loginHandler-CVxKJV6A.js → loginHandler-DS29PzLz.js} +5 -10
- package/dist/{logoutHandler-BFutKash.js → logoutHandler-TSQlZGpU.js} +2 -2
- package/dist/{pushHandler-MQdf0TVK.js → pushHandler-CR5vu3ci.js} +142 -9
- package/dist/{resolve-token-DbQsmn03.js → resolve-token-7xb7kG7h.js} +2 -2
- package/dist/{resolve-workspace-BrmiCTJO.js → resolve-workspace-Dsm8Xzut.js} +2 -2
- package/dist/{runHandler-BTCT0Ugi.js → runHandler-B2DlFleh.js} +8 -8
- package/dist/{sdk-client-SXw7oTbQ.js → sdk-client-B_urshDp.js} +334 -73
- package/dist/{selectHandler-Co3MDgXz.js → selectHandler-Cv5fJl-p.js} +5 -5
- package/dist/sleep-BpJ39Ypm.js +7 -0
- package/dist/{statusHandler-Cu4DULGh.js → statusHandler-CwO5kl3m.js} +3 -3
- package/dist/{token-refresh-Cu5RpkLJ.js → token-refresh-DeusLK8H.js} +1 -1
- package/package.json +1 -1
- /package/dist/{env-CHeKHu5S.js → env-CdwyPHGV.js} +0 -0
- /package/dist/{workspace-store-DDOxnut1.js → workspace-store-CnrxyYRB.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getApiUrl, getPatToken, readCredentials } from "./env-
|
|
2
|
-
import { isTokenExpired, refreshToken } from "./token-refresh-
|
|
1
|
+
import { getApiUrl, getPatToken, readCredentials } from "./env-CdwyPHGV.js";
|
|
2
|
+
import { isTokenExpired, refreshToken } from "./token-refresh-DeusLK8H.js";
|
|
3
3
|
|
|
4
4
|
//#region src/auth/resolve-token.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { authGetSitesV1 } from "./sdk-client-
|
|
2
|
-
import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-
|
|
1
|
+
import { authGetSitesV1 } from "./sdk-client-B_urshDp.js";
|
|
2
|
+
import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-CnrxyYRB.js";
|
|
3
3
|
|
|
4
4
|
//#region src/workspace/resolve-workspace.ts
|
|
5
5
|
async function fetchSites() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
1
|
+
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-B_urshDp.js";
|
|
2
|
+
import "./env-CdwyPHGV.js";
|
|
3
|
+
import "./token-refresh-DeusLK8H.js";
|
|
4
|
+
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
|
+
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-Dsm8Xzut.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
|
-
import { constants } from "node:os";
|
|
8
|
+
import { constants as constants$1 } from "node:os";
|
|
9
9
|
import { spawnSync } from "node:child_process";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/gates/gate-runner.ts
|
|
@@ -115,7 +115,7 @@ const runInShell = (command) => {
|
|
|
115
115
|
});
|
|
116
116
|
const stderr = (r.stderr ?? "") + (r.error ? `\n[runner] ${r.error.message}` : "") + (r.signal ? `\n[runner] killed by ${r.signal}` : "");
|
|
117
117
|
const killed = r.error !== void 0 || r.signal !== null;
|
|
118
|
-
const signalNumber = r.signal ? constants.signals[r.signal] : void 0;
|
|
118
|
+
const signalNumber = r.signal ? constants$1.signals[r.signal] : void 0;
|
|
119
119
|
return {
|
|
120
120
|
exitCode: killed ? typeof signalNumber === "number" ? 128 + signalNumber : 126 : r.status ?? 126,
|
|
121
121
|
stdout: r.stdout ?? "",
|