@funnelsgrove/cli 0.1.390 → 0.1.394
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 +1 -0
- package/dist/cli.js +10 -1
- package/dist/setupCommands.d.ts +20 -0
- package/dist/setupCommands.js +34 -0
- package/funnel-contract-compatibility.json +28 -28
- package/package.json +4 -4
- package/template_docs/.funnelsgrove-docs.json +3 -3
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_docs/funnel-docs.config.json +1 -1
- package/template_scaffold/.funnelsgrove-docs.json +3 -3
- package/template_scaffold/.funnelsgrove-scaffold.json +7 -7
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/funnel-docs.config.json +1 -1
- package/template_scaffold/package-lock.json +15 -15
- package/template_scaffold/package.json +3 -3
package/README.md
CHANGED
|
@@ -214,6 +214,7 @@ fgrove setup check stripe_setup # confirm the live webhook with Stripe
|
|
|
214
214
|
fgrove setup check meta_pixel --test-event-code TEST12345
|
|
215
215
|
fgrove setup complete legal_support
|
|
216
216
|
fgrove setup meta-traffic off # the project does not buy Meta traffic
|
|
217
|
+
fgrove setup domain go.yourapp.com # attach your domain to the funnel and its route; prints the DNS record
|
|
217
218
|
fgrove setup secrets stripe-test # single-use link to a FunnelsGrove form for Stripe keys
|
|
218
219
|
```
|
|
219
220
|
|
package/dist/cli.js
CHANGED
|
@@ -21,7 +21,7 @@ import { exportFunnelSource } from './sourceExport.js';
|
|
|
21
21
|
import { executeFastDraftPatchSync, uploadDirectAssetWithFetch } from './draftPatchSync.js';
|
|
22
22
|
import { updateCliInstallations } from './selfUpdate.js';
|
|
23
23
|
import { executeExpensePublish, executeExpensePull } from './expenseCommands.js';
|
|
24
|
-
import { createSetupSecretLink, formatSetupStatus, formatStepDocs, readSetupGuide, readSetupStatus, runSetupCheck, setSetupMetaTraffic, setSetupStepCompleted, } from './setupCommands.js';
|
|
24
|
+
import { assignSetupDomain, createSetupSecretLink, formatSetupDomain, formatSetupStatus, formatStepDocs, readSetupGuide, readSetupStatus, runSetupCheck, setSetupMetaTraffic, setSetupStepCompleted, } from './setupCommands.js';
|
|
25
25
|
import { buildAlertStatisticsReport, fetchAlertStatistics, fetchPreventSummary, formatAlertRows, formatAlertStatistics, formatPreventRows, formatPreventSummary, listAlerts, listPreventSearches, parseAlertMonth, toAlertJsonRow, } from './alertCommands.js';
|
|
26
26
|
import { cancelUserSubscription, findUser, formatUserCancellation, formatUserFind, formatUserLookup, formatUserRefunds, formatRefundPreview, lookupUser, parseUserSelector, previewRefund, refundUserPayments, } from './userCommands.js';
|
|
27
27
|
import { buildBugReport, formatBugReportPreview, resolveBugReportContext, submitBugReport, } from './bugReportCommands.js';
|
|
@@ -2178,6 +2178,7 @@ const setupCommand = addExamples(program.command('setup').description('Follow th
|
|
|
2178
2178
|
'fgrove setup check meta_pixel --test-event-code TEST12345',
|
|
2179
2179
|
'fgrove setup complete legal_support',
|
|
2180
2180
|
'fgrove setup meta-traffic off',
|
|
2181
|
+
'fgrove setup domain go.yourapp.com',
|
|
2181
2182
|
'fgrove setup secrets stripe-test',
|
|
2182
2183
|
]);
|
|
2183
2184
|
addSetupScopeOptions(setupCommand
|
|
@@ -2234,6 +2235,14 @@ addSetupScopeOptions(setupCommand
|
|
|
2234
2235
|
const result = await setSetupMetaTraffic(scope, value === 'on');
|
|
2235
2236
|
printSetupResult(options, result, `metaTraffic\t${value}`);
|
|
2236
2237
|
});
|
|
2238
|
+
addSetupScopeOptions(setupCommand
|
|
2239
|
+
.command('domain <hostname>')
|
|
2240
|
+
.description('Attach your own domain to the funnel and its traffic route, then print the DNS record to add'))
|
|
2241
|
+
.action(async (hostname, options) => {
|
|
2242
|
+
const { scope, funnelId } = await resolveSetupScope(options);
|
|
2243
|
+
const result = await assignSetupDomain(scope, hostname, { funnelId });
|
|
2244
|
+
printSetupResult(options, result, formatSetupDomain(result));
|
|
2245
|
+
});
|
|
2237
2246
|
addSetupScopeOptions(setupCommand
|
|
2238
2247
|
.command('secrets <stripe-test|stripe-live|meta>')
|
|
2239
2248
|
.description('Create a single-use link to a FunnelsGrove form for Stripe keys or the Meta token; values never pass through the CLI'))
|
package/dist/setupCommands.d.ts
CHANGED
|
@@ -112,4 +112,24 @@ export declare const createSetupSecretLink: (scope: SetupScope, kind: string) =>
|
|
|
112
112
|
kind: string;
|
|
113
113
|
expiresAt: string;
|
|
114
114
|
}>;
|
|
115
|
+
type SetupDomain = {
|
|
116
|
+
id: string;
|
|
117
|
+
domain: string;
|
|
118
|
+
funnelId: string | null;
|
|
119
|
+
status: string;
|
|
120
|
+
cnameTarget: string | null;
|
|
121
|
+
verificationRecords: Array<{
|
|
122
|
+
type: string;
|
|
123
|
+
domain: string;
|
|
124
|
+
value: string;
|
|
125
|
+
}>;
|
|
126
|
+
};
|
|
127
|
+
/** ONB-BR-043: the console's assignDomain; the domain is linked to the funnel and its traffic route at once. */
|
|
128
|
+
export declare const assignSetupDomain: (scope: SetupScope, domain: string, options: {
|
|
129
|
+
funnelId?: string;
|
|
130
|
+
}) => Promise<{
|
|
131
|
+
funnelId: string;
|
|
132
|
+
domain: SetupDomain;
|
|
133
|
+
}>;
|
|
134
|
+
export declare const formatSetupDomain: ({ funnelId, domain }: Awaited<ReturnType<typeof assignSetupDomain>>) => string;
|
|
115
135
|
export {};
|
package/dist/setupCommands.js
CHANGED
|
@@ -165,3 +165,37 @@ export const createSetupSecretLink = async (scope, kind) => {
|
|
|
165
165
|
data: { ...projectScope(scope), kind: apiKind },
|
|
166
166
|
});
|
|
167
167
|
};
|
|
168
|
+
/** ONB-BR-043: the console's assignDomain; the domain is linked to the funnel and its traffic route at once. */
|
|
169
|
+
export const assignSetupDomain = async (scope, domain, options) => {
|
|
170
|
+
const hostname = domain.trim().toLowerCase().replace(/^https?:\/\//, '').replace(/\/.*$/, '');
|
|
171
|
+
if (!hostname)
|
|
172
|
+
throw new Error('Pass a domain, for example fgrove setup domain go.yourapp.com');
|
|
173
|
+
const funnelId = options.funnelId || (await readSetupGuide(scope)).selectedFunnelId;
|
|
174
|
+
if (!funnelId)
|
|
175
|
+
throw new Error('Create your funnel first, then run fgrove setup domain again.');
|
|
176
|
+
const routing = await scope.callApi({
|
|
177
|
+
path: 'projects.assignDomain',
|
|
178
|
+
type: 'mutation',
|
|
179
|
+
token: scope.token,
|
|
180
|
+
data: { ...projectScope(scope), funnelId, domain: hostname },
|
|
181
|
+
});
|
|
182
|
+
const assigned = routing.projectDomainAssignments.find((candidate) => candidate.domain === hostname);
|
|
183
|
+
if (!assigned)
|
|
184
|
+
throw new Error(`FunnelsGrove did not return ${hostname} after assigning it.`);
|
|
185
|
+
return { funnelId, domain: assigned };
|
|
186
|
+
};
|
|
187
|
+
export const formatSetupDomain = ({ funnelId, domain }) => {
|
|
188
|
+
const records = [
|
|
189
|
+
...(domain.cnameTarget ? [`CNAME\t${domain.domain}\t${domain.cnameTarget}`] : []),
|
|
190
|
+
...domain.verificationRecords.map((record) => `${record.type}\t${record.domain}\t${record.value}`),
|
|
191
|
+
];
|
|
192
|
+
return [
|
|
193
|
+
`${domain.domain}\t${domain.status}\tfunnel ${funnelId}`,
|
|
194
|
+
...(domain.status === 'verified' || records.length === 0
|
|
195
|
+
? []
|
|
196
|
+
: [`Add ${records.length === 1 ? 'this DNS record' : 'these DNS records'}:`, ...records]),
|
|
197
|
+
domain.status === 'verified'
|
|
198
|
+
? 'The domain is verified.'
|
|
199
|
+
: 'Then run fgrove setup check custom_domain until the domain is verified.',
|
|
200
|
+
].join('\n');
|
|
201
|
+
};
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.394",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.387",
|
|
11
11
|
"stepContractVersion": 3,
|
|
12
12
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
13
13
|
"managedFiles": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
48
|
-
"sha256": "
|
|
48
|
+
"sha256": "831c1168ae9f1def454e495a92e19974ff8de7b54b8e6665f4f8d427ee1f0154"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"path": "funnel-docs.config.json",
|
|
148
|
-
"sha256": "
|
|
148
|
+
"sha256": "bdedcb98d0fabb5c659eb9105e1b10306bbd3cbee58897c3a05ccda7d2f06fff"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.393",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.386",
|
|
158
158
|
"stepContractVersion": 3,
|
|
159
159
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
160
160
|
"managedFiles": [
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
195
|
-
"sha256": "
|
|
195
|
+
"sha256": "7ce50d62b61683fa35a54f61d0ce5b5add484676d6eea75704b24d5e0ffba678"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -292,16 +292,16 @@
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"path": "funnel-docs.config.json",
|
|
295
|
-
"sha256": "
|
|
295
|
+
"sha256": "b0d2b5fc0cfc06cfbb29f4845b520349cd09bfca5cad8aaa2da463adaf41a9ad"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.392",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.385",
|
|
305
305
|
"stepContractVersion": 3,
|
|
306
306
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
307
307
|
"managedFiles": [
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
342
|
-
"sha256": "
|
|
342
|
+
"sha256": "d5606e76d2e25344d0d67f2443772722ef85c1104416b58ed6433f7a5ce798ba"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -439,16 +439,16 @@
|
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
"path": "funnel-docs.config.json",
|
|
442
|
-
"sha256": "
|
|
442
|
+
"sha256": "dd341d481aff2f0fe7431b8747fb11325f8cfba1b9f1cc77659fbcc481f6c86f"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.391",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.384",
|
|
452
452
|
"stepContractVersion": 3,
|
|
453
453
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
454
454
|
"managedFiles": [
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
489
|
-
"sha256": "
|
|
489
|
+
"sha256": "ecb816a88f07dc802885f0f0ac6120c48d56990af6ec55e71cf8907c581cde82"
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -586,16 +586,16 @@
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
"path": "funnel-docs.config.json",
|
|
589
|
-
"sha256": "
|
|
589
|
+
"sha256": "f49123bec51ad0d6c17aaefc49c8f1b94958763ae52625360477de39ab9df091"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.390",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.383",
|
|
599
599
|
"stepContractVersion": 3,
|
|
600
600
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
601
601
|
"managedFiles": [
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
636
|
-
"sha256": "
|
|
636
|
+
"sha256": "f48822c5e06a270bc43e7f3608a86ec2ad091267ffc672f45c52bf7d4cc6ae1f"
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
639
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -733,16 +733,16 @@
|
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
735
|
"path": "funnel-docs.config.json",
|
|
736
|
-
"sha256": "
|
|
736
|
+
"sha256": "7193d345b5cfce4343a0de55a6a4457941c2c9c0b1ad9e6c7ebcf0dd613ba275"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.389",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.382",
|
|
746
746
|
"stepContractVersion": 3,
|
|
747
747
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
748
748
|
"managedFiles": [
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
782
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
783
|
-
"sha256": "
|
|
783
|
+
"sha256": "5bee507543f9e8b4bfe33f85be213b63cf9d00f0028d3561fe6dfd42b9e99205"
|
|
784
784
|
},
|
|
785
785
|
{
|
|
786
786
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -880,16 +880,16 @@
|
|
|
880
880
|
},
|
|
881
881
|
{
|
|
882
882
|
"path": "funnel-docs.config.json",
|
|
883
|
-
"sha256": "
|
|
883
|
+
"sha256": "42889ded15fee14db792363bfe7bdd5e6084486f5d69912e81fa965b1ddaee19"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.388",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.381",
|
|
893
893
|
"stepContractVersion": 3,
|
|
894
894
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
895
895
|
"managedFiles": [
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
},
|
|
928
928
|
{
|
|
929
929
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
930
|
-
"sha256": "
|
|
930
|
+
"sha256": "bfb57e2f162ac699af453849b607c5f76e29b5b8d2a1d8137a40e67cb901f626"
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
933
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
1029
|
"path": "funnel-docs.config.json",
|
|
1030
|
-
"sha256": "
|
|
1030
|
+
"sha256": "e644eb7e5bfa6cbba595b8971efd26edc213cfccac95f0ae5478ee261fec4869"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnelsgrove/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.394",
|
|
4
4
|
"description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"test": "vitest run"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@funnelsgrove/runtime": "0.
|
|
37
|
+
"@funnelsgrove/runtime": "0.49.0",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"ignore": "^7.0.8",
|
|
40
40
|
"typescript": "^5.8.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@funnelsgrove/analytics": "0.
|
|
44
|
-
"@funnelsgrove/payments": "0.
|
|
43
|
+
"@funnelsgrove/analytics": "0.32.0",
|
|
44
|
+
"@funnelsgrove/payments": "0.79.0",
|
|
45
45
|
"vitest": "^3.0.0"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.387",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
5
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
6
6
|
"managedFiles": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "831c1168ae9f1def454e495a92e19974ff8de7b54b8e6665f4f8d427ee1f0154"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "funnel-docs.config.json",
|
|
141
|
-
"sha256": "
|
|
141
|
+
"sha256": "bdedcb98d0fabb5c659eb9105e1b10306bbd3cbee58897c3a05ccda7d2f06fff"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
|
|
|
17
17
|
|
|
18
18
|
### Package release order
|
|
19
19
|
|
|
20
|
-
Release `@funnelsgrove/sdk` `0.5.0` first, then `@funnelsgrove/runtime` `0.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.5.0` first, then `@funnelsgrove/runtime` `0.49.0`, then `@funnelsgrove/analytics` `0.32.0`, then `@funnelsgrove/payments` `0.79.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.394`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
|
|
21
21
|
<!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
|
|
22
22
|
|
|
23
23
|
## Version-last policy
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.387",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
5
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
6
6
|
"managedFiles": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "831c1168ae9f1def454e495a92e19974ff8de7b54b8e6665f4f8d427ee1f0154"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "funnel-docs.config.json",
|
|
141
|
-
"sha256": "
|
|
141
|
+
"sha256": "bdedcb98d0fabb5c659eb9105e1b10306bbd3cbee58897c3a05ccda7d2f06fff"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "cbb46a951421bf29ecb4a9ea26c85229b6c0c0ff85d70fa1a6726ac8ed000114",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.387",
|
|
6
6
|
"files": [
|
|
7
7
|
{
|
|
8
8
|
"path": ".env.example",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"path": ".funnelsgrove-docs.json",
|
|
19
|
-
"sha256": "
|
|
19
|
+
"sha256": "954cd53a04741dea087d3106c18b0bb2940c79b5a809f175f1d230c86c83bb54",
|
|
20
20
|
"mode": "100644"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
79
|
-
"sha256": "
|
|
79
|
+
"sha256": "831c1168ae9f1def454e495a92e19974ff8de7b54b8e6665f4f8d427ee1f0154",
|
|
80
80
|
"mode": "100644"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"path": "funnel-docs.config.json",
|
|
209
|
-
"sha256": "
|
|
209
|
+
"sha256": "bdedcb98d0fabb5c659eb9105e1b10306bbd3cbee58897c3a05ccda7d2f06fff",
|
|
210
210
|
"mode": "100644"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
@@ -236,12 +236,12 @@
|
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"path": "package-lock.json",
|
|
239
|
-
"sha256": "
|
|
239
|
+
"sha256": "20df02b20b438d3a0cc09e743fdc57b894fe9cc0e026d2dbcc822e4ac6c97be1",
|
|
240
240
|
"mode": "100644"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"path": "package.json",
|
|
244
|
-
"sha256": "
|
|
244
|
+
"sha256": "7197ff311888bbb529b33b160e9140a552d4f6ed13dd9da631846f68a1743bd0",
|
|
245
245
|
"mode": "100644"
|
|
246
246
|
},
|
|
247
247
|
{
|
|
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
|
|
|
17
17
|
|
|
18
18
|
### Package release order
|
|
19
19
|
|
|
20
|
-
Release `@funnelsgrove/sdk` `0.5.0` first, then `@funnelsgrove/runtime` `0.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.5.0` first, then `@funnelsgrove/runtime` `0.49.0`, then `@funnelsgrove/analytics` `0.32.0`, then `@funnelsgrove/payments` `0.79.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.394`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
|
|
21
21
|
<!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
|
|
22
22
|
|
|
23
23
|
## Version-last policy
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"name": "funnel-template",
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@funnelsgrove/analytics": "^0.
|
|
12
|
-
"@funnelsgrove/payments": "^0.
|
|
13
|
-
"@funnelsgrove/runtime": "^0.
|
|
11
|
+
"@funnelsgrove/analytics": "^0.32.0",
|
|
12
|
+
"@funnelsgrove/payments": "^0.79.0",
|
|
13
|
+
"@funnelsgrove/runtime": "^0.49.0",
|
|
14
14
|
"@stripe/react-stripe-js": "^5.6.0",
|
|
15
15
|
"@stripe/stripe-js": "^8.7.0",
|
|
16
16
|
"lucide-react": "^0.553.0",
|
|
@@ -940,17 +940,17 @@
|
|
|
940
940
|
}
|
|
941
941
|
},
|
|
942
942
|
"node_modules/@funnelsgrove/analytics": {
|
|
943
|
-
"version": "0.
|
|
944
|
-
"resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.
|
|
945
|
-
"integrity": "sha512-
|
|
943
|
+
"version": "0.32.0",
|
|
944
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.32.0.tgz",
|
|
945
|
+
"integrity": "sha512-lbpRxh3ZQmxVWoVCJTUn8XbOuN4AujyqWtgVIFnxpAh3o0w20JhV1bJ28HIe8Dhf8UTaTMuB0uWMTfrzC4cKDA==",
|
|
946
946
|
"peerDependencies": {
|
|
947
|
-
"@funnelsgrove/runtime": "^0.
|
|
947
|
+
"@funnelsgrove/runtime": "^0.49.0"
|
|
948
948
|
}
|
|
949
949
|
},
|
|
950
950
|
"node_modules/@funnelsgrove/payments": {
|
|
951
|
-
"version": "0.
|
|
952
|
-
"resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.
|
|
953
|
-
"integrity": "sha512-
|
|
951
|
+
"version": "0.79.0",
|
|
952
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.79.0.tgz",
|
|
953
|
+
"integrity": "sha512-0e9LemOf3Jqq2v79jsyUyd/U3A7SwjykKNL1x4C5LfmabD3Q7pvL6xwJs6lJwbCfrhLLw4TwYfRPprwHjYyuwQ==",
|
|
954
954
|
"dependencies": {
|
|
955
955
|
"@solidgate/react-sdk": "1.34.0",
|
|
956
956
|
"@stripe/react-stripe-js": "^5.6.0",
|
|
@@ -960,14 +960,14 @@
|
|
|
960
960
|
"stripe": "^20.3.1"
|
|
961
961
|
},
|
|
962
962
|
"peerDependencies": {
|
|
963
|
-
"@funnelsgrove/analytics": "^0.
|
|
964
|
-
"@funnelsgrove/runtime": "^0.
|
|
963
|
+
"@funnelsgrove/analytics": "^0.32.0",
|
|
964
|
+
"@funnelsgrove/runtime": "^0.49.0"
|
|
965
965
|
}
|
|
966
966
|
},
|
|
967
967
|
"node_modules/@funnelsgrove/runtime": {
|
|
968
|
-
"version": "0.
|
|
969
|
-
"resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.
|
|
970
|
-
"integrity": "sha512-
|
|
968
|
+
"version": "0.49.0",
|
|
969
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.49.0.tgz",
|
|
970
|
+
"integrity": "sha512-oHg02a1s8OVrSQ9qgrCnTZ6pFd7AgoAmc1a/4YUY00AKCG9V0/fB5OOcO4S97TVyN9ZBsrWx7hhohBkMJ6/O8w==",
|
|
971
971
|
"dependencies": {
|
|
972
972
|
"@funnelsgrove/sdk": "0.5.0",
|
|
973
973
|
"posthog-js": "^1.369.2",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"validate:funnel": "vite-node --config src/contract/funnel-validator.vite.config.ts src/contract/validate-funnel.cli.ts"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@funnelsgrove/analytics": "^0.
|
|
16
|
-
"@funnelsgrove/payments": "^0.
|
|
17
|
-
"@funnelsgrove/runtime": "^0.
|
|
15
|
+
"@funnelsgrove/analytics": "^0.32.0",
|
|
16
|
+
"@funnelsgrove/payments": "^0.79.0",
|
|
17
|
+
"@funnelsgrove/runtime": "^0.49.0",
|
|
18
18
|
"@stripe/react-stripe-js": "^5.6.0",
|
|
19
19
|
"@stripe/stripe-js": "^8.7.0",
|
|
20
20
|
"lucide-react": "^0.553.0",
|