@superwall/cli 1.3.0 → 1.4.0
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/{actions-CWsTaw-9.js → actions-EfP8phmb.js} +2 -2
- package/dist/{api-CxKSh7Fv.js → api-CEwXCCoC.js} +5 -5
- package/dist/{app-iJ6GVRuJ.js → app-D8mEVlQo.js} +7 -7
- package/dist/{asa-a55E5e8Z.js → asa-BFWehnTA.js} +5 -5
- package/dist/{asc-xZ8IMAc7.js → asc-DJqQmtmR.js} +5 -5
- package/dist/{auth-DroV5uRf.js → auth-CT2DWX8r.js} +8 -8
- package/dist/auth.js +2 -2
- package/dist/{billing-D7nyWvD1.js → billing-BzEnVPD2.js} +1 -1
- package/dist/{bind-CpMOHtha.js → bind-BZxVyt9P.js} +1 -1
- package/dist/{command-RrGwoPLb.js → command-DP96_gmP.js} +4 -4
- package/dist/{create-DJpd25Wz.js → create-Q8TqqjZt.js} +14 -14
- package/dist/{dev-FhZ1_Yql.js → dev-DlCcwFu5.js} +74 -17
- package/dist/{doctor-BxaNLPE9.js → doctor-CJsjHpCZ.js} +9 -9
- package/dist/{drivers-BCHs6LSQ.js → drivers-UT36AnOw.js} +2 -2
- package/dist/entry.js +27 -27
- package/dist/{existing-DZeumSLA.js → existing-Cak1WxWB.js} +2 -2
- package/dist/{feedback-dPaf3iKt.js → feedback-DDRzoqPx.js} +5 -5
- package/dist/{git-D5zEsg-K.js → git-ZwA3Mx8m.js} +4 -4
- package/dist/{hosted-DOLN6JOq.js → hosted-CEH78QVn.js} +2 -2
- package/dist/{integrate-CVV4eFv3.js → integrate-D8jyhDzk.js} +16 -16
- package/dist/{login-D9fJlrZt.js → login-kneYhhk0.js} +3 -3
- package/dist/{migrate-D4p-h2Fc.js → migrate-D_x1oyTk.js} +16 -16
- package/dist/{output-BdYOOjvC.js → output-csAtR6kJ.js} +1 -1
- package/dist/{pipeline-CGFoiQoD.js → pipeline-DAeI9tHs.js} +3 -3
- package/dist/{print-skill-SVtZTg_0.js → print-skill-BHVPP9cX.js} +6 -6
- package/dist/{promote-DlcFZ7Rs.js → promote-Boek5K2d.js} +14 -14
- package/dist/publish-C-zEUnO9.js +35 -0
- package/dist/push-DUDQG-EO.js +35 -0
- package/dist/{query-BzYGxEpe.js → query-B8G6T8Ba.js} +5 -5
- package/dist/{resource-B77ustAb.js → resource-DjsWVka-.js} +8 -8
- package/dist/{run-Czpm0qSl.js → run-BtcQJCP8.js} +2 -2
- package/dist/{scan-D31Gmyke.js → scan-DJixvuHn.js} +1 -1
- package/dist/{skills-DP-jU7Fj.js → skills-CODut1Hn.js} +2 -2
- package/dist/{skills-C6QhATUb.js → skills-CRG1xk0G.js} +6 -6
- package/dist/{telemetry-Dn2nK6DV.js → telemetry-BtkMdT-5.js} +1 -1
- package/dist/{token-CmLVJoQf.js → token-hM7V1KMG.js} +1 -1
- package/dist/{update-BLygC1jI.js → update-CeylIjx5.js} +2 -2
- package/dist/{upgrade-CRvZNMSf.js → upgrade-DRqUfCBT.js} +5 -5
- package/package.json +2 -2
- package/dist/publish-DBu5f2kZ.js +0 -35
- package/dist/push-CD7chwAS.js +0 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Integration } from "./output-
|
|
2
|
-
import { i as loadBundledSkill } from "./skills-
|
|
1
|
+
import { d as Integration } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { i as loadBundledSkill } from "./skills-CODut1Hn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/agent/actions.ts
|
|
5
5
|
/** Skill reference file per framework, so an agent only sees its own platform's docs. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import { C as rowName, h as listResource, m as listProjects, p as listOrganizations, w as titleCase, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
8
8
|
import { t as parseParams } from "./params-B1zeElGa.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as loadSession, r as clearSession } from "./token-
|
|
2
|
-
import { i as superwallApi } from "./command-
|
|
1
|
+
import { i as loadSession, r as clearSession } from "./token-hM7V1KMG.js";
|
|
2
|
+
import { i as superwallApi } from "./command-DP96_gmP.js";
|
|
3
3
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
4
|
-
import { n as performLogin, r as onboardingHooks } from "./login-
|
|
5
|
-
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
6
|
-
import { r as getHostedStatus } from "./hosted-
|
|
4
|
+
import { n as performLogin, r as onboardingHooks } from "./login-kneYhhk0.js";
|
|
5
|
+
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-DJixvuHn.js";
|
|
6
|
+
import { r as getHostedStatus } from "./hosted-CEH78QVn.js";
|
|
7
7
|
import { t as withSpinner } from "./spinner-B9dT3DBY.js";
|
|
8
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
9
|
-
import { t as ACTIONS } from "./actions-
|
|
8
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-BZxVyt9P.js";
|
|
9
|
+
import { t as ACTIONS } from "./actions-EfP8phmb.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workflow/integrate/app.ts
|
|
12
12
|
async function performLoginWithUi(app, onProvisioned) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { n as ApiError, t as defineCommand } from "./command-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spinner-B9dT3DBY.js";
|
|
8
8
|
import { m as listProjects } from "./resources-s64mBHaC.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as SUPERWALL_HOME } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { p as SUPERWALL_HOME } from "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spinner-B9dT3DBY.js";
|
|
8
8
|
import { C as rowName } from "./resources-s64mBHaC.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as API_HOST } from "./output-
|
|
2
|
-
import { i as track } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession, r as clearSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { a as API_HOST } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { i as track } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import { i as loadSession, r as clearSession } from "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { n as ensureSkillsCurrent } from "./skills-
|
|
7
|
+
import { n as ensureSkillsCurrent } from "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import { n as performLogin, r as onboardingHooks, t as loginWithApiKey } from "./login-
|
|
10
|
-
import { t as scanProject } from "./scan-
|
|
9
|
+
import { n as performLogin, r as onboardingHooks, t as loginWithApiKey } from "./login-kneYhhk0.js";
|
|
10
|
+
import { t as scanProject } from "./scan-DJixvuHn.js";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/account/auth.ts
|
|
13
13
|
const runLogin = defineCommand({
|
package/dist/auth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import { n as resolveAuthToken, o as NotLoggedInError, t as getOAuthAccessToken } from "./token-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import { n as resolveAuthToken, o as NotLoggedInError, t as getOAuthAccessToken } from "./token-hM7V1KMG.js";
|
|
3
3
|
|
|
4
4
|
export { NotLoggedInError, getOAuthAccessToken, resolveAuthToken };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as Integration } from "./output-
|
|
1
|
+
import { d as Integration } from "./output-csAtR6kJ.js";
|
|
2
2
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
3
3
|
import { m as listProjects, n as createApplication, s as createProject, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
4
4
|
import { t as requireOrg } from "./org-Cg25bcsj.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as API_HOST, i as writeJson, n as createCommandOutput, v as isNonInteractive } from "./output-
|
|
2
|
-
import { i as track, n as maybeShowTelemetryNotice } from "./telemetry-
|
|
3
|
-
import { a as refreshUpdateCheck, i as maybeNotifyUpdate } from "./update-
|
|
4
|
-
import { a as saveSession, i as loadSession, n as resolveAuthToken, o as NotLoggedInError } from "./token-
|
|
1
|
+
import { a as API_HOST, i as writeJson, n as createCommandOutput, v as isNonInteractive } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { i as track, n as maybeShowTelemetryNotice } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import { a as refreshUpdateCheck, i as maybeNotifyUpdate } from "./update-CeylIjx5.js";
|
|
4
|
+
import { a as saveSession, i as loadSession, n as resolveAuthToken, o as NotLoggedInError } from "./token-hM7V1KMG.js";
|
|
5
5
|
import { r as useRenderer, t as selectRenderer } from "./ui-Lqt_zFOr.js";
|
|
6
6
|
import pc from "picocolors";
|
|
7
7
|
import { resolve } from "node:path";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import { n as allDeps, r as readPackageJson, t as scanProject } from "./scan-
|
|
11
|
-
import "./hosted-
|
|
12
|
-
import { t as detectExisting } from "./existing-
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import { n as allDeps, r as readPackageJson, t as scanProject } from "./scan-DJixvuHn.js";
|
|
11
|
+
import "./hosted-CEH78QVn.js";
|
|
12
|
+
import { t as detectExisting } from "./existing-Cak1WxWB.js";
|
|
13
13
|
import "./spinner-B9dT3DBY.js";
|
|
14
14
|
import { f as listApplications, m as listProjects, n as createApplication, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
15
15
|
import "./org-Cg25bcsj.js";
|
|
16
|
-
import { r as resolveScopeFromKey } from "./bind-
|
|
17
|
-
import { a as projectPackageName, i as requireApi, l as requirePlatform, m as writeApp, r as LoginRequiredError, t as gitAvailable } from "./git-
|
|
18
|
-
import "./actions-
|
|
19
|
-
import "./app-
|
|
16
|
+
import { r as resolveScopeFromKey } from "./bind-BZxVyt9P.js";
|
|
17
|
+
import { a as projectPackageName, i as requireApi, l as requirePlatform, m as writeApp, r as LoginRequiredError, t as gitAvailable } from "./git-ZwA3Mx8m.js";
|
|
18
|
+
import "./actions-EfP8phmb.js";
|
|
19
|
+
import "./app-D8mEVlQo.js";
|
|
20
20
|
import pc from "picocolors";
|
|
21
21
|
import { promisify } from "node:util";
|
|
22
22
|
import * as fs from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION } from "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import "./scan-
|
|
11
|
-
import "./hosted-
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import "./scan-DJixvuHn.js";
|
|
11
|
+
import "./hosted-CEH78QVn.js";
|
|
12
12
|
import "./spinner-B9dT3DBY.js";
|
|
13
13
|
import { S as pushPaywallVersion, T as versionProducts, b as promotePaywallVersion, f as listApplications } from "./resources-s64mBHaC.js";
|
|
14
14
|
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-
|
|
16
|
-
import { f as readLock, i as requireApi, o as writeProjectScaffold, u as resolveApps } from "./git-
|
|
17
|
-
import "./actions-
|
|
18
|
-
import "./app-
|
|
19
|
-
import { C as syncAssets, D as writeProjectTypes, E as collectProjectDeclarations, S as requireAssets, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, d as pushSource, f as collectSourceFiles, h as projectForApplication, l as LAYOUT_HINT, m as fetchProducts, o as projectDirs, p as warnNotPortable, s as requireProject, w as frameworkVersion, x as assetBaseUrl, y as wantedPlatforms } from "./pipeline-
|
|
15
|
+
import "./bind-BZxVyt9P.js";
|
|
16
|
+
import { f as readLock, i as requireApi, o as writeProjectScaffold, u as resolveApps } from "./git-ZwA3Mx8m.js";
|
|
17
|
+
import "./actions-EfP8phmb.js";
|
|
18
|
+
import "./app-D8mEVlQo.js";
|
|
19
|
+
import { C as syncAssets, D as writeProjectTypes, E as collectProjectDeclarations, S as requireAssets, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, d as pushSource, f as collectSourceFiles, h as projectForApplication, l as LAYOUT_HINT, m as fetchProducts, o as projectDirs, p as warnNotPortable, s as requireProject, w as frameworkVersion, x as assetBaseUrl, y as wantedPlatforms } from "./pipeline-DAeI9tHs.js";
|
|
20
20
|
import pc from "picocolors";
|
|
21
21
|
import * as fs from "node:fs";
|
|
22
22
|
import * as path from "node:path";
|
|
@@ -169,6 +169,41 @@ const appScheme = async (roots, remote) => {
|
|
|
169
169
|
source: "app"
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
+
const plutilAvailable = async () => {
|
|
173
|
+
const { execFile } = await import("node:child_process");
|
|
174
|
+
const { promisify } = await import("node:util");
|
|
175
|
+
return promisify(execFile)("plutil", ["-help"]).then(() => true, () => false);
|
|
176
|
+
};
|
|
177
|
+
const allowLocalNetworking = async (plist) => {
|
|
178
|
+
const { execFile } = await import("node:child_process");
|
|
179
|
+
const { promisify } = await import("node:util");
|
|
180
|
+
const run = promisify(execFile);
|
|
181
|
+
if (!await plutilAvailable()) throw new Error("Editing an Info.plist needs `plutil`, which ships with macOS.");
|
|
182
|
+
if (!await run("plutil", [
|
|
183
|
+
"-extract",
|
|
184
|
+
"NSAppTransportSecurity",
|
|
185
|
+
"raw",
|
|
186
|
+
plist
|
|
187
|
+
]).then(() => true, () => false)) await run("plutil", [
|
|
188
|
+
"-insert",
|
|
189
|
+
"NSAppTransportSecurity",
|
|
190
|
+
"-dictionary",
|
|
191
|
+
plist
|
|
192
|
+
]);
|
|
193
|
+
for (const key of ["NSAllowsLocalNetworking", "NSAllowsArbitraryLoadsInWebContent"]) await run("plutil", [
|
|
194
|
+
"-insert",
|
|
195
|
+
`NSAppTransportSecurity.${key}`,
|
|
196
|
+
"-bool",
|
|
197
|
+
"YES",
|
|
198
|
+
plist
|
|
199
|
+
]).catch(() => run("plutil", [
|
|
200
|
+
"-replace",
|
|
201
|
+
`NSAppTransportSecurity.${key}`,
|
|
202
|
+
"-bool",
|
|
203
|
+
"YES",
|
|
204
|
+
plist
|
|
205
|
+
]));
|
|
206
|
+
};
|
|
172
207
|
|
|
173
208
|
//#endregion
|
|
174
209
|
//#region src/commands/paywalls/studio-actions.ts
|
|
@@ -329,6 +364,17 @@ function createStudioActions(framework, project) {
|
|
|
329
364
|
};
|
|
330
365
|
}
|
|
331
366
|
},
|
|
367
|
+
async screenshot(surface) {
|
|
368
|
+
const lock = readLock(project.superwallDir);
|
|
369
|
+
const bindings = (surface.kind === "paywall" ? lock.paywalls : lock.funnels)[surface.id];
|
|
370
|
+
const bound = bindings === void 0 ? void 0 : Object.values(bindings)[0];
|
|
371
|
+
if (!bound) return void 0;
|
|
372
|
+
const session = await (await ensureApi()).get(`/v2/paywalls/${encodeURIComponent(bound.paywallId)}/preview-images`).catch((error) => {
|
|
373
|
+
if (error instanceof ApiError && error.status === 400) return void 0;
|
|
374
|
+
throw error;
|
|
375
|
+
});
|
|
376
|
+
return session?.status === "ready" ? session.pages?.[0]?.url : void 0;
|
|
377
|
+
},
|
|
332
378
|
async status(surface) {
|
|
333
379
|
try {
|
|
334
380
|
const lock = readLock(project.superwallDir);
|
|
@@ -402,10 +448,21 @@ const runDev = defineCommand({
|
|
|
402
448
|
...renderUnicodeCompact(deviceUrl).split("\n")
|
|
403
449
|
].join("\n"));
|
|
404
450
|
}
|
|
405
|
-
const
|
|
406
|
-
if (
|
|
407
|
-
|
|
451
|
+
const plist = (await studio.appScheme?.().catch(() => void 0))?.blocksLocalNetworking;
|
|
452
|
+
if (plist !== void 0) {
|
|
453
|
+
ui.warn("This app can't load paywalls from the dev server: App Transport Security blocks plain http.");
|
|
454
|
+
if ((context.interactive ? await ui.confirm({
|
|
455
|
+
message: `Allow local previewing in ${path.basename(plist)}? Development builds only.`,
|
|
456
|
+
initial: true
|
|
457
|
+
}) : null) === true) try {
|
|
458
|
+
await allowLocalNetworking(plist);
|
|
459
|
+
ui.step(`Local previewing allowed in ${plist} — rebuild the app to pick it up.`);
|
|
460
|
+
} catch (error) {
|
|
461
|
+
ui.warn(`Could not edit ${plist}: ${error instanceof Error ? error.message : error}`);
|
|
462
|
+
}
|
|
463
|
+
else ui.warn(`Add to ${plist}, in your Debug configuration only:\n NSAppTransportSecurity → NSAllowsLocalNetworking = YES
|
|
408
464
|
→ NSAllowsArbitraryLoadsInWebContent = YES`);
|
|
465
|
+
}
|
|
409
466
|
for (const diagnostic of projects.flatMap((one) => one.diagnostics)) ui.warn(diagnostic);
|
|
410
467
|
if (projects.every((one) => one.surfaces.length === 0)) ui.warn(`Nothing to preview — ${LAYOUT_HINT}.`);
|
|
411
468
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as apiKeyFromEnv } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { _ as apiKeyFromEnv } from "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import { i as loadSession } from "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import { a as THEME, n as ui, o as fg } from "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spawn-DSoTXy_j.js";
|
|
8
|
-
import { t as scanProject } from "./scan-
|
|
9
|
-
import { t as detectDrivers } from "./drivers-
|
|
10
|
-
import "./hosted-
|
|
11
|
-
import { t as detectExisting } from "./existing-
|
|
8
|
+
import { t as scanProject } from "./scan-DJixvuHn.js";
|
|
9
|
+
import { t as detectDrivers } from "./drivers-UT36AnOw.js";
|
|
10
|
+
import "./hosted-CEH78QVn.js";
|
|
11
|
+
import { t as detectExisting } from "./existing-Cak1WxWB.js";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/account/doctor.ts
|
|
14
14
|
const runDoctor = defineCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
1
|
+
import { g as VERSION } from "./output-csAtR6kJ.js";
|
|
2
2
|
import { n as readVersion, r as spawnStream, t as onPath } from "./spawn-DSoTXy_j.js";
|
|
3
|
-
import { n as getHostedAuthToken, r as getHostedStatus, t as getHostedAnthropicBaseUrl } from "./hosted-
|
|
3
|
+
import { n as getHostedAuthToken, r as getHostedStatus, t as getHostedAnthropicBaseUrl } from "./hosted-CEH78QVn.js";
|
|
4
4
|
import { tmpdir } from "node:os";
|
|
5
5
|
import { basename, join } from "node:path";
|
|
6
6
|
import { readFile, rm } from "node:fs/promises";
|
package/dist/entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as VERSION, i as writeJson, u as ENV_API_KEY } from "./output-
|
|
2
|
-
import { t as flushTelemetry } from "./telemetry-
|
|
3
|
-
import { n as flushUpdateCheck } from "./update-
|
|
1
|
+
import { g as VERSION, i as writeJson, u as ENV_API_KEY } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { t as flushTelemetry } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import { n as flushUpdateCheck } from "./update-CeylIjx5.js";
|
|
4
4
|
import yargs from "yargs";
|
|
5
5
|
import { hideBin } from "yargs/helpers";
|
|
6
6
|
import pc from "picocolors";
|
|
@@ -56,11 +56,11 @@ const registerAccountCommands = (cli) => cli.command("login", "Log in to Superwa
|
|
|
56
56
|
hidden: true
|
|
57
57
|
}
|
|
58
58
|
}), (argv) => {
|
|
59
|
-
return import("./auth-
|
|
59
|
+
return import("./auth-CT2DWX8r.js").then((m) => m.runLogin(argv));
|
|
60
60
|
}).command("logout", "Log out of Superwall", (y) => y, (argv) => {
|
|
61
|
-
return import("./auth-
|
|
61
|
+
return import("./auth-CT2DWX8r.js").then((m) => m.runLogout(argv));
|
|
62
62
|
}).command("whoami", "Show the logged-in Superwall account", (y) => y, (argv) => {
|
|
63
|
-
return import("./auth-
|
|
63
|
+
return import("./auth-CT2DWX8r.js").then((m) => m.runWhoami(argv));
|
|
64
64
|
}).command("skills", "Install or update the Superwall agent skills for your coding agent", (y) => y.options({
|
|
65
65
|
skill: {
|
|
66
66
|
type: "array",
|
|
@@ -81,16 +81,16 @@ const registerAccountCommands = (cli) => cli.command("login", "Log in to Superwa
|
|
|
81
81
|
hidden: true
|
|
82
82
|
}
|
|
83
83
|
}), (argv) => {
|
|
84
|
-
return import("./skills-
|
|
84
|
+
return import("./skills-CRG1xk0G.js").then((m) => m.runSkills(argv));
|
|
85
85
|
}).command("doctor", "Check the health of your Superwall integration", (y) => y.options({ ...installDirOption }), (argv) => {
|
|
86
|
-
return import("./doctor-
|
|
86
|
+
return import("./doctor-CJsjHpCZ.js").then((m) => m.runDoctor(argv));
|
|
87
87
|
}).command("upgrade", "Update the CLI to the latest version", (y) => y, (argv) => {
|
|
88
|
-
return import("./upgrade-
|
|
88
|
+
return import("./upgrade-DRqUfCBT.js").then((m) => m.runUpgrade(argv));
|
|
89
89
|
}).command("feedback [message]", "Send feedback about the CLI to the Superwall team", (y) => y.positional("message", {
|
|
90
90
|
type: "string",
|
|
91
91
|
describe: "Your feedback (omit to be prompted)"
|
|
92
92
|
}).example("$0 feedback \"migrate crashed on Expo\"", "Send feedback").example("$0 feedback \"...\" --json", "For agents / automation"), (argv) => {
|
|
93
|
-
return import("./feedback-
|
|
93
|
+
return import("./feedback-DDRzoqPx.js").then((m) => m.runFeedback(argv));
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
//#endregion
|
|
@@ -187,7 +187,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
187
187
|
describe: "Connect a Superwall app when possible (--no-connect to skip)"
|
|
188
188
|
}
|
|
189
189
|
}).example("$0 create", "Set up superwall/ in the current app").example("$0 create --example with-rive", "Start from an example"), (argv) => {
|
|
190
|
-
return import("./create-
|
|
190
|
+
return import("./create-Q8TqqjZt.js").then((m) => m.runCreate(argv));
|
|
191
191
|
}).command("dev [dir..]", "Host the studio: browse and preview your paywalls and funnels", (y) => y.positional("dir", {
|
|
192
192
|
type: "string",
|
|
193
193
|
array: true,
|
|
@@ -205,7 +205,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
205
205
|
describe: "Host to bind"
|
|
206
206
|
}
|
|
207
207
|
}), (argv) => {
|
|
208
|
-
return import("./dev-
|
|
208
|
+
return import("./dev-DlCcwFu5.js").then((m) => m.runDev(argv));
|
|
209
209
|
}).command("push [dir]", "Build and push your paywalls as immutable versions (production untouched)", (y) => y.positional("dir", {
|
|
210
210
|
type: "string",
|
|
211
211
|
describe: "Project directory (default: cwd)"
|
|
@@ -231,7 +231,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
231
231
|
describe: "Publish note recorded in the source commit (only lands when this publish creates a new source commit — unchanged source reuses the existing commit)"
|
|
232
232
|
}
|
|
233
233
|
}), (argv) => {
|
|
234
|
-
return import("./push-
|
|
234
|
+
return import("./push-DUDQG-EO.js").then((m) => m.runPush(argv));
|
|
235
235
|
}).command("promote [dir]", "Point production at a pushed version (the latest by default)", (y) => y.version(false).positional("dir", {
|
|
236
236
|
type: "string",
|
|
237
237
|
describe: "Project directory (default: cwd)"
|
|
@@ -252,7 +252,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
252
252
|
describe: "Pushed version number to promote (requires a single --id)"
|
|
253
253
|
}
|
|
254
254
|
}), (argv) => {
|
|
255
|
-
return import("./promote-
|
|
255
|
+
return import("./promote-Boek5K2d.js").then((m) => m.runPromote(argv));
|
|
256
256
|
}).command("publish [dir]", "Push and promote in one step - build, version, and ship to production", (y) => y.positional("dir", {
|
|
257
257
|
type: "string",
|
|
258
258
|
describe: "Project directory (default: cwd)"
|
|
@@ -278,7 +278,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
278
278
|
describe: "Publish note recorded in the source commit (only lands when this publish creates a new source commit — unchanged source reuses the existing commit)"
|
|
279
279
|
}
|
|
280
280
|
}), (argv) => {
|
|
281
|
-
return import("./publish-
|
|
281
|
+
return import("./publish-C-zEUnO9.js").then((m) => m.runPublish(argv));
|
|
282
282
|
});
|
|
283
283
|
|
|
284
284
|
//#endregion
|
|
@@ -290,7 +290,7 @@ const registerPlatformCommands = (cli) => cli.command("query [sql]", "Run SQL ag
|
|
|
290
290
|
type: "string",
|
|
291
291
|
describe: "Read SQL from a .sql file"
|
|
292
292
|
} }).example("$0 query \"SHOW TABLES FROM sw\"", "Run an inline query").example("$0 query --file report.sql --json", "Run a saved query"), (argv) => {
|
|
293
|
-
return import("./query-
|
|
293
|
+
return import("./query-B8G6T8Ba.js").then((m) => m.runQuery(argv));
|
|
294
294
|
}).command("asc <target> [value] [value2]", "Call the App Store Connect API through Superwall's signed proxy (no .p8 / JWT needed)", (y) => y.positional("target", {
|
|
295
295
|
type: "string",
|
|
296
296
|
describe: "get|post|patch|delete, a raw path (/v1/...), or: apps | products | subscriptions | iaps | docs | keys"
|
|
@@ -340,7 +340,7 @@ const registerPlatformCommands = (cli) => cli.command("query [sql]", "Run SQL ag
|
|
|
340
340
|
describe: "Plan without writing"
|
|
341
341
|
}
|
|
342
342
|
}), (argv) => {
|
|
343
|
-
return import("./asc-
|
|
343
|
+
return import("./asc-DJqQmtmR.js").then((m) => m.runAsc(argv));
|
|
344
344
|
}).command("asa <target> [action] [value]", "Call the Apple Search Ads API through Superwall's proxy (no key or token handling)", (y) => y.positional("target", {
|
|
345
345
|
type: "string",
|
|
346
346
|
describe: "A resource (campaigns, adgroups, keywords, negative-keywords, ads, creatives, product-pages, ad-rejections, reports, impression-share, apps, geo, budget-orders, acls, me), get|post|put|delete, a raw path (/campaigns), docs, or keys"
|
|
@@ -552,7 +552,7 @@ const registerPlatformCommands = (cli) => cli.command("query [sql]", "Run SQL ag
|
|
|
552
552
|
describe: "product-pages: include deleted assets"
|
|
553
553
|
}
|
|
554
554
|
}), (argv) => {
|
|
555
|
-
return import("./asa-
|
|
555
|
+
return import("./asa-BFWehnTA.js").then((m) => m.runAsa(argv));
|
|
556
556
|
});
|
|
557
557
|
|
|
558
558
|
//#endregion
|
|
@@ -632,10 +632,10 @@ const registerResourceCommands = (input) => {
|
|
|
632
632
|
describe: "Plan without writing"
|
|
633
633
|
}
|
|
634
634
|
}), (argv) => {
|
|
635
|
-
return import("./resource-
|
|
635
|
+
return import("./resource-DjsWVka-.js").then((m) => m.runResource(resource)(argv));
|
|
636
636
|
});
|
|
637
637
|
cli = cli.command("bootstrap", "Complete account tree: orgs, projects, apps, campaigns, placements, and products", (y) => y, (argv) => {
|
|
638
|
-
return import("./api-
|
|
638
|
+
return import("./api-CEwXCCoC.js").then((m) => m.runBootstrap(argv));
|
|
639
639
|
});
|
|
640
640
|
for (const verb of API_VERBS) cli = cli.command(`${verb} <path>`, `Make ${verb.toUpperCase()} requests to the Superwall API`, (y) => y.positional("path", {
|
|
641
641
|
type: "string",
|
|
@@ -644,7 +644,7 @@ const registerResourceCommands = (input) => {
|
|
|
644
644
|
type: "array",
|
|
645
645
|
describe: "Param, Stripe-style: -d key=value (string) or key:=value (number/bool/json); nesting via key[sub]"
|
|
646
646
|
} }), (argv) => {
|
|
647
|
-
return import("./api-
|
|
647
|
+
return import("./api-CEwXCCoC.js").then((m) => m.runApi(verb)(argv));
|
|
648
648
|
});
|
|
649
649
|
return cli;
|
|
650
650
|
};
|
|
@@ -667,8 +667,8 @@ const registerWorkflowCommands = (cli) => cli.command("integrate", "Set up the S
|
|
|
667
667
|
hidden: true
|
|
668
668
|
}
|
|
669
669
|
}), (argv) => {
|
|
670
|
-
if (argv.skill) return import("./print-skill-
|
|
671
|
-
return import("./integrate-
|
|
670
|
+
if (argv.skill) return import("./print-skill-BHVPP9cX.js").then((m) => m.runPrintSkill("integrate")(argv));
|
|
671
|
+
return import("./integrate-D8jyhDzk.js").then((m) => m.runIntegrate(argv));
|
|
672
672
|
}).command("review", "Review an existing Superwall setup end to end", (y) => y.options({
|
|
673
673
|
...installDirOption,
|
|
674
674
|
...dryRunOption,
|
|
@@ -679,8 +679,8 @@ const registerWorkflowCommands = (cli) => cli.command("integrate", "Set up the S
|
|
|
679
679
|
}
|
|
680
680
|
}), (argv) => {
|
|
681
681
|
const id = argv.fix ? "review-fix" : "review";
|
|
682
|
-
if (argv.skill) return import("./print-skill-
|
|
683
|
-
return import("./integrate-
|
|
682
|
+
if (argv.skill) return import("./print-skill-BHVPP9cX.js").then((m) => m.runPrintSkill(id)(argv));
|
|
683
|
+
return import("./integrate-D8jyhDzk.js").then((m) => m.runActionCommand(id)(argv));
|
|
684
684
|
}).command("migrate", "Migrate from RevenueCat / Adapty / Qonversion to Superwall", (y) => y.options({
|
|
685
685
|
...installDirOption,
|
|
686
686
|
"dry-run": {
|
|
@@ -689,8 +689,8 @@ const registerWorkflowCommands = (cli) => cli.command("integrate", "Set up the S
|
|
|
689
689
|
},
|
|
690
690
|
...skillOption
|
|
691
691
|
}), (argv) => {
|
|
692
|
-
if (argv.skill) return import("./print-skill-
|
|
693
|
-
return import("./migrate-
|
|
692
|
+
if (argv.skill) return import("./print-skill-BHVPP9cX.js").then((m) => m.runPrintSkill("migrate")(argv));
|
|
693
|
+
return import("./migrate-D_x1oyTk.js").then((m) => m.runMigrate(argv));
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Integration } from "./output-
|
|
2
|
-
import { n as allDeps, r as readPackageJson } from "./scan-
|
|
1
|
+
import { d as Integration } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { n as allDeps, r as readPackageJson } from "./scan-DJixvuHn.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import fg from "fast-glob";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST } from "./output-
|
|
2
|
-
import { a as getAnonymousId } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { a as getAnonymousId } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import { i as loadSession } from "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
|
|
8
8
|
//#region src/core/feedback.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as apiKeyFromEnv, a as API_HOST, u as ENV_API_KEY } from "./output-
|
|
2
|
-
import { i as loadSession } from "./token-
|
|
3
|
-
import { r as createSuperwallApi } from "./command-
|
|
1
|
+
import { _ as apiKeyFromEnv, a as API_HOST, u as ENV_API_KEY } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { i as loadSession } from "./token-hM7V1KMG.js";
|
|
3
|
+
import { r as createSuperwallApi } from "./command-DP96_gmP.js";
|
|
4
4
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
5
5
|
import { f as listApplications, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
6
|
-
import { r as performLoginWithUi } from "./app-
|
|
6
|
+
import { r as performLoginWithUi } from "./app-D8mEVlQo.js";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as os$1 from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as API_HOST } from "./output-
|
|
2
|
-
import { i as loadSession, t as getOAuthAccessToken } from "./token-
|
|
1
|
+
import { a as API_HOST } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { i as loadSession, t as getOAuthAccessToken } from "./token-hM7V1KMG.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/agent/hosted.ts
|
|
5
5
|
const STATUS_PATH = "/v2/cli-agent/status";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { _ as apiKeyFromEnv, g as VERSION, l as DASHBOARD_URL, r as formatJson, t as blocks } from "./output-
|
|
2
|
-
import { r as setTelemetryTags, s as getOnboardedApp } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { i as superwallApi, t as defineCommand } from "./command-
|
|
1
|
+
import { _ as apiKeyFromEnv, g as VERSION, l as DASHBOARD_URL, r as formatJson, t as blocks } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { r as setTelemetryTags, s as getOnboardedApp } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import { i as loadSession } from "./token-hM7V1KMG.js";
|
|
5
|
+
import { i as superwallApi, t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import { i as stripReport, n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { n as ensureSkillsCurrent } from "./skills-
|
|
7
|
+
import { n as ensureSkillsCurrent } from "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
11
|
-
import { t as detectDrivers } from "./drivers-
|
|
12
|
-
import "./hosted-
|
|
13
|
-
import { t as detectExisting } from "./existing-
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-DJixvuHn.js";
|
|
11
|
+
import { t as detectDrivers } from "./drivers-UT36AnOw.js";
|
|
12
|
+
import "./hosted-CEH78QVn.js";
|
|
13
|
+
import { t as detectExisting } from "./existing-Cak1WxWB.js";
|
|
14
14
|
import { t as withSpinner } from "./spinner-B9dT3DBY.js";
|
|
15
15
|
import { C as rowName, f as listApplications, h as listResource, o as createProduct, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
16
16
|
import "./org-Cg25bcsj.js";
|
|
17
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
18
|
-
import { r as actionById } from "./actions-
|
|
19
|
-
import { a as recoverUnmatchedScope, i as pickApp, n as ensureAgentDriverReady, o as stage, r as performLoginWithUi, t as chooseAction } from "./app-
|
|
17
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-BZxVyt9P.js";
|
|
18
|
+
import { r as actionById } from "./actions-EfP8phmb.js";
|
|
19
|
+
import { a as recoverUnmatchedScope, i as pickApp, n as ensureAgentDriverReady, o as stage, r as performLoginWithUi, t as chooseAction } from "./app-D8mEVlQo.js";
|
|
20
20
|
import { c as listAscConfigs, i as listAscApps, n as fetchUnimportedAscProducts, o as createAscConfig, r as findAscAppId, t as ascTypeDisplay } from "./asc-products-C6MvSy8H.js";
|
|
21
21
|
import { t as generateStoreKit } from "./storekit-DPonXSwe.js";
|
|
22
|
-
import { i as saveReport, n as buildCopyPrompt, r as loadReport, t as runAction } from "./run-
|
|
23
|
-
import { t as detectBilling } from "./billing-
|
|
22
|
+
import { i as saveReport, n as buildCopyPrompt, r as loadReport, t as runAction } from "./run-BtcQJCP8.js";
|
|
23
|
+
import { t as detectBilling } from "./billing-BzEnVPD2.js";
|
|
24
24
|
import { readFileSync, writeFileSync } from "node:fs";
|
|
25
25
|
import { homedir } from "node:os";
|
|
26
26
|
import { basename, join } from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as API_HOST, c as CLI_CLIENT_ID, d as Integration, f as OAUTH_SCOPE, s as AUTH_HOST } from "./output-
|
|
2
|
-
import { c as getOnboardedOrg, l as getOnboardingIdempotencyKey, m as setOnboardedOrg, p as setOnboardedApp } from "./telemetry-
|
|
3
|
-
import { a as saveSession } from "./token-
|
|
1
|
+
import { a as API_HOST, c as CLI_CLIENT_ID, d as Integration, f as OAUTH_SCOPE, s as AUTH_HOST } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { c as getOnboardedOrg, l as getOnboardingIdempotencyKey, m as setOnboardedOrg, p as setOnboardedApp } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import { a as saveSession } from "./token-hM7V1KMG.js";
|
|
4
4
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
5
5
|
import { spawn } from "node:child_process";
|
|
6
6
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { g as VERSION, l as DASHBOARD_URL, t as blocks } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION, l as DASHBOARD_URL, t as blocks } from "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import { i as loadSession } from "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import { i as stripReport, n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import { t as scanProject } from "./scan-
|
|
11
|
-
import { t as detectDrivers } from "./drivers-
|
|
12
|
-
import "./hosted-
|
|
13
|
-
import { t as detectExisting } from "./existing-
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import { t as scanProject } from "./scan-DJixvuHn.js";
|
|
11
|
+
import { t as detectDrivers } from "./drivers-UT36AnOw.js";
|
|
12
|
+
import "./hosted-CEH78QVn.js";
|
|
13
|
+
import { t as detectExisting } from "./existing-Cak1WxWB.js";
|
|
14
14
|
import "./spinner-B9dT3DBY.js";
|
|
15
15
|
import "./resources-s64mBHaC.js";
|
|
16
16
|
import "./org-Cg25bcsj.js";
|
|
17
|
-
import "./bind-
|
|
18
|
-
import { r as actionById } from "./actions-
|
|
19
|
-
import { r as performLoginWithUi } from "./app-
|
|
20
|
-
import { i as saveReport, t as runAction } from "./run-
|
|
21
|
-
import { t as detectBilling } from "./billing-
|
|
17
|
+
import "./bind-BZxVyt9P.js";
|
|
18
|
+
import { r as actionById } from "./actions-EfP8phmb.js";
|
|
19
|
+
import { r as performLoginWithUi } from "./app-D8mEVlQo.js";
|
|
20
|
+
import { i as saveReport, t as runAction } from "./run-BtcQJCP8.js";
|
|
21
|
+
import { t as detectBilling } from "./billing-BzEnVPD2.js";
|
|
22
22
|
|
|
23
23
|
//#region src/commands/workflow/migrate.ts
|
|
24
24
|
const runMigrate = defineCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as VERSION, o as ASSET_HOST } from "./output-
|
|
2
|
-
import { n as ApiError } from "./command-
|
|
1
|
+
import { g as VERSION, o as ASSET_HOST } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { n as ApiError } from "./command-DP96_gmP.js";
|
|
3
3
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
4
4
|
import { S as pushPaywallVersion, T as versionProducts, a as createHeadlessPaywall, b as promotePaywallVersion, d as listAppPaywalls, g as livePaywall, m as listProjects, u as linkSourceCommit, v as mintSourceAccess, x as pushPaywallAssets, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
5
|
-
import { _ as writeSnapshot, c as platformFor, d as describeBindings, f as readLock, g as writeBindings, h as writeBinding, n as pushSourceTree, o as writeProjectScaffold, p as removeBinding, s as describePlatforms, t as gitAvailable, u as resolveApps } from "./git-
|
|
5
|
+
import { _ as writeSnapshot, c as platformFor, d as describeBindings, f as readLock, g as writeBindings, h as writeBinding, n as pushSourceTree, o as writeProjectScaffold, p as removeBinding, s as describePlatforms, t as gitAvailable, u as resolveApps } from "./git-ZwA3Mx8m.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import pc from "picocolors";
|
|
8
8
|
import * as fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import { i as track, r as setTelemetryTags } from "./telemetry-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import { i as track, r as setTelemetryTags } from "./telemetry-BtkMdT-5.js";
|
|
3
3
|
import "./ui-Lqt_zFOr.js";
|
|
4
|
-
import { i as loadBundledSkill } from "./skills-
|
|
4
|
+
import { i as loadBundledSkill } from "./skills-CODut1Hn.js";
|
|
5
5
|
import "./spawn-DSoTXy_j.js";
|
|
6
|
-
import { t as scanProject } from "./scan-
|
|
7
|
-
import { n as FRAMEWORK_REF } from "./actions-
|
|
8
|
-
import { t as detectBilling } from "./billing-
|
|
6
|
+
import { t as scanProject } from "./scan-DJixvuHn.js";
|
|
7
|
+
import { n as FRAMEWORK_REF } from "./actions-EfP8phmb.js";
|
|
8
|
+
import { t as detectBilling } from "./billing-BzEnVPD2.js";
|
|
9
9
|
import { resolve } from "node:path";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workflow/print-skill.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { n as ApiError, t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION } from "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import "./scan-
|
|
11
|
-
import "./hosted-
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import "./scan-DJixvuHn.js";
|
|
11
|
+
import "./hosted-CEH78QVn.js";
|
|
12
12
|
import "./spinner-B9dT3DBY.js";
|
|
13
13
|
import { _ as livePaywallVersion, b as promotePaywallVersion } from "./resources-s64mBHaC.js";
|
|
14
14
|
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-
|
|
16
|
-
import { i as requireApi, u as resolveApps } from "./git-
|
|
17
|
-
import "./actions-
|
|
18
|
-
import "./app-
|
|
19
|
-
import { E as collectProjectDeclarations, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, c as selectSurfaces, g as parsePlatformFlags, i as pickApplicationOption, r as timed, t as group, u as transition, v as targetLabel, y as wantedPlatforms } from "./pipeline-
|
|
15
|
+
import "./bind-BZxVyt9P.js";
|
|
16
|
+
import { i as requireApi, u as resolveApps } from "./git-ZwA3Mx8m.js";
|
|
17
|
+
import "./actions-EfP8phmb.js";
|
|
18
|
+
import "./app-D8mEVlQo.js";
|
|
19
|
+
import { E as collectProjectDeclarations, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, c as selectSurfaces, g as parsePlatformFlags, i as pickApplicationOption, r as timed, t as group, u as transition, v as targetLabel, y as wantedPlatforms } from "./pipeline-DAeI9tHs.js";
|
|
20
20
|
import pc from "picocolors";
|
|
21
21
|
|
|
22
22
|
//#region src/commands/paywalls/promote.ts
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
|
+
import "./ui-Lqt_zFOr.js";
|
|
7
|
+
import "./skills-CODut1Hn.js";
|
|
8
|
+
import "./spawn-DSoTXy_j.js";
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import "./scan-DJixvuHn.js";
|
|
11
|
+
import "./hosted-CEH78QVn.js";
|
|
12
|
+
import "./spinner-B9dT3DBY.js";
|
|
13
|
+
import "./resources-s64mBHaC.js";
|
|
14
|
+
import "./org-Cg25bcsj.js";
|
|
15
|
+
import "./bind-BZxVyt9P.js";
|
|
16
|
+
import { i as requireApi } from "./git-ZwA3Mx8m.js";
|
|
17
|
+
import "./actions-EfP8phmb.js";
|
|
18
|
+
import "./app-D8mEVlQo.js";
|
|
19
|
+
import { n as runPushPipeline } from "./pipeline-DAeI9tHs.js";
|
|
20
|
+
|
|
21
|
+
//#region src/commands/paywalls/publish.ts
|
|
22
|
+
const runPublish = defineCommand({
|
|
23
|
+
name: "publish",
|
|
24
|
+
output: "human",
|
|
25
|
+
async run(context) {
|
|
26
|
+
const api = await requireApi(context.interactive);
|
|
27
|
+
await runPushPipeline({
|
|
28
|
+
...context,
|
|
29
|
+
api
|
|
30
|
+
}, { promote: true });
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { runPublish };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
|
+
import "./ui-Lqt_zFOr.js";
|
|
7
|
+
import "./skills-CODut1Hn.js";
|
|
8
|
+
import "./spawn-DSoTXy_j.js";
|
|
9
|
+
import "./login-kneYhhk0.js";
|
|
10
|
+
import "./scan-DJixvuHn.js";
|
|
11
|
+
import "./hosted-CEH78QVn.js";
|
|
12
|
+
import "./spinner-B9dT3DBY.js";
|
|
13
|
+
import "./resources-s64mBHaC.js";
|
|
14
|
+
import "./org-Cg25bcsj.js";
|
|
15
|
+
import "./bind-BZxVyt9P.js";
|
|
16
|
+
import { i as requireApi } from "./git-ZwA3Mx8m.js";
|
|
17
|
+
import "./actions-EfP8phmb.js";
|
|
18
|
+
import "./app-D8mEVlQo.js";
|
|
19
|
+
import { n as runPushPipeline } from "./pipeline-DAeI9tHs.js";
|
|
20
|
+
|
|
21
|
+
//#region src/commands/paywalls/push.ts
|
|
22
|
+
const runPush = defineCommand({
|
|
23
|
+
name: "push",
|
|
24
|
+
output: "human",
|
|
25
|
+
async run(context) {
|
|
26
|
+
const api = await requireApi(context.interactive);
|
|
27
|
+
await runPushPipeline({
|
|
28
|
+
...context,
|
|
29
|
+
api
|
|
30
|
+
}, { promote: false });
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { runPush };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spinner-B9dT3DBY.js";
|
|
8
8
|
import "./resources-s64mBHaC.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as formatJson, t as blocks } from "./output-
|
|
2
|
-
import { f as setDefaultApp, o as getDefaultApp } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { n as ApiError, t as defineCommand } from "./command-
|
|
1
|
+
import { r as formatJson, t as blocks } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { f as setDefaultApp, o as getDefaultApp } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { t as scanProject } from "./scan-
|
|
8
|
-
import { t as detectExisting } from "./existing-
|
|
7
|
+
import { t as scanProject } from "./scan-DJixvuHn.js";
|
|
8
|
+
import { t as detectExisting } from "./existing-Cak1WxWB.js";
|
|
9
9
|
import "./spinner-B9dT3DBY.js";
|
|
10
10
|
import { C as rowName, c as getPaywallApplicationId, h as listResource, i as createEntitlement, l as isAppScoped, m as listProjects, n as createApplication, o as createProduct, p as listOrganizations, r as createCampaign, s as createProject, t as addPlacement, w as titleCase, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
11
11
|
import { t as requireOrg } from "./org-Cg25bcsj.js";
|
|
12
|
-
import { t as platformForIntegration } from "./bind-
|
|
12
|
+
import { t as platformForIntegration } from "./bind-BZxVyt9P.js";
|
|
13
13
|
import { t as apiCall } from "./api-output-D9ggXQIr.js";
|
|
14
14
|
import { t as generateStoreKit } from "./storekit-DPonXSwe.js";
|
|
15
15
|
import * as fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as DASHBOARD_URL } from "./output-
|
|
2
|
-
import { s as packagedDir } from "./skills-
|
|
1
|
+
import { l as DASHBOARD_URL } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { s as packagedDir } from "./skills-CODut1Hn.js";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import { h as setSkillsSync, i as track, u as getSkillsSync } from "./telemetry-
|
|
1
|
+
import { g as VERSION } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { h as setSkillsSync, i as track, u as getSkillsSync } from "./telemetry-BtkMdT-5.js";
|
|
3
3
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
4
4
|
import { r as spawnStream } from "./spawn-DSoTXy_j.js";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-csAtR6kJ.js";
|
|
2
|
+
import "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { a as skillsOutOfDate, o as syncSkills, r as fetchPublicSkills, t as SUPERWALL_SKILLS_SOURCE } from "./skills-
|
|
7
|
+
import { a as skillsOutOfDate, o as syncSkills, r as fetchPublicSkills, t as SUPERWALL_SKILLS_SOURCE } from "./skills-CODut1Hn.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
9
|
import { t as withSpinner } from "./spinner-B9dT3DBY.js";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST, p as SUPERWALL_HOME, r as formatJson, v as isNonInteractive } from "./output-
|
|
1
|
+
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST, p as SUPERWALL_HOME, r as formatJson, v as isNonInteractive } from "./output-csAtR6kJ.js";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { homedir } from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as SUPERWALL_HOME, r as formatJson } from "./output-
|
|
1
|
+
import { p as SUPERWALL_HOME, r as formatJson } from "./output-csAtR6kJ.js";
|
|
2
2
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import { d as getUpdateCheck, g as setUpdateCheck } from "./telemetry-
|
|
1
|
+
import { g as VERSION } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { d as getUpdateCheck, g as setUpdateCheck } from "./telemetry-BtkMdT-5.js";
|
|
3
3
|
import pc from "picocolors";
|
|
4
4
|
|
|
5
5
|
//#region src/core/update.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import { g as setUpdateCheck } from "./telemetry-
|
|
3
|
-
import { r as isNewerVersion, t as fetchLatestVersion } from "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION } from "./output-csAtR6kJ.js";
|
|
2
|
+
import { g as setUpdateCheck } from "./telemetry-BtkMdT-5.js";
|
|
3
|
+
import { r as isNewerVersion, t as fetchLatestVersion } from "./update-CeylIjx5.js";
|
|
4
|
+
import "./token-hM7V1KMG.js";
|
|
5
|
+
import { t as defineCommand } from "./command-DP96_gmP.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import { r as spawnStream } from "./spawn-DSoTXy_j.js";
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superwall/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "The official CLI for managing Superwall from your terminal or coding agent.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@anthropic-ai/claude-agent-sdk": "0.3.201",
|
|
61
|
-
"@superwall/studio": "1.
|
|
61
|
+
"@superwall/studio": "1.4.0",
|
|
62
62
|
"ansi-escapes": "^7.3.0",
|
|
63
63
|
"fast-glob": "^3.3.3",
|
|
64
64
|
"ink": "^5.2.1",
|
package/dist/publish-DBu5f2kZ.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import "./output-BdYOOjvC.js";
|
|
2
|
-
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
-
import "./update-BLygC1jI.js";
|
|
4
|
-
import "./token-CmLVJoQf.js";
|
|
5
|
-
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
|
-
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-DP-jU7Fj.js";
|
|
8
|
-
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-D9fJlrZt.js";
|
|
10
|
-
import "./scan-D31Gmyke.js";
|
|
11
|
-
import "./hosted-DOLN6JOq.js";
|
|
12
|
-
import "./spinner-B9dT3DBY.js";
|
|
13
|
-
import "./resources-s64mBHaC.js";
|
|
14
|
-
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-CpMOHtha.js";
|
|
16
|
-
import { i as requireApi } from "./git-D5zEsg-K.js";
|
|
17
|
-
import "./actions-CWsTaw-9.js";
|
|
18
|
-
import "./app-iJ6GVRuJ.js";
|
|
19
|
-
import { n as runPushPipeline } from "./pipeline-CGFoiQoD.js";
|
|
20
|
-
|
|
21
|
-
//#region src/commands/paywalls/publish.ts
|
|
22
|
-
const runPublish = defineCommand({
|
|
23
|
-
name: "publish",
|
|
24
|
-
output: "human",
|
|
25
|
-
async run(context) {
|
|
26
|
-
const api = await requireApi(context.interactive);
|
|
27
|
-
await runPushPipeline({
|
|
28
|
-
...context,
|
|
29
|
-
api
|
|
30
|
-
}, { promote: true });
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export { runPublish };
|
package/dist/push-CD7chwAS.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import "./output-BdYOOjvC.js";
|
|
2
|
-
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
-
import "./update-BLygC1jI.js";
|
|
4
|
-
import "./token-CmLVJoQf.js";
|
|
5
|
-
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
|
-
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-DP-jU7Fj.js";
|
|
8
|
-
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-D9fJlrZt.js";
|
|
10
|
-
import "./scan-D31Gmyke.js";
|
|
11
|
-
import "./hosted-DOLN6JOq.js";
|
|
12
|
-
import "./spinner-B9dT3DBY.js";
|
|
13
|
-
import "./resources-s64mBHaC.js";
|
|
14
|
-
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-CpMOHtha.js";
|
|
16
|
-
import { i as requireApi } from "./git-D5zEsg-K.js";
|
|
17
|
-
import "./actions-CWsTaw-9.js";
|
|
18
|
-
import "./app-iJ6GVRuJ.js";
|
|
19
|
-
import { n as runPushPipeline } from "./pipeline-CGFoiQoD.js";
|
|
20
|
-
|
|
21
|
-
//#region src/commands/paywalls/push.ts
|
|
22
|
-
const runPush = defineCommand({
|
|
23
|
-
name: "push",
|
|
24
|
-
output: "human",
|
|
25
|
-
async run(context) {
|
|
26
|
-
const api = await requireApi(context.interactive);
|
|
27
|
-
await runPushPipeline({
|
|
28
|
-
...context,
|
|
29
|
-
api
|
|
30
|
-
}, { promote: false });
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export { runPush };
|