@superwall/cli 2.1.1 → 2.2.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/README.md +9 -0
- package/dist/{apple-BHbX0jbn.js → apple-Bcr_PteR.js} +13 -13
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +3 -3
- package/dist/{billing-4zhIBFRQ.js → billing-CWM1ds3K.js} +3 -3
- package/dist/{bind-CHLHmxgA.js → bind-DEYxsnZD.js} +4 -4
- package/dist/{build-5PQeSnNN.js → build--oQKfZU6.js} +6 -6
- package/dist/{client-BIvOmWPC.js → client-CimFymxG.js} +3 -3
- package/dist/{create-VK-pNfN7.js → create-BG9n4fvs.js} +22 -22
- package/dist/{create-BSNIFsnN.js → create-DTAyHkxb.js} +6 -6
- package/dist/create-kT2C9k4h.js +19 -0
- package/dist/{doctor-9JS96QkX.js → doctor-BkygMUe2.js} +6 -6
- package/dist/{drivers-BamBJ10Y.js → drivers-C6eXj5-r.js} +3 -3
- package/dist/entry.js +19 -19
- package/dist/{environment-eV7LEnSN.js → environment-CQn323uB.js} +1 -1
- package/dist/{existing-C8dSYHGk.js → existing-CvOluc9U.js} +2 -2
- package/dist/held-Bwkhufdj.js +16 -0
- package/dist/{held-BMisHn8F.js → held-QM7yfrXq.js} +6 -6
- package/dist/{integrate-VWtTNPCr.js → integrate-Ci_MLkQG.js} +21 -21
- package/dist/{login-BimbukE5.js → login-BIAWgdzM.js} +256 -33
- package/dist/{login-BmwG14LC.js → login-DLi71nJq.js} +1 -1
- package/dist/login-Dy9N5ZDH.js +16 -0
- package/dist/{lookup-k9EeOiZr.js → lookup-DZFrfzO0.js} +2 -2
- package/dist/{migrate-C86h6jeF.js → migrate-BKF1WckS.js} +21 -21
- package/dist/{notification-url-BVaTgWZ5.js → notification-url-erXQ1edb.js} +2 -2
- package/dist/{open-0tDCQOXC.js → open-BjvGVwJf.js} +10 -10
- package/dist/{org-DUwdrKPV.js → org-CvPGVSBF.js} +2 -2
- package/dist/{paths-BCbjCLP5.js → paths-oRuC18Kt.js} +1 -1
- package/dist/{playbook-oov9yV0q.js → playbook-CtTj1HBK.js} +10 -10
- package/dist/{promote-DPGPamkE.js → promote-BkJYISza.js} +16 -16
- package/dist/push-BIizJJOn.js +22 -0
- package/dist/{push-Cz4lJ8Qd.js → push-Ul2SW87i.js} +4 -4
- package/dist/{registry-CTczUigi.js → registry-OmPZ6dj0.js} +77 -36
- package/dist/{resources-B1qKDVXd.js → resources-FIrK7pE9.js} +1 -1
- package/dist/{run-DTPsVmFw.js → run-CwEY1eu5.js} +2 -2
- package/dist/{scan-Bb48xZqB.js → scan-CpbfZ2ju.js} +1 -1
- package/dist/scan-DjyvuWel.js +4 -0
- package/dist/{scope-B6UYGuwn.js → scope-BSqVfZvy.js} +4 -4
- package/dist/{selection-BbNk9r1q.js → selection-CHnVk8uw.js} +3 -3
- package/dist/server-BTveynqC.js +22 -0
- package/dist/{server-EYBMKAG1.js → server-D5xl5iKO.js} +66 -16
- package/dist/{session-xG9E8J2N.js → session-6lnJ0shD.js} +1 -1
- package/dist/{session-Crg9X-FI.js → session-BFwasPVq.js} +9 -8
- package/dist/session-Ds6tLC19.js +6 -0
- package/dist/skills/superwall/references/data-analytics.md +7 -8
- package/dist/skills/superwall-framework/references/migrate-from-editor.md +2 -1
- package/dist/{skills-Dg3k6TRC.js → skills-B8uSuanf.js} +8 -8
- package/dist/{skills-BdMKE2uO.js → skills-D7sG0xom.js} +4 -4
- package/dist/{spinner-Ba3XhlMb.js → spinner-TZeZEeVv.js} +3 -3
- package/dist/{storage-CerJ5KLP.d.ts → storage-BbJF7z3l.d.ts} +1 -0
- package/dist/{storage-DIkYajce.js → storage-DqKJe13V.js} +12 -2
- package/dist/storekit-C_LFh8qy.js +16 -0
- package/dist/{storekit-C2UzIIMs.js → storekit-uyT3DWo4.js} +3 -3
- package/dist/{telemetry-CVP8O6Y3.js → telemetry-D_uIIuSk.js} +1 -1
- package/dist/{token-IWv2httm.js → token-BJsLGoSX.js} +1 -1
- package/dist/tools.d.ts +8 -8
- package/dist/tools.js +14 -4
- package/dist/{upgrade-1t3aQUxh.js → upgrade-BRM51As6.js} +1 -1
- package/dist/{upgrade-DLf0LJDh.js → upgrade-DV_rmhyV.js} +2 -2
- package/package.json +2 -2
- package/dist/create-oj3zXvHZ.js +0 -19
- package/dist/held-DeJW2gUk.js +0 -16
- package/dist/login-2JHCG6c1.js +0 -16
- package/dist/push-Chp21y3a.js +0 -22
- package/dist/scan-B1SkkUi7.js +0 -4
- package/dist/server-CwrZ-I1r.js +0 -22
- package/dist/session-DItGa4z0.js +0 -6
- package/dist/storekit-DHNxDDpA.js +0 -16
package/README.md
CHANGED
|
@@ -29,6 +29,15 @@ package; everything below is what you get.
|
|
|
29
29
|
session. Where it can't open one (a server, or over SSH), it says so: open the
|
|
30
30
|
URL it prints on any device and approve the code there. In CI, log in without
|
|
31
31
|
a browser: `superwall login --api-key <key>`.
|
|
32
|
+
|
|
33
|
+
A coding agent can log you in too. Without a terminal, `superwall login` prints
|
|
34
|
+
the link and code and returns at once; the agent shows you the link, and once
|
|
35
|
+
you've approved it, `superwall login --poll` finishes the login (it waits up to
|
|
36
|
+
`--timeout` seconds, 60 by default, and says `pending` until then). A new
|
|
37
|
+
account without an organization needs `--org-name "<name>"` on either command;
|
|
38
|
+
add `--app-name "<name>" --platform ios|android|web` (and `--bundle-id`) to
|
|
39
|
+
create its first app too. `BROWSER=none` stops the CLI from opening a browser
|
|
40
|
+
itself.
|
|
32
41
|
There are no organizations to pick: `superwall apps list` shows every app you
|
|
33
42
|
can open, grouped by organization, and commands take `--app <id|dashboard link>`.
|
|
34
43
|
Upgrade any time with `superwall upgrade` - the CLI also tells you when a new
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
2
|
import { t as blocks } from "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import { t as ApiError } from "./client-
|
|
6
|
-
import { E as updateBundleId, a as chooseAppIntent, g as RefusedByApi, i as savedKey, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, s as resolveApp, y as findIntegrations } from "./held-
|
|
3
|
+
import "./environment-CQn323uB.js";
|
|
4
|
+
import "./storage-DqKJe13V.js";
|
|
5
|
+
import { t as ApiError } from "./client-CimFymxG.js";
|
|
6
|
+
import { E as updateBundleId, a as chooseAppIntent, g as RefusedByApi, i as savedKey, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, s as resolveApp, y as findIntegrations } from "./held-QM7yfrXq.js";
|
|
7
7
|
import "./config-BO1Y87kV.js";
|
|
8
|
-
import { t as apiCall } from "./spinner-
|
|
8
|
+
import { t as apiCall } from "./spinner-TZeZEeVv.js";
|
|
9
9
|
import "./ui-D_qf3Gvw.js";
|
|
10
|
-
import "./paths-
|
|
11
|
-
import "./resources-
|
|
12
|
-
import "./org-
|
|
13
|
-
import "./lookup-
|
|
14
|
-
import "./scope-
|
|
10
|
+
import "./paths-oRuC18Kt.js";
|
|
11
|
+
import "./resources-FIrK7pE9.js";
|
|
12
|
+
import "./org-CvPGVSBF.js";
|
|
13
|
+
import "./lookup-DZFrfzO0.js";
|
|
14
|
+
import "./scope-BSqVfZvy.js";
|
|
15
15
|
import "./client-BZ1UbpXz.js";
|
|
16
16
|
import "./timing-BVxPrYq3.js";
|
|
17
|
-
import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-
|
|
18
|
-
import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-
|
|
17
|
+
import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-erXQ1edb.js";
|
|
18
|
+
import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-DTAyHkxb.js";
|
|
19
19
|
|
|
20
20
|
//#region src/core/app-store-connect/setup/apple.ts
|
|
21
21
|
const STEPS = [
|
package/dist/auth.d.ts
CHANGED
package/dist/auth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as resolveAuthToken, r as NotLoggedInError, t as getOAuthAccessToken } from "./token-
|
|
1
|
+
import { n as resolveAuthToken, r as NotLoggedInError, t as getOAuthAccessToken } from "./token-BJsLGoSX.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
3
|
+
import "./environment-CQn323uB.js";
|
|
4
|
+
import "./storage-DqKJe13V.js";
|
|
5
5
|
|
|
6
6
|
export { NotLoggedInError, getOAuthAccessToken, resolveAuthToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as Integration } from "./environment-
|
|
2
|
-
import { i as readPackageJson, r as allDeps } from "./scan-
|
|
3
|
-
import { d as readBundledSkill } from "./skills-
|
|
1
|
+
import { f as Integration } from "./environment-CQn323uB.js";
|
|
2
|
+
import { i as readPackageJson, r as allDeps } from "./scan-CpbfZ2ju.js";
|
|
3
|
+
import { d as readBundledSkill } from "./skills-D7sG0xom.js";
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
5
|
import fg from "fast-glob";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as Integration } from "./environment-
|
|
2
|
-
import { n as withSpinner } from "./spinner-
|
|
1
|
+
import { f as Integration } from "./environment-CQn323uB.js";
|
|
2
|
+
import { n as withSpinner } from "./spinner-TZeZEeVv.js";
|
|
3
3
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
4
|
-
import { n as createApplication, p as listProjects, s as createProject, v as platformLabel } from "./resources-
|
|
5
|
-
import { n as orgForNewProject } from "./org-
|
|
4
|
+
import { n as createApplication, p as listProjects, s as createProject, v as platformLabel } from "./resources-FIrK7pE9.js";
|
|
5
|
+
import { n as orgForNewProject } from "./org-CvPGVSBF.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core/account/bind.ts
|
|
8
8
|
const NEW = "__new__";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import { v as VERSION } from "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import "./client-
|
|
3
|
+
import { v as VERSION } from "./environment-CQn323uB.js";
|
|
4
|
+
import "./storage-DqKJe13V.js";
|
|
5
|
+
import "./client-CimFymxG.js";
|
|
6
6
|
import "./config-BO1Y87kV.js";
|
|
7
7
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
8
|
-
import "./resources-
|
|
9
|
-
import { N as resolveFramework, P as assetBaseUrl, a as resolveProjectDir, d as kb, h as took, i as requireProject, n as parseIds, s as selectSurfaces, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-
|
|
8
|
+
import "./resources-FIrK7pE9.js";
|
|
9
|
+
import { N as resolveFramework, P as assetBaseUrl, a as resolveProjectDir, d as kb, h as took, i as requireProject, n as parseIds, s as selectSurfaces, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-CHnVk8uw.js";
|
|
10
10
|
import * as fs from "node:fs";
|
|
11
11
|
import * as path from "node:path";
|
|
12
12
|
import pc from "picocolors";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as resolveAuthToken, r as NotLoggedInError } from "./token-
|
|
2
|
-
import { _ as USER_AGENT } from "./environment-
|
|
3
|
-
import {
|
|
1
|
+
import { n as resolveAuthToken, r as NotLoggedInError } from "./token-BJsLGoSX.js";
|
|
2
|
+
import { _ as USER_AGENT } from "./environment-CQn323uB.js";
|
|
3
|
+
import { a as resolveApiHost, n as readSession } from "./storage-DqKJe13V.js";
|
|
4
4
|
|
|
5
5
|
//#region src/core/api/client.ts
|
|
6
6
|
const BODY_SNIPPET = 200;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import "./client-
|
|
3
|
+
import "./environment-CQn323uB.js";
|
|
4
|
+
import "./storage-DqKJe13V.js";
|
|
5
|
+
import "./client-CimFymxG.js";
|
|
6
6
|
import "./config-BO1Y87kV.js";
|
|
7
|
-
import "./telemetry-
|
|
7
|
+
import "./telemetry-D_uIIuSk.js";
|
|
8
8
|
import "./spawn-DmmmHIP-.js";
|
|
9
|
-
import "./spinner-
|
|
9
|
+
import "./spinner-TZeZEeVv.js";
|
|
10
10
|
import "./ui-D_qf3Gvw.js";
|
|
11
11
|
import "./theme-DUsCh-Vd.js";
|
|
12
12
|
import "./log-NVhVe_oe.js";
|
|
13
|
-
import { i as readPackageJson, r as allDeps, t as scanProject } from "./scan-
|
|
14
|
-
import { t as detectExisting } from "./existing-
|
|
15
|
-
import "./paths-
|
|
16
|
-
import { D as field, f as listApplications, n as createApplication, p as listProjects, v as platformLabel } from "./resources-
|
|
17
|
-
import "./org-
|
|
18
|
-
import { n as findApplication } from "./lookup-
|
|
19
|
-
import { r as resolveScopeFromKey } from "./bind-
|
|
20
|
-
import "./login-
|
|
21
|
-
import "./skills-
|
|
22
|
-
import { E as writeApp } from "./selection-
|
|
23
|
-
import { a as gitAvailable, b as requirePlatform, c as projectPackageName, n as requireApi, t as LoginRequiredError } from "./session-
|
|
24
|
-
import "./login-
|
|
25
|
-
import "./run-
|
|
26
|
-
import "./drivers-
|
|
27
|
-
import { b as writeTemplate, c as migrationFor, d as projectDirOf, f as scaffoldFromPaywall, i as startStudio, n as migrationNextSteps, s as isSuperwallProject, t as askStudio, u as offerMigration, v as starterConfig, x as slugOf, y as writeSurfaceFiles } from "./open-
|
|
28
|
-
import "./server-
|
|
13
|
+
import { i as readPackageJson, r as allDeps, t as scanProject } from "./scan-CpbfZ2ju.js";
|
|
14
|
+
import { t as detectExisting } from "./existing-CvOluc9U.js";
|
|
15
|
+
import "./paths-oRuC18Kt.js";
|
|
16
|
+
import { D as field, f as listApplications, n as createApplication, p as listProjects, v as platformLabel } from "./resources-FIrK7pE9.js";
|
|
17
|
+
import "./org-CvPGVSBF.js";
|
|
18
|
+
import { n as findApplication } from "./lookup-DZFrfzO0.js";
|
|
19
|
+
import { r as resolveScopeFromKey } from "./bind-DEYxsnZD.js";
|
|
20
|
+
import "./login-BIAWgdzM.js";
|
|
21
|
+
import "./skills-D7sG0xom.js";
|
|
22
|
+
import { E as writeApp } from "./selection-CHnVk8uw.js";
|
|
23
|
+
import { a as gitAvailable, b as requirePlatform, c as projectPackageName, n as requireApi, t as LoginRequiredError } from "./session-BFwasPVq.js";
|
|
24
|
+
import "./login-DLi71nJq.js";
|
|
25
|
+
import "./run-CwEY1eu5.js";
|
|
26
|
+
import "./drivers-C6eXj5-r.js";
|
|
27
|
+
import { b as writeTemplate, c as migrationFor, d as projectDirOf, f as scaffoldFromPaywall, i as startStudio, n as migrationNextSteps, s as isSuperwallProject, t as askStudio, u as offerMigration, v as starterConfig, x as slugOf, y as writeSurfaceFiles } from "./open-BjvGVwJf.js";
|
|
28
|
+
import "./server-D5xl5iKO.js";
|
|
29
29
|
import { execFile } from "node:child_process";
|
|
30
30
|
import * as fs from "node:fs";
|
|
31
31
|
import * as path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
|
|
2
|
-
import { b as appleCredentialsFromEnv, d as ENV_APPLE_PASSWORD, u as ENV_APPLE_ID, v as VERSION } from "./environment-
|
|
3
|
-
import { t as ApiError } from "./client-
|
|
4
|
-
import { i as savedKey, m as KEY_LABEL, n as testModeWarning, o as chooseIosApp, s as resolveApp, t as upsertHeldKey, x as keyKind, y as findIntegrations } from "./held-
|
|
5
|
-
import { t as apiCall } from "./spinner-
|
|
6
|
-
import { n as SUPERWALL_HOME } from "./paths-
|
|
7
|
-
import { A as parseJson, D as field, j as textField, k as listField } from "./resources-
|
|
2
|
+
import { b as appleCredentialsFromEnv, d as ENV_APPLE_PASSWORD, u as ENV_APPLE_ID, v as VERSION } from "./environment-CQn323uB.js";
|
|
3
|
+
import { t as ApiError } from "./client-CimFymxG.js";
|
|
4
|
+
import { i as savedKey, m as KEY_LABEL, n as testModeWarning, o as chooseIosApp, s as resolveApp, t as upsertHeldKey, x as keyKind, y as findIntegrations } from "./held-QM7yfrXq.js";
|
|
5
|
+
import { t as apiCall } from "./spinner-TZeZEeVv.js";
|
|
6
|
+
import { n as SUPERWALL_HOME } from "./paths-oRuC18Kt.js";
|
|
7
|
+
import { A as parseJson, D as field, j as textField, k as listField } from "./resources-FIrK7pE9.js";
|
|
8
8
|
import { c as replaceAppPurchaseKey, s as replaceAppAscKey } from "./client-BZ1UbpXz.js";
|
|
9
9
|
import { t as timing } from "./timing-BVxPrYq3.js";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
|
+
import "./output-Ggzq5_-t.js";
|
|
3
|
+
import "./environment-CQn323uB.js";
|
|
4
|
+
import "./storage-DqKJe13V.js";
|
|
5
|
+
import "./client-CimFymxG.js";
|
|
6
|
+
import "./held-QM7yfrXq.js";
|
|
7
|
+
import "./config-BO1Y87kV.js";
|
|
8
|
+
import "./spinner-TZeZEeVv.js";
|
|
9
|
+
import "./ui-D_qf3Gvw.js";
|
|
10
|
+
import "./paths-oRuC18Kt.js";
|
|
11
|
+
import "./resources-FIrK7pE9.js";
|
|
12
|
+
import "./org-CvPGVSBF.js";
|
|
13
|
+
import "./lookup-DZFrfzO0.js";
|
|
14
|
+
import "./scope-BSqVfZvy.js";
|
|
15
|
+
import "./client-BZ1UbpXz.js";
|
|
16
|
+
import "./timing-BVxPrYq3.js";
|
|
17
|
+
import { i as runAscKeysCreate, n as keyAccess, r as keyRole, t as createAndSaveKey } from "./create-DTAyHkxb.js";
|
|
18
|
+
|
|
19
|
+
export { createAndSaveKey, keyAccess, keyRole, runAscKeysCreate };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import { y as apiKeyFromEnv } from "./environment-
|
|
4
|
-
import {
|
|
3
|
+
import { y as apiKeyFromEnv } from "./environment-CQn323uB.js";
|
|
4
|
+
import { n as readSession } from "./storage-DqKJe13V.js";
|
|
5
5
|
import "./spawn-DmmmHIP-.js";
|
|
6
6
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
7
7
|
import { n as fg, t as THEME } from "./theme-DUsCh-Vd.js";
|
|
8
|
-
import { t as scanProject } from "./scan-
|
|
9
|
-
import { t as detectExisting } from "./existing-
|
|
10
|
-
import { t as detectDrivers } from "./drivers-
|
|
8
|
+
import { t as scanProject } from "./scan-CpbfZ2ju.js";
|
|
9
|
+
import { t as detectExisting } from "./existing-CvOluc9U.js";
|
|
10
|
+
import { t as detectDrivers } from "./drivers-C6eXj5-r.js";
|
|
11
11
|
|
|
12
12
|
//#region src/core/support/doctor.ts
|
|
13
13
|
async function runDoctor(ctx, deps = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as getOAuthAccessToken } from "./token-
|
|
2
|
-
import { t as API_HOST, v as VERSION } from "./environment-
|
|
3
|
-
import {
|
|
1
|
+
import { t as getOAuthAccessToken } from "./token-BJsLGoSX.js";
|
|
2
|
+
import { t as API_HOST, v as VERSION } from "./environment-CQn323uB.js";
|
|
3
|
+
import { n as readSession } from "./storage-DqKJe13V.js";
|
|
4
4
|
import { n as readVersion, r as spawnStream, t as onPath } from "./spawn-DmmmHIP-.js";
|
|
5
5
|
import { basename, join } from "node:path";
|
|
6
6
|
import { tmpdir } from "node:os";
|
package/dist/entry.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { n as __require, r as __toESM, t as __commonJS } from "./chunk-DQxbwPpZ.js";
|
|
2
|
-
import "./token-
|
|
2
|
+
import "./token-BJsLGoSX.js";
|
|
3
3
|
import { a as stripAnsi, d as useStores, i as writeJson } from "./output-Ggzq5_-t.js";
|
|
4
|
-
import { S as isNonInteractive, a as CHANNEL, v as VERSION } from "./environment-
|
|
5
|
-
import "./storage-
|
|
6
|
-
import { i as superwallApi } from "./client-
|
|
7
|
-
import { O as useAscRefresh } from "./held-
|
|
4
|
+
import { S as isNonInteractive, a as CHANNEL, v as VERSION } from "./environment-CQn323uB.js";
|
|
5
|
+
import "./storage-DqKJe13V.js";
|
|
6
|
+
import { i as superwallApi } from "./client-CimFymxG.js";
|
|
7
|
+
import { O as useAscRefresh } from "./held-QM7yfrXq.js";
|
|
8
8
|
import "./config-BO1Y87kV.js";
|
|
9
|
-
import { n as maybeShowTelemetryNotice, r as track, t as flushTelemetry } from "./telemetry-
|
|
9
|
+
import { n as maybeShowTelemetryNotice, r as track, t as flushTelemetry } from "./telemetry-D_uIIuSk.js";
|
|
10
10
|
import "./spawn-DmmmHIP-.js";
|
|
11
|
-
import { i as refreshUpdateCheck, r as maybeNotifyUpdate, t as flushUpdateCheck } from "./upgrade-
|
|
12
|
-
import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-
|
|
11
|
+
import { i as refreshUpdateCheck, r as maybeNotifyUpdate, t as flushUpdateCheck } from "./upgrade-BRM51As6.js";
|
|
12
|
+
import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-TZeZEeVv.js";
|
|
13
13
|
import { r as useRenderer, t as silentRenderer } from "./ui-D_qf3Gvw.js";
|
|
14
14
|
import { t as THEME } from "./theme-DUsCh-Vd.js";
|
|
15
15
|
import { n as styleMarkdown, r as wrapReportLine } from "./log-NVhVe_oe.js";
|
|
16
|
-
import { t as scanProject } from "./scan-
|
|
17
|
-
import { t as detectExisting } from "./existing-
|
|
18
|
-
import { n as SUPERWALL_HOME, r as expandHome } from "./paths-
|
|
19
|
-
import { a as renderPage, i as exampleLines, n as cmd, r as detailLines, t as listGroups } from "./registry-
|
|
20
|
-
import "./session-
|
|
21
|
-
import "./resources-
|
|
22
|
-
import "./org-
|
|
23
|
-
import "./lookup-
|
|
24
|
-
import "./scope-
|
|
16
|
+
import { t as scanProject } from "./scan-CpbfZ2ju.js";
|
|
17
|
+
import { t as detectExisting } from "./existing-CvOluc9U.js";
|
|
18
|
+
import { n as SUPERWALL_HOME, r as expandHome } from "./paths-oRuC18Kt.js";
|
|
19
|
+
import { a as renderPage, i as exampleLines, n as cmd, r as detailLines, t as listGroups } from "./registry-OmPZ6dj0.js";
|
|
20
|
+
import "./session-6lnJ0shD.js";
|
|
21
|
+
import "./resources-FIrK7pE9.js";
|
|
22
|
+
import "./org-CvPGVSBF.js";
|
|
23
|
+
import "./lookup-DZFrfzO0.js";
|
|
24
|
+
import "./scope-BSqVfZvy.js";
|
|
25
25
|
import "./client-BZ1UbpXz.js";
|
|
26
26
|
import "./products-DH_fK9tY.js";
|
|
27
27
|
import "./input-vi0bou04.js";
|
|
28
28
|
import "./timing-BVxPrYq3.js";
|
|
29
|
-
import "./notification-url-
|
|
30
|
-
import "./bind-
|
|
29
|
+
import "./notification-url-erXQ1edb.js";
|
|
30
|
+
import "./bind-DEYxsnZD.js";
|
|
31
31
|
import { spawn } from "node:child_process";
|
|
32
32
|
import * as fs from "node:fs";
|
|
33
33
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as Integration } from "./environment-
|
|
2
|
-
import { i as readPackageJson, r as allDeps } from "./scan-
|
|
1
|
+
import { f as Integration } from "./environment-CQn323uB.js";
|
|
2
|
+
import { i as readPackageJson, r as allDeps } from "./scan-CpbfZ2ju.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import fg from "fast-glob";
|
|
5
5
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
|
+
import "./output-Ggzq5_-t.js";
|
|
3
|
+
import "./environment-CQn323uB.js";
|
|
4
|
+
import "./storage-DqKJe13V.js";
|
|
5
|
+
import "./client-CimFymxG.js";
|
|
6
|
+
import { t as upsertHeldKey } from "./held-QM7yfrXq.js";
|
|
7
|
+
import "./config-BO1Y87kV.js";
|
|
8
|
+
import "./spinner-TZeZEeVv.js";
|
|
9
|
+
import "./ui-D_qf3Gvw.js";
|
|
10
|
+
import "./resources-FIrK7pE9.js";
|
|
11
|
+
import "./org-CvPGVSBF.js";
|
|
12
|
+
import "./lookup-DZFrfzO0.js";
|
|
13
|
+
import "./scope-BSqVfZvy.js";
|
|
14
|
+
import "./client-BZ1UbpXz.js";
|
|
15
|
+
|
|
16
|
+
export { upsertHeldKey };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as readJson, o as cache } from "./output-Ggzq5_-t.js";
|
|
2
|
-
import { t as ApiError } from "./client-
|
|
3
|
-
import { d as readInput, t as apiCall } from "./spinner-
|
|
4
|
-
import { D as field, O as isRecord, j as textField, k as listField, n as createApplication, p as listProjects, s as createProject } from "./resources-
|
|
5
|
-
import { n as orgForNewProject } from "./org-
|
|
6
|
-
import { n as findApplication } from "./lookup-
|
|
7
|
-
import { r as pickOrganization } from "./scope-
|
|
2
|
+
import { t as ApiError } from "./client-CimFymxG.js";
|
|
3
|
+
import { d as readInput, t as apiCall } from "./spinner-TZeZEeVv.js";
|
|
4
|
+
import { D as field, O as isRecord, j as textField, k as listField, n as createApplication, p as listProjects, s as createProject } from "./resources-FIrK7pE9.js";
|
|
5
|
+
import { n as orgForNewProject } from "./org-CvPGVSBF.js";
|
|
6
|
+
import { n as findApplication } from "./lookup-DZFrfzO0.js";
|
|
7
|
+
import { r as pickOrganization } from "./scope-BSqVfZvy.js";
|
|
8
8
|
import { a as listAscConfigs, c as replaceAppPurchaseKey, l as replaceAscConfig, r as createAscConfig, s as replaceAppAscKey, t as ascProxy } from "./client-BZ1UbpXz.js";
|
|
9
9
|
|
|
10
10
|
//#region src/core/app-store-connect/api/spec.ts
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BJsLGoSX.js";
|
|
2
2
|
import { r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
|
|
3
|
-
import { c as DASHBOARD_URL, v as VERSION } from "./environment-
|
|
4
|
-
import {
|
|
5
|
-
import { i as superwallApi } from "./client-
|
|
3
|
+
import { c as DASHBOARD_URL, v as VERSION } from "./environment-CQn323uB.js";
|
|
4
|
+
import { i as removeSession, n as readSession, s as sessionOrgName } from "./storage-DqKJe13V.js";
|
|
5
|
+
import { i as superwallApi } from "./client-CimFymxG.js";
|
|
6
6
|
import { r as readOnboardedApp } from "./config-BO1Y87kV.js";
|
|
7
|
-
import { i as updateTelemetryTags } from "./telemetry-
|
|
7
|
+
import { i as updateTelemetryTags } from "./telemetry-D_uIIuSk.js";
|
|
8
8
|
import "./spawn-DmmmHIP-.js";
|
|
9
|
-
import { n as withSpinner } from "./spinner-
|
|
9
|
+
import { n as withSpinner } from "./spinner-TZeZEeVv.js";
|
|
10
10
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
11
11
|
import "./theme-DUsCh-Vd.js";
|
|
12
12
|
import { t as stripReport } from "./log-NVhVe_oe.js";
|
|
13
|
-
import { n as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
14
|
-
import { t as detectExisting } from "./existing-
|
|
15
|
-
import { r as expandHome } from "./paths-
|
|
16
|
-
import { D as field, f as listApplications, k as listField, m as listResource, o as createProduct, v as platformLabel, w as rowName } from "./resources-
|
|
17
|
-
import "./org-
|
|
18
|
-
import "./lookup-
|
|
19
|
-
import "./scope-
|
|
13
|
+
import { n as SUPPORTED_LABEL, t as scanProject } from "./scan-CpbfZ2ju.js";
|
|
14
|
+
import { t as detectExisting } from "./existing-CvOluc9U.js";
|
|
15
|
+
import { r as expandHome } from "./paths-oRuC18Kt.js";
|
|
16
|
+
import { D as field, f as listApplications, k as listField, m as listResource, o as createProduct, v as platformLabel, w as rowName } from "./resources-FIrK7pE9.js";
|
|
17
|
+
import "./org-CvPGVSBF.js";
|
|
18
|
+
import "./lookup-DZFrfzO0.js";
|
|
19
|
+
import "./scope-BSqVfZvy.js";
|
|
20
20
|
import { a as listAscConfigs, r as createAscConfig } from "./client-BZ1UbpXz.js";
|
|
21
21
|
import { i as listUnimportedAscProducts, n as findAscAppId, r as listAscApps, t as ascTypeDisplay } from "./products-DH_fK9tY.js";
|
|
22
22
|
import "./input-vi0bou04.js";
|
|
23
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
24
|
-
import "./login-
|
|
25
|
-
import { s as ensureSkillsCurrent } from "./skills-
|
|
26
|
-
import { t as generateStoreKit } from "./storekit-
|
|
27
|
-
import { n as performLoginWithUi, t as createLoginGate } from "./login-
|
|
28
|
-
import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-
|
|
29
|
-
import { n as selectHostedStatus, t as detectDrivers } from "./drivers-
|
|
30
|
-
import { r as actionById, t as detectBilling } from "./billing-
|
|
23
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-DEYxsnZD.js";
|
|
24
|
+
import "./login-BIAWgdzM.js";
|
|
25
|
+
import { s as ensureSkillsCurrent } from "./skills-D7sG0xom.js";
|
|
26
|
+
import { t as generateStoreKit } from "./storekit-uyT3DWo4.js";
|
|
27
|
+
import { n as performLoginWithUi, t as createLoginGate } from "./login-DLi71nJq.js";
|
|
28
|
+
import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-CwEY1eu5.js";
|
|
29
|
+
import { n as selectHostedStatus, t as detectDrivers } from "./drivers-C6eXj5-r.js";
|
|
30
|
+
import { r as actionById, t as detectBilling } from "./billing-CWM1ds3K.js";
|
|
31
31
|
import { n as writeReport, t as readReport } from "./reports-D_qbl7_u.js";
|
|
32
32
|
import { readFileSync, writeFileSync } from "node:fs";
|
|
33
33
|
import { basename } from "node:path";
|