@funnelsgrove/cli 0.1.18 → 0.1.19
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/cli.js +8 -6
- package/package.json +3 -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 +8 -8
- 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
- package/template_scaffold/package-lock.json +9 -9
- package/template_scaffold/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1033,12 +1033,14 @@ export async function executeCreateFunnel(input) {
|
|
|
1033
1033
|
await assertOwnedOutputReservation(outputPath, outputReservation);
|
|
1034
1034
|
// Populate the mkdir-owned final directory without replacing its pathname. Besides keeping
|
|
1035
1035
|
// the reservation identity intact, this avoids platform-specific directory rename behavior.
|
|
1036
|
-
await
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1036
|
+
for (const entry of await readdir(stageDir)) {
|
|
1037
|
+
await cp(path.join(stageDir, entry), path.join(outputPath, entry), {
|
|
1038
|
+
recursive: true,
|
|
1039
|
+
force: false,
|
|
1040
|
+
errorOnExist: true,
|
|
1041
|
+
mode: fsConstants.COPYFILE_EXCL,
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1042
1044
|
await assertOwnedOutputReservation(outputPath, outputReservation, { requireEmpty: false });
|
|
1043
1045
|
await closeOutputPathReservation(outputReservation);
|
|
1044
1046
|
outputReservation = undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnelsgrove/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"test": "vitest run"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@funnelsgrove/runtime": "0.1.
|
|
31
|
+
"@funnelsgrove/runtime": "0.1.60",
|
|
32
32
|
"commander": "^12.0.0",
|
|
33
33
|
"typescript": "^5.8.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@funnelsgrove/analytics": "0.1.
|
|
36
|
+
"@funnelsgrove/analytics": "0.1.37",
|
|
37
37
|
"vitest": "^3.0.0"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.7",
|
|
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": "587b25fcb9c1578ea150f3168b0f196e5d5e65e9d6949d8532184eeea6b23793"
|
|
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": "9ff75b50d3ffe68f960ad7c8871cf2893c55e46b934dc77bd8a4467bd4eaa060"
|
|
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.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/cli` `0.1.19`. Deploy the API and funnel template only after those registry versions are available. 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.7",
|
|
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": "587b25fcb9c1578ea150f3168b0f196e5d5e65e9d6949d8532184eeea6b23793"
|
|
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": "9ff75b50d3ffe68f960ad7c8871cf2893c55e46b934dc77bd8a4467bd4eaa060"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "c539def9a1a48e9900f5f594945edd08be86e39d9431843520aa23667485000e",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.7",
|
|
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": "50c3a3e31d06e1765495952849334b42ed5204305be6ce27108672b02b09aff1",
|
|
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": "587b25fcb9c1578ea150f3168b0f196e5d5e65e9d6949d8532184eeea6b23793",
|
|
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": "f3acd4bf2029a1282d0391c0cbd0188ba441ee617a8ce682a5034bdf66db98b8",
|
|
240
240
|
"mode": "100644"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"path": "funnel-docs.config.json",
|
|
244
|
-
"sha256": "
|
|
244
|
+
"sha256": "9ff75b50d3ffe68f960ad7c8871cf2893c55e46b934dc77bd8a4467bd4eaa060",
|
|
245
245
|
"mode": "100644"
|
|
246
246
|
},
|
|
247
247
|
{
|
|
@@ -266,12 +266,12 @@
|
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"path": "package-lock.json",
|
|
269
|
-
"sha256": "
|
|
269
|
+
"sha256": "7881fe31f2e159e0778f5da0781b09b97c7166cb3dad5ab8e35a5592ecfa1301",
|
|
270
270
|
"mode": "100644"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
"path": "package.json",
|
|
274
|
-
"sha256": "
|
|
274
|
+
"sha256": "b5db28da5c766ef638d4241f6ba3e9a1a0a294770d2bb705dc24cae6ea50c2f5",
|
|
275
275
|
"mode": "100644"
|
|
276
276
|
},
|
|
277
277
|
{
|
|
@@ -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.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/cli` `0.1.19`. Deploy the API and funnel template only after those registry versions are available. 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
|
|
@@ -311,7 +311,7 @@ describe('funnel agent documentation supply', () => {
|
|
|
311
311
|
|
|
312
312
|
expect(manifest).toMatchObject({
|
|
313
313
|
schemaVersion: 1,
|
|
314
|
-
bundleVersion: '2.0.
|
|
314
|
+
bundleVersion: '2.0.7',
|
|
315
315
|
stepContractVersion: contract.stepContractVersion,
|
|
316
316
|
contractHash: contract.contractHash,
|
|
317
317
|
});
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"name": "funnel-template",
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@funnelsgrove/analytics": "^0.1.
|
|
11
|
+
"@funnelsgrove/analytics": "^0.1.37",
|
|
12
12
|
"@funnelsgrove/payments": "^0.1.53",
|
|
13
|
-
"@funnelsgrove/runtime": "^0.1.
|
|
13
|
+
"@funnelsgrove/runtime": "^0.1.60",
|
|
14
14
|
"@stripe/react-stripe-js": "^5.6.0",
|
|
15
15
|
"@stripe/stripe-js": "^8.7.0",
|
|
16
16
|
"lucide-react": "^0.553.0",
|
|
@@ -891,11 +891,11 @@
|
|
|
891
891
|
}
|
|
892
892
|
},
|
|
893
893
|
"node_modules/@funnelsgrove/analytics": {
|
|
894
|
-
"version": "0.1.
|
|
895
|
-
"resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.1.
|
|
896
|
-
"integrity": "sha512-
|
|
894
|
+
"version": "0.1.37",
|
|
895
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.1.37.tgz",
|
|
896
|
+
"integrity": "sha512-MlXNdsGmNZNpDl5k1J4jKMsB8PYXVTZ2QZjhvSL3Ii0QKoCD9Gru/PprS/TlJ6jQ0Hscy/0vqGB3FZ6sa2Fwag==",
|
|
897
897
|
"dependencies": {
|
|
898
|
-
"@funnelsgrove/runtime": "0.1.
|
|
898
|
+
"@funnelsgrove/runtime": "0.1.60"
|
|
899
899
|
}
|
|
900
900
|
},
|
|
901
901
|
"node_modules/@funnelsgrove/payments": {
|
|
@@ -913,9 +913,9 @@
|
|
|
913
913
|
}
|
|
914
914
|
},
|
|
915
915
|
"node_modules/@funnelsgrove/runtime": {
|
|
916
|
-
"version": "0.1.
|
|
917
|
-
"resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.1.
|
|
918
|
-
"integrity": "sha512-
|
|
916
|
+
"version": "0.1.60",
|
|
917
|
+
"resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.1.60.tgz",
|
|
918
|
+
"integrity": "sha512-ftjWXqcXmzPKlESo57B4o6VHc0NFiyxJrKB0CYMqVcxgBo9O5d7h/lZhs/1Wi3pQNRsBSGOfs//MUC/hJQ/NOw==",
|
|
919
919
|
"dependencies": {
|
|
920
920
|
"posthog-js": "^1.369.2",
|
|
921
921
|
"react": "19.2.3",
|
|
@@ -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.1.
|
|
15
|
+
"@funnelsgrove/analytics": "^0.1.37",
|
|
16
16
|
"@funnelsgrove/payments": "^0.1.53",
|
|
17
|
-
"@funnelsgrove/runtime": "^0.1.
|
|
17
|
+
"@funnelsgrove/runtime": "^0.1.60",
|
|
18
18
|
"@stripe/react-stripe-js": "^5.6.0",
|
|
19
19
|
"@stripe/stripe-js": "^8.7.0",
|
|
20
20
|
"lucide-react": "^0.553.0",
|