@funnelsgrove/cli 0.1.28 → 0.1.35
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 +7 -4
- package/dist/cli.d.ts +20 -0
- package/dist/cli.js +33 -8
- package/dist/githubSyncFlow.d.ts +6 -0
- package/dist/githubSyncFlow.js +55 -10
- package/funnel-contract-compatibility.json +28 -28
- package/package.json +8 -3
- 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 +150 -150
- 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 +13 -13
- package/template_scaffold/package.json +3 -3
- package/template_scaffold/public/paywall/money-back-badge.png +0 -0
- package/template_scaffold/src/steps/step-32-paywall.tsx +2 -2
- package/template_scaffold/src/steps/step-33-subscription-started.tsx +1 -43
- package/template_scaffold/{funnel-agent-docs.test.ts → tests/funnel-agent-docs.test.ts} +4 -4
- package/template_scaffold/{package.test.ts → tests/package.test.ts} +4 -4
- package/template_scaffold/{src → tests/src}/app/layout.test.ts +2 -2
- package/template_scaffold/{src → tests/src}/components/FunnelFlow.test.tsx +2 -2
- package/template_scaffold/{src → tests/src}/config/billing.plans.test.ts +4 -4
- package/template_scaffold/{src → tests/src}/config/experiments.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/config/funnel.manifest.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/contract/funnel-project.validation.test.ts +2 -2
- package/template_scaffold/{src → tests/src}/contract/golden/golden-fixtures.test.ts +16 -16
- package/template_scaffold/{src → tests/src}/contract/validate-funnel.cli.test.ts +2 -2
- package/template_scaffold/{src → tests/src}/runtime/checkout-runtime-config.test.ts +3 -3
- package/template_scaffold/{src → tests/src}/runtime/funnel-runtime.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/runtime/step-content-context.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/runtime/use-funnel-flow-controller.integration.test.ts +4 -4
- package/template_scaffold/{src → tests/src}/runtime/use-funnel-flow-controller.test.ts +3 -3
- package/template_scaffold/{src → tests/src}/steps/paywall-checkout-options.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/steps/shared-header-contract.test.ts +3 -1
- package/template_scaffold/{src → tests/src}/steps/step-02.test.ts +3 -3
- package/template_scaffold/{src → tests/src}/steps/step-03.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/steps/step-04.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/steps/step-31-email-capture.test.ts +1 -1
- package/template_scaffold/{src → tests/src}/steps/step-32-paywall.test.ts +43 -43
- package/template_scaffold/{src → tests/src}/steps/step-33-subscription-started.test.ts +6 -7
- package/template_scaffold/{src → tests/src}/steps/step-34-upsell-form.test.ts +3 -3
- package/template_scaffold/{src → tests/src}/steps/step-image-migration.test.ts +1 -1
- /package/template_scaffold/{src → tests/src}/app/[stepId]/page.test.tsx +0 -0
- /package/template_scaffold/{src → tests/src}/components/FunnelStepImage.test.ts +0 -0
- /package/template_scaffold/{src → tests/src}/steps/step-01.test.ts +0 -0
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ for the same local diff.
|
|
|
41
41
|
|
|
42
42
|
Use `fgrove env pull` from a synced folder to refresh only the ignored local `.env` file after project settings change, without replacing source files. The generated file identifies the current hosted draft through `NEXT_PUBLIC_FUNNEL_VERSION_ID`, so transactional steps such as email capture work during local QA.
|
|
43
43
|
|
|
44
|
-
`fgrove offer-sets sync` reports the applied offer set and written generated files before waiting for GitHub. Pass `--no-github-sync` when the generated file will be committed through the normal repository workflow
|
|
44
|
+
`fgrove offer-sets sync` reports the applied offer set and written generated files before waiting for GitHub. By default it waits for the exact GitHub sync job. If that job is still pending or running when the wait times out, the command continues with a warning on stderr and asks you to check the eventual result with `fgrove github status`. Terminal job failures, missing jobs, and API failures still exit non-zero. Pass `--no-github-sync` to skip the wait entirely when the generated file will be committed through the normal repository workflow.
|
|
45
45
|
|
|
46
46
|
Create an experiment draft from a strict JSON spec:
|
|
47
47
|
|
|
@@ -72,9 +72,12 @@ fgrove publish --funnel claimbee-general --env preview
|
|
|
72
72
|
The GitHub commands use the FunnelsGrove API only. `fgrove github pull` pulls
|
|
73
73
|
the repository into the hosted draft after you push normal git commits.
|
|
74
74
|
`fgrove publish` waits for the current draft to reach GitHub before publishing.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
If the exact job is still pending or running when that wait times out, publish
|
|
76
|
+
continues with a warning on stderr and asks you to check the eventual result
|
|
77
|
+
with `fgrove github status`. Terminal job failures, missing jobs, and API
|
|
78
|
+
failures remain fatal. Use `--no-github-sync` to skip only that CLI pre-publish
|
|
79
|
+
wait when the hosted draft is already known to match GitHub; the publish worker
|
|
80
|
+
still performs its normal best-effort post-publish GitHub synchronization.
|
|
78
81
|
`fgrove github push` still exists for explicit hosted-draft-to-GitHub recovery
|
|
79
82
|
work, but it is not the normal path for local source changes. Local `.env*`
|
|
80
83
|
files remain CLI-local runtime material from `sync down`; they are not sent to
|
package/dist/cli.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Command } from 'commander';
|
|
|
3
3
|
import { type ActiveContext } from './authStore.js';
|
|
4
4
|
import { type SourceFile, type SyncManifest } from './localSync.js';
|
|
5
5
|
import { type GitHubStatusResponse } from './githubOutput.js';
|
|
6
|
+
import { syncGitHubDraftIfConnected } from './githubSyncFlow.js';
|
|
6
7
|
import { type DocsExitCode } from './docsOutput.js';
|
|
7
8
|
import { type DocsDiagnostic, type DocsStatus } from './docsTransaction.js';
|
|
8
9
|
import { type FunnelValidationExitCode, type FunnelValidationResult } from './diagnosticOutput.js';
|
|
@@ -196,6 +197,25 @@ export declare function buildGeneratedConfigSyncInput(input: {
|
|
|
196
197
|
};
|
|
197
198
|
export declare function selectGeneratedConfigFiles(files: SourceFile[], kinds: GeneratedConfigKind[]): SourceFile[];
|
|
198
199
|
export declare function assertCanDraftSyncSource(status: GitHubStatusResponse): void;
|
|
200
|
+
export type GitHubSyncTimeoutPolicy = 'strict' | 'continue';
|
|
201
|
+
export declare const PUBLISH_GITHUB_SYNC_TIMEOUT_POLICY: GitHubSyncTimeoutPolicy;
|
|
202
|
+
export declare const OFFER_SETS_GITHUB_SYNC_TIMEOUT_POLICY: GitHubSyncTimeoutPolicy;
|
|
203
|
+
export declare const SYNC_UP_NO_LOCAL_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY: GitHubSyncTimeoutPolicy;
|
|
204
|
+
export declare const SYNC_UP_COMMITTED_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY: GitHubSyncTimeoutPolicy;
|
|
205
|
+
export declare const GITHUB_SYNC_TIMEOUT_POLICIES: {
|
|
206
|
+
readonly publish: "continue";
|
|
207
|
+
readonly offerSetsSync: "continue";
|
|
208
|
+
readonly syncUpNoLocalChanges: "strict";
|
|
209
|
+
readonly syncUpCommittedChanges: "strict";
|
|
210
|
+
};
|
|
211
|
+
export declare const syncGitHubDraftForCli: (input: {
|
|
212
|
+
token: string;
|
|
213
|
+
workspaceId: string;
|
|
214
|
+
funnelId: string;
|
|
215
|
+
timeoutPolicy: GitHubSyncTimeoutPolicy;
|
|
216
|
+
sync?: typeof syncGitHubDraftIfConnected;
|
|
217
|
+
warn?: (message: string) => void;
|
|
218
|
+
}) => Promise<void>;
|
|
199
219
|
export declare const shouldSyncGitHubDraft: (options: {
|
|
200
220
|
githubSync?: boolean;
|
|
201
221
|
}) => boolean;
|
package/dist/cli.js
CHANGED
|
@@ -15,7 +15,7 @@ import { buildSyncManifest, buildCommittedSyncManifest, buildSourceCandidateOper
|
|
|
15
15
|
import { executeExperimentCreate, formatExperimentCreateSuccess, recoverExperimentCreateTransaction, } from './experimentCreate.js';
|
|
16
16
|
import { pullEnvFile } from './envSync.js';
|
|
17
17
|
import { formatGitHubConnectRows, formatGitHubJobRows, formatGitHubStatusRows, } from './githubOutput.js';
|
|
18
|
-
import { syncGitHubDraftIfConnected } from './githubSyncFlow.js';
|
|
18
|
+
import { GitHubSyncTimeoutError, syncGitHubDraftIfConnected, } from './githubSyncFlow.js';
|
|
19
19
|
import { reskinFunnel } from './reskin.js';
|
|
20
20
|
import { TEMPLATE_DOCS_DIR } from './templateDocs.js';
|
|
21
21
|
import { renderDocsHuman, renderDocsJson, } from './docsOutput.js';
|
|
@@ -1400,13 +1400,34 @@ const summarizeGitHubSyncResult = (result) => {
|
|
|
1400
1400
|
? `GitHub synced${remoteSha}`
|
|
1401
1401
|
: `GitHub already synced${remoteSha}`;
|
|
1402
1402
|
};
|
|
1403
|
-
const
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1403
|
+
export const PUBLISH_GITHUB_SYNC_TIMEOUT_POLICY = 'continue';
|
|
1404
|
+
export const OFFER_SETS_GITHUB_SYNC_TIMEOUT_POLICY = 'continue';
|
|
1405
|
+
export const SYNC_UP_NO_LOCAL_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY = 'strict';
|
|
1406
|
+
export const SYNC_UP_COMMITTED_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY = 'strict';
|
|
1407
|
+
export const GITHUB_SYNC_TIMEOUT_POLICIES = {
|
|
1408
|
+
publish: PUBLISH_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
1409
|
+
offerSetsSync: OFFER_SETS_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
1410
|
+
syncUpNoLocalChanges: SYNC_UP_NO_LOCAL_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
1411
|
+
syncUpCommittedChanges: SYNC_UP_COMMITTED_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
1412
|
+
};
|
|
1413
|
+
export const syncGitHubDraftForCli = async (input) => {
|
|
1414
|
+
let result;
|
|
1415
|
+
try {
|
|
1416
|
+
result = await (input.sync || syncGitHubDraftIfConnected)({
|
|
1417
|
+
callApi,
|
|
1418
|
+
token: input.token,
|
|
1419
|
+
workspaceId: input.workspaceId,
|
|
1420
|
+
funnelId: input.funnelId,
|
|
1421
|
+
});
|
|
1422
|
+
}
|
|
1423
|
+
catch (error) {
|
|
1424
|
+
if (!(error instanceof GitHubSyncTimeoutError) || input.timeoutPolicy === 'strict') {
|
|
1425
|
+
throw error;
|
|
1426
|
+
}
|
|
1427
|
+
(input.warn || console.warn)(`GitHub sync job ${error.jobId} is still ${error.jobStatus} after the wait timeout. Continuing the requested operation; check its eventual result with \`fgrove github status\`.`);
|
|
1428
|
+
return;
|
|
1429
|
+
}
|
|
1430
|
+
const summary = summarizeGitHubSyncResult(result);
|
|
1410
1431
|
if (summary) {
|
|
1411
1432
|
console.log(summary);
|
|
1412
1433
|
}
|
|
@@ -1664,6 +1685,7 @@ addExamples(offerSetsCommand
|
|
|
1664
1685
|
token,
|
|
1665
1686
|
workspaceId: target.workspaceId,
|
|
1666
1687
|
funnelId: target.funnelId,
|
|
1688
|
+
timeoutPolicy: OFFER_SETS_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
1667
1689
|
});
|
|
1668
1690
|
}
|
|
1669
1691
|
});
|
|
@@ -2112,6 +2134,7 @@ addExamples(syncCommand
|
|
|
2112
2134
|
token,
|
|
2113
2135
|
workspaceId: target.workspaceId,
|
|
2114
2136
|
funnelId: target.funnelId,
|
|
2137
|
+
timeoutPolicy: SYNC_UP_NO_LOCAL_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
2115
2138
|
});
|
|
2116
2139
|
return;
|
|
2117
2140
|
}
|
|
@@ -2204,6 +2227,7 @@ addExamples(syncCommand
|
|
|
2204
2227
|
token,
|
|
2205
2228
|
workspaceId: target.workspaceId,
|
|
2206
2229
|
funnelId: target.funnelId,
|
|
2230
|
+
timeoutPolicy: SYNC_UP_COMMITTED_CHANGES_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
2207
2231
|
});
|
|
2208
2232
|
console.log(formatSourceCandidateSyncSuccess({
|
|
2209
2233
|
syncedFileCount,
|
|
@@ -2246,6 +2270,7 @@ addExamples(program
|
|
|
2246
2270
|
token,
|
|
2247
2271
|
workspaceId: target.workspaceId,
|
|
2248
2272
|
funnelId: target.funnelId,
|
|
2273
|
+
timeoutPolicy: PUBLISH_GITHUB_SYNC_TIMEOUT_POLICY,
|
|
2249
2274
|
});
|
|
2250
2275
|
}
|
|
2251
2276
|
const result = await callApi({
|
package/dist/githubSyncFlow.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ export type GitHubSyncFlowResult = {
|
|
|
15
15
|
remoteSha: string | null;
|
|
16
16
|
versionId: string | null;
|
|
17
17
|
};
|
|
18
|
+
type PendingGitHubSyncJobStatus = 'pending' | 'running';
|
|
19
|
+
export declare class GitHubSyncTimeoutError extends Error {
|
|
20
|
+
readonly jobId: string;
|
|
21
|
+
readonly jobStatus: PendingGitHubSyncJobStatus;
|
|
22
|
+
constructor(jobId: string, jobStatus: PendingGitHubSyncJobStatus);
|
|
23
|
+
}
|
|
18
24
|
export declare const syncGitHubDraftIfConnected: (input: {
|
|
19
25
|
callApi: GitHubFlowCallApi;
|
|
20
26
|
token: string;
|
package/dist/githubSyncFlow.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export class GitHubSyncTimeoutError extends Error {
|
|
2
|
+
jobId;
|
|
3
|
+
jobStatus;
|
|
4
|
+
constructor(jobId, jobStatus) {
|
|
5
|
+
super(`Timed out waiting for GitHub sync job ${jobId}.`);
|
|
6
|
+
this.name = 'GitHubSyncTimeoutError';
|
|
7
|
+
this.jobId = jobId;
|
|
8
|
+
this.jobStatus = jobStatus;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
1
11
|
const TERMINAL_JOB_STATUSES = new Set(['completed', 'skipped', 'failed']);
|
|
2
12
|
const DEFAULT_POLL_INTERVAL_MS = 2_000;
|
|
3
13
|
const DEFAULT_TIMEOUT_MS = 600_000;
|
|
@@ -9,6 +19,18 @@ const sleepDefault = async (ms) => {
|
|
|
9
19
|
const findJob = (status, jobId) => {
|
|
10
20
|
return status.syncJobs.find((job) => job.id === jobId) || null;
|
|
11
21
|
};
|
|
22
|
+
const readJob = async (input) => {
|
|
23
|
+
const status = await input.callApi({
|
|
24
|
+
path: 'github.status',
|
|
25
|
+
type: 'query',
|
|
26
|
+
token: input.token,
|
|
27
|
+
data: {
|
|
28
|
+
workspaceId: input.workspaceId,
|
|
29
|
+
funnelId: input.funnelId,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
return findJob(status, input.jobId);
|
|
33
|
+
};
|
|
12
34
|
const assertSuccessfulTerminalJob = (job) => {
|
|
13
35
|
if (job.status === 'failed' || (job.status === 'skipped' && job.errorMessage)) {
|
|
14
36
|
throw new Error(job.errorMessage || 'GitHub sync failed.');
|
|
@@ -49,17 +71,14 @@ export const syncGitHubDraftIfConnected = async (input) => {
|
|
|
49
71
|
const timeoutMs = input.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
50
72
|
const sleep = input.sleep || sleepDefault;
|
|
51
73
|
const deadline = Date.now() + timeoutMs;
|
|
52
|
-
while (Date.now()
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
type: 'query',
|
|
74
|
+
while (Date.now() < deadline) {
|
|
75
|
+
const job = await readJob({
|
|
76
|
+
callApi: input.callApi,
|
|
56
77
|
token: input.token,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
},
|
|
78
|
+
workspaceId: input.workspaceId,
|
|
79
|
+
funnelId: input.funnelId,
|
|
80
|
+
jobId: pushResult.jobId,
|
|
61
81
|
});
|
|
62
|
-
const job = findJob(nextStatus, pushResult.jobId);
|
|
63
82
|
if (job && TERMINAL_JOB_STATUSES.has(job.status)) {
|
|
64
83
|
assertSuccessfulTerminalJob(job);
|
|
65
84
|
return {
|
|
@@ -69,7 +88,33 @@ export const syncGitHubDraftIfConnected = async (input) => {
|
|
|
69
88
|
versionId: job.appliedVersionId,
|
|
70
89
|
};
|
|
71
90
|
}
|
|
72
|
-
|
|
91
|
+
const remainingMs = deadline - Date.now();
|
|
92
|
+
if (remainingMs <= 0) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
await sleep(Math.min(pollIntervalMs, remainingMs));
|
|
96
|
+
}
|
|
97
|
+
const finalJob = await readJob({
|
|
98
|
+
callApi: input.callApi,
|
|
99
|
+
token: input.token,
|
|
100
|
+
workspaceId: input.workspaceId,
|
|
101
|
+
funnelId: input.funnelId,
|
|
102
|
+
jobId: pushResult.jobId,
|
|
103
|
+
});
|
|
104
|
+
if (!finalJob) {
|
|
105
|
+
throw new Error(`GitHub sync job ${pushResult.jobId} was not found while waiting.`);
|
|
106
|
+
}
|
|
107
|
+
if (TERMINAL_JOB_STATUSES.has(finalJob.status)) {
|
|
108
|
+
assertSuccessfulTerminalJob(finalJob);
|
|
109
|
+
return {
|
|
110
|
+
status: finalJob.status,
|
|
111
|
+
jobId: finalJob.id,
|
|
112
|
+
remoteSha: finalJob.targetRemoteSha,
|
|
113
|
+
versionId: finalJob.appliedVersionId,
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
if (finalJob.status === 'pending' || finalJob.status === 'running') {
|
|
117
|
+
throw new GitHubSyncTimeoutError(pushResult.jobId, finalJob.status);
|
|
73
118
|
}
|
|
74
119
|
throw new Error(`Timed out waiting for GitHub sync job ${pushResult.jobId}.`);
|
|
75
120
|
};
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.35",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.23",
|
|
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": "bd7ae81ac8617e8d297268a1091e1bea5fb6b412346f6e891a0f08ab49520686"
|
|
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": "5c2a6798dd3e13269526d43af4a3db1e4c85c748f49f768417f8dcb827803603"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.34",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.22",
|
|
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": "849a3a60cbe89e30e667ab77dcd6459fa2374ec73223182cbf837d5ae0cf3c78"
|
|
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": "f5399c6e73f637684b8ce470aca7449b5f90c43efbe2fc88d444759cf1647de1"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.33",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.21",
|
|
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": "28443021c76a8744a7a1bbd07ecdc8f3ee72053e3c40fceb7a359cedf786d943"
|
|
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": "1d3c3cd2fd3aef9faf5f0d1b3a11b6d019f02d7056a20408083361da8e1db0d3"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.32",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.20",
|
|
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": "1254e4fb9cdf2e470c5997d9df92dffb9fd4276abab955de247b297eaac0a585"
|
|
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": "4f59ba03061e03db39b8b13f044be7a9012ebde01a825e0385fddfe3130ce4e1"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.31",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.19",
|
|
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": "4c8843a38778d6a445195e7c46fc71aafd60056ac225c061892fb66003862636"
|
|
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": "3367ba96679da38fbdbeace2952fa6a5df6e16c9e7014f7231156e851f135614"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.30",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.18",
|
|
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": "e39e33c49ad2669ccc88016df2ca803e0860ec58972956b1a72020fb3a83939c"
|
|
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": "64d969e839025d3d6956c0cd0a7632c5a3e887d52425fddd0b1a54f1a5a48440"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.29",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.17",
|
|
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": "bf7171b1101096ac3b205aa8f251379de1c66e16c20b5ca6054e84fd0ab17862"
|
|
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": "87d325180a8e9e501cf5c2a00174f99fae58a612b7a93cfe9753bf1f149e46a4"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnelsgrove/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/The-Solid-Grove/funnelsgrove.git",
|
|
8
|
+
"directory": "apps/cli"
|
|
9
|
+
},
|
|
5
10
|
"type": "module",
|
|
6
11
|
"bin": {
|
|
7
12
|
"fgrove": "dist/cli.js",
|
|
@@ -29,12 +34,12 @@
|
|
|
29
34
|
"test": "vitest run"
|
|
30
35
|
},
|
|
31
36
|
"dependencies": {
|
|
32
|
-
"@funnelsgrove/runtime": "0.1.
|
|
37
|
+
"@funnelsgrove/runtime": "0.1.62",
|
|
33
38
|
"commander": "^12.0.0",
|
|
34
39
|
"typescript": "^5.8.3"
|
|
35
40
|
},
|
|
36
41
|
"devDependencies": {
|
|
37
|
-
"@funnelsgrove/analytics": "0.1.
|
|
42
|
+
"@funnelsgrove/analytics": "0.1.39",
|
|
38
43
|
"vitest": "^3.0.0"
|
|
39
44
|
}
|
|
40
45
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.23",
|
|
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": "bd7ae81ac8617e8d297268a1091e1bea5fb6b412346f6e891a0f08ab49520686"
|
|
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": "5c2a6798dd3e13269526d43af4a3db1e4c85c748f49f768417f8dcb827803603"
|
|
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.
|
|
20
|
+
Release `@funnelsgrove/runtime` `0.1.62` first, then `@funnelsgrove/analytics` `0.1.39`, then `@funnelsgrove/payments` `0.1.56`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.35`. 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.23",
|
|
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": "bd7ae81ac8617e8d297268a1091e1bea5fb6b412346f6e891a0f08ab49520686"
|
|
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": "5c2a6798dd3e13269526d43af4a3db1e4c85c748f49f768417f8dcb827803603"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|