@funnelsgrove/cli 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analyticsOutput.d.ts +11 -0
- package/dist/analyticsOutput.js +63 -16
- package/funnel-contract-compatibility.json +29 -29
- package/package.json +1 -1
- 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 +6 -6
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/funnel-agent-docs.test.ts +1 -1
- package/template_scaffold/funnel-docs.config.json +1 -1
|
@@ -101,6 +101,7 @@ export type MarketingCohortPerformanceRow = {
|
|
|
101
101
|
funnelUrl: string;
|
|
102
102
|
mediaSource: string;
|
|
103
103
|
spend: number;
|
|
104
|
+
spendCurrency: string | null;
|
|
104
105
|
subscribers: number;
|
|
105
106
|
subscribersAlive: number;
|
|
106
107
|
subscribersAlivePercent: number | null;
|
|
@@ -108,6 +109,16 @@ export type MarketingCohortPerformanceRow = {
|
|
|
108
109
|
revenueDay3: number;
|
|
109
110
|
revenueDay90: number;
|
|
110
111
|
revenueDay180: number;
|
|
112
|
+
revenueCurrency: string | null;
|
|
113
|
+
revenueCurrencySafe: boolean;
|
|
114
|
+
predictedNetRevenueDay3Minor: number | null;
|
|
115
|
+
predictedNetRevenueDay3Currency: string | null;
|
|
116
|
+
predictedNetRevenueDay90Minor: number | null;
|
|
117
|
+
predictedNetRevenueDay90Currency: string | null;
|
|
118
|
+
predictedNetRevenueDay180Minor: number | null;
|
|
119
|
+
predictedNetRevenueDay180Currency: string | null;
|
|
120
|
+
predictedNetRevenueDay365Minor: number | null;
|
|
121
|
+
predictedNetRevenueDay365Currency: string | null;
|
|
111
122
|
pLtvCurrency: string | null;
|
|
112
123
|
pLtv: number | null;
|
|
113
124
|
pLtvPredictedNetRevenueDay365Minor: number | null;
|
package/dist/analyticsOutput.js
CHANGED
|
@@ -226,9 +226,16 @@ export const formatConversionsTable = (input) => {
|
|
|
226
226
|
};
|
|
227
227
|
const flattenCohortRows = (rows) => rows.flatMap((row) => [row, ...(row.segments || []), ...(row.children || [])]);
|
|
228
228
|
const normalizeCurrency = (value) => {
|
|
229
|
-
|
|
229
|
+
if (typeof value !== 'string') {
|
|
230
|
+
return null;
|
|
231
|
+
}
|
|
232
|
+
const currency = value.trim().toUpperCase();
|
|
230
233
|
return /^[A-Z]{3}$/.test(currency) ? currency : null;
|
|
231
234
|
};
|
|
235
|
+
const sameCurrency = (left, right) => {
|
|
236
|
+
const normalizedLeft = normalizeCurrency(left);
|
|
237
|
+
return normalizedLeft !== null && normalizedLeft === normalizeCurrency(right);
|
|
238
|
+
};
|
|
232
239
|
const predictedAverageLtv = (row) => {
|
|
233
240
|
if (!normalizeCurrency(row.pLtvCurrency)) {
|
|
234
241
|
return null;
|
|
@@ -245,19 +252,49 @@ const predictedAverageLtv = (row) => {
|
|
|
245
252
|
? row.pLtv
|
|
246
253
|
: null;
|
|
247
254
|
};
|
|
248
|
-
const ratioToSpend = (value, spend) => (Number.isFinite(value) && Number.isFinite(spend) && spend
|
|
255
|
+
const ratioToSpend = (value, spend) => (Number.isFinite(value) && Number.isFinite(spend) && spend > 0 ? value / spend : null);
|
|
249
256
|
const formatRoi = (profit, spend) => {
|
|
250
257
|
const ratio = ratioToSpend(profit, spend);
|
|
251
258
|
return ratio === null ? '' : `${(ratio * 100).toFixed(2)}%`;
|
|
252
259
|
};
|
|
253
|
-
const
|
|
254
|
-
|
|
255
|
-
|
|
260
|
+
const forecastDefinitions = {
|
|
261
|
+
day3: {
|
|
262
|
+
minor: 'predictedNetRevenueDay3Minor',
|
|
263
|
+
currency: 'predictedNetRevenueDay3Currency',
|
|
264
|
+
},
|
|
265
|
+
day90: {
|
|
266
|
+
minor: 'predictedNetRevenueDay90Minor',
|
|
267
|
+
currency: 'predictedNetRevenueDay90Currency',
|
|
268
|
+
},
|
|
269
|
+
day180: {
|
|
270
|
+
minor: 'predictedNetRevenueDay180Minor',
|
|
271
|
+
currency: 'predictedNetRevenueDay180Currency',
|
|
272
|
+
},
|
|
273
|
+
day365: {
|
|
274
|
+
minor: 'predictedNetRevenueDay365Minor',
|
|
275
|
+
currency: 'predictedNetRevenueDay365Currency',
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
const formatForecastRoas = (row, forecast) => {
|
|
279
|
+
const minor = row[forecast.minor];
|
|
280
|
+
if (typeof minor !== 'number'
|
|
281
|
+
|| !Number.isFinite(minor)
|
|
282
|
+
|| !Number.isFinite(row.spend)
|
|
283
|
+
|| row.spend <= 0) {
|
|
284
|
+
return '';
|
|
285
|
+
}
|
|
286
|
+
if (!normalizeCurrency(row.spendCurrency)) {
|
|
287
|
+
return '';
|
|
288
|
+
}
|
|
289
|
+
if (minor !== 0 && !sameCurrency(row[forecast.currency], row.spendCurrency)) {
|
|
290
|
+
return '';
|
|
291
|
+
}
|
|
292
|
+
return `${((minor / 100 / row.spend) * 100).toFixed(2)}%`;
|
|
256
293
|
};
|
|
257
294
|
export const formatCohortTable = (input) => {
|
|
258
295
|
const lines = [
|
|
259
296
|
`Cohort\t${input.date}`,
|
|
260
|
-
'cohort\tmediaSource\tfunnelUrl\tspend\tsubscribers\taliveRate\trevenue\tpLtv\tpLtvCurrency\tcpa\tpredictedProfit\tpROI\tROAS\tROAS d3\tROAS d90\tROAS d180',
|
|
297
|
+
'cohort\tmediaSource\tfunnelUrl\tspend\tsubscribers\taliveRate\trevenue\tpLtv\tpLtvCurrency\tcpa\tpRevenue\tpredictedProfit\tpROI\tROAS\tROAS d3\tROAS d90\tROAS d180',
|
|
261
298
|
];
|
|
262
299
|
for (const row of flattenCohortRows(input.cohort.rows)) {
|
|
263
300
|
const cpa = row.subscribers > 0 ? row.spend / row.subscribers : 0;
|
|
@@ -265,31 +302,41 @@ export const formatCohortTable = (input) => {
|
|
|
265
302
|
const predictedRevenue = averageLtv === null
|
|
266
303
|
? null
|
|
267
304
|
: averageLtv * row.subscribers;
|
|
268
|
-
const predictedProfit = predictedRevenue
|
|
269
|
-
|
|
270
|
-
|
|
305
|
+
const predictedProfit = predictedRevenue !== null
|
|
306
|
+
&& sameCurrency(row.pLtvCurrency, row.spendCurrency)
|
|
307
|
+
? predictedRevenue - row.spend
|
|
308
|
+
: null;
|
|
309
|
+
const spendCurrency = normalizeCurrency(row.spendCurrency);
|
|
310
|
+
const revenueCurrency = row.revenueCurrencySafe === true
|
|
311
|
+
? normalizeCurrency(row.revenueCurrency)
|
|
312
|
+
: null;
|
|
271
313
|
const pLtvCurrency = normalizeCurrency(row.pLtvCurrency);
|
|
272
314
|
lines.push([
|
|
273
315
|
row.cohortDate,
|
|
274
316
|
row.mediaSource,
|
|
275
317
|
row.funnelUrl,
|
|
276
|
-
formatCurrency(row.spend),
|
|
318
|
+
spendCurrency === null ? '' : formatCurrency(row.spend, spendCurrency),
|
|
277
319
|
formatNumber(row.subscribers),
|
|
278
320
|
formatPercentPoints(row.subscribersAlivePercent),
|
|
279
|
-
formatCurrency(row.revenue),
|
|
321
|
+
revenueCurrency === null ? '' : formatCurrency(row.revenue, revenueCurrency),
|
|
280
322
|
row.pLtv === null || pLtvCurrency === null
|
|
281
323
|
? ''
|
|
282
324
|
: formatCurrency(row.pLtv, pLtvCurrency),
|
|
283
325
|
pLtvCurrency || '',
|
|
284
|
-
row.subscribers > 0
|
|
326
|
+
row.subscribers > 0 && spendCurrency !== null
|
|
327
|
+
? formatCurrency(cpa, spendCurrency)
|
|
328
|
+
: '',
|
|
329
|
+
predictedRevenue === null || pLtvCurrency === null
|
|
330
|
+
? ''
|
|
331
|
+
: formatCurrency(predictedRevenue, pLtvCurrency),
|
|
285
332
|
predictedProfit === null
|
|
286
333
|
? ''
|
|
287
334
|
: formatCurrency(predictedProfit, pLtvCurrency || 'USD'),
|
|
288
335
|
predictedProfit === null ? '' : formatRoi(predictedProfit, row.spend),
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
336
|
+
formatForecastRoas(row, forecastDefinitions.day365),
|
|
337
|
+
formatForecastRoas(row, forecastDefinitions.day3),
|
|
338
|
+
formatForecastRoas(row, forecastDefinitions.day90),
|
|
339
|
+
formatForecastRoas(row, forecastDefinitions.day180),
|
|
293
340
|
].join('\t'));
|
|
294
341
|
}
|
|
295
342
|
return `${lines.join('\n')}\n`;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.27",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.15",
|
|
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": "790e5f36fb47f256da4ab25b1b1fbe453f1de61af2d278c400cb9a5edfeedeaf"
|
|
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": "1e57699834211909ee3a9a6eabfc957e5cc4952a07d4621b26fc7328be960973"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.26",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.14",
|
|
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
|
|
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": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.25",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.13",
|
|
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": "66cd0134a5c0be3e28e966513370c0fc4d8fa427a8927620d4f5f688b96422ca"
|
|
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": "556e7f6ce51fceaae062f60e98fd891c3344e40faf088d22174af4345fc7917c"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.24",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.12",
|
|
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": "2a25df4203ff0ca8a8532a22bdb5c11ab687b00b369894e3a3376caa378028d7"
|
|
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": "06ea750a825821a578161e287b01388d229ec1c82e3c2fbc956a7e57a0c3888d"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.23",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.11",
|
|
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": "5b135f70a2d005a2818f4992f79cd71865e00429f7adb73fc9aa88d2b3e1c2e4"
|
|
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": "84fb5735b12d84f76796ed17f1697e4891e27e416316e57027a629b54cd15fd5"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.22",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.10",
|
|
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": "b481733e085697910f34bbd62d830edb8248990d00660a24a73b6ee45b967241"
|
|
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": "f7a7894dfbd8a8e254e6dfe49b4f52cd25e19f6525a0296f7c666a7eef178e53"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.21",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.9",
|
|
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": "5ff5fdbbe6d1dabfc7d1ba5b19eaf5cc146de57b255dffbe747927bca59afb89"
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
933
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -947,7 +947,7 @@
|
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
949
|
"path": "docs/funnelsgrove/recipes/add-experiment.md",
|
|
950
|
-
"sha256": "
|
|
950
|
+
"sha256": "9918b577f47a9577c3c98d9a6a7a8762ddfeedb667efe13000900d1a1daee1f9"
|
|
951
951
|
},
|
|
952
952
|
{
|
|
953
953
|
"path": "docs/funnelsgrove/recipes/add-step.md",
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
1029
|
"path": "funnel-docs.config.json",
|
|
1030
|
-
"sha256": "
|
|
1030
|
+
"sha256": "251d4e0d416a94dd43dd9a7d0c0765904efed4a98ad298d38064f55c10c19283"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.15",
|
|
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": "790e5f36fb47f256da4ab25b1b1fbe453f1de61af2d278c400cb9a5edfeedeaf"
|
|
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": "1e57699834211909ee3a9a6eabfc957e5cc4952a07d4621b26fc7328be960973"
|
|
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/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.27`. 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.15",
|
|
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": "790e5f36fb47f256da4ab25b1b1fbe453f1de61af2d278c400cb9a5edfeedeaf"
|
|
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": "1e57699834211909ee3a9a6eabfc957e5cc4952a07d4621b26fc7328be960973"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "ec68d0d8147e5b8161cda226ee964b567c7b335c1c416cd7f36c7f11eb74c761",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.15",
|
|
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": "c0f1b282d57a38f3ba864fd452ffcda1afccd444a42b469afd057a382f6229b4",
|
|
20
20
|
"mode": "100644"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
104
|
-
"sha256": "
|
|
104
|
+
"sha256": "790e5f36fb47f256da4ab25b1b1fbe453f1de61af2d278c400cb9a5edfeedeaf",
|
|
105
105
|
"mode": "100644"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
@@ -236,12 +236,12 @@
|
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"path": "funnel-agent-docs.test.ts",
|
|
239
|
-
"sha256": "
|
|
239
|
+
"sha256": "cb4d020d4e204bd7d10bf8f20fbd3056cb276824fbd8742bffc0b66da12f73b4",
|
|
240
240
|
"mode": "100644"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"path": "funnel-docs.config.json",
|
|
244
|
-
"sha256": "
|
|
244
|
+
"sha256": "1e57699834211909ee3a9a6eabfc957e5cc4952a07d4621b26fc7328be960973",
|
|
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/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.27`. 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
|
|
@@ -340,7 +340,7 @@ describe('funnel agent documentation supply', () => {
|
|
|
340
340
|
|
|
341
341
|
expect(manifest).toMatchObject({
|
|
342
342
|
schemaVersion: 1,
|
|
343
|
-
bundleVersion: '2.0.
|
|
343
|
+
bundleVersion: '2.0.15',
|
|
344
344
|
stepContractVersion: contract.stepContractVersion,
|
|
345
345
|
contractHash: contract.contractHash,
|
|
346
346
|
});
|