@superwall/cli 2.6.0-beta.1 → 2.6.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 +47 -16
- package/dist/{apple-Bmt_iywx.js → apple-D-rfsuDA.js} +17 -19
- package/dist/{approve-D2UgqaRx.js → approve-aPc5RoXB.js} +14 -13
- package/dist/{assets-B_quADds.js → assets-PyuXe45Y.js} +3 -3
- package/dist/auth.d.ts +11 -4
- package/dist/auth.js +4 -5
- package/dist/base-CAU0hWoI.js +82 -0
- package/dist/{billing-ZIETn0j4.js → billing-Dt6L_l9R.js} +3 -3
- package/dist/{build-BWjXurjs.js → build-CY5FnMNY.js} +35 -16
- package/dist/config-DOp5oChe.js +377 -0
- package/dist/{create-C3uklw-U.js → create-BZL5VH4L.js} +41 -41
- package/dist/{create-BCIgjRHn.js → create-D6w3UL0m.js} +9 -9
- package/dist/create-DM5Y1Pyk.js +18 -0
- package/dist/{doctor-D2Q1EZe8.js → doctor-C9FR0qw3.js} +50 -10
- package/dist/entry.js +45 -40
- package/dist/{environment-BocmdvZ-.js → environment-sE2wZYdg.js} +1 -1
- package/dist/{drivers-BQkO5tHs.js → existing--peXpOZj.js} +305 -8
- package/dist/framework-DW5fqjh4.js +65 -0
- package/dist/{source-BccdO4aL.js → git-Hf9Wc7Hp.js} +34 -92
- package/dist/{held-Bykbwy-m.js → held-CUBCOCGP.js} +8 -8
- package/dist/held-DVxvPMSG.js +15 -0
- package/dist/{install-dXZZ79Oe.js → install-C5d82gZF.js} +15 -17
- package/dist/{integrate-DiSjlOjC.js → integrate-D8J_X1bj.js} +33 -38
- package/dist/{login-5sWIKDI2.js → login-C6X7JrhM.js} +8 -9
- package/dist/{login-Jp6E6d2e.js → login-DXhm9L0F.js} +3 -3
- package/dist/login-et319ESO.js +13 -0
- package/dist/{lookup-CWzVfPpq.js → lookup-DqmIbUkv.js} +28 -4
- package/dist/{migrate-BKiOUsMY.js → migrate-BYF6hKZ2.js} +66 -45
- package/dist/{notification-url-BDBxbwZq.js → notification-url-Bo54nkXv.js} +4 -4
- package/dist/{open-DNd49kT-.js → open-xdgXUzaF.js} +2 -2
- package/dist/{org-Dud1rF9f.js → org-BD8U3D1_.js} +4 -4
- package/dist/{organization-7vJA3uy1.js → organization-D-ZlB3qU.js} +4 -4
- package/dist/{orgs-Z0H9WOs1.js → orgs-DQQJ3sw_.js} +1 -2
- package/dist/{paths-CzTJVpfi.js → paths-CIlyzF2I.js} +1 -1
- package/dist/{playbook-DJ__edOW.js → playbook-ecggWGFi.js} +10 -14
- package/dist/{products-Cqq59DBQ.js → products-CJq_iXv5.js} +1 -1
- package/dist/{promote-DLtPSvmL.js → promote-QVMLGYlU.js} +27 -28
- package/dist/{pull-AoUmaiMK.js → pull-CCXhb2a7.js} +72 -26
- package/dist/{pull-D-YuT3e0.js → pull-CrdsfsAl.js} +33 -39
- package/dist/pull-h71pL3r_.js +30 -0
- package/dist/push-BIq6R8Ro.js +29 -0
- package/dist/push-D6pJM_vv.js +21 -0
- package/dist/{push-BMblzg_6.js → push-DJMGG7zW.js} +23 -12
- package/dist/{push-BrzMFd4Z.js → push-DiMDwGfe.js} +15 -8
- package/dist/{registry-DDU10_Ix.js → registry-BSnQXft4.js} +1288 -901
- package/dist/registry-YwzTfCNc.js +22 -0
- package/dist/{resolve-DpOSDDdr.js → resolve-DO7bPota.js} +52 -6
- package/dist/{resources-CptT7HD6.js → resources-XwvXA20E.js} +15 -2
- package/dist/{run-r3foWfhV.js → run-B-YvxfRc.js} +15 -17
- package/dist/scan-B36wkZmI.js +4 -0
- package/dist/{scan-nVQO7JLx.js → scan-ViBhmrB7.js} +1 -1
- package/dist/{scope-l1qGLsgz.js → scope-BLLUxbrA.js} +24 -18
- package/dist/{scope-ehZ7L1nj.js → scope-Cg1AdAfO.js} +33 -3
- package/dist/screenshot-file-Dix2Qynm.js +127 -0
- package/dist/{sdk-DEfQttek.js → sdk-BFunw4Hc.js} +1 -1
- package/dist/{framework-CLmf4swr.js → selection-C07e_GGY.js} +4 -54
- package/dist/{series-D2ZpZ8cx.js → series-B8NJK4yS.js} +1 -1
- package/dist/{server-DLARhh1k.js → server-CBtHzl9y.js} +40 -18
- package/dist/server-CZwSfzKe.js +33 -0
- package/dist/{base-ChTi42M0.js → session-BfVx50iA.js} +8 -83
- package/dist/{session-Z0BeaJPf.js → session-BlrwAdGN.js} +1 -1
- package/dist/session-Cip4j99n.js +5 -0
- package/dist/{migration-Z69tLeHC.js → setup-a4B72xJ8.js} +290 -28
- package/dist/skills/superwall/SKILL.md +37 -10
- package/dist/skills/superwall/references/api.md +66 -21
- package/dist/skills/superwall/references/asa.md +109 -64
- package/dist/skills/superwall/references/dashboard-links.md +65 -28
- package/dist/skills/superwall/references/data-analytics.md +1 -1
- package/dist/skills/superwall/workflows/dashboard/setup.md +15 -5
- package/dist/skills/superwall/workflows/integrate/flutter.md +9 -7
- package/dist/skills/superwall-artifacts/SKILL.md +7 -2
- package/dist/skills/superwall-artifacts/references/cli.md +4 -1
- package/dist/skills/superwall-framework/SKILL.md +197 -14
- package/dist/skills/superwall-framework/references/cli.md +98 -7
- package/dist/skills/superwall-framework/references/examples.md +2 -2
- package/dist/skills/superwall-framework/references/migrate-from-editor.md +5 -0
- package/dist/skills/superwall-framework/references/migrate-from-native.md +5 -0
- package/dist/{skills-421SFEyF.js → skills-BB1uIt8t.js} +139 -9
- package/dist/{skills-CdKwaTRS.js → skills-SnxFa2in.js} +8 -12
- package/dist/source-DQs6iLtC.js +82 -0
- package/dist/{source-push-B4s6r9bB.js → source-push-w7miTr6m.js} +38 -14
- package/dist/{spinner-DPdBlZe2.js → spinner-BQp7fQvK.js} +7 -5
- package/dist/{starter-0OdVPH4l.js → starter-BlJ_InZJ.js} +16 -6
- package/dist/{status-Dsc7d3z2.js → status-DxsIw9zq.js} +9 -11
- package/dist/{output-Ggzq5_-t.js → storage-BR6imSqm.js} +40 -1
- package/dist/storekit-BqyujKQ_.js +203 -0
- package/dist/storekit-ELVCMF0X.js +15 -0
- package/dist/{bind-ClFjTt0U.js → theme-Ed0gz6hr.js} +29 -6
- package/dist/token-CWQ6tdva.js +100 -0
- 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 +43 -17
- package/dist/tools-skills/superwall/references/api.md +74 -24
- package/dist/tools-skills/superwall/references/asa.md +109 -64
- package/dist/tools-skills/superwall/references/dashboard-links.md +65 -28
- package/dist/tools-skills/superwall/references/data-analytics.md +1 -1
- package/dist/tools-skills/superwall/workflows/dashboard/playbook.md +4 -3
- package/dist/tools-skills/superwall/workflows/dashboard/setup.md +21 -8
- package/dist/tools-skills/superwall/workflows/integrate/flutter.md +9 -7
- package/dist/tools-skills/superwall/workflows/migrate/adapty.md +4 -3
- package/dist/tools-skills/superwall/workflows/migrate/playbook.md +2 -2
- package/dist/tools-skills/superwall/workflows/migrate/qonversion.md +4 -3
- package/dist/tools-skills/superwall/workflows/migrate/revenuecat.md +4 -3
- package/dist/tools-skills/superwall-editor/SKILL.md +2 -3
- package/dist/tools.d.ts +6 -1
- package/dist/tools.js +1290 -747
- package/dist/{try-B8FYkTvQ.js → try-C3HW3hPZ.js} +20 -22
- package/dist/{lock-DgSx-p8Y.js → types-Dc9U_4kp.js} +86 -80
- package/dist/upgrade-Cw9jVt-r.js +348 -0
- package/dist/upgrade-DVsonzDF.js +27 -0
- package/package.json +11 -3
- package/dist/client-CyrYJzBF.js +0 -180
- package/dist/config-CGcG7GOt.js +0 -113
- package/dist/create-7HDW3DCl.js +0 -20
- package/dist/existing-Cl5x6_5u.js +0 -97
- package/dist/held-Chw3BtBV.js +0 -17
- package/dist/log-C0MDCfA2.js +0 -62
- package/dist/login-DZ8Pipf6.js +0 -17
- package/dist/pull-C1xm2zqG.js +0 -36
- package/dist/push-B42D8fKf.js +0 -22
- package/dist/push-Co5jk6Kr.js +0 -30
- package/dist/run-c1O2_8pp.js +0 -100
- package/dist/scan-D86kLtM7.js +0 -4
- package/dist/screenshot-file-XAS0Xy0e.js +0 -16
- package/dist/server-BEcsQaPu.js +0 -29
- package/dist/session-Csuaw6RU.js +0 -6
- package/dist/setup-C6NFy14d.js +0 -217
- package/dist/spawn-DmmmHIP-.js +0 -71
- package/dist/storage-DT_wxwJ8.js +0 -41
- package/dist/storekit-B9M2raxe.js +0 -47
- package/dist/storekit-BWZf-fNE.js +0 -17
- package/dist/telemetry-ovPiseFm.js +0 -56
- package/dist/theme-DUsCh-Vd.js +0 -25
- package/dist/token-Bu3FaRkv.js +0 -70
- package/dist/upgrade-B7TmvEPP.js +0 -206
- package/dist/upgrade-CAHyrWUL.js +0 -7
- /package/dist/{browser-Bp3yRKlU.js → browser-BVjaf98V.js} +0 -0
- /package/dist/{client-BJQXl62Q.js → client-BwYhzITp.js} +0 -0
- /package/dist/{design-lint-CiFc78aM.js → design-lint-mgO-2SGS.js} +0 -0
- /package/dist/{devtools-ByZ6XYnn.js → devtools-B6Vp6HMy.js} +0 -0
- /package/dist/{input-MDd67UIp.js → input-DOT_2Zvb.js} +0 -0
- /package/dist/{project-NoMtbMyl.js → project-BomArwSj.js} +0 -0
- /package/dist/{reports-HYVp169R.js → reports-hbxsd3Zo.js} +0 -0
- /package/dist/{storage-Bdz5AmqS.d.ts → storage-Bh3wT1Rn.d.ts} +0 -0
- /package/dist/{timing-Ca0TXY-A.js → timing-BKEEIBij.js} +0 -0
- /package/dist/{ui-D_qf3Gvw.js → ui-hFgji1e8.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as updateServerNotifications, r as chooseKeyApp } from "./held-
|
|
2
|
-
import { t as apiCall } from "./spinner-
|
|
3
|
-
import { i as findAppNotificationUrl } from "./client-
|
|
4
|
-
import { t as timing } from "./timing-
|
|
1
|
+
import { D as updateServerNotifications, r as chooseKeyApp } from "./held-CUBCOCGP.js";
|
|
2
|
+
import { t as apiCall } from "./spinner-BQp7fQvK.js";
|
|
3
|
+
import { i as findAppNotificationUrl } from "./client-BwYhzITp.js";
|
|
4
|
+
import { t as timing } from "./timing-BKEEIBij.js";
|
|
5
5
|
|
|
6
6
|
//#region src/core/app-store-connect/notification-url.ts
|
|
7
7
|
const RETRY_DELAYS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as isNonInteractive } from "./environment-
|
|
2
|
-
import { t as runStudio } from "./server-
|
|
1
|
+
import { T as isNonInteractive } from "./environment-sE2wZYdg.js";
|
|
2
|
+
import { t as runStudio } from "./server-CBtHzl9y.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/paywalls/studio/open.ts
|
|
5
5
|
async function askStudio(ui, interactive, surfaceId, original = true) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
1
|
+
import { E as titleCase, T as rowName } from "./resources-XwvXA20E.js";
|
|
2
|
+
import { n as listOrganizations, t as listOrgGroups } from "./orgs-DQQJ3sw_.js";
|
|
3
|
+
import { n as ui } from "./ui-hFgji1e8.js";
|
|
4
|
+
import { n as withSpinner } from "./spinner-BQp7fQvK.js";
|
|
5
5
|
|
|
6
6
|
//#region src/core/account/org.ts
|
|
7
7
|
async function orgForNewProject(api, interactive) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as findApplication, t as appNotFound } from "./lookup-
|
|
4
|
-
import { t as ArtifactError } from "./project-
|
|
1
|
+
import { a as orgProjects, i as orgIdOf, n as listOrganizations } from "./orgs-DQQJ3sw_.js";
|
|
2
|
+
import { t as apiCall } from "./spinner-BQp7fQvK.js";
|
|
3
|
+
import { n as findApplication, t as appNotFound } from "./lookup-DqmIbUkv.js";
|
|
4
|
+
import { t as ArtifactError } from "./project-BomArwSj.js";
|
|
5
5
|
|
|
6
6
|
//#region src/core/artifacts/organization.ts
|
|
7
7
|
async function resolveAppScope(api, app, org) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { h as writeOpenedOrgs, s as readOpenedOrgs } from "./config-CGcG7GOt.js";
|
|
1
|
+
import { h as writeOpenedOrgs, s as readOpenedOrgs, y as ApiError } from "./config-DOp5oChe.js";
|
|
3
2
|
|
|
4
3
|
//#region src/core/api/orgs.ts
|
|
5
4
|
async function listOrganizations(api) {
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import "./
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import { t as scanProject } from "./scan-nVQO7JLx.js";
|
|
12
|
-
import "./paths-CzTJVpfi.js";
|
|
13
|
-
import { d as readBundledSkill } from "./skills-421SFEyF.js";
|
|
14
|
-
import { n as FRAMEWORK_REF, t as detectBilling } from "./billing-ZIETn0j4.js";
|
|
1
|
+
import "./token-CWQ6tdva.js";
|
|
2
|
+
import "./storage-BR6imSqm.js";
|
|
3
|
+
import "./environment-sE2wZYdg.js";
|
|
4
|
+
import "./config-DOp5oChe.js";
|
|
5
|
+
import { S as updateTelemetryTags, d as readBundledSkill, x as track } from "./skills-BB1uIt8t.js";
|
|
6
|
+
import { t as scanProject } from "./scan-ViBhmrB7.js";
|
|
7
|
+
import "./ui-hFgji1e8.js";
|
|
8
|
+
import "./spinner-BQp7fQvK.js";
|
|
9
|
+
import "./paths-CIlyzF2I.js";
|
|
10
|
+
import { n as FRAMEWORK_REF, t as detectBilling } from "./billing-Dt6L_l9R.js";
|
|
15
11
|
|
|
16
12
|
//#region src/core/workflows/playbook.ts
|
|
17
13
|
async function printPlaybook(installDir, playbook) {
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import "./
|
|
3
|
-
import { x as VERSION } from "./environment-
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import "./
|
|
16
|
-
import "./login-
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import
|
|
20
|
-
import "./scope-
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import {
|
|
28
|
-
import { a as pickApplicationOption, i as timed, o as pickAdoptOption, t as group } from "./push-BMblzg_6.js";
|
|
1
|
+
import "./token-CWQ6tdva.js";
|
|
2
|
+
import "./storage-BR6imSqm.js";
|
|
3
|
+
import { x as VERSION } from "./environment-sE2wZYdg.js";
|
|
4
|
+
import { y as ApiError } from "./config-DOp5oChe.js";
|
|
5
|
+
import "./skills-BB1uIt8t.js";
|
|
6
|
+
import "./scan-ViBhmrB7.js";
|
|
7
|
+
import { _ as livePaywallVersion, x as promotePaywallVersion } from "./resources-XwvXA20E.js";
|
|
8
|
+
import "./orgs-DQQJ3sw_.js";
|
|
9
|
+
import { n as ui } from "./ui-hFgji1e8.js";
|
|
10
|
+
import "./spinner-BQp7fQvK.js";
|
|
11
|
+
import "./lookup-DqmIbUkv.js";
|
|
12
|
+
import { f as readLock, n as collectProjectDeclarations } from "./types-Dc9U_4kp.js";
|
|
13
|
+
import { l as resolveApps, n as requireApi } from "./session-BfVx50iA.js";
|
|
14
|
+
import "./paths-CIlyzF2I.js";
|
|
15
|
+
import { i as resolveFramework } from "./framework-DW5fqjh4.js";
|
|
16
|
+
import "./login-C6X7JrhM.js";
|
|
17
|
+
import "./browser-BVjaf98V.js";
|
|
18
|
+
import "./login-DXhm9L0F.js";
|
|
19
|
+
import "./git-Hf9Wc7Hp.js";
|
|
20
|
+
import "./scope-Cg1AdAfO.js";
|
|
21
|
+
import { i as planTargets, o as targetLabel, r as parsePlatformFlags, s as wantedPlatforms } from "./base-CAU0hWoI.js";
|
|
22
|
+
import { a as resolveProjectDir, g as transition, s as selectSurfaces } from "./selection-C07e_GGY.js";
|
|
23
|
+
import "./source-DQs6iLtC.js";
|
|
24
|
+
import "./assets-PyuXe45Y.js";
|
|
25
|
+
import "./design-lint-mgO-2SGS.js";
|
|
26
|
+
import { u as resolveBinding } from "./source-push-w7miTr6m.js";
|
|
27
|
+
import { a as pickApplicationOption, i as timed, o as pickAdoptOption, t as group } from "./push-DJMGG7zW.js";
|
|
29
28
|
import pc from "picocolors";
|
|
30
29
|
|
|
31
30
|
//#region src/core/paywalls/promote.ts
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { x as VERSION } from "./environment-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as findApplication, t as appNotFound } from "./lookup-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { x as VERSION } from "./environment-sE2wZYdg.js";
|
|
2
|
+
import { f as listAppPaywalls, v as mintSourceAccess } from "./resources-XwvXA20E.js";
|
|
3
|
+
import { n as ui } from "./ui-hFgji1e8.js";
|
|
4
|
+
import { n as findApplication, t as appNotFound } from "./lookup-DqmIbUkv.js";
|
|
5
|
+
import { _ as writeLock, f as readLock, i as NewerLockError, l as originKey, n as collectProjectDeclarations, r as writeProjectTypes, t as TYPES_FILE, u as parseLock } from "./types-Dc9U_4kp.js";
|
|
6
|
+
import { a as PLATFORMS, c as requirePlatform, n as requireApi } from "./session-BfVx50iA.js";
|
|
7
|
+
import { a as devCommand, i as detectPackageManager, l as selectWorkspaceInstallNote } from "./setup-a4B72xJ8.js";
|
|
8
|
+
import { i as resolveFramework } from "./framework-DW5fqjh4.js";
|
|
9
|
+
import { i as statIfPresent, n as pullSourceTree } from "./git-Hf9Wc7Hp.js";
|
|
10
|
+
import { n as writeSourceBase, r as parsePlatformFlags, t as readSourceBase } from "./base-CAU0hWoI.js";
|
|
11
|
+
import { a as resolveProjectDir, i as requireProject } from "./selection-C07e_GGY.js";
|
|
12
|
+
import { t as collectSourceFiles } from "./source-DQs6iLtC.js";
|
|
10
13
|
import * as fs from "node:fs";
|
|
11
14
|
import * as path from "node:path";
|
|
12
15
|
import pc from "picocolors";
|
|
@@ -30,26 +33,56 @@ function boundPaywall(lock, platforms) {
|
|
|
30
33
|
if (binding) return binding.paywallId;
|
|
31
34
|
}
|
|
32
35
|
}
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
const sameBinding = (a, b) => a?.paywallId === b?.paywallId && a?.snapshot === b?.snapshot;
|
|
37
|
+
function chooseBinding(own, other, synced, threeWay) {
|
|
38
|
+
if (own?.sourcePending !== void 0) return own;
|
|
39
|
+
if (threeWay) {
|
|
40
|
+
if (sameBinding(other, synced)) return own;
|
|
41
|
+
if (sameBinding(own, synced)) return other;
|
|
42
|
+
}
|
|
43
|
+
if (!other) return own;
|
|
44
|
+
return own && own.paywallId !== other.paywallId ? own : other;
|
|
45
|
+
}
|
|
46
|
+
const mergeSection = (local, remote, base) => {
|
|
47
|
+
const chosen = [...Object.keys(local), ...Object.keys(remote).filter((id) => !(id in local))].map((id) => {
|
|
36
48
|
const mine = local[id] ?? {};
|
|
37
49
|
const theirs = remote[id] ?? {};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
50
|
+
return {
|
|
51
|
+
id,
|
|
52
|
+
picks: [...new Set([...Object.keys(theirs), ...Object.keys(mine)])].map((platform) => ({
|
|
53
|
+
platform,
|
|
54
|
+
own: mine[platform],
|
|
55
|
+
binding: chooseBinding(mine[platform], theirs[platform], base?.[id]?.[platform], base !== void 0)
|
|
56
|
+
}))
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
const picks = chosen.flatMap(({ picks: picks$1 }) => picks$1);
|
|
60
|
+
const key = (platform, binding) => JSON.stringify([platform, binding.paywallId]);
|
|
61
|
+
for (let changed = true; changed;) {
|
|
62
|
+
changed = false;
|
|
63
|
+
const users = /* @__PURE__ */ new Map();
|
|
64
|
+
for (const { platform, binding } of picks) if (binding) users.set(key(platform, binding), (users.get(key(platform, binding)) ?? 0) + 1);
|
|
65
|
+
for (const pick of picks) {
|
|
66
|
+
if (!pick.binding || pick.binding === pick.own) continue;
|
|
67
|
+
if ((users.get(key(pick.platform, pick.binding)) ?? 0) < 2) continue;
|
|
68
|
+
pick.binding = pick.own;
|
|
69
|
+
changed = true;
|
|
44
70
|
}
|
|
45
|
-
|
|
71
|
+
}
|
|
72
|
+
const merged = {};
|
|
73
|
+
for (const { id, picks: picks$1 } of chosen) {
|
|
74
|
+
const bindings = {};
|
|
75
|
+
for (const { platform, binding } of picks$1) if (binding) bindings[platform] = binding;
|
|
76
|
+
const emptyHere = id in local && Object.keys(local[id] ?? {}).length === 0;
|
|
77
|
+
if (Object.keys(bindings).length > 0 || emptyHere) merged[id] = bindings;
|
|
46
78
|
}
|
|
47
79
|
return merged;
|
|
48
80
|
};
|
|
49
81
|
function sharedPlatforms(local, remote, platforms) {
|
|
82
|
+
const pulled = platforms === void 0 ? void 0 : new Set(platforms.map((platform) => local.apps[platform]).filter((app) => app !== void 0));
|
|
50
83
|
const shared = /* @__PURE__ */ new Set();
|
|
51
84
|
for (const [platform, applicationId] of Object.entries(remote.apps)) {
|
|
52
|
-
if (platforms
|
|
85
|
+
if (!(platforms === void 0 || platforms.includes(platform)) && !pulled?.has(local.apps[platform] ?? "")) continue;
|
|
53
86
|
const mine = local.apps[platform];
|
|
54
87
|
if (mine !== void 0 && mine !== applicationId) continue;
|
|
55
88
|
shared.add(platform);
|
|
@@ -64,7 +97,15 @@ const onlyPlatforms = (section, allowed) => {
|
|
|
64
97
|
}
|
|
65
98
|
return kept;
|
|
66
99
|
};
|
|
67
|
-
function
|
|
100
|
+
function syncedLock(text) {
|
|
101
|
+
if (text === void 0) return void 0;
|
|
102
|
+
try {
|
|
103
|
+
return parseLock(text, "The superwall.lock at the last sync");
|
|
104
|
+
} catch {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function mergePulledLock(local, remoteText, platforms, baseText) {
|
|
68
109
|
if (remoteText === void 0) return local;
|
|
69
110
|
let remote;
|
|
70
111
|
try {
|
|
@@ -75,17 +116,20 @@ function mergePulledLock(local, remoteText, platforms) {
|
|
|
75
116
|
return local;
|
|
76
117
|
}
|
|
77
118
|
const allowed = sharedPlatforms(local, remote, platforms);
|
|
119
|
+
const apps = Object.fromEntries(Object.entries(remote.apps).filter(([platform]) => allowed.has(platform)));
|
|
120
|
+
const base = syncedLock(baseText);
|
|
78
121
|
const merged = {
|
|
79
122
|
version: 1,
|
|
80
123
|
apps: {
|
|
81
|
-
...
|
|
124
|
+
...apps,
|
|
82
125
|
...local.apps
|
|
83
126
|
},
|
|
84
|
-
paywalls: mergeSection(local.paywalls, onlyPlatforms(remote.paywalls, allowed)),
|
|
85
|
-
funnels: mergeSection(local.funnels, onlyPlatforms(remote.funnels, allowed))
|
|
127
|
+
paywalls: mergeSection(local.paywalls, onlyPlatforms(remote.paywalls, allowed), base && onlyPlatforms(base.paywalls, allowed)),
|
|
128
|
+
funnels: mergeSection(local.funnels, onlyPlatforms(remote.funnels, allowed), base && onlyPlatforms(base.funnels, allowed))
|
|
86
129
|
};
|
|
130
|
+
const kept = new Set([...Object.keys(merged.paywalls).map((id) => originKey("paywall", id)), ...Object.keys(merged.funnels).map((id) => originKey("funnel", id))]);
|
|
87
131
|
const origins = {
|
|
88
|
-
...remote.origins,
|
|
132
|
+
...Object.fromEntries(Object.entries(remote.origins ?? {}).filter(([key]) => kept.has(key))),
|
|
89
133
|
...local.origins
|
|
90
134
|
};
|
|
91
135
|
if (Object.keys(origins).length > 0) merged.origins = origins;
|
|
@@ -189,7 +233,7 @@ async function pullInto(superwallDir, access, theirs, platforms) {
|
|
|
189
233
|
theirs
|
|
190
234
|
});
|
|
191
235
|
if (pulled.status === "empty") return void 0;
|
|
192
|
-
const lock = mergePulledLock(readLock(superwallDir), pulled.lock, platforms);
|
|
236
|
+
const lock = mergePulledLock(readLock(superwallDir), pulled.lock, platforms, pulled.baseLock);
|
|
193
237
|
const applied = applyPulledChanges(superwallDir, pulled.changes, new Set(files.map((file) => file.path)));
|
|
194
238
|
writeLock(superwallDir, lock);
|
|
195
239
|
writeSourceBase(superwallDir, access.repo, pulled.head);
|
|
@@ -243,6 +287,8 @@ async function runClone(appRef, root, flags, api) {
|
|
|
243
287
|
const manager = await detectPackageManager(superwallDir);
|
|
244
288
|
const where = path.relative(process.cwd(), superwallDir) || ".";
|
|
245
289
|
ui.info([`${pc.bold(`${platform} app ${applicationId}`)} pulled ${written.length} ${written.length === 1 ? "file" : "files"} into ${where}`, ...describeChanges(written)].join("\n"));
|
|
290
|
+
const note = selectWorkspaceInstallNote(manager, superwallDir);
|
|
291
|
+
if (note !== void 0) ui.info(note);
|
|
246
292
|
ui.outro(`Next: cd ${where} && ${manager} install && ${devCommand(manager)}`);
|
|
247
293
|
}
|
|
248
294
|
async function runPull(ctx, { args, flags }) {
|
|
@@ -1,43 +1,37 @@
|
|
|
1
|
-
import "./token-
|
|
2
|
-
import "./
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import "./
|
|
27
|
-
import
|
|
28
|
-
import "./organization-7vJA3uy1.js";
|
|
1
|
+
import "./token-CWQ6tdva.js";
|
|
2
|
+
import "./storage-BR6imSqm.js";
|
|
3
|
+
import "./environment-sE2wZYdg.js";
|
|
4
|
+
import "./config-DOp5oChe.js";
|
|
5
|
+
import "./skills-BB1uIt8t.js";
|
|
6
|
+
import "./scan-ViBhmrB7.js";
|
|
7
|
+
import "./resources-XwvXA20E.js";
|
|
8
|
+
import "./orgs-DQQJ3sw_.js";
|
|
9
|
+
import "./ui-hFgji1e8.js";
|
|
10
|
+
import "./spinner-BQp7fQvK.js";
|
|
11
|
+
import "./org-BD8U3D1_.js";
|
|
12
|
+
import "./theme-Ed0gz6hr.js";
|
|
13
|
+
import "./lookup-DqmIbUkv.js";
|
|
14
|
+
import "./types-Dc9U_4kp.js";
|
|
15
|
+
import "./session-BfVx50iA.js";
|
|
16
|
+
import "./existing--peXpOZj.js";
|
|
17
|
+
import "./paths-CIlyzF2I.js";
|
|
18
|
+
import "./setup-a4B72xJ8.js";
|
|
19
|
+
import "./framework-DW5fqjh4.js";
|
|
20
|
+
import "./login-C6X7JrhM.js";
|
|
21
|
+
import "./browser-BVjaf98V.js";
|
|
22
|
+
import "./login-DXhm9L0F.js";
|
|
23
|
+
import { n as pullSourceTree } from "./git-Hf9Wc7Hp.js";
|
|
24
|
+
import { t as ARTIFACT_DERIVED_FILES } from "./scope-Cg1AdAfO.js";
|
|
25
|
+
import { E as mintSourceAccess, d as resolveArtifact, g as writeBinding, h as readSourceFile, m as readBinding, u as projectRoot } from "./resolve-DO7bPota.js";
|
|
26
|
+
import { t as ArtifactError } from "./project-BomArwSj.js";
|
|
27
|
+
import "./organization-D-ZlB3qU.js";
|
|
29
28
|
import "./download-DhGd4hOB.js";
|
|
30
|
-
import "./sdk-
|
|
31
|
-
import "./base-
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./login-Jp6E6d2e.js";
|
|
37
|
-
import { r as pullSourceTree, t as collectSourceFiles } from "./source-BccdO4aL.js";
|
|
38
|
-
import "./setup-C6NFy14d.js";
|
|
39
|
-
import { n as applyPulledChanges } from "./pull-AoUmaiMK.js";
|
|
40
|
-
import { a as toSourceAccess } from "./push-BrzMFd4Z.js";
|
|
29
|
+
import "./sdk-BFunw4Hc.js";
|
|
30
|
+
import "./base-CAU0hWoI.js";
|
|
31
|
+
import "./selection-C07e_GGY.js";
|
|
32
|
+
import { t as collectSourceFiles } from "./source-DQs6iLtC.js";
|
|
33
|
+
import { n as applyPulledChanges } from "./pull-CCXhb2a7.js";
|
|
34
|
+
import { a as toSourceAccess } from "./push-DiMDwGfe.js";
|
|
41
35
|
import * as fs from "node:fs";
|
|
42
36
|
import * as path from "node:path";
|
|
43
37
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./token-CWQ6tdva.js";
|
|
2
|
+
import "./storage-BR6imSqm.js";
|
|
3
|
+
import "./environment-sE2wZYdg.js";
|
|
4
|
+
import "./config-DOp5oChe.js";
|
|
5
|
+
import "./skills-BB1uIt8t.js";
|
|
6
|
+
import "./scan-ViBhmrB7.js";
|
|
7
|
+
import "./resources-XwvXA20E.js";
|
|
8
|
+
import "./orgs-DQQJ3sw_.js";
|
|
9
|
+
import "./ui-hFgji1e8.js";
|
|
10
|
+
import "./spinner-BQp7fQvK.js";
|
|
11
|
+
import "./org-BD8U3D1_.js";
|
|
12
|
+
import "./theme-Ed0gz6hr.js";
|
|
13
|
+
import "./lookup-DqmIbUkv.js";
|
|
14
|
+
import "./types-Dc9U_4kp.js";
|
|
15
|
+
import "./session-BfVx50iA.js";
|
|
16
|
+
import "./existing--peXpOZj.js";
|
|
17
|
+
import "./paths-CIlyzF2I.js";
|
|
18
|
+
import "./setup-a4B72xJ8.js";
|
|
19
|
+
import "./framework-DW5fqjh4.js";
|
|
20
|
+
import "./login-C6X7JrhM.js";
|
|
21
|
+
import "./browser-BVjaf98V.js";
|
|
22
|
+
import "./login-DXhm9L0F.js";
|
|
23
|
+
import "./git-Hf9Wc7Hp.js";
|
|
24
|
+
import "./scope-Cg1AdAfO.js";
|
|
25
|
+
import "./base-CAU0hWoI.js";
|
|
26
|
+
import "./selection-C07e_GGY.js";
|
|
27
|
+
import "./source-DQs6iLtC.js";
|
|
28
|
+
import { a as cloneInto, c as pullInto, i as boundPaywall, l as runPull, n as applyPulledChanges, o as cloneTarget, r as appsToPull, s as mergePulledLock, t as PullPathError } from "./pull-CCXhb2a7.js";
|
|
29
|
+
|
|
30
|
+
export { PullPathError, applyPulledChanges, appsToPull, boundPaywall, cloneInto, cloneTarget, mergePulledLock, pullInto, runPull };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./token-CWQ6tdva.js";
|
|
2
|
+
import "./storage-BR6imSqm.js";
|
|
3
|
+
import "./environment-sE2wZYdg.js";
|
|
4
|
+
import "./config-DOp5oChe.js";
|
|
5
|
+
import "./skills-BB1uIt8t.js";
|
|
6
|
+
import "./scan-ViBhmrB7.js";
|
|
7
|
+
import "./resources-XwvXA20E.js";
|
|
8
|
+
import "./orgs-DQQJ3sw_.js";
|
|
9
|
+
import "./ui-hFgji1e8.js";
|
|
10
|
+
import "./spinner-BQp7fQvK.js";
|
|
11
|
+
import "./lookup-DqmIbUkv.js";
|
|
12
|
+
import "./types-Dc9U_4kp.js";
|
|
13
|
+
import "./session-BfVx50iA.js";
|
|
14
|
+
import "./paths-CIlyzF2I.js";
|
|
15
|
+
import "./framework-DW5fqjh4.js";
|
|
16
|
+
import "./login-C6X7JrhM.js";
|
|
17
|
+
import "./browser-BVjaf98V.js";
|
|
18
|
+
import "./login-DXhm9L0F.js";
|
|
19
|
+
import "./git-Hf9Wc7Hp.js";
|
|
20
|
+
import "./scope-Cg1AdAfO.js";
|
|
21
|
+
import "./base-CAU0hWoI.js";
|
|
22
|
+
import "./selection-C07e_GGY.js";
|
|
23
|
+
import "./source-DQs6iLtC.js";
|
|
24
|
+
import "./assets-PyuXe45Y.js";
|
|
25
|
+
import "./design-lint-mgO-2SGS.js";
|
|
26
|
+
import "./source-push-w7miTr6m.js";
|
|
27
|
+
import { i as timed, n as runPush, r as runPushPipeline, t as group } from "./push-DJMGG7zW.js";
|
|
28
|
+
|
|
29
|
+
export { group, runPush, runPushPipeline, timed };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./token-CWQ6tdva.js";
|
|
2
|
+
import "./storage-BR6imSqm.js";
|
|
3
|
+
import "./environment-sE2wZYdg.js";
|
|
4
|
+
import "./config-DOp5oChe.js";
|
|
5
|
+
import "./resources-XwvXA20E.js";
|
|
6
|
+
import "./orgs-DQQJ3sw_.js";
|
|
7
|
+
import "./ui-hFgji1e8.js";
|
|
8
|
+
import "./spinner-BQp7fQvK.js";
|
|
9
|
+
import "./lookup-DqmIbUkv.js";
|
|
10
|
+
import "./types-Dc9U_4kp.js";
|
|
11
|
+
import "./git-Hf9Wc7Hp.js";
|
|
12
|
+
import "./scope-Cg1AdAfO.js";
|
|
13
|
+
import "./resolve-DO7bPota.js";
|
|
14
|
+
import "./project-BomArwSj.js";
|
|
15
|
+
import "./organization-D-ZlB3qU.js";
|
|
16
|
+
import "./download-DhGd4hOB.js";
|
|
17
|
+
import "./sdk-BFunw4Hc.js";
|
|
18
|
+
import "./source-DQs6iLtC.js";
|
|
19
|
+
import { a as toSourceAccess, i as slugOfName, n as namesOf, o as waitForBuild, r as runArtifactPush, t as IncomingCommitsRefused } from "./push-DiMDwGfe.js";
|
|
20
|
+
|
|
21
|
+
export { IncomingCommitsRefused, namesOf, runArtifactPush, slugOfName, toSourceAccess, waitForBuild };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { x as VERSION } from "./environment-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { x as VERSION } from "./environment-sE2wZYdg.js";
|
|
2
|
+
import { C as pushPaywallVersion, D as versionProducts, b as platformStore, g as livePaywall, w as pushedProducts, x as promotePaywallVersion, y as platformLabel } from "./resources-XwvXA20E.js";
|
|
3
|
+
import { n as ui } from "./ui-hFgji1e8.js";
|
|
4
|
+
import { a as describeBindings, f as readLock, g as writeBindings, n as collectProjectDeclarations, p as removeBinding, r as writeProjectTypes, y as writeSnapshot } from "./types-Dc9U_4kp.js";
|
|
5
|
+
import { i as writeProjectScaffold, l as resolveApps, n as requireApi, s as platformFor } from "./session-BfVx50iA.js";
|
|
6
|
+
import { i as resolveFramework, n as frameworkVersion } from "./framework-DW5fqjh4.js";
|
|
7
|
+
import { a as surfaceKey, i as planTargets, o as targetLabel, r as parsePlatformFlags, s as wantedPlatforms } from "./base-CAU0hWoI.js";
|
|
8
|
+
import { _ as weight, a as resolveProjectDir, 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 } from "./selection-C07e_GGY.js";
|
|
9
|
+
import { t as collectSourceFiles } from "./source-DQs6iLtC.js";
|
|
10
|
+
import { n as requireAssets, r as syncAssets, t as assetBaseUrl } from "./assets-PyuXe45Y.js";
|
|
11
|
+
import { n as lintDesignTokens, t as formatTokenFinding } from "./design-lint-mgO-2SGS.js";
|
|
12
|
+
import { c as projectForApplication, i as warnNotPortable, l as requireProducts, n as pushProjectSource, o as listProjectCatalogue, r as pushSource, t as assertGit, u as resolveBinding } from "./source-push-w7miTr6m.js";
|
|
11
13
|
import { cpus } from "node:os";
|
|
12
14
|
import pc from "picocolors";
|
|
13
15
|
|
|
@@ -395,6 +397,12 @@ async function pushVersion(context, input, lines, note) {
|
|
|
395
397
|
const { target, bind, build } = input;
|
|
396
398
|
const assets = requireAssets(build);
|
|
397
399
|
lines.push(assets.length > 0 ? `Built ${pc.dim(`${kb(build.bytes)} html + ${weight(build.assetBytes ?? 0)} assets`)}` : `Built ${pc.dim(`${kb(build.bytes)} · ${build.snapshotId.slice(0, 8)}`)}`);
|
|
400
|
+
const teleportPages = build.teleportPages ?? [];
|
|
401
|
+
if (teleportPages.length > 0) {
|
|
402
|
+
const bytes = teleportPages.reduce((total, page) => total + Buffer.byteLength(page.html), 0);
|
|
403
|
+
lines.push(`Teleport pages ${pc.dim(`${teleportPages.length} pre-rendered (${kb(bytes)})`)}`);
|
|
404
|
+
}
|
|
405
|
+
for (const warning of build.warnings ?? []) lines.push(pc.yellow(warning));
|
|
398
406
|
note("Syncing assets");
|
|
399
407
|
const synced = await timed(() => syncAssets({
|
|
400
408
|
api: context.api,
|
|
@@ -415,7 +423,9 @@ async function pushVersion(context, input, lines, note) {
|
|
|
415
423
|
assets: synced.value.assets,
|
|
416
424
|
products,
|
|
417
425
|
settings: build.settings,
|
|
418
|
-
locales: build.locales
|
|
426
|
+
locales: build.locales,
|
|
427
|
+
frameworkVersion: input.frameworkVersion,
|
|
428
|
+
teleportPages
|
|
419
429
|
}));
|
|
420
430
|
lines.push(`${pushedLine({
|
|
421
431
|
version: push.value.version,
|
|
@@ -490,7 +500,8 @@ async function runPushPipeline(context, options) {
|
|
|
490
500
|
build,
|
|
491
501
|
stores,
|
|
492
502
|
wasLive,
|
|
493
|
-
promoting: options.promote
|
|
503
|
+
promoting: options.promote,
|
|
504
|
+
frameworkVersion: installed
|
|
494
505
|
}, lines, note);
|
|
495
506
|
writeSnapshot(project.superwallDir, surface.kind, surface.id, target.platform, {
|
|
496
507
|
snapshot: build.snapshotId,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { x as VERSION } from "./environment-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { s as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { i as
|
|
1
|
+
import { x as VERSION } from "./environment-sE2wZYdg.js";
|
|
2
|
+
import { b as ApiUnreachableError, y as ApiError } from "./config-DOp5oChe.js";
|
|
3
|
+
import { r as pushSourceTree, t as gitAvailable } from "./git-Hf9Wc7Hp.js";
|
|
4
|
+
import { E as mintSourceAccess, S as listArtifacts, b as getBuild, c as openLink, g as writeBinding, h as readSourceFile, i as installHints, k as startBuild, m as readBinding, p as visibilityOf, s as notInstalledOf, v as createArtifact, x as getMe } from "./resolve-DO7bPota.js";
|
|
5
|
+
import { s as readProject, t as ArtifactError } from "./project-BomArwSj.js";
|
|
6
|
+
import { n as resolveOrganization } from "./organization-D-ZlB3qU.js";
|
|
7
|
+
import { i as warnIfSdkBehind, r as vendoredVersion } from "./sdk-BFunw4Hc.js";
|
|
8
|
+
import { t as collectSourceFiles } from "./source-DQs6iLtC.js";
|
|
8
9
|
import { setTimeout } from "node:timers/promises";
|
|
9
10
|
|
|
10
11
|
//#region src/core/artifacts/push.ts
|
|
@@ -272,10 +273,15 @@ async function runArtifactPush(ctx, input, seams = {}) {
|
|
|
272
273
|
}
|
|
273
274
|
spin.stop(`Built version ${build.version_id}`);
|
|
274
275
|
const { visibleTo, sentence } = await visibilityOf(ctx, binding.artifactId, build.version_id, project.manifest);
|
|
276
|
+
const hints = await installHints(ctx.api, {
|
|
277
|
+
id: Number(binding.artifactId),
|
|
278
|
+
organization_id: Number(binding.organizationId)
|
|
279
|
+
}, build.version?.manifest ?? project.manifest);
|
|
275
280
|
if (ctx.json) {
|
|
276
281
|
ctx.output.data({
|
|
277
282
|
...summary,
|
|
278
|
-
visible_to: visibleTo
|
|
283
|
+
visible_to: visibleTo,
|
|
284
|
+
not_installed: hints.map(notInstalledOf)
|
|
279
285
|
});
|
|
280
286
|
return;
|
|
281
287
|
}
|
|
@@ -283,6 +289,7 @@ async function runArtifactPush(ctx, input, seams = {}) {
|
|
|
283
289
|
if (pushed.incoming?.length) ctx.ui.warn(`It runs commits from ${namesOf(pushed.incoming)} with your reads, and they aren't in this project yet. Run \`superwall artifacts pull\` to get them.`);
|
|
284
290
|
ctx.ui.info(link.app ? `Open ${url} (in ${link.app})` : `Open ${url}`);
|
|
285
291
|
if (link.otherApps) ctx.ui.info("Each of your other apps has the same page.");
|
|
292
|
+
for (const hint of hints) ctx.ui.info(hint.sentence);
|
|
286
293
|
ctx.ui.info("To ask for review, run `superwall artifacts share`.");
|
|
287
294
|
}
|
|
288
295
|
|