@funnelsgrove/cli 0.1.24 → 0.1.26
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/apiClient.js +10 -0
- package/dist/cli.js +3 -14
- package/dist/cliIdentity.d.ts +13 -0
- package/dist/cliIdentity.js +43 -0
- package/dist/contractCompatibility.d.ts +30 -0
- package/dist/contractCompatibility.js +250 -0
- package/funnel-contract-compatibility.json +1036 -0
- package/package.json +2 -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 +6 -3
- package/template_scaffold/funnel-docs.config.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnelsgrove/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"template_scaffold",
|
|
16
16
|
"!template_scaffold/node_modules",
|
|
17
17
|
"template_validation",
|
|
18
|
+
"funnel-contract-compatibility.json",
|
|
18
19
|
"docs-release-history.json",
|
|
19
20
|
"legacy-docs-catalog.json"
|
|
20
21
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.14",
|
|
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
|
|
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": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
|
|
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/
|
|
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.26`. 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.14",
|
|
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
|
|
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": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "a271052a1c008ebf769480051d47c0f941cb4987a2a9aa5f3475c01892e23b78",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.14",
|
|
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": "fafd9bbf52e7eb1a5dd3c4f429b6b004d8b8afa3ce652f40b55ea8743e26ce84",
|
|
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044",
|
|
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": "0a44b1c46be244ba95237c34ed157306932f82ea2e30654cb0e35b9dfa2f0a84",
|
|
240
240
|
"mode": "100644"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"path": "funnel-docs.config.json",
|
|
244
|
-
"sha256": "
|
|
244
|
+
"sha256": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c",
|
|
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/
|
|
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.26`. 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
|
|
@@ -138,9 +138,10 @@ describe('funnel agent documentation supply', () => {
|
|
|
138
138
|
|
|
139
139
|
it('renders package release order from the current package manifests', async () => {
|
|
140
140
|
const { buildBundle, parseGeneratedBlock } = await loadGenerator();
|
|
141
|
-
const [runtimePackage, analyticsPackage, cliPackage] = await Promise.all([
|
|
141
|
+
const [runtimePackage, analyticsPackage, paymentsPackage, cliPackage] = await Promise.all([
|
|
142
142
|
readFile(join(repoRoot, 'apps/funnel-runtime/package.json'), 'utf8').then(JSON.parse),
|
|
143
143
|
readFile(join(repoRoot, 'apps/funnel-analytics/package.json'), 'utf8').then(JSON.parse),
|
|
144
|
+
readFile(join(repoRoot, 'apps/funnel-payments/package.json'), 'utf8').then(JSON.parse),
|
|
144
145
|
readFile(join(repoRoot, 'apps/cli/package.json'), 'utf8').then(JSON.parse),
|
|
145
146
|
]);
|
|
146
147
|
const migration = (await buildBundle()).files.get(
|
|
@@ -152,7 +153,9 @@ describe('funnel agent documentation supply', () => {
|
|
|
152
153
|
expect(generated).toContain(
|
|
153
154
|
`Release \`@funnelsgrove/runtime\` \`${runtimePackage.version}\` first, `
|
|
154
155
|
+ `then \`@funnelsgrove/analytics\` \`${analyticsPackage.version}\`, `
|
|
155
|
-
+ `then \`@funnelsgrove/
|
|
156
|
+
+ `then \`@funnelsgrove/payments\` \`${paymentsPackage.version}\`. `
|
|
157
|
+
+ 'Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. '
|
|
158
|
+
+ `Only then publish \`@funnelsgrove/cli\` \`${cliPackage.version}\`.`,
|
|
156
159
|
);
|
|
157
160
|
});
|
|
158
161
|
|
|
@@ -337,7 +340,7 @@ describe('funnel agent documentation supply', () => {
|
|
|
337
340
|
|
|
338
341
|
expect(manifest).toMatchObject({
|
|
339
342
|
schemaVersion: 1,
|
|
340
|
-
bundleVersion: '2.0.
|
|
343
|
+
bundleVersion: '2.0.14',
|
|
341
344
|
stepContractVersion: contract.stepContractVersion,
|
|
342
345
|
contractHash: contract.contractHash,
|
|
343
346
|
});
|