@funnelsgrove/cli 0.1.364 → 0.1.366
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 +9 -0
- package/dist/cli.js +25 -0
- package/dist/referenceClient.d.ts +75 -2
- package/dist/referenceClient.js +65 -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
|
@@ -53,6 +53,10 @@ The starter preview includes later local changes only after sync and publish.
|
|
|
53
53
|
Find visual examples in the public Funnel Screens library without an account:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
+
fgrove references projects --category 'Self-growth / book summaries'
|
|
57
|
+
fgrove references project headway
|
|
58
|
+
fgrove references ads --project headway --format social-media-mockup --angle problem_agitation --limit 20
|
|
59
|
+
fgrove references ads --before <cursor> --json
|
|
56
60
|
fgrove references categories
|
|
57
61
|
fgrove references list --category 'Health Fitness' --step-type single-choice
|
|
58
62
|
fgrove references show <funnel-id> --json
|
|
@@ -60,6 +64,11 @@ fgrove references steps <funnel-id>
|
|
|
60
64
|
fgrove references step <funnel-id> <screen-id-or-position> --json
|
|
61
65
|
```
|
|
62
66
|
|
|
67
|
+
`projects` lists products and their top ads; `project` shows a product and its
|
|
68
|
+
ads with texts, dates and media links. `ads` supports exact project, category,
|
|
69
|
+
format and angle filters. Its limit is a whole number from 1 to 100; use the
|
|
70
|
+
returned `nextBefore` value as `--before` to read the next page.
|
|
71
|
+
|
|
63
72
|
`show` returns the complete recorded journey; `steps` gives compact ordered
|
|
64
73
|
summaries; `step` returns one screen with its image link, visible text, button and
|
|
65
74
|
option labels, and a brief visual description when available. Positions start
|
package/dist/cli.js
CHANGED
|
@@ -2205,16 +2205,41 @@ const addReferenceOptions = (command) => command
|
|
|
2205
2205
|
.option('--site-url <url>', 'Public Funnel Screens website URL', DEFAULT_REFERENCE_SITE_URL)
|
|
2206
2206
|
.option('--json', 'Emit one machine-readable reference response');
|
|
2207
2207
|
const runReferenceCommand = async (query, options) => {
|
|
2208
|
+
if (query.limit !== undefined && !/^(?:[1-9][0-9]?|100)$/.test(query.limit)) {
|
|
2209
|
+
throw new Error('--limit must be a whole number from 1 to 100.');
|
|
2210
|
+
}
|
|
2208
2211
|
const result = await readFunnelReferences(query, options.siteUrl);
|
|
2209
2212
|
process.stdout.write(options.json ? JSON.stringify(result) + '\n' : renderFunnelReferences(result));
|
|
2210
2213
|
};
|
|
2211
2214
|
const referencesCommand = addExamples(program.command('references').description('Browse public Funnel Screens references without logging in'), [
|
|
2215
|
+
'fgrove references projects --category <industry>',
|
|
2216
|
+
'fgrove references project <project-slug> --json',
|
|
2217
|
+
'fgrove references ads --project <project-slug> --format <slug> --angle <id> --limit 20 --before <cursor> --json',
|
|
2212
2218
|
'fgrove references categories',
|
|
2213
2219
|
'fgrove references list --json',
|
|
2214
2220
|
'fgrove references show <funnel-id> --json',
|
|
2215
2221
|
'fgrove references steps <funnel-id>',
|
|
2216
2222
|
'fgrove references step <funnel-id> 1',
|
|
2217
2223
|
]);
|
|
2224
|
+
addReferenceOptions(referencesCommand.command('projects')
|
|
2225
|
+
.description('List reference projects with their top ads')
|
|
2226
|
+
.option('--category <industry>', 'Filter by exact industry'))
|
|
2227
|
+
.action(async (options) => runReferenceCommand({ view: 'projects', category: options.category }, options));
|
|
2228
|
+
addReferenceOptions(referencesCommand.command('project <project-slug>')
|
|
2229
|
+
.description('Show a reference project and every returned ad with text and media links'))
|
|
2230
|
+
.action(async (project, options) => runReferenceCommand({ project }, options));
|
|
2231
|
+
addReferenceOptions(referencesCommand.command('ads')
|
|
2232
|
+
.description('List reference ads with text, media links and the next page cursor')
|
|
2233
|
+
.option('--project <slug>', 'Filter by project slug')
|
|
2234
|
+
.option('--category <industry>', 'Filter by exact industry')
|
|
2235
|
+
.option('--format <slug>', 'Filter by ad format')
|
|
2236
|
+
.option('--angle <id>', 'Filter by persuasion angle')
|
|
2237
|
+
.option('--limit <n>', 'Number of ads, a whole number from 1 to 100')
|
|
2238
|
+
.option('--before <cursor>', 'Use the previous response’s exact nextBefore cursor'))
|
|
2239
|
+
.action(async (options) => runReferenceCommand({
|
|
2240
|
+
view: 'ads', project: options.project, category: options.category, format: options.format,
|
|
2241
|
+
angle: options.angle, limit: options.limit, before: options.before,
|
|
2242
|
+
}, options));
|
|
2218
2243
|
addReferenceOptions(referencesCommand.command('categories')
|
|
2219
2244
|
.description('List industry categories and their funnel and screen counts'))
|
|
2220
2245
|
.action(async (options) => runReferenceCommand({ view: 'categories' }, options));
|
|
@@ -2,9 +2,14 @@ export declare const DEFAULT_REFERENCE_SITE_URL = "https://www.funnelsgrove.com"
|
|
|
2
2
|
export type ReferenceQuery = {
|
|
3
3
|
category?: string;
|
|
4
4
|
stepType?: string;
|
|
5
|
-
view?: 'categories' | 'steps';
|
|
5
|
+
view?: 'categories' | 'steps' | 'projects' | 'ads';
|
|
6
6
|
funnel?: string;
|
|
7
7
|
screen?: string;
|
|
8
|
+
project?: string;
|
|
9
|
+
format?: string;
|
|
10
|
+
angle?: string;
|
|
11
|
+
limit?: string;
|
|
12
|
+
before?: string;
|
|
8
13
|
};
|
|
9
14
|
type FunnelSummary = {
|
|
10
15
|
id: string;
|
|
@@ -70,7 +75,75 @@ type ReferenceSingleStep = {
|
|
|
70
75
|
funnel: FunnelSummary;
|
|
71
76
|
step: ReferenceStep;
|
|
72
77
|
};
|
|
73
|
-
type
|
|
78
|
+
type ReferenceTopAd = {
|
|
79
|
+
libraryId: string;
|
|
80
|
+
mediaType: string;
|
|
81
|
+
width: number;
|
|
82
|
+
height: number;
|
|
83
|
+
headline: string | null;
|
|
84
|
+
hook: string | null;
|
|
85
|
+
format: string;
|
|
86
|
+
persuasionAngle: string | null;
|
|
87
|
+
startedOn: string;
|
|
88
|
+
daysRunning: number;
|
|
89
|
+
active: boolean;
|
|
90
|
+
variantCount: number;
|
|
91
|
+
imageUrl: string;
|
|
92
|
+
url: string;
|
|
93
|
+
};
|
|
94
|
+
type ReferenceProject = {
|
|
95
|
+
slug: string;
|
|
96
|
+
name: string;
|
|
97
|
+
description: string;
|
|
98
|
+
industry: string;
|
|
99
|
+
funnelUrl: string | null;
|
|
100
|
+
funnelSlugs: string[];
|
|
101
|
+
adCount: number;
|
|
102
|
+
latestActivityAt: string;
|
|
103
|
+
topAds: ReferenceTopAd[];
|
|
104
|
+
url: string;
|
|
105
|
+
screensUrl: string | null;
|
|
106
|
+
};
|
|
107
|
+
type ReferenceProjects = {
|
|
108
|
+
version: 1;
|
|
109
|
+
projects: ReferenceProject[];
|
|
110
|
+
};
|
|
111
|
+
type ReferenceAd = ReferenceTopAd & {
|
|
112
|
+
projectSlug: string;
|
|
113
|
+
projectName: string;
|
|
114
|
+
industry: string;
|
|
115
|
+
funnelSlug: string | null;
|
|
116
|
+
cardCount: number;
|
|
117
|
+
durationSeconds: number | null;
|
|
118
|
+
mediaSha256: string;
|
|
119
|
+
mediaContentType: string;
|
|
120
|
+
mediaBytes: number;
|
|
121
|
+
primaryText: string | null;
|
|
122
|
+
cta: string | null;
|
|
123
|
+
landingUrl: string | null;
|
|
124
|
+
landingDomain: string | null;
|
|
125
|
+
platforms: string[];
|
|
126
|
+
lastSeenActiveOn: string;
|
|
127
|
+
endedOn: string | null;
|
|
128
|
+
impressionRank: number | null;
|
|
129
|
+
score: number;
|
|
130
|
+
formatNote: string | null;
|
|
131
|
+
description: string;
|
|
132
|
+
selectedAt: string;
|
|
133
|
+
adLibraryUrl: string;
|
|
134
|
+
videoUrl: string | null;
|
|
135
|
+
};
|
|
136
|
+
type ReferenceProjectDetail = {
|
|
137
|
+
version: 1;
|
|
138
|
+
project: ReferenceProject;
|
|
139
|
+
ads: ReferenceAd[];
|
|
140
|
+
};
|
|
141
|
+
type ReferenceAds = {
|
|
142
|
+
version: 1;
|
|
143
|
+
ads: ReferenceAd[];
|
|
144
|
+
nextBefore: string | null;
|
|
145
|
+
};
|
|
146
|
+
type ReferenceResult = ReferenceAds | ReferenceProjectDetail | ReferenceProjects | ReferenceList | ReferenceCategories | ReferenceFunnel | ReferenceSingleStep;
|
|
74
147
|
export declare function readFunnelReferences(query: ReferenceQuery, siteUrl: string): Promise<ReferenceResult>;
|
|
75
148
|
export declare function renderFunnelReferences(result: ReferenceResult): string;
|
|
76
149
|
export {};
|
package/dist/referenceClient.js
CHANGED
|
@@ -19,9 +19,37 @@ const isStepSummary = (value) => isRecord(value)
|
|
|
19
19
|
const isStep = (value) => isStepSummary(value)
|
|
20
20
|
&& typeof value.sha256 === 'string' && isCount(value.width) && isCount(value.height)
|
|
21
21
|
&& (value.contentStatus === 'available' ? isStepContent(value.content) : value.content === null);
|
|
22
|
+
const isNullableString = (value) => value === null || typeof value === 'string';
|
|
23
|
+
const isTopAd = (value) => isRecord(value)
|
|
24
|
+
&& ['libraryId', 'format', 'startedOn', 'imageUrl', 'url'].every((field) => typeof value[field] === 'string')
|
|
25
|
+
&& (value.mediaType === 'image' || value.mediaType === 'video')
|
|
26
|
+
&& ['width', 'height', 'daysRunning', 'variantCount'].every((field) => isCount(value[field]))
|
|
27
|
+
&& ['headline', 'hook', 'persuasionAngle'].every((field) => isNullableString(value[field]))
|
|
28
|
+
&& typeof value.active === 'boolean';
|
|
29
|
+
const isProject = (value) => isRecord(value)
|
|
30
|
+
&& ['slug', 'name', 'description', 'industry', 'latestActivityAt', 'url'].every((field) => typeof value[field] === 'string')
|
|
31
|
+
&& isNullableString(value.funnelUrl) && isNullableString(value.screensUrl)
|
|
32
|
+
&& isStringArray(value.funnelSlugs) && isCount(value.adCount)
|
|
33
|
+
&& Array.isArray(value.topAds) && value.topAds.every(isTopAd);
|
|
34
|
+
const isAd = (value) => isTopAd(value)
|
|
35
|
+
&& ['projectSlug', 'projectName', 'industry', 'mediaSha256', 'mediaContentType', 'lastSeenActiveOn',
|
|
36
|
+
'description', 'selectedAt', 'adLibraryUrl'].every((field) => typeof value[field] === 'string')
|
|
37
|
+
&& ['funnelSlug', 'primaryText', 'cta', 'landingUrl', 'landingDomain', 'endedOn', 'formatNote',
|
|
38
|
+
'videoUrl'].every((field) => isNullableString(value[field]))
|
|
39
|
+
&& ['cardCount', 'mediaBytes'].every((field) => isCount(value[field]))
|
|
40
|
+
&& (value.durationSeconds === null || (typeof value.durationSeconds === 'number' && Number.isFinite(value.durationSeconds)))
|
|
41
|
+
&& (value.impressionRank === null || isCount(value.impressionRank))
|
|
42
|
+
&& typeof value.score === 'number' && Number.isFinite(value.score)
|
|
43
|
+
&& isStringArray(value.platforms);
|
|
22
44
|
const isReferenceResult = (value, query) => {
|
|
23
45
|
if (!isRecord(value) || value.version !== 1)
|
|
24
46
|
return false;
|
|
47
|
+
if (query.view === 'projects')
|
|
48
|
+
return Array.isArray(value.projects) && value.projects.every(isProject);
|
|
49
|
+
if (query.view === 'ads')
|
|
50
|
+
return Array.isArray(value.ads) && value.ads.every(isAd) && isNullableString(value.nextBefore);
|
|
51
|
+
if (query.project !== undefined)
|
|
52
|
+
return isProject(value.project) && Array.isArray(value.ads) && value.ads.every(isAd);
|
|
25
53
|
if (query.view === 'categories') {
|
|
26
54
|
return Array.isArray(value.categories) && value.categories.every((category) => isRecord(category)
|
|
27
55
|
&& typeof category.category === 'string' && isCount(category.funnelCount) && isCount(category.screenCount));
|
|
@@ -92,7 +120,44 @@ const renderStep = (step) => {
|
|
|
92
120
|
lines.push('Image: ' + step.imageUrl, 'View: ' + step.url);
|
|
93
121
|
return lines.join('\n');
|
|
94
122
|
};
|
|
123
|
+
const renderProject = (project) => {
|
|
124
|
+
const lines = [project.name + ' [' + project.slug + ']', project.industry, project.description];
|
|
125
|
+
if (project.funnelUrl)
|
|
126
|
+
lines.push('Funnel: ' + project.funnelUrl);
|
|
127
|
+
lines.push(project.adCount + ' ads', 'View: ' + project.url);
|
|
128
|
+
for (const ad of project.topAds) {
|
|
129
|
+
lines.push([ad.format, ad.daysRunning + ' days', ad.active ? 'active' : 'stopped',
|
|
130
|
+
ad.headline || ad.hook, ad.imageUrl].filter(Boolean).join(' · '));
|
|
131
|
+
}
|
|
132
|
+
return lines.join('\n');
|
|
133
|
+
};
|
|
134
|
+
const renderAd = (ad) => {
|
|
135
|
+
const lines = [ad.projectName + ' [' + ad.libraryId + ']', 'Format: ' + ad.format];
|
|
136
|
+
if (ad.persuasionAngle)
|
|
137
|
+
lines.push('Angle: ' + ad.persuasionAngle);
|
|
138
|
+
lines.push('Started: ' + ad.startedOn + ' · ' + ad.daysRunning + ' days · '
|
|
139
|
+
+ (ad.active ? 'active' : 'stopped' + (ad.endedOn ? ' ' + ad.endedOn : '')), 'Variants: ' + ad.variantCount);
|
|
140
|
+
if (ad.impressionRank !== null)
|
|
141
|
+
lines.push('Rank: ' + ad.impressionRank);
|
|
142
|
+
for (const [label, value] of [['Hook', ad.hook], ['Headline', ad.headline], ['Call to action', ad.cta],
|
|
143
|
+
['Primary text', ad.primaryText], ['Description', ad.description], ['Landing', ad.landingUrl],
|
|
144
|
+
['Image', ad.imageUrl], ['Video', ad.videoUrl], ['Ad Library', ad.adLibraryUrl]]) {
|
|
145
|
+
if (value !== null)
|
|
146
|
+
lines.push(label + ': ' + value);
|
|
147
|
+
}
|
|
148
|
+
return lines.join('\n');
|
|
149
|
+
};
|
|
95
150
|
export function renderFunnelReferences(result) {
|
|
151
|
+
if ('nextBefore' in result) {
|
|
152
|
+
const blocks = result.ads.length ? result.ads.map(renderAd) : ['No ads'];
|
|
153
|
+
if (result.nextBefore !== null)
|
|
154
|
+
blocks.push('Next page: --before ' + result.nextBefore);
|
|
155
|
+
return blocks.join('\n\n') + '\n';
|
|
156
|
+
}
|
|
157
|
+
if ('project' in result)
|
|
158
|
+
return [renderProject(result.project), ...(result.ads.length ? result.ads.map(renderAd) : ['No ads'])].join('\n\n') + '\n';
|
|
159
|
+
if ('projects' in result)
|
|
160
|
+
return result.projects.length ? result.projects.map(renderProject).join('\n\n') + '\n' : 'No projects\n';
|
|
96
161
|
if ('categories' in result) {
|
|
97
162
|
return result.categories.length
|
|
98
163
|
? result.categories.map((category) => [category.category, category.funnelCount + ' funnels', category.screenCount + ' screens'].join('\t')).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.366",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.359",
|
|
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": "4a9ad9c35fd31e0c4fc3fe1912223604d726e74664f1735b022876bdee79da86"
|
|
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": "df03c20bd0244edbaebc33f9754ebfd93de79b5dc5f4ffca9b22e3098672e6d4"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.365",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.358",
|
|
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": "177644c417fe80371536b9fa0ee0b01ae84d6c66e083e05cc576093ec06c57fc"
|
|
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": "b13c96ce585929d457017df600c19e0b4d315c52ef18a67c194ba29fc7355172"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.364",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.357",
|
|
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": "2d2420f64f3a2db89f52cd1d5c8e6fe83812e7676514299129e975f463bb6738"
|
|
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": "e7cfae8c8095e634e44442110d2acf003c5e3437a6ba780686a14e2f31ebe53d"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.363",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.356",
|
|
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": "b571ab9465df1100e6a735ba6cc167a491864d1a9fe421a74ed50f4a4c5ec454"
|
|
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": "0c004825b04b4b6dda7125e3b98b314c4124b8f0ab64b8d1c4b0dd0f4e28eb21"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.362",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.355",
|
|
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": "d085e5aabede9a981c940d95fcbbc81788f9c6769094e2d6f44d9e021e5fb445"
|
|
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": "75b55e12be2c73c387ef8e3ee3222b7f08e8e0ec4649b559e834ee6bebd5601a"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.361",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.354",
|
|
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": "743837afa746bd63ffb9fbd2caa0ee6d64137f017802ab43fb746549cf57affa"
|
|
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": "9a17d1b37d62b21a7306cde0affe58f9563af24a34ff2b1024f29dc0c10617c9"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.360",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.353",
|
|
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": "29ebaa7fce53e6025ea19caf347d953866575963f1f5e96df8050788674b56ce"
|
|
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": "c36088a7c3173139a24d4f425a761dc02618b56e0e5e410e29aab314d06d5942"
|
|
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.366",
|
|
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.45.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.28.0",
|
|
44
|
+
"@funnelsgrove/payments": "0.72.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.359",
|
|
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": "4a9ad9c35fd31e0c4fc3fe1912223604d726e74664f1735b022876bdee79da86"
|
|
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": "df03c20bd0244edbaebc33f9754ebfd93de79b5dc5f4ffca9b22e3098672e6d4"
|
|
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.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.366`, 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.359",
|
|
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": "4a9ad9c35fd31e0c4fc3fe1912223604d726e74664f1735b022876bdee79da86"
|
|
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": "df03c20bd0244edbaebc33f9754ebfd93de79b5dc5f4ffca9b22e3098672e6d4"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "226df61e22d3a67fdb817e39f8c1c99f4f9ef88bc52af069c00d9125cc3e3ec3",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.359",
|
|
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": "4c8d42f52e820f7e69bb5b1a218e527971357658d6452c6f3e279eda0c3010e6",
|
|
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": "4a9ad9c35fd31e0c4fc3fe1912223604d726e74664f1735b022876bdee79da86",
|
|
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": "df03c20bd0244edbaebc33f9754ebfd93de79b5dc5f4ffca9b22e3098672e6d4",
|
|
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": "3a9b064875ec2b698d8fb9b54561756dc47ef2a98fd6c5666f1fa01d70d8745a",
|
|
240
240
|
"mode": "100644"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"path": "package.json",
|
|
244
|
-
"sha256": "
|
|
244
|
+
"sha256": "400935bc2c4e8f21da196b9ea5547fc03deae65803ef3f9a66a6ad48b96194f1",
|
|
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.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.366`, 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.28.0",
|
|
12
|
+
"@funnelsgrove/payments": "^0.72.0",
|
|
13
|
+
"@funnelsgrove/runtime": "^0.45.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.28.0",
|
|
944
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.28.0.tgz",
|
|
945
|
+
"integrity": "sha512-4v4zhxM6XP66sn3OgZoRSAPJRJuK23ipCBPa9+3ngD3DrSwcz+q7GZ5Xzt8h0wNAIpL4Ao26ZYPeHv5rqbl7fw==",
|
|
946
946
|
"peerDependencies": {
|
|
947
|
-
"@funnelsgrove/runtime": "^0.
|
|
947
|
+
"@funnelsgrove/runtime": "^0.45.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.72.0",
|
|
952
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.72.0.tgz",
|
|
953
|
+
"integrity": "sha512-REOx3CVgUPsJhNCZeZDtmy86R2Htfw91P5dJIHq4uHE/aSbPpBvefIQAQEgMM19TLPEkkHghDhhDOU1VVttRXA==",
|
|
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.28.0",
|
|
964
|
+
"@funnelsgrove/runtime": "^0.45.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.45.0",
|
|
969
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.45.0.tgz",
|
|
970
|
+
"integrity": "sha512-VEVizMRSyT0CDHqI+Uvob4fM4i5VMufzfRSPNCloL+XVRmlTN3ytY1ZeQscoKk6bC0gZBo+zZ/n5S3Folri+UQ==",
|
|
971
971
|
"dependencies": {
|
|
972
972
|
"@funnelsgrove/sdk": "0.4.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.28.0",
|
|
16
|
+
"@funnelsgrove/payments": "^0.72.0",
|
|
17
|
+
"@funnelsgrove/runtime": "^0.45.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",
|