@superwall/cli 2.6.0 → 2.7.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/{apple-D-rfsuDA.js → apple-DfYTDEJy.js} +16 -16
- package/dist/{approve-aPc5RoXB.js → approve-CoQJhii4.js} +7 -7
- package/dist/{assets-PyuXe45Y.js → assets-BN0tFoj7.js} +3 -3
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +3 -3
- package/dist/{base-CAU0hWoI.js → base-DAnzMjI8.js} +2 -2
- package/dist/{billing-Dt6L_l9R.js → billing-CFGrG-WZ.js} +3 -3
- package/dist/{build-CY5FnMNY.js → build-CTBvzIG8.js} +10 -10
- package/dist/{config-DOp5oChe.js → config-CJRNScT0.js} +4 -4
- package/dist/{create-BZL5VH4L.js → create-BLs-0ETi.js} +29 -29
- package/dist/create-C_kjQp0N.js +18 -0
- package/dist/{create-D6w3UL0m.js → create-aWzdpjJU.js} +8 -8
- package/dist/{doctor-C9FR0qw3.js → doctor-ChI2Kfru.js} +21 -21
- package/dist/entry.js +28 -29
- package/dist/{environment-sE2wZYdg.js → environment-BQiaGqjB.js} +1 -1
- package/dist/{existing--peXpOZj.js → existing-Cxg_gSN1.js} +8 -8
- package/dist/{git-Hf9Wc7Hp.js → git-D9ooAMt7.js} +1 -1
- package/dist/held-CQMCqJMa.js +15 -0
- package/dist/{held-CUBCOCGP.js → held-CmvNRCRD.js} +327 -22
- package/dist/{scope-BLLUxbrA.js → input-ApyzIzVy.js} +48 -7
- package/dist/{install-C5d82gZF.js → install-DM0JBdpE.js} +12 -12
- package/dist/{integrate-D8J_X1bj.js → integrate-ZQUaScQ0.js} +21 -22
- package/dist/login-Cnt3UZKV.js +13 -0
- package/dist/{login-DXhm9L0F.js → login-CvzBt9eM.js} +2 -2
- package/dist/{login-C6X7JrhM.js → login-Oo2NWLlX.js} +7 -7
- package/dist/{lookup-DqmIbUkv.js → lookup-CHLrO7v7.js} +3 -3
- package/dist/{migrate-BYF6hKZ2.js → migrate-mFKBset8.js} +30 -30
- package/dist/{notification-url-Bo54nkXv.js → notification-url-Dpx0pbYs.js} +3 -3
- package/dist/{open-xdgXUzaF.js → open-CxgE8kLT.js} +2 -2
- package/dist/{org-BD8U3D1_.js → org-0KDPRSlc.js} +4 -4
- package/dist/{organization-D-ZlB3qU.js → organization-Cg--QQtz.js} +4 -4
- package/dist/{orgs-DQQJ3sw_.js → orgs-Df8DzIav.js} +1 -1
- package/dist/{paths-CIlyzF2I.js → paths-B4FNcaHO.js} +1 -1
- package/dist/{playbook-ecggWGFi.js → playbook-pFhIg_0e.js} +10 -10
- package/dist/{promote-QVMLGYlU.js → promote-Crwz1xI0.js} +23 -23
- package/dist/{pull-CCXhb2a7.js → pull-BixwETu1.js} +10 -10
- package/dist/pull-C0gY7HGj.js +30 -0
- package/dist/{pull-CrdsfsAl.js → pull-D8GfsKha.js} +30 -30
- package/dist/{push-DJMGG7zW.js → push-BKoav_FU.js} +10 -10
- package/dist/{push-DiMDwGfe.js → push-BNFvZHUM.js} +8 -8
- package/dist/push-DOaBj8hr.js +29 -0
- package/dist/push-uWv5P0LA.js +21 -0
- package/dist/{registry-BSnQXft4.js → registry-BPqRG08G.js} +270 -435
- package/dist/registry-DGHTk7l-.js +21 -0
- package/dist/{resolve-DO7bPota.js → resolve-CarLrF4b.js} +3 -3
- package/dist/{resources-XwvXA20E.js → resources-BeXleviK.js} +15 -34
- package/dist/{run-B-YvxfRc.js → run-naBCXCfn.js} +14 -14
- package/dist/{scan-ViBhmrB7.js → scan-CtYVCqDS.js} +1 -1
- package/dist/scan-KWnscsk-.js +4 -0
- package/dist/{sdk-BFunw4Hc.js → sdk-BKVRAv23.js} +2 -2
- package/dist/{selection-C07e_GGY.js → selection-CpEfqw2b.js} +1 -1
- package/dist/{series-B8NJK4yS.js → series-C9OU5kd7.js} +1 -1
- package/dist/server-DjBnyiwD.js +33 -0
- package/dist/{server-CBtHzl9y.js → server-Dp5Imq3v.js} +11 -11
- package/dist/{session-BfVx50iA.js → session-6HA1OwHe.js} +6 -6
- package/dist/session-BatiAUPQ.js +5 -0
- package/dist/{session-BlrwAdGN.js → session-BpLOLurZ.js} +1 -1
- package/dist/{setup-a4B72xJ8.js → setup-RL-5c6SV.js} +10 -10
- package/dist/skills/index.json +5 -0
- package/dist/skills/superwall/SKILL.md +8 -1
- package/dist/skills/superwall/references/api.md +34 -3
- package/dist/skills/superwall/references/asc.md +5 -1
- package/dist/skills/superwall/workflows/dashboard/playbook.md +1 -1
- package/dist/skills/superwall/workflows/dashboard/setup.md +6 -2
- package/dist/skills/superwall/workflows/migrate/adapty.md +1 -1
- package/dist/skills/superwall/workflows/migrate/playbook.md +6 -1
- package/dist/skills/superwall/workflows/migrate/qonversion.md +1 -1
- package/dist/skills/superwall/workflows/migrate/revenuecat.md +1 -1
- package/dist/skills/superwall/workflows/placements/android.md +4 -1
- package/dist/skills/superwall/workflows/placements/expo.md +4 -1
- package/dist/skills/superwall/workflows/placements/flutter.md +4 -1
- package/dist/skills/superwall/workflows/placements/ios.md +4 -1
- package/dist/skills/superwall/workflows/placements/playbook.md +6 -1
- package/dist/skills/superwall/workflows/placements/react-native.md +4 -1
- package/dist/skills/superwall/workflows/placements/strategy.md +4 -1
- package/dist/skills/superwall-framework/SKILL.md +105 -26
- package/dist/skills/superwall-framework/references/cli.md +6 -0
- package/dist/skills/superwall-framework/references/elements-checkout.md +457 -0
- package/dist/skills/superwall-framework/references/examples.md +1 -0
- package/dist/skills/superwall-framework/references/layout.md +40 -2
- package/dist/skills/teleport/SKILL.md +154 -0
- package/dist/skills/teleport/references/experiments.md +328 -0
- package/dist/skills/teleport/references/setup.md +157 -0
- package/dist/{skills-BB1uIt8t.js → skills-C1ku2pgy.js} +5 -5
- package/dist/{skills-SnxFa2in.js → skills-CkAWJveA.js} +8 -8
- package/dist/{source-push-w7miTr6m.js → source-push-D59hV02W.js} +6 -6
- package/dist/{spinner-BQp7fQvK.js → spinner-hTCJZAoJ.js} +42 -7
- package/dist/{starter-BlJ_InZJ.js → starter-jYb2nmlb.js} +3 -3
- package/dist/{status-DxsIw9zq.js → status-DrD9CHtK.js} +7 -7
- package/dist/{storage-BR6imSqm.js → storage-D0Q4xBi-.js} +1 -1
- package/dist/storekit-CAOpa6_f.js +14 -0
- package/dist/{storekit-BqyujKQ_.js → storekit-TLBxGIrN.js} +5 -5
- package/dist/{theme-Ed0gz6hr.js → theme-Bvv0yrk_.js} +5 -5
- package/dist/{token-CWQ6tdva.js → token-SEWilQo9.js} +1 -1
- package/dist/tools-skills/superwall/SKILL.md +8 -1
- package/dist/tools-skills/superwall/references/api.md +34 -3
- package/dist/tools-skills/superwall/references/asc.md +5 -1
- package/dist/tools-skills/superwall/workflows/dashboard/playbook.md +1 -1
- package/dist/tools-skills/superwall/workflows/dashboard/setup.md +6 -2
- package/dist/tools-skills/superwall/workflows/migrate/adapty.md +1 -1
- package/dist/tools-skills/superwall/workflows/migrate/playbook.md +6 -1
- package/dist/tools-skills/superwall/workflows/migrate/qonversion.md +1 -1
- package/dist/tools-skills/superwall/workflows/migrate/revenuecat.md +1 -1
- package/dist/tools-skills/superwall/workflows/placements/android.md +4 -1
- package/dist/tools-skills/superwall/workflows/placements/expo.md +4 -1
- package/dist/tools-skills/superwall/workflows/placements/flutter.md +4 -1
- package/dist/tools-skills/superwall/workflows/placements/ios.md +4 -1
- package/dist/tools-skills/superwall/workflows/placements/playbook.md +6 -1
- package/dist/tools-skills/superwall/workflows/placements/react-native.md +4 -1
- package/dist/tools-skills/superwall/workflows/placements/strategy.md +4 -1
- package/dist/tools-skills/teleport/SKILL.md +154 -0
- package/dist/tools-skills/teleport/references/experiments.md +328 -0
- package/dist/tools-skills/teleport/references/setup.md +157 -0
- package/dist/tools.d.ts +4 -2
- package/dist/tools.js +1357 -1191
- package/dist/{try-C3HW3hPZ.js → try-BpMpLGCs.js} +15 -15
- package/dist/{ui-hFgji1e8.js → ui-Dye-QvEj.js} +26 -1
- package/dist/{upgrade-Cw9jVt-r.js → upgrade-BLFWdbGR.js} +7 -7
- package/dist/upgrade-BzN7PjKg.js +27 -0
- package/package.json +2 -2
- package/dist/create-DM5Y1Pyk.js +0 -18
- package/dist/held-DVxvPMSG.js +0 -15
- package/dist/input-DOT_2Zvb.js +0 -42
- package/dist/login-et319ESO.js +0 -13
- package/dist/pull-h71pL3r_.js +0 -30
- package/dist/push-BIq6R8Ro.js +0 -29
- package/dist/push-D6pJM_vv.js +0 -21
- package/dist/registry-YwzTfCNc.js +0 -22
- package/dist/scan-B36wkZmI.js +0 -4
- package/dist/server-CZwSfzKe.js +0 -33
- package/dist/session-Cip4j99n.js +0 -5
- package/dist/storekit-ELVCMF0X.js +0 -15
- package/dist/upgrade-DVsonzDF.js +0 -27
- /package/dist/{design-lint-mgO-2SGS.js → design-lint-CeG3_ZWN.js} +0 -0
- /package/dist/{devtools-B6Vp6HMy.js → devtools-B3tCQFD-.js} +0 -0
- /package/dist/{download-DhGd4hOB.js → download-DVFHIwia.js} +0 -0
- /package/dist/{project-BomArwSj.js → project-Dml4t7jO.js} +0 -0
- /package/dist/{reports-hbxsd3Zo.js → reports-CJQ-8sj4.js} +0 -0
- /package/dist/{screenshot-file-Dix2Qynm.js → screenshot-file-CcqMLpL5.js} +0 -0
- /package/dist/{source-DQs6iLtC.js → source-Ct9kOCAb.js} +0 -0
- /package/dist/{storage-Bh3wT1Rn.d.ts → storage-BaK-MUM8.d.ts} +0 -0
- /package/dist/{timing-BKEEIBij.js → timing-m0ZUzYiP.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import { u as blocks } from "./storage-
|
|
3
|
-
import "./environment-
|
|
4
|
-
import { y as ApiError } from "./config-
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import "./orgs-
|
|
8
|
-
import "./
|
|
9
|
-
import { t as apiCall } from "./spinner-
|
|
10
|
-
import "./org-
|
|
11
|
-
import "./lookup-
|
|
12
|
-
import "./paths-
|
|
13
|
-
import "./
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import { u as blocks } from "./storage-D0Q4xBi-.js";
|
|
3
|
+
import "./environment-BQiaGqjB.js";
|
|
4
|
+
import { y as ApiError } from "./config-CJRNScT0.js";
|
|
5
|
+
import { A as KEY_LABEL, F as findIntegrations, H as updateBundleId, M as RefusedByApi, a as chooseAppIntent, i as savedKey, k as KEY_KINDS, n as testModeWarning, s as resolveApp } from "./held-CmvNRCRD.js";
|
|
6
|
+
import "./ui-Dye-QvEj.js";
|
|
7
|
+
import "./orgs-Df8DzIav.js";
|
|
8
|
+
import "./resources-BeXleviK.js";
|
|
9
|
+
import { t as apiCall } from "./spinner-hTCJZAoJ.js";
|
|
10
|
+
import "./org-0KDPRSlc.js";
|
|
11
|
+
import "./lookup-CHLrO7v7.js";
|
|
12
|
+
import "./paths-B4FNcaHO.js";
|
|
13
|
+
import "./input-ApyzIzVy.js";
|
|
14
14
|
import "./client-BwYhzITp.js";
|
|
15
|
-
import "./timing-
|
|
16
|
-
import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-
|
|
17
|
-
import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-
|
|
15
|
+
import "./timing-m0ZUzYiP.js";
|
|
16
|
+
import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-Dpx0pbYs.js";
|
|
17
|
+
import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-aWzdpjJU.js";
|
|
18
18
|
|
|
19
19
|
//#region src/core/app-store-connect/setup/apple.ts
|
|
20
20
|
const STEPS = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import "./storage-
|
|
3
|
-
import "./environment-
|
|
4
|
-
import { y as ApiError } from "./config-
|
|
5
|
-
import "./orgs-
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import "./storage-D0Q4xBi-.js";
|
|
3
|
+
import "./environment-BQiaGqjB.js";
|
|
4
|
+
import { y as ApiError } from "./config-CJRNScT0.js";
|
|
5
|
+
import "./orgs-Df8DzIav.js";
|
|
6
6
|
import "./types-Dc9U_4kp.js";
|
|
7
7
|
import "./scope-Cg1AdAfO.js";
|
|
8
|
-
import { _ as approveVersion, d as resolveArtifact, f as roleCanApprove, i as installHints, l as pickVersion, n as awaitingInstall, s as notInstalledOf } from "./resolve-
|
|
9
|
-
import { t as ArtifactError } from "./project-
|
|
8
|
+
import { _ as approveVersion, d as resolveArtifact, f as roleCanApprove, i as installHints, l as pickVersion, n as awaitingInstall, s as notInstalledOf } from "./resolve-CarLrF4b.js";
|
|
9
|
+
import { t as ArtifactError } from "./project-Dml4t7jO.js";
|
|
10
10
|
|
|
11
11
|
//#region src/core/artifacts/approve.ts
|
|
12
12
|
const SECTIONS = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as ASSET_HOST } from "./environment-
|
|
2
|
-
import { y as ApiError } from "./config-
|
|
3
|
-
import { S as pushPaywallAssets } from "./resources-
|
|
1
|
+
import { r as ASSET_HOST } from "./environment-BQiaGqjB.js";
|
|
2
|
+
import { y as ApiError } from "./config-CJRNScT0.js";
|
|
3
|
+
import { S as pushPaywallAssets } from "./resources-BeXleviK.js";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/core/paywalls/assets.ts
|
package/dist/auth.d.ts
CHANGED
package/dist/auth.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as NotLoggedInError, n as resolveAuthToken, r as LoginUnreachableError, t as getOAuthAccessToken } from "./token-
|
|
2
|
-
import "./storage-
|
|
3
|
-
import "./environment-
|
|
1
|
+
import { i as NotLoggedInError, n as resolveAuthToken, r as LoginUnreachableError, t as getOAuthAccessToken } from "./token-SEWilQo9.js";
|
|
2
|
+
import "./storage-D0Q4xBi-.js";
|
|
3
|
+
import "./environment-BQiaGqjB.js";
|
|
4
4
|
|
|
5
5
|
export { LoginUnreachableError, NotLoggedInError, getOAuthAccessToken, resolveAuthToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as isRecord } from "./ui-Dye-QvEj.js";
|
|
2
2
|
import { b as writeSources, d as parseSources, f as readLock } from "./types-Dc9U_4kp.js";
|
|
3
|
-
import { o as describePlatforms, s as platformFor } from "./session-
|
|
3
|
+
import { o as describePlatforms, s as platformFor } from "./session-6HA1OwHe.js";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import * as path from "node:path";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as Integration } from "./environment-
|
|
2
|
-
import { d as readBundledSkill } from "./skills-
|
|
3
|
-
import { i as readPackageJson, r as allDeps } from "./scan-
|
|
1
|
+
import { h as Integration } from "./environment-BQiaGqjB.js";
|
|
2
|
+
import { d as readBundledSkill } from "./skills-C1ku2pgy.js";
|
|
3
|
+
import { i as readPackageJson, r as allDeps } from "./scan-CtYVCqDS.js";
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
5
|
import fg from "fast-glob";
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import "./storage-
|
|
3
|
-
import { x as VERSION } from "./environment-
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./
|
|
6
|
-
import "./orgs-
|
|
7
|
-
import
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import "./storage-D0Q4xBi-.js";
|
|
3
|
+
import { x as VERSION } from "./environment-BQiaGqjB.js";
|
|
4
|
+
import "./config-CJRNScT0.js";
|
|
5
|
+
import { n as ui } from "./ui-Dye-QvEj.js";
|
|
6
|
+
import "./orgs-Df8DzIav.js";
|
|
7
|
+
import "./resources-BeXleviK.js";
|
|
8
8
|
import { f as readLock, n as collectProjectDeclarations, r as writeProjectTypes } from "./types-Dc9U_4kp.js";
|
|
9
9
|
import { i as resolveFramework } from "./framework-DW5fqjh4.js";
|
|
10
|
-
import { a as resolveProjectDir, d as kb, h as took, i as requireProject, n as parseIds, s as selectSurfaces } from "./selection-
|
|
11
|
-
import { t as assetBaseUrl } from "./assets-
|
|
12
|
-
import { n as lintDesignTokens, t as formatTokenFinding } from "./design-lint-
|
|
10
|
+
import { a as resolveProjectDir, d as kb, h as took, i as requireProject, n as parseIds, s as selectSurfaces } from "./selection-CpEfqw2b.js";
|
|
11
|
+
import { t as assetBaseUrl } from "./assets-BN0tFoj7.js";
|
|
12
|
+
import { n as lintDesignTokens, t as formatTokenFinding } from "./design-lint-CeG3_ZWN.js";
|
|
13
13
|
import * as fs from "node:fs";
|
|
14
14
|
import * as path from "node:path";
|
|
15
15
|
import pc from "picocolors";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as NotLoggedInError, n as resolveAuthToken } from "./token-
|
|
2
|
-
import { a as resolveApiHost, f as formatJson, n as readSession, v as readJson, y as state } from "./storage-
|
|
3
|
-
import { b as USER_AGENT } from "./environment-
|
|
1
|
+
import { i as NotLoggedInError, n as resolveAuthToken } from "./token-SEWilQo9.js";
|
|
2
|
+
import { a as resolveApiHost, f as formatJson, n as readSession, v as readJson, y as state } from "./storage-D0Q4xBi-.js";
|
|
3
|
+
import { b as USER_AGENT } from "./environment-BQiaGqjB.js";
|
|
4
4
|
|
|
5
5
|
//#region src/core/api/client.ts
|
|
6
6
|
const BODY_SNIPPET = 200;
|
|
@@ -210,7 +210,7 @@ const createSuperwallApi = (initial, { userAgent = USER_AGENT(), timeoutMs = REQ
|
|
|
210
210
|
post: (path, body, options) => request("POST", path, body, options),
|
|
211
211
|
put: (path, body, options) => request("PUT", path, body, options),
|
|
212
212
|
patch: (path, body, options) => request("PATCH", path, body, options),
|
|
213
|
-
del: (path, options) => request("DELETE", path,
|
|
213
|
+
del: (path, { body,...options } = {}) => request("DELETE", path, body, options),
|
|
214
214
|
async postText(path, body) {
|
|
215
215
|
const init = {
|
|
216
216
|
method: "POST",
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import "./storage-
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./skills-
|
|
6
|
-
import "./scan-
|
|
7
|
-
import {
|
|
8
|
-
import "./orgs-
|
|
9
|
-
import "./
|
|
10
|
-
import "./spinner-
|
|
11
|
-
import "./org-
|
|
12
|
-
import "./theme-
|
|
13
|
-
import "./lookup-
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import "./storage-D0Q4xBi-.js";
|
|
3
|
+
import "./environment-BQiaGqjB.js";
|
|
4
|
+
import "./config-CJRNScT0.js";
|
|
5
|
+
import "./skills-C1ku2pgy.js";
|
|
6
|
+
import "./scan-CtYVCqDS.js";
|
|
7
|
+
import { i as field } from "./ui-Dye-QvEj.js";
|
|
8
|
+
import "./orgs-Df8DzIav.js";
|
|
9
|
+
import "./resources-BeXleviK.js";
|
|
10
|
+
import "./spinner-hTCJZAoJ.js";
|
|
11
|
+
import "./org-0KDPRSlc.js";
|
|
12
|
+
import "./theme-Bvv0yrk_.js";
|
|
13
|
+
import "./lookup-CHLrO7v7.js";
|
|
14
14
|
import "./types-Dc9U_4kp.js";
|
|
15
|
-
import { n as requireApi, r as projectPackageName, t as LoginRequiredError } from "./session-
|
|
16
|
-
import "./existing
|
|
17
|
-
import "./paths-
|
|
18
|
-
import { C as starterConfig, E as slugOf, T as writeTemplate, _ as scaffoldFromPaywall, a as devCommand, g as projectDirOf, h as offerMigration, i as detectPackageManager, l as selectWorkspaceInstallNote, n as connectApp, o as initGit, p as migrationFor, r as detectHostApp, s as installDependencies, t as alreadyAProject, u as uniqueSurfaceId, w as writeSurfaceFiles } from "./setup-
|
|
15
|
+
import { n as requireApi, r as projectPackageName, t as LoginRequiredError } from "./session-6HA1OwHe.js";
|
|
16
|
+
import "./existing-Cxg_gSN1.js";
|
|
17
|
+
import "./paths-B4FNcaHO.js";
|
|
18
|
+
import { C as starterConfig, E as slugOf, T as writeTemplate, _ as scaffoldFromPaywall, a as devCommand, g as projectDirOf, h as offerMigration, i as detectPackageManager, l as selectWorkspaceInstallNote, n as connectApp, o as initGit, p as migrationFor, r as detectHostApp, s as installDependencies, t as alreadyAProject, u as uniqueSurfaceId, w as writeSurfaceFiles } from "./setup-RL-5c6SV.js";
|
|
19
19
|
import "./framework-DW5fqjh4.js";
|
|
20
|
-
import "./login-
|
|
20
|
+
import "./login-Oo2NWLlX.js";
|
|
21
21
|
import "./browser-BVjaf98V.js";
|
|
22
|
-
import "./login-
|
|
23
|
-
import "./git-
|
|
22
|
+
import "./login-CvzBt9eM.js";
|
|
23
|
+
import "./git-D9ooAMt7.js";
|
|
24
24
|
import "./scope-Cg1AdAfO.js";
|
|
25
|
-
import "./upgrade-
|
|
26
|
-
import { i as downloadRepoDir, n as PUBLIC_REPO, r as RepoDownloadError, t as PUBLIC_REF } from "./download-
|
|
27
|
-
import "./base-
|
|
28
|
-
import "./selection-
|
|
29
|
-
import "./source-
|
|
30
|
-
import "./assets-
|
|
31
|
-
import "./source-push-
|
|
32
|
-
import "./server-
|
|
33
|
-
import { i as startStudio, n as migrationNextSteps, t as askStudio } from "./open-
|
|
25
|
+
import "./upgrade-BLFWdbGR.js";
|
|
26
|
+
import { i as downloadRepoDir, n as PUBLIC_REPO, r as RepoDownloadError, t as PUBLIC_REF } from "./download-DVFHIwia.js";
|
|
27
|
+
import "./base-DAnzMjI8.js";
|
|
28
|
+
import "./selection-CpEfqw2b.js";
|
|
29
|
+
import "./source-Ct9kOCAb.js";
|
|
30
|
+
import "./assets-BN0tFoj7.js";
|
|
31
|
+
import "./source-push-D59hV02W.js";
|
|
32
|
+
import "./server-Dp5Imq3v.js";
|
|
33
|
+
import { i as startStudio, n as migrationNextSteps, t as askStudio } from "./open-CxgE8kLT.js";
|
|
34
34
|
import * as fs from "node:fs";
|
|
35
35
|
import * as path from "node:path";
|
|
36
36
|
import pc from "picocolors";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import "./storage-D0Q4xBi-.js";
|
|
3
|
+
import "./environment-BQiaGqjB.js";
|
|
4
|
+
import "./config-CJRNScT0.js";
|
|
5
|
+
import "./held-CmvNRCRD.js";
|
|
6
|
+
import "./ui-Dye-QvEj.js";
|
|
7
|
+
import "./orgs-Df8DzIav.js";
|
|
8
|
+
import "./resources-BeXleviK.js";
|
|
9
|
+
import "./spinner-hTCJZAoJ.js";
|
|
10
|
+
import "./org-0KDPRSlc.js";
|
|
11
|
+
import "./lookup-CHLrO7v7.js";
|
|
12
|
+
import "./paths-B4FNcaHO.js";
|
|
13
|
+
import "./input-ApyzIzVy.js";
|
|
14
|
+
import "./client-BwYhzITp.js";
|
|
15
|
+
import "./timing-m0ZUzYiP.js";
|
|
16
|
+
import { i as runAscKeysCreate, n as keyAccess, r as keyRole, t as createAndSaveKey } from "./create-aWzdpjJU.js";
|
|
17
|
+
|
|
18
|
+
export { createAndSaveKey, keyAccess, keyRole, runAscKeysCreate };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { f as formatJson, u as blocks } from "./storage-
|
|
2
|
-
import { C as appleCredentialsFromEnv, m as ENV_APPLE_PASSWORD, p as ENV_APPLE_ID, x as VERSION } from "./environment-
|
|
3
|
-
import { y as ApiError } from "./config-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as apiCall } from "./spinner-
|
|
7
|
-
import { n as SUPERWALL_HOME } from "./paths-
|
|
1
|
+
import { f as formatJson, u as blocks } from "./storage-D0Q4xBi-.js";
|
|
2
|
+
import { C as appleCredentialsFromEnv, m as ENV_APPLE_PASSWORD, p as ENV_APPLE_ID, x as VERSION } from "./environment-BQiaGqjB.js";
|
|
3
|
+
import { y as ApiError } from "./config-CJRNScT0.js";
|
|
4
|
+
import { A as KEY_LABEL, F as findIntegrations, L as keyKind, i as savedKey, n as testModeWarning, o as chooseIosApp, s as resolveApp, t as upsertHeldKey } from "./held-CmvNRCRD.js";
|
|
5
|
+
import { c as textField, i as field, o as listField, s as parseJson } from "./ui-Dye-QvEj.js";
|
|
6
|
+
import { t as apiCall } from "./spinner-hTCJZAoJ.js";
|
|
7
|
+
import { n as SUPERWALL_HOME } from "./paths-B4FNcaHO.js";
|
|
8
8
|
import { c as replaceAppPurchaseKey, s as replaceAppAscKey } from "./client-BwYhzITp.js";
|
|
9
|
-
import { t as timing } from "./timing-
|
|
9
|
+
import { t as timing } from "./timing-m0ZUzYiP.js";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
11
11
|
import { join } from "node:path";
|
|
12
12
|
import { createHash, pbkdf2Sync, randomBytes } from "node:crypto";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import { n as readSession } from "./storage-
|
|
3
|
-
import { S as apiKeyFromEnv, x as VERSION } from "./environment-
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./skills-
|
|
6
|
-
import { t as scanProject } from "./scan-
|
|
7
|
-
import "./
|
|
8
|
-
import "./orgs-
|
|
9
|
-
import
|
|
10
|
-
import "./spinner-
|
|
11
|
-
import "./org-
|
|
12
|
-
import { n as fg, t as THEME } from "./theme-
|
|
13
|
-
import "./lookup-
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import { n as readSession } from "./storage-D0Q4xBi-.js";
|
|
3
|
+
import { S as apiKeyFromEnv, x as VERSION } from "./environment-BQiaGqjB.js";
|
|
4
|
+
import "./config-CJRNScT0.js";
|
|
5
|
+
import "./skills-C1ku2pgy.js";
|
|
6
|
+
import { t as scanProject } from "./scan-CtYVCqDS.js";
|
|
7
|
+
import { n as ui } from "./ui-Dye-QvEj.js";
|
|
8
|
+
import "./orgs-Df8DzIav.js";
|
|
9
|
+
import "./resources-BeXleviK.js";
|
|
10
|
+
import "./spinner-hTCJZAoJ.js";
|
|
11
|
+
import "./org-0KDPRSlc.js";
|
|
12
|
+
import { n as fg, t as THEME } from "./theme-Bvv0yrk_.js";
|
|
13
|
+
import "./lookup-CHLrO7v7.js";
|
|
14
14
|
import "./types-Dc9U_4kp.js";
|
|
15
|
-
import "./session-
|
|
16
|
-
import { l as detectDrivers, t as detectExisting } from "./existing
|
|
17
|
-
import "./paths-
|
|
18
|
-
import "./setup-
|
|
15
|
+
import "./session-6HA1OwHe.js";
|
|
16
|
+
import { l as detectDrivers, t as detectExisting } from "./existing-Cxg_gSN1.js";
|
|
17
|
+
import "./paths-B4FNcaHO.js";
|
|
18
|
+
import "./setup-RL-5c6SV.js";
|
|
19
19
|
import "./framework-DW5fqjh4.js";
|
|
20
|
-
import "./login-
|
|
20
|
+
import "./login-Oo2NWLlX.js";
|
|
21
21
|
import "./browser-BVjaf98V.js";
|
|
22
|
-
import "./login-
|
|
23
|
-
import "./git-
|
|
22
|
+
import "./login-CvzBt9eM.js";
|
|
23
|
+
import "./git-D9ooAMt7.js";
|
|
24
24
|
import "./scope-Cg1AdAfO.js";
|
|
25
|
-
import { m as selectProjectInstall, p as selectCachedLatest, r as isNewerVersion, u as resolveUpdateTag } from "./upgrade-
|
|
25
|
+
import { m as selectProjectInstall, p as selectCachedLatest, r as isNewerVersion, u as resolveUpdateTag } from "./upgrade-BLFWdbGR.js";
|
|
26
26
|
|
|
27
27
|
//#region src/core/support/doctor.ts
|
|
28
28
|
async function runDoctor(ctx, deps = {}) {
|
package/dist/entry.js
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
import { n as __require, r as __toESM, t as __commonJS } from "./chunk-DQxbwPpZ.js";
|
|
2
|
-
import "./token-
|
|
3
|
-
import { b as useStores, m as stripAnsi, p as writeJson } from "./storage-
|
|
4
|
-
import { T as isNonInteractive, s as CHANNEL, x as VERSION } from "./environment-
|
|
5
|
-
import { S as superwallApi } from "./config-
|
|
6
|
-
import {
|
|
7
|
-
import { b as maybeShowTelemetryNotice, x as track, y as flushTelemetry } from "./skills-
|
|
8
|
-
import { t as scanProject } from "./scan-
|
|
9
|
-
import "./
|
|
10
|
-
import "./orgs-
|
|
11
|
-
import
|
|
12
|
-
import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-
|
|
13
|
-
import "./org-
|
|
14
|
-
import { t as THEME } from "./theme-
|
|
15
|
-
import "./lookup-
|
|
2
|
+
import "./token-SEWilQo9.js";
|
|
3
|
+
import { b as useStores, m as stripAnsi, p as writeJson } from "./storage-D0Q4xBi-.js";
|
|
4
|
+
import { T as isNonInteractive, s as CHANNEL, x as VERSION } from "./environment-BQiaGqjB.js";
|
|
5
|
+
import { S as superwallApi } from "./config-CJRNScT0.js";
|
|
6
|
+
import { W as useAscRefresh } from "./held-CmvNRCRD.js";
|
|
7
|
+
import { b as maybeShowTelemetryNotice, x as track, y as flushTelemetry } from "./skills-C1ku2pgy.js";
|
|
8
|
+
import { t as scanProject } from "./scan-CtYVCqDS.js";
|
|
9
|
+
import { r as useRenderer, t as silentRenderer } from "./ui-Dye-QvEj.js";
|
|
10
|
+
import "./orgs-Df8DzIav.js";
|
|
11
|
+
import "./resources-BeXleviK.js";
|
|
12
|
+
import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-hTCJZAoJ.js";
|
|
13
|
+
import "./org-0KDPRSlc.js";
|
|
14
|
+
import { t as THEME } from "./theme-Bvv0yrk_.js";
|
|
15
|
+
import "./lookup-CHLrO7v7.js";
|
|
16
16
|
import "./types-Dc9U_4kp.js";
|
|
17
|
-
import "./session-
|
|
18
|
-
import { i as wrapReportLine, r as styleMarkdown, t as detectExisting } from "./existing
|
|
19
|
-
import { n as SUPERWALL_HOME, r as expandHome } from "./paths-
|
|
20
|
-
import "./setup-
|
|
17
|
+
import "./session-6HA1OwHe.js";
|
|
18
|
+
import { i as wrapReportLine, r as styleMarkdown, t as detectExisting } from "./existing-Cxg_gSN1.js";
|
|
19
|
+
import { n as SUPERWALL_HOME, r as expandHome } from "./paths-B4FNcaHO.js";
|
|
20
|
+
import "./setup-RL-5c6SV.js";
|
|
21
21
|
import "./framework-DW5fqjh4.js";
|
|
22
|
-
import "./login-
|
|
22
|
+
import "./login-Oo2NWLlX.js";
|
|
23
23
|
import "./browser-BVjaf98V.js";
|
|
24
|
-
import "./login-
|
|
25
|
-
import "./git-
|
|
24
|
+
import "./login-CvzBt9eM.js";
|
|
25
|
+
import "./git-D9ooAMt7.js";
|
|
26
26
|
import "./scope-Cg1AdAfO.js";
|
|
27
|
-
import { a as printAutoUpdate, f as selectAutoUpdate, i as maybeNotifyUpdate, n as isGlobalInstall, o as recordAutoUpdate, s as refreshUpdateCheck, t as flushUpdateCheck } from "./upgrade-
|
|
28
|
-
import { a as exampleLines, i as detailLines, n as listGroups, o as renderPage, r as cmd } from "./registry-
|
|
29
|
-
import "./session-
|
|
30
|
-
import "./
|
|
27
|
+
import { a as printAutoUpdate, f as selectAutoUpdate, i as maybeNotifyUpdate, n as isGlobalInstall, o as recordAutoUpdate, s as refreshUpdateCheck, t as flushUpdateCheck } from "./upgrade-BLFWdbGR.js";
|
|
28
|
+
import { a as exampleLines, i as detailLines, n as listGroups, o as renderPage, r as cmd } from "./registry-BPqRG08G.js";
|
|
29
|
+
import "./session-BpLOLurZ.js";
|
|
30
|
+
import "./input-ApyzIzVy.js";
|
|
31
31
|
import "./client-BwYhzITp.js";
|
|
32
32
|
import "./products-CJq_iXv5.js";
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./notification-url-Bo54nkXv.js";
|
|
33
|
+
import "./timing-m0ZUzYiP.js";
|
|
34
|
+
import "./notification-url-Dpx0pbYs.js";
|
|
36
35
|
import { spawn } from "node:child_process";
|
|
37
36
|
import * as fs from "node:fs";
|
|
38
37
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -22101,7 +22100,7 @@ var styles_default = styles$2;
|
|
|
22101
22100
|
//#endregion
|
|
22102
22101
|
//#region ../../node_modules/.bun/ink@5.2.1+95f74e15225f916f/node_modules/ink/build/reconciler.js
|
|
22103
22102
|
if (process$1.env["DEV"] === "true") try {
|
|
22104
|
-
await import("./devtools-
|
|
22103
|
+
await import("./devtools-B3tCQFD-.js");
|
|
22105
22104
|
} catch (error) {
|
|
22106
22105
|
if (error.code === "ERR_MODULE_NOT_FOUND") console.warn(`
|
|
22107
22106
|
The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as getOAuthAccessToken } from "./token-
|
|
2
|
-
import { n as readSession } from "./storage-
|
|
3
|
-
import { d as DASHBOARD_URL, h as Integration, t as API_HOST, x as VERSION } from "./environment-
|
|
4
|
-
import { _ as readVersion, g as onPath, v as spawnStream } from "./skills-
|
|
5
|
-
import { i as readPackageJson, r as allDeps } from "./scan-
|
|
6
|
-
import {
|
|
7
|
-
import { n as fg$1, t as THEME } from "./theme-
|
|
8
|
-
import { i as packagedDir } from "./paths-
|
|
1
|
+
import { t as getOAuthAccessToken } from "./token-SEWilQo9.js";
|
|
2
|
+
import { n as readSession } from "./storage-D0Q4xBi-.js";
|
|
3
|
+
import { d as DASHBOARD_URL, h as Integration, t as API_HOST, x as VERSION } from "./environment-BQiaGqjB.js";
|
|
4
|
+
import { _ as readVersion, g as onPath, v as spawnStream } from "./skills-C1ku2pgy.js";
|
|
5
|
+
import { i as readPackageJson, r as allDeps } from "./scan-CtYVCqDS.js";
|
|
6
|
+
import { i as field } from "./ui-Dye-QvEj.js";
|
|
7
|
+
import { n as fg$1, t as THEME } from "./theme-Bvv0yrk_.js";
|
|
8
|
+
import { i as packagedDir } from "./paths-B4FNcaHO.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
11
11
|
import { readFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ui } from "./ui-
|
|
1
|
+
import { n as ui } from "./ui-Dye-QvEj.js";
|
|
2
2
|
import { t as TYPES_FILE } from "./types-Dc9U_4kp.js";
|
|
3
3
|
import { a as classifyPath, c as isSurfaceRoot, i as LOCK_FILE, l as mergeLockText, o as derivedFilesOf, r as DERIVED_FILES, s as isOtherSurfaceDir } from "./scope-Cg1AdAfO.js";
|
|
4
4
|
import { execFile } from "node:child_process";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./token-SEWilQo9.js";
|
|
2
|
+
import "./storage-D0Q4xBi-.js";
|
|
3
|
+
import "./environment-BQiaGqjB.js";
|
|
4
|
+
import "./config-CJRNScT0.js";
|
|
5
|
+
import { t as upsertHeldKey } from "./held-CmvNRCRD.js";
|
|
6
|
+
import "./ui-Dye-QvEj.js";
|
|
7
|
+
import "./orgs-Df8DzIav.js";
|
|
8
|
+
import "./resources-BeXleviK.js";
|
|
9
|
+
import "./spinner-hTCJZAoJ.js";
|
|
10
|
+
import "./org-0KDPRSlc.js";
|
|
11
|
+
import "./lookup-CHLrO7v7.js";
|
|
12
|
+
import "./input-ApyzIzVy.js";
|
|
13
|
+
import "./client-BwYhzITp.js";
|
|
14
|
+
|
|
15
|
+
export { upsertHeldKey };
|