@funnelsgrove/cli 0.1.366 → 0.1.369

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.
Files changed (32) hide show
  1. package/README.md +16 -0
  2. package/dist/cli.js +52 -0
  3. package/dist/projectSetupCommands.d.ts +74 -0
  4. package/dist/projectSetupCommands.js +107 -0
  5. package/funnel-contract-compatibility.json +49 -49
  6. package/package.json +1 -1
  7. package/template_docs/.funnelsgrove-docs.json +10 -10
  8. package/template_docs/docs/funnelsgrove/START-HERE.md +1 -1
  9. package/template_docs/docs/funnelsgrove/contracts/content-answers.md +5 -4
  10. package/template_docs/docs/funnelsgrove/contracts/payments.md +5 -3
  11. package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  12. package/template_docs/docs/funnelsgrove/recipes/add-step.md +1 -1
  13. package/template_docs/docs/funnelsgrove/recipes/edit-step.md +1 -1
  14. package/template_docs/docs/funnelsgrove/steps/paywall_offer.md +26 -3
  15. package/template_docs/docs/funnelsgrove/steps/progress_interstitial.md +13 -0
  16. package/template_docs/funnel-docs.config.json +1 -1
  17. package/template_scaffold/.funnelsgrove-docs.json +10 -10
  18. package/template_scaffold/.funnelsgrove-scaffold.json +13 -33
  19. package/template_scaffold/docs/funnelsgrove/START-HERE.md +1 -1
  20. package/template_scaffold/docs/funnelsgrove/contracts/content-answers.md +5 -4
  21. package/template_scaffold/docs/funnelsgrove/contracts/payments.md +5 -3
  22. package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  23. package/template_scaffold/docs/funnelsgrove/recipes/add-step.md +1 -1
  24. package/template_scaffold/docs/funnelsgrove/recipes/edit-step.md +1 -1
  25. package/template_scaffold/docs/funnelsgrove/steps/paywall_offer.md +26 -3
  26. package/template_scaffold/docs/funnelsgrove/steps/progress_interstitial.md +13 -0
  27. package/template_scaffold/funnel-docs.config.json +1 -1
  28. package/template_scaffold/src/steps/step-content.registry.ts +0 -4
  29. package/template_scaffold/src/steps/editor/email-capture.editor.ts +0 -58
  30. package/template_scaffold/src/steps/editor/step-01.editor.ts +0 -22
  31. package/template_scaffold/src/steps/editor/step-32-paywall.editor.ts +0 -508
  32. package/template_scaffold/src/steps/editor/subscription-started.editor.ts +0 -131
@@ -1,131 +0,0 @@
1
- import type { StepEditorSection } from '@funnelsgrove/runtime';
2
-
3
- export const subscriptionStartedEditor: readonly StepEditorSection[] = [
4
- {
5
- id: 'header',
6
- label: 'Header',
7
- fields: [
8
- {
9
- id: 'kicker',
10
- label: 'Kicker',
11
- kind: 'text',
12
- path: 'kicker',
13
- },
14
- {
15
- id: 'title',
16
- label: 'Title',
17
- kind: 'text',
18
- path: 'title',
19
- },
20
- {
21
- id: 'copyWithQr',
22
- label: 'Copy with QR',
23
- kind: 'textarea',
24
- path: 'copyWithQr',
25
- },
26
- {
27
- id: 'copyWithoutQr',
28
- label: 'Copy without QR',
29
- kind: 'textarea',
30
- path: 'copyWithoutQr',
31
- },
32
- {
33
- id: 'note',
34
- label: 'Note',
35
- kind: 'textarea',
36
- path: 'note',
37
- },
38
- ],
39
- },
40
- {
41
- id: 'actions',
42
- label: 'Actions',
43
- fields: [
44
- {
45
- id: 'openAppLabel',
46
- label: 'Open app label',
47
- kind: 'text',
48
- path: 'openAppLabel',
49
- },
50
- {
51
- id: 'emailButtonLabel',
52
- label: 'Email button label',
53
- kind: 'text',
54
- path: 'emailButtonLabel',
55
- },
56
- {
57
- id: 'qrOpenLabel',
58
- label: 'QR open label',
59
- kind: 'text',
60
- path: 'qrOpenLabel',
61
- },
62
- {
63
- id: 'storeLinks',
64
- label: 'Store links',
65
- kind: 'list',
66
- path: 'storeLinks',
67
- preset: 'storeLinkItems',
68
- },
69
- ],
70
- },
71
- {
72
- id: 'email',
73
- label: 'Email',
74
- fields: [
75
- {
76
- id: 'emailSubject',
77
- label: 'Email subject',
78
- kind: 'text',
79
- path: 'emailSubject',
80
- },
81
- {
82
- id: 'emailIntro',
83
- label: 'Email intro',
84
- kind: 'textarea',
85
- path: 'emailIntro',
86
- },
87
- {
88
- id: 'emailOpenAppLabel',
89
- label: 'Email open app label',
90
- kind: 'text',
91
- path: 'emailOpenAppLabel',
92
- },
93
- {
94
- id: 'emailIosDeepLinkLabel',
95
- label: 'Email iOS deep link label',
96
- kind: 'text',
97
- path: 'emailIosDeepLinkLabel',
98
- },
99
- {
100
- id: 'emailAndroidDeepLinkLabel',
101
- label: 'Email Android deep link label',
102
- kind: 'text',
103
- path: 'emailAndroidDeepLinkLabel',
104
- },
105
- {
106
- id: 'emailStoreLabels.ios',
107
- label: 'Email iOS store label',
108
- kind: 'text',
109
- path: 'emailStoreLabels.ios',
110
- },
111
- {
112
- id: 'emailStoreLabels.android',
113
- label: 'Email Android store label',
114
- kind: 'text',
115
- path: 'emailStoreLabels.android',
116
- },
117
- {
118
- id: 'emailSentStatus',
119
- label: 'Email sent status',
120
- kind: 'text',
121
- path: 'emailSentStatus',
122
- },
123
- {
124
- id: 'autoOpenStatus',
125
- label: 'Auto-open status',
126
- kind: 'text',
127
- path: 'autoOpenStatus',
128
- },
129
- ],
130
- },
131
- ] as const;