@walkeros/cli 4.9.0 → 4.10.0-next-1794522704623
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 +88 -0
- package/dist/cli.js +5018 -2795
- package/dist/examples/flow-complete.json +28 -37
- package/dist/examples/flow-complete.md +4 -10
- package/dist/examples/index.d.ts +6 -40
- package/dist/examples/index.js +35 -73
- package/dist/examples/index.js.map +1 -1
- package/dist/index.d.ts +258 -81
- package/dist/index.js +1539 -545
- package/dist/index.js.map +1 -1
- package/dist/validate.js +58 -1
- package/dist/validate.js.map +1 -1
- package/examples/flow-complete.json +28 -37
- package/examples/flow-complete.md +4 -10
- package/package.json +30 -30
|
@@ -234,32 +234,28 @@
|
|
|
234
234
|
"settings": {
|
|
235
235
|
"windowCollector": "walkerCollector"
|
|
236
236
|
},
|
|
237
|
-
"observe": {
|
|
238
|
-
"url": "$env.OBSERVE_URL:https://app.walkeros.io/observe",
|
|
239
|
-
"binding": "$env.OBSERVE_BINDING:obs-web"
|
|
240
|
-
},
|
|
241
237
|
"bundle": {
|
|
242
238
|
"packages": {
|
|
243
239
|
"@walkeros/collector": {
|
|
244
|
-
"version": "4.
|
|
240
|
+
"version": "4.10.0-next-1794522704623"
|
|
245
241
|
},
|
|
246
242
|
"@walkeros/web-source-cmp-usercentrics": {
|
|
247
|
-
"version": "4.
|
|
243
|
+
"version": "4.10.0-next-1794522704623"
|
|
248
244
|
},
|
|
249
245
|
"@walkeros/web-source-session": {
|
|
250
|
-
"version": "4.
|
|
246
|
+
"version": "4.10.0-next-1794522704623"
|
|
251
247
|
},
|
|
252
248
|
"@walkeros/web-source-datalayer": {
|
|
253
|
-
"version": "4.
|
|
249
|
+
"version": "4.10.0-next-1794522704623"
|
|
254
250
|
},
|
|
255
251
|
"@walkeros/web-source-browser": {
|
|
256
|
-
"version": "4.
|
|
252
|
+
"version": "4.10.0-next-1794522704623"
|
|
257
253
|
},
|
|
258
254
|
"@walkeros/web-destination-gtag": {
|
|
259
|
-
"version": "4.
|
|
255
|
+
"version": "4.10.0-next-1794522704623"
|
|
260
256
|
},
|
|
261
257
|
"@walkeros/web-destination-api": {
|
|
262
|
-
"version": "4.
|
|
258
|
+
"version": "4.10.0-next-1794522704623"
|
|
263
259
|
}
|
|
264
260
|
},
|
|
265
261
|
"env": {
|
|
@@ -1771,47 +1767,43 @@
|
|
|
1771
1767
|
"config": {
|
|
1772
1768
|
"platform": "server",
|
|
1773
1769
|
"url": "$env.SERVER_URL:http://localhost:8080/collect",
|
|
1774
|
-
"observe": {
|
|
1775
|
-
"level": "standard",
|
|
1776
|
-
"sample": 0.1
|
|
1777
|
-
},
|
|
1778
1770
|
"bundle": {
|
|
1779
1771
|
"packages": {
|
|
1780
1772
|
"@walkeros/collector": {
|
|
1781
|
-
"version": "4.
|
|
1773
|
+
"version": "4.10.0-next-1794522704623"
|
|
1782
1774
|
},
|
|
1783
1775
|
"@walkeros/server-source-express": {
|
|
1784
|
-
"version": "4.
|
|
1776
|
+
"version": "4.10.0-next-1794522704623"
|
|
1785
1777
|
},
|
|
1786
1778
|
"@walkeros/transformer-ga4": {
|
|
1787
|
-
"version": "4.
|
|
1779
|
+
"version": "4.10.0-next-1794522704623"
|
|
1788
1780
|
},
|
|
1789
1781
|
"@walkeros/transformer-validate": {
|
|
1790
|
-
"version": "4.
|
|
1782
|
+
"version": "4.10.0-next-1794522704623"
|
|
1791
1783
|
},
|
|
1792
1784
|
"@walkeros/server-transformer-bot": {
|
|
1793
|
-
"version": "4.
|
|
1785
|
+
"version": "4.10.0-next-1794522704623"
|
|
1794
1786
|
},
|
|
1795
1787
|
"@walkeros/server-transformer-fingerprint": {
|
|
1796
|
-
"version": "4.
|
|
1788
|
+
"version": "4.10.0-next-1794522704623"
|
|
1797
1789
|
},
|
|
1798
1790
|
"@walkeros/server-transformer-file": {
|
|
1799
|
-
"version": "4.
|
|
1791
|
+
"version": "4.10.0-next-1794522704623"
|
|
1800
1792
|
},
|
|
1801
1793
|
"@walkeros/server-store-fs": {
|
|
1802
|
-
"version": "4.
|
|
1794
|
+
"version": "4.10.0-next-1794522704623"
|
|
1803
1795
|
},
|
|
1804
1796
|
"@walkeros/server-destination-gcp": {
|
|
1805
|
-
"version": "4.
|
|
1797
|
+
"version": "4.10.0-next-1794522704623"
|
|
1806
1798
|
},
|
|
1807
1799
|
"@walkeros/server-destination-meta": {
|
|
1808
|
-
"version": "4.
|
|
1800
|
+
"version": "4.10.0-next-1794522704623"
|
|
1809
1801
|
},
|
|
1810
1802
|
"@walkeros/server-destination-piwikpro": {
|
|
1811
|
-
"version": "4.
|
|
1803
|
+
"version": "4.10.0-next-1794522704623"
|
|
1812
1804
|
},
|
|
1813
1805
|
"@walkeros/server-destination-datamanager": {
|
|
1814
|
-
"version": "4.
|
|
1806
|
+
"version": "4.10.0-next-1794522704623"
|
|
1815
1807
|
}
|
|
1816
1808
|
}
|
|
1817
1809
|
}
|
|
@@ -4736,10 +4728,10 @@
|
|
|
4736
4728
|
"destinations": [
|
|
4737
4729
|
{
|
|
4738
4730
|
"operatingAccount": {
|
|
4739
|
-
"accountId": "$env.GADS_ACCOUNT_ID:
|
|
4731
|
+
"accountId": "$env.GADS_ACCOUNT_ID:1234567890",
|
|
4740
4732
|
"accountType": "GOOGLE_ADS"
|
|
4741
4733
|
},
|
|
4742
|
-
"productDestinationId": "$env.GADS_CONVERSION_ACTION:
|
|
4734
|
+
"productDestinationId": "$env.GADS_CONVERSION_ACTION:987654321"
|
|
4743
4735
|
}
|
|
4744
4736
|
]
|
|
4745
4737
|
},
|
|
@@ -4859,15 +4851,14 @@
|
|
|
4859
4851
|
},
|
|
4860
4852
|
"out": [
|
|
4861
4853
|
[
|
|
4862
|
-
"
|
|
4854
|
+
"sendServer",
|
|
4863
4855
|
"https://datamanager.googleapis.com/v1/events:ingest",
|
|
4856
|
+
"{\"events\":[{\"eventTimestamp\":\"2023-11-14T22:13:20.000Z\",\"transactionId\":\"ORD-100\",\"adIdentifiers\":{\"gclid\":\"gclid-abc123\"},\"conversionValue\":149.8,\"currency\":\"EUR\",\"eventDeviceInfo\":{\"ipAddress\":\"203.0.113.42\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36\"},\"consent\":{\"adUserData\":\"CONSENT_GRANTED\"},\"eventSource\":\"WEB\"}],\"destinations\":[{\"operatingAccount\":{\"accountId\":\"1234567890\",\"accountType\":\"GOOGLE_ADS\"},\"productDestinationId\":\"987654321\"}],\"encoding\":\"HEX\"}",
|
|
4864
4857
|
{
|
|
4865
|
-
"method": "POST",
|
|
4866
4858
|
"headers": {
|
|
4867
|
-
"
|
|
4868
|
-
"Content-Type": "application/json"
|
|
4859
|
+
"authorization": "Bearer ya29.c.test_token"
|
|
4869
4860
|
},
|
|
4870
|
-
"
|
|
4861
|
+
"timeout": 10000
|
|
4871
4862
|
}
|
|
4872
4863
|
]
|
|
4873
4864
|
]
|
|
@@ -4882,13 +4873,13 @@
|
|
|
4882
4873
|
"bundle": {
|
|
4883
4874
|
"packages": {
|
|
4884
4875
|
"@walkeros/collector": {
|
|
4885
|
-
"version": "4.
|
|
4876
|
+
"version": "4.10.0-next-1794522704623"
|
|
4886
4877
|
},
|
|
4887
4878
|
"@walkeros/server-source-gcp": {
|
|
4888
|
-
"version": "4.
|
|
4879
|
+
"version": "4.10.0-next-1794522704623"
|
|
4889
4880
|
},
|
|
4890
4881
|
"@walkeros/server-destination-gcp": {
|
|
4891
|
-
"version": "4.
|
|
4882
|
+
"version": "4.10.0-next-1794522704623"
|
|
4892
4883
|
}
|
|
4893
4884
|
}
|
|
4894
4885
|
}
|
|
@@ -65,7 +65,7 @@ warehouse pubsub pull -> bigquery (keeps everything)
|
|
|
65
65
|
- `platform` at `/flows/web/config/platform`: platform decides how a flow is
|
|
66
66
|
built: a browser bundle or a server artifact.
|
|
67
67
|
- `flow-config` at `/flows/web/config`: config holds what the build needs:
|
|
68
|
-
platform, url, settings, bundle
|
|
68
|
+
platform, url, settings, bundle.
|
|
69
69
|
- `flow-sources` at `/flows/web/sources`: Sources turn whatever happens (a CMP
|
|
70
70
|
decision, a dataLayer push, a click) into events.
|
|
71
71
|
- `flow-transformers` at `/flows/server/transformers`: Transformers are named
|
|
@@ -225,7 +225,7 @@ curl -I http://localhost:8080/walker.js
|
|
|
225
225
|
- `code-push` at `/flows/web/transformers/pageGroup/code/push`: push is the
|
|
226
226
|
step function, written as $code.
|
|
227
227
|
- `code-type` at `/flows/web/transformers/pageGroup/code/type`: type names the
|
|
228
|
-
inline step in logs
|
|
228
|
+
inline step in logs.
|
|
229
229
|
- `step-config` at `/flows/server/destinations/meta/config`: config is the
|
|
230
230
|
same envelope for every step kind: settings, mapping, consent, reliability.
|
|
231
231
|
- `step-settings` at `/flows/server/destinations/meta/config/settings`:
|
|
@@ -924,16 +924,10 @@ walkeros cache info
|
|
|
924
924
|
- **In GTM:** publishing a container version.
|
|
925
925
|
- **Docs:** `getting-started/flow/index`.
|
|
926
926
|
|
|
927
|
-
## operate:
|
|
927
|
+
## operate: logs, CI and deploy
|
|
928
928
|
|
|
929
|
-
- **Purpose:**
|
|
929
|
+
- **Purpose:** read the logs, gate changes in CI, deploy through the app.
|
|
930
930
|
- **Features:**
|
|
931
|
-
- `observe-public` at `/flows/web/config/observe`: A web flow reports to
|
|
932
|
-
Observe through a public url and binding.
|
|
933
|
-
- `observe-level` at `/flows/server/config/observe/level`: level standard
|
|
934
|
-
reports step outcomes; trace adds payloads.
|
|
935
|
-
- `observe-sample` at `/flows/server/config/observe/sample`: sample reports
|
|
936
|
-
one event in ten.
|
|
937
931
|
- `collector-logger` at `/flows/server/collector/logger`: The log level comes
|
|
938
932
|
from the flow variable, so LOG_LEVEL changes it per environment.
|
|
939
933
|
- **CI:** `walkeros validate packages/cli/examples/flow-complete.json --strict`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0-next-1794522704623",
|
|
4
4
|
"description": "walkerOS CLI - Bundle and deploy walkerOS components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@vercel/nft": "^1.10.2",
|
|
56
|
-
"@walkeros/collector": "4.
|
|
57
|
-
"@walkeros/core": "4.
|
|
58
|
-
"@walkeros/server-core": "4.
|
|
59
|
-
"@walkeros/server-destination-api": "4.
|
|
60
|
-
"@walkeros/transformer-validate": "4.
|
|
61
|
-
"@walkeros/web-core": "4.
|
|
56
|
+
"@walkeros/collector": "4.10.0-next-1794522704623",
|
|
57
|
+
"@walkeros/core": "4.10.0-next-1794522704623",
|
|
58
|
+
"@walkeros/server-core": "4.10.0-next-1794522704623",
|
|
59
|
+
"@walkeros/server-destination-api": "4.10.0-next-1794522704623",
|
|
60
|
+
"@walkeros/transformer-validate": "4.10.0-next-1794522704623",
|
|
61
|
+
"@walkeros/web-core": "4.10.0-next-1794522704623",
|
|
62
62
|
"ajv": "^8.17.1",
|
|
63
63
|
"chalk": "^5.6.2",
|
|
64
64
|
"ci-info": "^4.4.0",
|
|
@@ -80,29 +80,29 @@
|
|
|
80
80
|
"@types/pacote": "^11.1.8",
|
|
81
81
|
"@types/picomatch": "4.0.3",
|
|
82
82
|
"@types/semver": "^7.7.1",
|
|
83
|
-
"@walkeros/config": "4.
|
|
84
|
-
"@walkeros/core": "4.
|
|
85
|
-
"@walkeros/destination-demo": "4.
|
|
86
|
-
"@walkeros/server-destination-aws": "4.
|
|
87
|
-
"@walkeros/server-destination-datamanager": "4.
|
|
88
|
-
"@walkeros/server-destination-gcp": "4.
|
|
89
|
-
"@walkeros/server-destination-meta": "4.
|
|
90
|
-
"@walkeros/server-destination-piwikpro": "4.
|
|
91
|
-
"@walkeros/server-source-aws": "4.
|
|
92
|
-
"@walkeros/server-source-express": "4.
|
|
93
|
-
"@walkeros/server-source-gcp": "4.
|
|
94
|
-
"@walkeros/server-store-fs": "4.
|
|
95
|
-
"@walkeros/server-transformer-bot": "4.
|
|
96
|
-
"@walkeros/server-transformer-file": "4.
|
|
97
|
-
"@walkeros/server-transformer-fingerprint": "4.
|
|
98
|
-
"@walkeros/transformer-ga4": "4.
|
|
99
|
-
"@walkeros/web-destination-api": "4.
|
|
100
|
-
"@walkeros/web-destination-gtag": "4.
|
|
101
|
-
"@walkeros/web-source-browser": "4.
|
|
102
|
-
"@walkeros/web-source-cmp-cookiefirst": "4.
|
|
103
|
-
"@walkeros/web-source-cmp-usercentrics": "4.
|
|
104
|
-
"@walkeros/web-source-datalayer": "4.
|
|
105
|
-
"@walkeros/web-source-session": "4.
|
|
83
|
+
"@walkeros/config": "4.10.0-next-1794522704623",
|
|
84
|
+
"@walkeros/core": "4.10.0-next-1794522704623",
|
|
85
|
+
"@walkeros/destination-demo": "4.10.0-next-1794522704623",
|
|
86
|
+
"@walkeros/server-destination-aws": "4.10.0-next-1794522704623",
|
|
87
|
+
"@walkeros/server-destination-datamanager": "4.10.0-next-1794522704623",
|
|
88
|
+
"@walkeros/server-destination-gcp": "4.10.0-next-1794522704623",
|
|
89
|
+
"@walkeros/server-destination-meta": "4.10.0-next-1794522704623",
|
|
90
|
+
"@walkeros/server-destination-piwikpro": "4.10.0-next-1794522704623",
|
|
91
|
+
"@walkeros/server-source-aws": "4.10.0-next-1794522704623",
|
|
92
|
+
"@walkeros/server-source-express": "4.10.0-next-1794522704623",
|
|
93
|
+
"@walkeros/server-source-gcp": "4.10.0-next-1794522704623",
|
|
94
|
+
"@walkeros/server-store-fs": "4.10.0-next-1794522704623",
|
|
95
|
+
"@walkeros/server-transformer-bot": "4.10.0-next-1794522704623",
|
|
96
|
+
"@walkeros/server-transformer-file": "4.10.0-next-1794522704623",
|
|
97
|
+
"@walkeros/server-transformer-fingerprint": "4.10.0-next-1794522704623",
|
|
98
|
+
"@walkeros/transformer-ga4": "4.10.0-next-1794522704623",
|
|
99
|
+
"@walkeros/web-destination-api": "4.10.0-next-1794522704623",
|
|
100
|
+
"@walkeros/web-destination-gtag": "4.10.0-next-1794522704623",
|
|
101
|
+
"@walkeros/web-source-browser": "4.10.0-next-1794522704623",
|
|
102
|
+
"@walkeros/web-source-cmp-cookiefirst": "4.10.0-next-1794522704623",
|
|
103
|
+
"@walkeros/web-source-cmp-usercentrics": "4.10.0-next-1794522704623",
|
|
104
|
+
"@walkeros/web-source-datalayer": "4.10.0-next-1794522704623",
|
|
105
|
+
"@walkeros/web-source-session": "4.10.0-next-1794522704623",
|
|
106
106
|
"msw": "^2.12.10",
|
|
107
107
|
"tsx": "^4.21.0"
|
|
108
108
|
},
|