@walkeros/cli 4.7.0-next-1790245733116 → 4.7.0
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/CHANGELOG.md +136 -48
- package/README.md +11 -5
- package/dist/cli.js +9186 -6548
- package/dist/dev.d.ts +7 -0
- package/dist/dev.js +17 -2
- package/dist/dev.js.map +1 -1
- package/dist/examples/README.md +47 -213
- package/dist/examples/customers/README.md +18 -0
- package/dist/examples/customers/cust-1001 +1 -0
- package/dist/examples/customers/cust-42 +1 -0
- package/dist/examples/flow-complete.json +4760 -592
- package/dist/examples/flow-complete.md +884 -225
- package/dist/examples/index.d.ts +2681 -1
- package/dist/examples/index.js +6882 -659
- package/dist/examples/index.js.map +1 -1
- package/dist/examples/shared/README.md +22 -0
- package/dist/index.d.ts +297 -24
- package/dist/index.js +2767 -884
- package/dist/index.js.map +1 -1
- package/examples/README.md +47 -213
- package/examples/customers/README.md +18 -0
- package/examples/customers/cust-1001 +1 -0
- package/examples/customers/cust-42 +1 -0
- package/examples/flow-complete.json +4760 -592
- package/examples/flow-complete.md +884 -225
- package/examples/shared/README.md +22 -0
- package/package.json +31 -8
- package/dist/examples/docker-compose.runner.yml +0 -44
- package/examples/docker-compose.runner.yml +0 -44
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# shared
|
|
2
|
+
|
|
3
|
+
Files the server flow of `flow-complete.json` serves first party.
|
|
4
|
+
|
|
5
|
+
- Root `include: ["./shared"]` ships this folder next to the server artifact.
|
|
6
|
+
- The `assets` store (`@walkeros/server-store-fs`,
|
|
7
|
+
`basePath: "$env.ASSETS_DIR:./shared"`) reads from it, and the `file`
|
|
8
|
+
transformer answers `GET /walker.js` with it.
|
|
9
|
+
- `walker.js` is generated, not committed. Build the web flow straight into this
|
|
10
|
+
folder (web builds ignore root `include`):
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
walkeros bundle packages/cli/examples/flow-complete.json -f web -o packages/cli/examples/shared/walker.js
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- Then build and start the server flow; the artifact carries its own copy of
|
|
17
|
+
this folder:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
walkeros bundle packages/cli/examples/flow-complete.json -f server -o dist/server.mjs
|
|
21
|
+
runneros start dist/server.mjs -p 8080 --env-file .env
|
|
22
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/cli",
|
|
3
|
-
"version": "4.7.0
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "walkerOS CLI - Bundle and deploy walkerOS components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"files": [
|
|
29
29
|
"dist/**",
|
|
30
30
|
"examples/**",
|
|
31
|
+
"!examples/shared/walker.js",
|
|
32
|
+
"!dist/examples/shared/walker.js",
|
|
31
33
|
"openapi/spec.json",
|
|
32
34
|
"src/telemetry/flow.json",
|
|
33
35
|
"README.md",
|
|
@@ -51,11 +53,11 @@
|
|
|
51
53
|
},
|
|
52
54
|
"dependencies": {
|
|
53
55
|
"@vercel/nft": "^1.10.2",
|
|
54
|
-
"@walkeros/collector": "4.7.0
|
|
55
|
-
"@walkeros/core": "4.7.0
|
|
56
|
-
"@walkeros/server-core": "4.7.0
|
|
57
|
-
"@walkeros/server-destination-api": "4.7.0
|
|
58
|
-
"@walkeros/transformer-validate": "4.7.0
|
|
56
|
+
"@walkeros/collector": "4.7.0",
|
|
57
|
+
"@walkeros/core": "4.7.0",
|
|
58
|
+
"@walkeros/server-core": "4.7.0",
|
|
59
|
+
"@walkeros/server-destination-api": "4.7.0",
|
|
60
|
+
"@walkeros/transformer-validate": "4.7.0",
|
|
59
61
|
"ajv": "^8.17.1",
|
|
60
62
|
"chalk": "^5.6.2",
|
|
61
63
|
"ci-info": "^4.4.0",
|
|
@@ -79,8 +81,29 @@
|
|
|
79
81
|
"@types/pacote": "^11.1.8",
|
|
80
82
|
"@types/picomatch": "4.0.3",
|
|
81
83
|
"@types/semver": "^7.7.1",
|
|
82
|
-
"@walkeros/config": "4.7.0
|
|
83
|
-
"@walkeros/core": "4.7.0
|
|
84
|
+
"@walkeros/config": "4.7.0",
|
|
85
|
+
"@walkeros/core": "4.7.0",
|
|
86
|
+
"@walkeros/destination-demo": "4.7.0",
|
|
87
|
+
"@walkeros/server-destination-aws": "4.7.0",
|
|
88
|
+
"@walkeros/server-destination-datamanager": "4.7.0",
|
|
89
|
+
"@walkeros/server-destination-gcp": "4.7.0",
|
|
90
|
+
"@walkeros/server-destination-meta": "4.7.0",
|
|
91
|
+
"@walkeros/server-destination-piwikpro": "4.7.0",
|
|
92
|
+
"@walkeros/server-source-aws": "4.7.0",
|
|
93
|
+
"@walkeros/server-source-express": "4.7.0",
|
|
94
|
+
"@walkeros/server-source-gcp": "4.7.0",
|
|
95
|
+
"@walkeros/server-store-fs": "4.7.0",
|
|
96
|
+
"@walkeros/server-transformer-bot": "4.7.0",
|
|
97
|
+
"@walkeros/server-transformer-file": "4.7.0",
|
|
98
|
+
"@walkeros/server-transformer-fingerprint": "4.7.0",
|
|
99
|
+
"@walkeros/transformer-ga4": "4.7.0",
|
|
100
|
+
"@walkeros/web-destination-api": "4.7.0",
|
|
101
|
+
"@walkeros/web-destination-gtag": "4.7.0",
|
|
102
|
+
"@walkeros/web-source-browser": "4.7.0",
|
|
103
|
+
"@walkeros/web-source-cmp-cookiefirst": "4.7.0",
|
|
104
|
+
"@walkeros/web-source-cmp-usercentrics": "4.7.0",
|
|
105
|
+
"@walkeros/web-source-datalayer": "4.7.0",
|
|
106
|
+
"@walkeros/web-source-session": "4.7.0",
|
|
84
107
|
"msw": "^2.12.10",
|
|
85
108
|
"openapi-typescript": "^7.13.0",
|
|
86
109
|
"tsx": "^4.21.0"
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# docker-compose.runner.yml — walkerOS Runner examples
|
|
2
|
-
# NOTE: For production, pin to a specific version (e.g. walkeros/flow:1.3.0)
|
|
3
|
-
services:
|
|
4
|
-
# Mode A: Local config only
|
|
5
|
-
runner-local:
|
|
6
|
-
image: walkeros/flow:latest
|
|
7
|
-
volumes:
|
|
8
|
-
- ./flow.json:/app/flow.json
|
|
9
|
-
environment:
|
|
10
|
-
- BUNDLE=/app/flow.json
|
|
11
|
-
- PORT=8080
|
|
12
|
-
ports:
|
|
13
|
-
- "8080:8080"
|
|
14
|
-
|
|
15
|
-
# Mode B: Local config + heartbeat
|
|
16
|
-
runner-registered:
|
|
17
|
-
image: walkeros/flow:latest
|
|
18
|
-
volumes:
|
|
19
|
-
- ./flow.json:/app/flow.json
|
|
20
|
-
environment:
|
|
21
|
-
- BUNDLE=/app/flow.json
|
|
22
|
-
# An automation token (wos_pat_...) from Account, Automation tokens, or a
|
|
23
|
-
# bound runner token (wos_run_...) from a flow's self-hosted deploy tab.
|
|
24
|
-
- WALKEROS_TOKEN=${WALKEROS_TOKEN}
|
|
25
|
-
- PROJECT_ID=${PROJECT_ID}
|
|
26
|
-
- PORT=8080
|
|
27
|
-
ports:
|
|
28
|
-
- "8081:8080"
|
|
29
|
-
|
|
30
|
-
# Mode C: Remote config with polling
|
|
31
|
-
runner-remote:
|
|
32
|
-
image: walkeros/flow:latest
|
|
33
|
-
volumes:
|
|
34
|
-
- runner-cache:/app/cache
|
|
35
|
-
environment:
|
|
36
|
-
- WALKEROS_TOKEN=${WALKEROS_TOKEN}
|
|
37
|
-
- PROJECT_ID=${PROJECT_ID}
|
|
38
|
-
- FLOW_ID=${FLOW_ID}
|
|
39
|
-
- PORT=8080
|
|
40
|
-
ports:
|
|
41
|
-
- "8082:8080"
|
|
42
|
-
|
|
43
|
-
volumes:
|
|
44
|
-
runner-cache:
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# docker-compose.runner.yml — walkerOS Runner examples
|
|
2
|
-
# NOTE: For production, pin to a specific version (e.g. walkeros/flow:1.3.0)
|
|
3
|
-
services:
|
|
4
|
-
# Mode A: Local config only
|
|
5
|
-
runner-local:
|
|
6
|
-
image: walkeros/flow:latest
|
|
7
|
-
volumes:
|
|
8
|
-
- ./flow.json:/app/flow.json
|
|
9
|
-
environment:
|
|
10
|
-
- BUNDLE=/app/flow.json
|
|
11
|
-
- PORT=8080
|
|
12
|
-
ports:
|
|
13
|
-
- "8080:8080"
|
|
14
|
-
|
|
15
|
-
# Mode B: Local config + heartbeat
|
|
16
|
-
runner-registered:
|
|
17
|
-
image: walkeros/flow:latest
|
|
18
|
-
volumes:
|
|
19
|
-
- ./flow.json:/app/flow.json
|
|
20
|
-
environment:
|
|
21
|
-
- BUNDLE=/app/flow.json
|
|
22
|
-
# An automation token (wos_pat_...) from Account, Automation tokens, or a
|
|
23
|
-
# bound runner token (wos_run_...) from a flow's self-hosted deploy tab.
|
|
24
|
-
- WALKEROS_TOKEN=${WALKEROS_TOKEN}
|
|
25
|
-
- PROJECT_ID=${PROJECT_ID}
|
|
26
|
-
- PORT=8080
|
|
27
|
-
ports:
|
|
28
|
-
- "8081:8080"
|
|
29
|
-
|
|
30
|
-
# Mode C: Remote config with polling
|
|
31
|
-
runner-remote:
|
|
32
|
-
image: walkeros/flow:latest
|
|
33
|
-
volumes:
|
|
34
|
-
- runner-cache:/app/cache
|
|
35
|
-
environment:
|
|
36
|
-
- WALKEROS_TOKEN=${WALKEROS_TOKEN}
|
|
37
|
-
- PROJECT_ID=${PROJECT_ID}
|
|
38
|
-
- FLOW_ID=${FLOW_ID}
|
|
39
|
-
- PORT=8080
|
|
40
|
-
ports:
|
|
41
|
-
- "8082:8080"
|
|
42
|
-
|
|
43
|
-
volumes:
|
|
44
|
-
runner-cache:
|