@superwall/cli 2.2.0 → 2.2.1
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 +3 -1
- package/dist/{apple-Bcr_PteR.js → apple-DaqaI4vD.js} +13 -13
- package/dist/auth.js +3 -3
- package/dist/{billing-CWM1ds3K.js → billing-DyKr2kmd.js} +3 -3
- package/dist/{bind-DEYxsnZD.js → bind-BpxebZf4.js} +4 -4
- package/dist/{build--oQKfZU6.js → build-DzbdRThf.js} +6 -6
- package/dist/{client-CimFymxG.js → client-BF9rCULI.js} +3 -3
- package/dist/{create-BG9n4fvs.js → create-B55V99TD.js} +22 -22
- package/dist/create-BYAPuhhf.js +19 -0
- package/dist/{create-DTAyHkxb.js → create-D7AZHYGH.js} +6 -6
- package/dist/{doctor-BkygMUe2.js → doctor-B2mPKiaJ.js} +6 -6
- package/dist/{drivers-C6eXj5-r.js → drivers-DOMky8Ug.js} +3 -3
- package/dist/entry.js +19 -19
- package/dist/{environment-CQn323uB.js → environment-DBwo79dy.js} +1 -1
- package/dist/{existing-CvOluc9U.js → existing-B4VK4BCL.js} +2 -2
- package/dist/held-C9FqvNbn.js +16 -0
- package/dist/{held-QM7yfrXq.js → held-DjcZPCwn.js} +6 -6
- package/dist/{integrate-Ci_MLkQG.js → integrate-B8oHbvwz.js} +21 -21
- package/dist/{login-DLi71nJq.js → login-B8hgMLhS.js} +1 -1
- package/dist/login-D-a7oS_8.js +16 -0
- package/dist/{login-BIAWgdzM.js → login-DfhqWY9C.js} +6 -6
- package/dist/{lookup-DZFrfzO0.js → lookup-r8p6H2ZC.js} +2 -2
- package/dist/{migrate-BKF1WckS.js → migrate-DQf2Fosc.js} +21 -21
- package/dist/{notification-url-erXQ1edb.js → notification-url-BxPTEmkv.js} +2 -2
- package/dist/{open-BjvGVwJf.js → open-CrEnSL4v.js} +21 -17
- package/dist/{org-CvPGVSBF.js → org-Cc2WGvl1.js} +2 -2
- package/dist/{paths-oRuC18Kt.js → paths-BcNbJfpw.js} +1 -1
- package/dist/{playbook-CtTj1HBK.js → playbook-D9J8frkE.js} +10 -10
- package/dist/{promote-BkJYISza.js → promote-C8T7DCFF.js} +16 -16
- package/dist/{push-Ul2SW87i.js → push-Bzs1l_5C.js} +4 -4
- package/dist/push-snV3SrnH.js +22 -0
- package/dist/{registry-OmPZ6dj0.js → registry-CpxZbmxp.js} +40 -61
- package/dist/{resources-FIrK7pE9.js → resources-Bo6i7wBi.js} +1 -1
- package/dist/{run-CwEY1eu5.js → run-BUp4r8Kk.js} +2 -2
- package/dist/{scan-CpbfZ2ju.js → scan-8cxu2fx0.js} +1 -1
- package/dist/scan-nUeXs9a1.js +4 -0
- package/dist/{scope-BSqVfZvy.js → scope-CPG_wWXL.js} +4 -4
- package/dist/{selection-CHnVk8uw.js → selection-CMA4aG4V.js} +3 -3
- package/dist/server-Boqa8jh_.js +22 -0
- package/dist/{server-D5xl5iKO.js → server-Xb3wp-mx.js} +6 -6
- package/dist/{session-6lnJ0shD.js → session-DOZV1TP6.js} +1 -1
- package/dist/session-DtBpdlF-.js +6 -0
- package/dist/{session-BFwasPVq.js → session-eZeXR9xU.js} +7 -7
- package/dist/skills/animate-onboarding/SKILL.md +1 -1
- package/dist/skills/index.json +18 -18
- package/dist/skills/mobile-design/SKILL.md +1 -1
- package/dist/skills/onboarding-questions/SKILL.md +1 -1
- package/dist/skills/superwall/SKILL.md +102 -17
- package/dist/skills/superwall/references/api.md +13 -2
- package/dist/skills/superwall/workflows/dashboard/playbook.md +2 -1
- package/dist/skills/superwall/workflows/dashboard/setup.md +3 -1
- package/dist/skills/superwall/workflows/integrate/playbook.md +4 -2
- package/dist/skills/superwall/workflows/migrate/adapty.md +3 -3
- package/dist/skills/superwall/workflows/migrate/playbook.md +2 -1
- package/dist/skills/superwall/workflows/migrate/qonversion.md +3 -3
- package/dist/skills/superwall/workflows/migrate/revenuecat.md +4 -4
- package/dist/skills/superwall-editor/SKILL.md +53 -1
- package/dist/skills/superwall-framework/SKILL.md +10 -5
- package/dist/skills/superwall-framework/references/migrate-from-editor.md +1 -1
- package/dist/skills/superwall-framework/references/mobile-design.md +1 -1
- package/dist/{skills-B8uSuanf.js → skills-BI19OGlS.js} +8 -8
- package/dist/{skills-D7sG0xom.js → skills-DDf10ufO.js} +4 -4
- package/dist/{spinner-TZeZEeVv.js → spinner-BClMQGGN.js} +3 -3
- package/dist/{storage-DqKJe13V.js → storage-Po9E-CHL.js} +1 -1
- package/dist/storekit-BU6Eq_UO.js +16 -0
- package/dist/{storekit-uyT3DWo4.js → storekit-Cbn9DBLA.js} +3 -3
- package/dist/{telemetry-D_uIIuSk.js → telemetry-s6dag6tb.js} +1 -1
- package/dist/{token-BJsLGoSX.js → token-CPplNMVa.js} +1 -1
- package/dist/tools-skills/animate-onboarding/SKILL.md +1 -1
- package/dist/tools-skills/mobile-design/SKILL.md +1 -1
- package/dist/tools-skills/onboarding-questions/SKILL.md +1 -1
- package/dist/tools-skills/superwall/SKILL.md +80 -8
- package/dist/tools-skills/superwall/references/api.md +116 -24
- package/dist/tools-skills/superwall/references/apple-setup.md +316 -0
- package/dist/tools-skills/superwall/references/asc.md +74 -38
- package/dist/tools-skills/superwall/references/data-analytics.md +62 -29
- package/dist/tools-skills/superwall/workflows/dashboard/playbook.md +3 -3
- package/dist/tools-skills/superwall/workflows/dashboard/setup.md +8 -8
- package/dist/tools-skills/superwall/workflows/migrate/adapty.md +6 -6
- package/dist/tools-skills/superwall/workflows/migrate/playbook.md +4 -4
- package/dist/tools-skills/superwall/workflows/migrate/qonversion.md +5 -5
- package/dist/tools-skills/superwall/workflows/migrate/revenuecat.md +6 -6
- package/dist/tools-skills/superwall/workflows/placements/android.md +2 -2
- package/dist/tools-skills/superwall/workflows/placements/expo.md +2 -2
- package/dist/tools-skills/superwall/workflows/placements/flutter.md +2 -2
- package/dist/tools-skills/superwall/workflows/placements/ios.md +2 -2
- package/dist/tools-skills/superwall/workflows/placements/playbook.md +2 -2
- package/dist/tools-skills/superwall/workflows/placements/react-native.md +2 -2
- package/dist/tools-skills/superwall/workflows/placements/strategy.md +2 -2
- package/dist/tools-skills/superwall/workflows/review/playbook.md +1 -1
- package/dist/tools-skills/superwall-editor/SKILL.md +2 -2
- package/dist/tools.js +8 -21
- package/dist/{upgrade-DV_rmhyV.js → upgrade-1OYm5NQU.js} +2 -2
- package/dist/{upgrade-BRM51As6.js → upgrade-ahapZeex.js} +1 -1
- package/package.json +2 -2
- package/dist/create-kT2C9k4h.js +0 -19
- package/dist/held-Bwkhufdj.js +0 -16
- package/dist/login-Dy9N5ZDH.js +0 -16
- package/dist/push-BIizJJOn.js +0 -22
- package/dist/scan-DjyvuWel.js +0 -4
- package/dist/server-BTveynqC.js +0 -22
- package/dist/session-Ds6tLC19.js +0 -6
- package/dist/storekit-C_LFh8qy.js +0 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as withSpinner } from "./spinner-
|
|
1
|
+
import { n as withSpinner } from "./spinner-BClMQGGN.js";
|
|
2
2
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
3
|
-
import { M as listOrgGroups, N as listOrganizations, T as titleCase, w as rowName } from "./resources-
|
|
3
|
+
import { M as listOrgGroups, N as listOrganizations, T as titleCase, w as rowName } from "./resources-Bo6i7wBi.js";
|
|
4
4
|
|
|
5
5
|
//#region src/core/account/org.ts
|
|
6
6
|
async function orgForNewProject(api, interactive) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-CPplNMVa.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import "./client-
|
|
3
|
+
import "./environment-DBwo79dy.js";
|
|
4
|
+
import "./storage-Po9E-CHL.js";
|
|
5
|
+
import "./client-BF9rCULI.js";
|
|
6
6
|
import "./config-BO1Y87kV.js";
|
|
7
|
-
import { i as updateTelemetryTags, r as track } from "./telemetry-
|
|
7
|
+
import { i as updateTelemetryTags, r as track } from "./telemetry-s6dag6tb.js";
|
|
8
8
|
import "./spawn-DmmmHIP-.js";
|
|
9
|
-
import "./spinner-
|
|
9
|
+
import "./spinner-BClMQGGN.js";
|
|
10
10
|
import "./ui-D_qf3Gvw.js";
|
|
11
|
-
import { t as scanProject } from "./scan-
|
|
12
|
-
import "./paths-
|
|
13
|
-
import { d as readBundledSkill } from "./skills-
|
|
14
|
-
import { n as FRAMEWORK_REF, t as detectBilling } from "./billing-
|
|
11
|
+
import { t as scanProject } from "./scan-8cxu2fx0.js";
|
|
12
|
+
import "./paths-BcNbJfpw.js";
|
|
13
|
+
import { d as readBundledSkill } from "./skills-DDf10ufO.js";
|
|
14
|
+
import { n as FRAMEWORK_REF, t as detectBilling } from "./billing-DyKr2kmd.js";
|
|
15
15
|
|
|
16
16
|
//#region src/core/workflows/playbook.ts
|
|
17
17
|
async function printPlaybook(installDir, playbook) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-CPplNMVa.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import { v as VERSION } from "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import { t as ApiError } from "./client-
|
|
3
|
+
import { v as VERSION } from "./environment-DBwo79dy.js";
|
|
4
|
+
import "./storage-Po9E-CHL.js";
|
|
5
|
+
import { t as ApiError } from "./client-BF9rCULI.js";
|
|
6
6
|
import "./config-BO1Y87kV.js";
|
|
7
|
-
import "./telemetry-
|
|
7
|
+
import "./telemetry-s6dag6tb.js";
|
|
8
8
|
import "./spawn-DmmmHIP-.js";
|
|
9
|
-
import "./spinner-
|
|
9
|
+
import "./spinner-BClMQGGN.js";
|
|
10
10
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
11
|
-
import "./scan-
|
|
12
|
-
import "./paths-
|
|
13
|
-
import { b as promotePaywallVersion, g as livePaywallVersion } from "./resources-
|
|
14
|
-
import "./lookup-
|
|
15
|
-
import "./login-
|
|
16
|
-
import "./skills-
|
|
17
|
-
import { N as resolveFramework, a as resolveProjectDir, g as transition, s as selectSurfaces, v as collectProjectDeclarations, w as readLock } from "./selection-
|
|
18
|
-
import { _ as targetLabel, g as planTargets, h as parsePlatformFlags, n as requireApi, v as wantedPlatforms, x as resolveApps, y as resolveBinding } from "./session-
|
|
19
|
-
import { a as pickApplicationOption, i as timed, o as pickAdoptOption, t as group } from "./push-
|
|
20
|
-
import "./login-
|
|
11
|
+
import "./scan-8cxu2fx0.js";
|
|
12
|
+
import "./paths-BcNbJfpw.js";
|
|
13
|
+
import { b as promotePaywallVersion, g as livePaywallVersion } from "./resources-Bo6i7wBi.js";
|
|
14
|
+
import "./lookup-r8p6H2ZC.js";
|
|
15
|
+
import "./login-DfhqWY9C.js";
|
|
16
|
+
import "./skills-DDf10ufO.js";
|
|
17
|
+
import { N as resolveFramework, a as resolveProjectDir, g as transition, s as selectSurfaces, v as collectProjectDeclarations, w as readLock } from "./selection-CMA4aG4V.js";
|
|
18
|
+
import { _ as targetLabel, g as planTargets, h as parsePlatformFlags, n as requireApi, v as wantedPlatforms, x as resolveApps, y as resolveBinding } from "./session-eZeXR9xU.js";
|
|
19
|
+
import { a as pickApplicationOption, i as timed, o as pickAdoptOption, t as group } from "./push-Bzs1l_5C.js";
|
|
20
|
+
import "./login-B8hgMLhS.js";
|
|
21
21
|
import pc from "picocolors";
|
|
22
22
|
|
|
23
23
|
//#region src/core/paywalls/promote.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { v as VERSION } from "./environment-
|
|
1
|
+
import { v as VERSION } from "./environment-DBwo79dy.js";
|
|
2
2
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
3
|
-
import { C as pushedProducts, E as versionProducts, S as pushPaywallVersion, b as promotePaywallVersion, h as livePaywall, v as platformLabel, y as platformStore } from "./resources-
|
|
4
|
-
import { A as writeSnapshot, F as requireAssets, I as syncAssets, M as frameworkVersion, N as resolveFramework, O as writeBindings, P as assetBaseUrl, T as removeBinding, _ as weight, a as resolveProjectDir, b as describeBindings, c as storesDiffer, d as kb, f as pendingPromoteWarning, g as transition, h as took, i as requireProject, l as BIND_VERB, m as resolveNote, p as pushedLine, r as requireClean, s as selectSurfaces, t as needsWork, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-
|
|
5
|
-
import { _ as targetLabel, d as listProjectCatalogue, g as planTargets, h as parsePlatformFlags, i as pushSource, l as writeProjectScaffold, m as requireProducts, n as requireApi, o as collectSourceFiles, p as projectForApplication, r as assertGit, s as warnNotPortable, v as wantedPlatforms, x as resolveApps, y as resolveBinding } from "./session-
|
|
3
|
+
import { C as pushedProducts, E as versionProducts, S as pushPaywallVersion, b as promotePaywallVersion, h as livePaywall, v as platformLabel, y as platformStore } from "./resources-Bo6i7wBi.js";
|
|
4
|
+
import { A as writeSnapshot, F as requireAssets, I as syncAssets, M as frameworkVersion, N as resolveFramework, O as writeBindings, P as assetBaseUrl, T as removeBinding, _ as weight, a as resolveProjectDir, b as describeBindings, c as storesDiffer, d as kb, f as pendingPromoteWarning, g as transition, h as took, i as requireProject, l as BIND_VERB, m as resolveNote, p as pushedLine, r as requireClean, s as selectSurfaces, t as needsWork, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-CMA4aG4V.js";
|
|
5
|
+
import { _ as targetLabel, d as listProjectCatalogue, g as planTargets, h as parsePlatformFlags, i as pushSource, l as writeProjectScaffold, m as requireProducts, n as requireApi, o as collectSourceFiles, p as projectForApplication, r as assertGit, s as warnNotPortable, v as wantedPlatforms, x as resolveApps, y as resolveBinding } from "./session-eZeXR9xU.js";
|
|
6
6
|
import pc from "picocolors";
|
|
7
7
|
import { cpus } from "node:os";
|
|
8
8
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./token-CPplNMVa.js";
|
|
2
|
+
import "./output-Ggzq5_-t.js";
|
|
3
|
+
import "./environment-DBwo79dy.js";
|
|
4
|
+
import "./storage-Po9E-CHL.js";
|
|
5
|
+
import "./client-BF9rCULI.js";
|
|
6
|
+
import "./config-BO1Y87kV.js";
|
|
7
|
+
import "./telemetry-s6dag6tb.js";
|
|
8
|
+
import "./spawn-DmmmHIP-.js";
|
|
9
|
+
import "./spinner-BClMQGGN.js";
|
|
10
|
+
import "./ui-D_qf3Gvw.js";
|
|
11
|
+
import "./scan-8cxu2fx0.js";
|
|
12
|
+
import "./paths-BcNbJfpw.js";
|
|
13
|
+
import "./resources-Bo6i7wBi.js";
|
|
14
|
+
import "./lookup-r8p6H2ZC.js";
|
|
15
|
+
import "./login-DfhqWY9C.js";
|
|
16
|
+
import "./skills-DDf10ufO.js";
|
|
17
|
+
import "./selection-CMA4aG4V.js";
|
|
18
|
+
import "./session-eZeXR9xU.js";
|
|
19
|
+
import { i as timed, n as runPush, r as runPushPipeline, t as group } from "./push-Bzs1l_5C.js";
|
|
20
|
+
import "./login-B8hgMLhS.js";
|
|
21
|
+
|
|
22
|
+
export { group, runPush, runPushPipeline, timed };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as stripAnsi, l as readJson, o as cache, r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
|
|
2
|
-
import { a as CHANNEL, g as TELEMETRY_KEY, h as TELEMETRY_HOST, t as API_HOST, v as VERSION, x as detectAgent } from "./environment-
|
|
3
|
-
import { n as readSession } from "./storage-
|
|
4
|
-
import { a as withQuery$1, t as ApiError } from "./client-
|
|
5
|
-
import { C as listKeySources, S as listBundleIdSuggestions, T as replaceRevenueProvider, _ as checkServerNotifications, b as importAppKey, c as resolveAscOrgApi, d as runAscDocs, f as parseParams, h as REVENUE_INTEGRATIONS, i as savedKey, l as resolveAscTeam, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, r as chooseKeyApp, t as upsertHeldKey, u as sendAscRequest, v as copyAppKey, w as removeAppKey, x as keyKind, y as findIntegrations } from "./held-
|
|
2
|
+
import { a as CHANNEL, g as TELEMETRY_KEY, h as TELEMETRY_HOST, t as API_HOST, v as VERSION, x as detectAgent } from "./environment-DBwo79dy.js";
|
|
3
|
+
import { n as readSession } from "./storage-Po9E-CHL.js";
|
|
4
|
+
import { a as withQuery$1, t as ApiError } from "./client-BF9rCULI.js";
|
|
5
|
+
import { C as listKeySources, S as listBundleIdSuggestions, T as replaceRevenueProvider, _ as checkServerNotifications, b as importAppKey, c as resolveAscOrgApi, d as runAscDocs, f as parseParams, h as REVENUE_INTEGRATIONS, i as savedKey, l as resolveAscTeam, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, r as chooseKeyApp, t as upsertHeldKey, u as sendAscRequest, v as copyAppKey, w as removeAppKey, x as keyKind, y as findIntegrations } from "./held-DjcZPCwn.js";
|
|
6
6
|
import { n as readDefaultApp, r as readOnboardedApp, t as readAnonymousId, u as writeDefaultApp } from "./config-BO1Y87kV.js";
|
|
7
|
-
import { a as defineCommand, d as readInput, i as defineCatalog, r as UsageError, t as apiCall } from "./spinner-
|
|
7
|
+
import { a as defineCommand, d as readInput, i as defineCatalog, r as UsageError, t as apiCall } from "./spinner-BClMQGGN.js";
|
|
8
8
|
import { n as fg, t as THEME } from "./theme-DUsCh-Vd.js";
|
|
9
|
-
import { n as runWhoami } from "./session-
|
|
10
|
-
import { A as parseJson, M as listOrgGroups, O as isRecord, P as orgIdOf, i as createEntitlement, j as textField, l as isAppScoped, m as listResource, n as createApplication, o as createProduct, p as listProjects, r as createCampaign, s as createProject, t as RESOURCES, v as platformLabel, w as rowName } from "./resources-
|
|
11
|
-
import { n as orgForNewProject } from "./org-
|
|
12
|
-
import { n as findApplication, r as findProject, t as appNotFound } from "./lookup-
|
|
13
|
-
import { a as pickScope, i as pickProject, n as chooseApp, r as pickOrganization, t as boundOrganization } from "./scope-
|
|
9
|
+
import { n as runWhoami } from "./session-DOZV1TP6.js";
|
|
10
|
+
import { A as parseJson, M as listOrgGroups, O as isRecord, P as orgIdOf, i as createEntitlement, j as textField, l as isAppScoped, m as listResource, n as createApplication, o as createProduct, p as listProjects, r as createCampaign, s as createProject, t as RESOURCES, v as platformLabel, w as rowName } from "./resources-Bo6i7wBi.js";
|
|
11
|
+
import { n as orgForNewProject } from "./org-Cc2WGvl1.js";
|
|
12
|
+
import { n as findApplication, r as findProject, t as appNotFound } from "./lookup-r8p6H2ZC.js";
|
|
13
|
+
import { a as pickScope, i as pickProject, n as chooseApp, r as pickOrganization, t as boundOrganization } from "./scope-CPG_wWXL.js";
|
|
14
14
|
import { a as listAscConfigs, i as findAppNotificationUrl, o as removeAscConfig, t as ascProxy } from "./client-BZ1UbpXz.js";
|
|
15
15
|
import { i as listUnimportedAscProducts, n as findAscAppId, r as listAscApps, t as ascTypeDisplay } from "./products-DH_fK9tY.js";
|
|
16
16
|
import { n as readResourceFlags, r as textOf, t as fieldName } from "./input-vi0bou04.js";
|
|
17
|
-
import { a as runAscNotificationUrlSet, i as printServerNotifications, t as describeNotificationUrl } from "./notification-url-
|
|
18
|
-
import { t as platformForIntegration } from "./bind-
|
|
17
|
+
import { a as runAscNotificationUrlSet, i as printServerNotifications, t as describeNotificationUrl } from "./notification-url-BxPTEmkv.js";
|
|
18
|
+
import { t as platformForIntegration } from "./bind-BpxebZf4.js";
|
|
19
19
|
import pc from "picocolors";
|
|
20
20
|
|
|
21
21
|
//#region src/ui/help-layout.ts
|
|
@@ -142,7 +142,7 @@ const command = defineCommand({
|
|
|
142
142
|
prompts: true,
|
|
143
143
|
mcp: false,
|
|
144
144
|
async run(ctx, input) {
|
|
145
|
-
const { runLogin } = await import("./login-
|
|
145
|
+
const { runLogin } = await import("./login-D-a7oS_8.js");
|
|
146
146
|
return runLogin(ctx, input);
|
|
147
147
|
}
|
|
148
148
|
});
|
|
@@ -158,7 +158,7 @@ const command$1 = defineCommand({
|
|
|
158
158
|
prompts: true,
|
|
159
159
|
mcp: false,
|
|
160
160
|
async run(ctx) {
|
|
161
|
-
const { runLogout } = await import("./session-
|
|
161
|
+
const { runLogout } = await import("./session-DtBpdlF-.js");
|
|
162
162
|
return runLogout(ctx);
|
|
163
163
|
}
|
|
164
164
|
});
|
|
@@ -3470,7 +3470,7 @@ A purchase_key is for the app's bundle ID; an app with none gets --bundle-id sav
|
|
|
3470
3470
|
prompts: true,
|
|
3471
3471
|
mcp: false,
|
|
3472
3472
|
async run(ctx, input) {
|
|
3473
|
-
const { runAscKeysCreate } = await import("./create-
|
|
3473
|
+
const { runAscKeysCreate } = await import("./create-BYAPuhhf.js");
|
|
3474
3474
|
return runAscKeysCreate(ctx, input);
|
|
3475
3475
|
}
|
|
3476
3476
|
});
|
|
@@ -3857,7 +3857,7 @@ With --app it saves the key you hold on that app instead, as asc keys create --k
|
|
|
3857
3857
|
prompts: true,
|
|
3858
3858
|
mcp: false,
|
|
3859
3859
|
async run(ctx, { args, flags }) {
|
|
3860
|
-
const { upsertHeldKey: upsertHeldKey$1 } = await import("./held-
|
|
3860
|
+
const { upsertHeldKey: upsertHeldKey$1 } = await import("./held-C9FqvNbn.js");
|
|
3861
3861
|
return upsertHeldKey$1(ctx, {
|
|
3862
3862
|
action: "update",
|
|
3863
3863
|
key: {
|
|
@@ -5110,7 +5110,7 @@ Exit codes
|
|
|
5110
5110
|
prompts: true,
|
|
5111
5111
|
mcp: false,
|
|
5112
5112
|
async run(ctx, input) {
|
|
5113
|
-
const { runSetupApple } = await import("./apple-
|
|
5113
|
+
const { runSetupApple } = await import("./apple-DaqaI4vD.js");
|
|
5114
5114
|
return runSetupApple(ctx, input);
|
|
5115
5115
|
}
|
|
5116
5116
|
});
|
|
@@ -7741,9 +7741,8 @@ const command$45 = defineCommand({
|
|
|
7741
7741
|
json: true,
|
|
7742
7742
|
prompts: true,
|
|
7743
7743
|
mcp: false,
|
|
7744
|
-
channel: "next",
|
|
7745
7744
|
async run(ctx, { args, flags }) {
|
|
7746
|
-
const { runBuildPipeline } = await import("./build
|
|
7745
|
+
const { runBuildPipeline } = await import("./build-DzbdRThf.js");
|
|
7747
7746
|
await runBuildPipeline({
|
|
7748
7747
|
output: ctx.output,
|
|
7749
7748
|
json: ctx.json
|
|
@@ -7803,9 +7802,8 @@ const command$46 = defineCommand({
|
|
|
7803
7802
|
json: false,
|
|
7804
7803
|
prompts: true,
|
|
7805
7804
|
mcp: false,
|
|
7806
|
-
channel: "next",
|
|
7807
7805
|
async run(ctx, { args, flags }) {
|
|
7808
|
-
const { runCreate } = await import("./create-
|
|
7806
|
+
const { runCreate } = await import("./create-B55V99TD.js");
|
|
7809
7807
|
return runCreate(ctx, {
|
|
7810
7808
|
dir: args.dir,
|
|
7811
7809
|
...flags
|
|
@@ -7847,9 +7845,8 @@ const command$47 = defineCommand({
|
|
|
7847
7845
|
json: false,
|
|
7848
7846
|
prompts: true,
|
|
7849
7847
|
mcp: false,
|
|
7850
|
-
channel: "next",
|
|
7851
7848
|
async run(ctx, { args, flags }) {
|
|
7852
|
-
const { runStudio } = await import("./server-
|
|
7849
|
+
const { runStudio } = await import("./server-Boqa8jh_.js");
|
|
7853
7850
|
await runStudio({
|
|
7854
7851
|
dirs: args.dir,
|
|
7855
7852
|
port: flags.port,
|
|
@@ -7888,9 +7885,8 @@ const command$48 = defineCommand({
|
|
|
7888
7885
|
json: false,
|
|
7889
7886
|
prompts: true,
|
|
7890
7887
|
mcp: false,
|
|
7891
|
-
channel: "next",
|
|
7892
7888
|
async run(ctx, input) {
|
|
7893
|
-
const { runPromote } = await import("./promote-
|
|
7889
|
+
const { runPromote } = await import("./promote-C8T7DCFF.js");
|
|
7894
7890
|
return runPromote(ctx, input);
|
|
7895
7891
|
}
|
|
7896
7892
|
});
|
|
@@ -7933,9 +7929,8 @@ const command$49 = defineCommand({
|
|
|
7933
7929
|
json: false,
|
|
7934
7930
|
prompts: true,
|
|
7935
7931
|
mcp: false,
|
|
7936
|
-
channel: "next",
|
|
7937
7932
|
async run(ctx, input) {
|
|
7938
|
-
const { runPush } = await import("./push-
|
|
7933
|
+
const { runPush } = await import("./push-snV3SrnH.js");
|
|
7939
7934
|
return runPush(ctx, input, true);
|
|
7940
7935
|
}
|
|
7941
7936
|
});
|
|
@@ -7978,9 +7973,8 @@ const command$50 = defineCommand({
|
|
|
7978
7973
|
json: false,
|
|
7979
7974
|
prompts: true,
|
|
7980
7975
|
mcp: false,
|
|
7981
|
-
channel: "next",
|
|
7982
7976
|
async run(ctx, input) {
|
|
7983
|
-
const { runPush } = await import("./push-
|
|
7977
|
+
const { runPush } = await import("./push-snV3SrnH.js");
|
|
7984
7978
|
return runPush(ctx, input, false);
|
|
7985
7979
|
}
|
|
7986
7980
|
});
|
|
@@ -8369,7 +8363,7 @@ async function createApp(context, api, nameArg, fields) {
|
|
|
8369
8363
|
let name = nameArg;
|
|
8370
8364
|
let platform = textOf(fields.platform);
|
|
8371
8365
|
if (interactive && (!name || !platform)) {
|
|
8372
|
-
const { scanProject } = await import("./scan-
|
|
8366
|
+
const { scanProject } = await import("./scan-nUeXs9a1.js");
|
|
8373
8367
|
const detected = (await scanProject(context.installDir).catch(() => null))?.apps[0];
|
|
8374
8368
|
if (detected && !name && !platform) {
|
|
8375
8369
|
ui.info(`Detected \`${detected.framework.name}\`` + (detected.details ? ` · \`${detected.details}\`` : ""));
|
|
@@ -8608,7 +8602,7 @@ async function runResource(ctx, resource, action, value$1, value2, flags) {
|
|
|
8608
8602
|
if (action === "create") return create(ctx, ctx.api, resource, value$1, value2, flags);
|
|
8609
8603
|
if (action === "use" && resource === "apps") return useApp(ctx, ctx.api, value$1);
|
|
8610
8604
|
if (action === "storekit" && resource === "products") {
|
|
8611
|
-
const { writeStoreKit } = await import("./storekit-
|
|
8605
|
+
const { writeStoreKit } = await import("./storekit-BU6Eq_UO.js");
|
|
8612
8606
|
return writeStoreKit(ctx, ctx.api, flags.fields.out);
|
|
8613
8607
|
}
|
|
8614
8608
|
throw new Error(`Unknown action "${action}" for ${resource}.`);
|
|
@@ -9958,7 +9952,7 @@ const command$61 = defineCommand({
|
|
|
9958
9952
|
prompts: true,
|
|
9959
9953
|
mcp: false,
|
|
9960
9954
|
async run(ctx) {
|
|
9961
|
-
const { runDoctor } = await import("./doctor-
|
|
9955
|
+
const { runDoctor } = await import("./doctor-B2mPKiaJ.js");
|
|
9962
9956
|
return runDoctor(ctx);
|
|
9963
9957
|
}
|
|
9964
9958
|
});
|
|
@@ -10194,7 +10188,7 @@ const command$63 = defineCommand({
|
|
|
10194
10188
|
prompts: true,
|
|
10195
10189
|
mcp: false,
|
|
10196
10190
|
async run(ctx, input) {
|
|
10197
|
-
const { runSkills } = await import("./skills-
|
|
10191
|
+
const { runSkills } = await import("./skills-BI19OGlS.js");
|
|
10198
10192
|
return runSkills(ctx, input);
|
|
10199
10193
|
}
|
|
10200
10194
|
});
|
|
@@ -10210,7 +10204,7 @@ const command$64 = defineCommand({
|
|
|
10210
10204
|
prompts: true,
|
|
10211
10205
|
mcp: false,
|
|
10212
10206
|
async run(ctx) {
|
|
10213
|
-
const { runUpgrade } = await import("./upgrade-
|
|
10207
|
+
const { runUpgrade } = await import("./upgrade-1OYm5NQU.js");
|
|
10214
10208
|
return runUpgrade(ctx);
|
|
10215
10209
|
}
|
|
10216
10210
|
});
|
|
@@ -10249,8 +10243,8 @@ const command$65 = defineCommand({
|
|
|
10249
10243
|
prompts: true,
|
|
10250
10244
|
mcp: false,
|
|
10251
10245
|
async run(ctx, { flags }) {
|
|
10252
|
-
const { runIntegrate } = await import("./integrate-
|
|
10253
|
-
const { printPlaybook } = await import("./playbook-
|
|
10246
|
+
const { runIntegrate } = await import("./integrate-B8oHbvwz.js");
|
|
10247
|
+
const { printPlaybook } = await import("./playbook-D9J8frkE.js");
|
|
10254
10248
|
if (flags.skill) return printPlaybook(ctx.installDir, "integrate");
|
|
10255
10249
|
await runIntegrate({
|
|
10256
10250
|
...ctx,
|
|
@@ -10264,12 +10258,8 @@ const command$65 = defineCommand({
|
|
|
10264
10258
|
//#region src/commands/workflows/migrate.ts
|
|
10265
10259
|
const command$66 = defineCommand({
|
|
10266
10260
|
name: "migrate",
|
|
10267
|
-
summary: "Migrate from RevenueCat / Adapty / Qonversion",
|
|
10268
|
-
|
|
10269
|
-
args: { paywall: {
|
|
10270
|
-
describe: "A dashboard paywall id: scaffold it as code (if not already) and rebuild its pages with your agent, or copy the prompt",
|
|
10271
|
-
channel: "next"
|
|
10272
|
-
} },
|
|
10261
|
+
summary: "Migrate from RevenueCat / Adapty / Qonversion, or rebuild a paywall or native screen as code",
|
|
10262
|
+
args: { paywall: { describe: "A dashboard paywall id: scaffold it as code (if not already) and rebuild its pages with your agent, or copy the prompt" } },
|
|
10273
10263
|
flags: {
|
|
10274
10264
|
installDir,
|
|
10275
10265
|
dryRun: {
|
|
@@ -10281,37 +10271,27 @@ const command$66 = defineCommand({
|
|
|
10281
10271
|
type: "string",
|
|
10282
10272
|
value: "path",
|
|
10283
10273
|
bare: true,
|
|
10284
|
-
describe: "A SwiftUI, UIKit, Kotlin (Compose or Views), React Native or Flutter file to rebuild as a Superwall screen (no path: pick from likely candidates)"
|
|
10285
|
-
channel: "next"
|
|
10274
|
+
describe: "A SwiftUI, UIKit, Kotlin (Compose or Views), React Native or Flutter file to rebuild as a Superwall screen (no path: pick from likely candidates)"
|
|
10286
10275
|
},
|
|
10287
10276
|
screenshot: {
|
|
10288
10277
|
type: "string",
|
|
10289
10278
|
value: "path",
|
|
10290
|
-
describe: "A screenshot of the native screen, shown as Compare › Original in the studio"
|
|
10291
|
-
channel: "next"
|
|
10279
|
+
describe: "A screenshot of the native screen, shown as Compare › Original in the studio"
|
|
10292
10280
|
}
|
|
10293
10281
|
},
|
|
10294
10282
|
examples: [
|
|
10295
10283
|
["migrate", "Move this app off RevenueCat / Adapty / Qonversion"],
|
|
10296
10284
|
["migrate --skill", "Print the migration playbook for your own agent"],
|
|
10297
|
-
[
|
|
10298
|
-
|
|
10299
|
-
"Rebuild dashboard paywall 65920 as code",
|
|
10300
|
-
"next"
|
|
10301
|
-
],
|
|
10302
|
-
[
|
|
10303
|
-
"migrate --screen App/UpdateRequiredView.swift",
|
|
10304
|
-
"Rebuild a native screen as a Superwall surface",
|
|
10305
|
-
"next"
|
|
10306
|
-
]
|
|
10285
|
+
["migrate 65920", "Rebuild dashboard paywall 65920 as code"],
|
|
10286
|
+
["migrate --screen App/UpdateRequiredView.swift", "Rebuild a native screen as a Superwall surface"]
|
|
10307
10287
|
],
|
|
10308
10288
|
auth: "optional",
|
|
10309
10289
|
json: false,
|
|
10310
10290
|
prompts: true,
|
|
10311
10291
|
mcp: false,
|
|
10312
10292
|
async run(ctx, { args, flags }) {
|
|
10313
|
-
const { runPaywallMigration, runProviderMigration, runScreenMigration } = await import("./migrate-
|
|
10314
|
-
const { printPlaybook } = await import("./playbook-
|
|
10293
|
+
const { runPaywallMigration, runProviderMigration, runScreenMigration } = await import("./migrate-DQf2Fosc.js");
|
|
10294
|
+
const { printPlaybook } = await import("./playbook-D9J8frkE.js");
|
|
10315
10295
|
if (flags.screen !== void 0) return runScreenMigration(ctx, {
|
|
10316
10296
|
path: flags.screen,
|
|
10317
10297
|
screenshot: flags.screenshot
|
|
@@ -10345,8 +10325,8 @@ const command$67 = defineCommand({
|
|
|
10345
10325
|
prompts: true,
|
|
10346
10326
|
mcp: false,
|
|
10347
10327
|
async run(ctx, { flags }) {
|
|
10348
|
-
const { runReview } = await import("./integrate-
|
|
10349
|
-
const { printPlaybook } = await import("./playbook-
|
|
10328
|
+
const { runReview } = await import("./integrate-B8oHbvwz.js");
|
|
10329
|
+
const { printPlaybook } = await import("./playbook-D9J8frkE.js");
|
|
10350
10330
|
if (flags.skill) return printPlaybook(ctx.installDir, flags.fix ? "review-fix" : "review");
|
|
10351
10331
|
await runReview(ctx, flags.fix);
|
|
10352
10332
|
}
|
|
@@ -10368,7 +10348,6 @@ const GROUPS = [
|
|
|
10368
10348
|
{
|
|
10369
10349
|
id: "paywalls",
|
|
10370
10350
|
title: "Paywalls & funnels",
|
|
10371
|
-
channel: "next",
|
|
10372
10351
|
notes: ["push and publish take -m <note> to record why, in the source commit.", "All four take --platform <p> when a project pushes to several platforms."],
|
|
10373
10352
|
commands: [
|
|
10374
10353
|
command$46,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ApiUnreachableError, t as ApiError } from "./client-
|
|
1
|
+
import { n as ApiUnreachableError, t as ApiError } from "./client-BF9rCULI.js";
|
|
2
2
|
import { o as readOpenedOrgs, p as writeOpenedOrgs } from "./config-BO1Y87kV.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/api/orgs.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as DASHBOARD_URL } from "./environment-
|
|
2
|
-
import { i as packagedDir } from "./paths-
|
|
1
|
+
import { c as DASHBOARD_URL } from "./environment-DBwo79dy.js";
|
|
2
|
+
import { i as packagedDir } from "./paths-BcNbJfpw.js";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
5
|
import { join } from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as Integration } from "./environment-
|
|
1
|
+
import { f as Integration } from "./environment-DBwo79dy.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { basename, dirname, join, relative, sep } from "node:path";
|
|
4
4
|
import fg from "fast-glob";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as readDefaultApp, u as writeDefaultApp } from "./config-BO1Y87kV.js";
|
|
2
|
-
import { t as apiCall, u as currentHost } from "./spinner-
|
|
3
|
-
import { I as organizationOf, M as listOrgGroups, P as orgIdOf, c as findPaywall, p as listProjects, v as platformLabel } from "./resources-
|
|
4
|
-
import { t as chooseOrgOfApps } from "./org-
|
|
5
|
-
import { n as findApplication, r as findProject, t as appNotFound } from "./lookup-
|
|
2
|
+
import { t as apiCall, u as currentHost } from "./spinner-BClMQGGN.js";
|
|
3
|
+
import { I as organizationOf, M as listOrgGroups, P as orgIdOf, c as findPaywall, p as listProjects, v as platformLabel } from "./resources-Bo6i7wBi.js";
|
|
4
|
+
import { t as chooseOrgOfApps } from "./org-Cc2WGvl1.js";
|
|
5
|
+
import { n as findApplication, r as findProject, t as appNotFound } from "./lookup-r8p6H2ZC.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core/account/scope.ts
|
|
8
8
|
function moveFirst(items, match) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as ASSET_HOST } from "./environment-
|
|
2
|
-
import { t as ApiError } from "./client-
|
|
3
|
-
import { x as pushPaywallAssets } from "./resources-
|
|
1
|
+
import { r as ASSET_HOST } from "./environment-DBwo79dy.js";
|
|
2
|
+
import { t as ApiError } from "./client-BF9rCULI.js";
|
|
3
|
+
import { x as pushPaywallAssets } from "./resources-Bo6i7wBi.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import * as fs from "node:fs";
|
|
6
6
|
import { globSync, readFileSync, statSync } from "node:fs";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./token-CPplNMVa.js";
|
|
2
|
+
import "./output-Ggzq5_-t.js";
|
|
3
|
+
import "./environment-DBwo79dy.js";
|
|
4
|
+
import "./storage-Po9E-CHL.js";
|
|
5
|
+
import "./client-BF9rCULI.js";
|
|
6
|
+
import "./config-BO1Y87kV.js";
|
|
7
|
+
import "./telemetry-s6dag6tb.js";
|
|
8
|
+
import "./spawn-DmmmHIP-.js";
|
|
9
|
+
import "./spinner-BClMQGGN.js";
|
|
10
|
+
import "./ui-D_qf3Gvw.js";
|
|
11
|
+
import "./scan-8cxu2fx0.js";
|
|
12
|
+
import "./paths-BcNbJfpw.js";
|
|
13
|
+
import "./resources-Bo6i7wBi.js";
|
|
14
|
+
import "./lookup-r8p6H2ZC.js";
|
|
15
|
+
import "./login-DfhqWY9C.js";
|
|
16
|
+
import "./skills-DDf10ufO.js";
|
|
17
|
+
import "./selection-CMA4aG4V.js";
|
|
18
|
+
import "./session-eZeXR9xU.js";
|
|
19
|
+
import "./login-B8hgMLhS.js";
|
|
20
|
+
import { t as runStudio } from "./server-Xb3wp-mx.js";
|
|
21
|
+
|
|
22
|
+
export { runStudio };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v as VERSION } from "./environment-
|
|
2
|
-
import { t as ApiError } from "./client-
|
|
1
|
+
import { v as VERSION } from "./environment-DBwo79dy.js";
|
|
2
|
+
import { t as ApiError } from "./client-BF9rCULI.js";
|
|
3
3
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
4
|
-
import { E as versionProducts, S as pushPaywallVersion, b as promotePaywallVersion, f as listApplications } from "./resources-
|
|
5
|
-
import { o as openBrowser } from "./login-
|
|
6
|
-
import { F as requireAssets, I as syncAssets, M as frameworkVersion, N as resolveFramework, P as assetBaseUrl, i as requireProject, o as resolveProjectDirs, u as LAYOUT_HINT, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-
|
|
7
|
-
import { f as listProjectProducts, g as planTargets, i as pushSource, l as writeProjectScaffold, n as requireApi, o as collectSourceFiles, p as projectForApplication, s as warnNotPortable, u as listApplicationCatalogue, v as wantedPlatforms, x as resolveApps, y as resolveBinding } from "./session-
|
|
4
|
+
import { E as versionProducts, S as pushPaywallVersion, b as promotePaywallVersion, f as listApplications } from "./resources-Bo6i7wBi.js";
|
|
5
|
+
import { o as openBrowser } from "./login-DfhqWY9C.js";
|
|
6
|
+
import { F as requireAssets, I as syncAssets, M as frameworkVersion, N as resolveFramework, P as assetBaseUrl, i as requireProject, o as resolveProjectDirs, u as LAYOUT_HINT, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-CMA4aG4V.js";
|
|
7
|
+
import { f as listProjectProducts, g as planTargets, i as pushSource, l as writeProjectScaffold, n as requireApi, o as collectSourceFiles, p as projectForApplication, s as warnNotPortable, u as listApplicationCatalogue, v as wantedPlatforms, x as resolveApps, y as resolveBinding } from "./session-eZeXR9xU.js";
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
9
9
|
import * as fs from "node:fs";
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveApiHost, i as removeSession, n as readSession, o as serializeSession, s as sessionOrgName } from "./storage-
|
|
1
|
+
import { a as resolveApiHost, i as removeSession, n as readSession, o as serializeSession, s as sessionOrgName } from "./storage-Po9E-CHL.js";
|
|
2
2
|
|
|
3
3
|
//#region src/core/account/session.ts
|
|
4
4
|
function runWhoami(ctx) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { l as ENV_API_KEY, t as API_HOST, y as apiKeyFromEnv } from "./environment-
|
|
2
|
-
import { n as readSession } from "./storage-
|
|
3
|
-
import { n as ApiUnreachableError, r as createSuperwallApi, t as ApiError } from "./client-
|
|
1
|
+
import { l as ENV_API_KEY, t as API_HOST, y as apiKeyFromEnv } from "./environment-DBwo79dy.js";
|
|
2
|
+
import { n as readSession } from "./storage-Po9E-CHL.js";
|
|
3
|
+
import { n as ApiUnreachableError, r as createSuperwallApi, t as ApiError } from "./client-BF9rCULI.js";
|
|
4
4
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
5
|
-
import { O as isRecord, _ as mintSourceAccess, a as createHeadlessPaywall, d as listAppPaywalls, f as listApplications, u as linkSourceCommit, v as platformLabel } from "./resources-
|
|
6
|
-
import { n as findApplication } from "./lookup-
|
|
7
|
-
import { C as parseSources, D as writeBinding, E as writeApp, j as writeSources, w as readLock, x as formatSharedLock } from "./selection-
|
|
8
|
-
import { n as performLoginWithUi } from "./login-
|
|
5
|
+
import { O as isRecord, _ as mintSourceAccess, a as createHeadlessPaywall, d as listAppPaywalls, f as listApplications, u as linkSourceCommit, v as platformLabel } from "./resources-Bo6i7wBi.js";
|
|
6
|
+
import { n as findApplication } from "./lookup-r8p6H2ZC.js";
|
|
7
|
+
import { C as parseSources, D as writeBinding, E as writeApp, j as writeSources, w as readLock, x as formatSharedLock } from "./selection-CMA4aG4V.js";
|
|
8
|
+
import { n as performLoginWithUi } from "./login-B8hgMLhS.js";
|
|
9
9
|
import { execFile } from "node:child_process";
|
|
10
10
|
import * as fs from "node:fs";
|
|
11
11
|
import * as path from "node:path";
|
|
@@ -38,7 +38,7 @@ skill assumes that shape, and the engine below is mapped onto its router:
|
|
|
38
38
|
().paywall !== undefined`), never mount: the SDK preloads surfaces hidden.
|
|
39
39
|
|
|
40
40
|
Read the `superwall-framework` skill before touching the flow (install it if
|
|
41
|
-
it isn't there: `npx skills add https://github.com/superwall/skills
|
|
41
|
+
it isn't there: `npx skills add https://github.com/superwall/skills
|
|
42
42
|
--skill superwall-framework --global --yes --agent claude-code universal
|
|
43
43
|
--full-depth`); its `references/mobile-design.md` carries the touch, motion
|
|
44
44
|
and type rules this skill builds on. A flow that is not a surface yet (a
|
package/dist/skills/index.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"name": "
|
|
3
|
+
"name": "animate-onboarding",
|
|
4
4
|
"channel": "latest",
|
|
5
|
-
"summary": "
|
|
5
|
+
"summary": "Animate a tap-through onboarding or web funnel (quiz, survey,..."
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
|
-
"name": "
|
|
8
|
+
"name": "mobile-design",
|
|
9
9
|
"channel": "latest",
|
|
10
|
-
"summary": "
|
|
10
|
+
"summary": "Make a web screen feel native inside a phone app — a paywall,..."
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "onboarding-questions",
|
|
14
14
|
"channel": "latest",
|
|
15
|
-
"summary": "
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "animate-onboarding",
|
|
19
|
-
"channel": "next",
|
|
20
|
-
"summary": "Animate a tap-through onboarding or web funnel (quiz, survey,..."
|
|
15
|
+
"summary": "Write the brains of an app's onboarding or web2app funnel — e..."
|
|
21
16
|
},
|
|
22
17
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"channel": "
|
|
25
|
-
"summary": "
|
|
18
|
+
"name": "superwall",
|
|
19
|
+
"channel": "latest",
|
|
20
|
+
"summary": "Use the `superwall` CLI to manage apps, products, entitlement..."
|
|
26
21
|
},
|
|
27
22
|
{
|
|
28
|
-
"name": "
|
|
29
|
-
"channel": "
|
|
30
|
-
"summary": "
|
|
23
|
+
"name": "superwall-editor",
|
|
24
|
+
"channel": "latest",
|
|
25
|
+
"summary": "LEGACY — drives the browser (visual) paywall editor over a pa..."
|
|
31
26
|
},
|
|
32
27
|
{
|
|
33
28
|
"name": "superwall-framework",
|
|
34
|
-
"channel": "
|
|
29
|
+
"channel": "latest",
|
|
35
30
|
"summary": "Author any screen an app should be able to change without a r..."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "wwdc",
|
|
34
|
+
"channel": "latest",
|
|
35
|
+
"summary": "Use this skill whenever the user asks about WWDC sessions, Ap..."
|
|
36
36
|
}
|
|
37
37
|
]
|
|
@@ -440,7 +440,7 @@ screen that already exists — and read the `superwall-framework` skill for
|
|
|
440
440
|
the mechanics; the user decides. Install it if it isn't there:
|
|
441
441
|
|
|
442
442
|
```bash
|
|
443
|
-
npx skills add https://github.com/superwall/skills
|
|
443
|
+
npx skills add https://github.com/superwall/skills --skill superwall-framework --global --yes --agent claude-code universal --full-depth
|
|
444
444
|
```
|
|
445
445
|
|
|
446
446
|
This skill is complete without it: everything above applies to any web
|
|
@@ -36,7 +36,7 @@ version, and a campaign switches it live.
|
|
|
36
36
|
|
|
37
37
|
So when the spec is approved, the next step is to build it there: the
|
|
38
38
|
`superwall-framework` skill carries the how (install it if missing: `npx
|
|
39
|
-
skills add https://github.com/superwall/skills
|
|
39
|
+
skills add https://github.com/superwall/skills --skill
|
|
40
40
|
superwall-framework --global --yes --agent claude-code universal
|
|
41
41
|
--full-depth`), its `onboarding-quiz` and `web-funnel` examples are the two
|
|
42
42
|
shapes this spec takes (in-app before the paywall; on the web before
|