@walkeros/cli 1.3.0 → 1.4.0-next-1771252576264
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 +13 -0
- package/dist/dev.d.ts +6 -6
- package/dist/dev.js +6 -1
- package/dist/dev.js.map +1 -1
- package/dist/examples/flow-complete.json +2 -0
- package/dist/examples/flow-complete.md +16 -14
- package/dist/index.d.ts +2334 -21
- package/dist/index.js +372 -824
- package/dist/index.js.map +1 -1
- package/examples/flow-complete.json +2 -0
- package/examples/flow-complete.md +16 -14
- package/package.json +14 -5
- package/dist/walker.js +0 -1
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"package": "@walkeros/web-source-datalayer",
|
|
71
71
|
"next": "enricher",
|
|
72
72
|
"config": {
|
|
73
|
+
"require": ["session"],
|
|
73
74
|
"settings": {
|
|
74
75
|
"name": "dataLayer",
|
|
75
76
|
"prefix": "gtag"
|
|
@@ -219,6 +220,7 @@
|
|
|
219
220
|
"ga4": {
|
|
220
221
|
"package": "@walkeros/web-destination-gtag",
|
|
221
222
|
"config": {
|
|
223
|
+
"require": ["consent", "user"],
|
|
222
224
|
"consent": { "marketing": true },
|
|
223
225
|
"settings": {
|
|
224
226
|
"ga4": { "measurementId": "$var.ga4MeasurementId" }
|
|
@@ -71,7 +71,7 @@ npx walkeros serve packages/cli/examples/flow-complete.json --flow web
|
|
|
71
71
|
|
|
72
72
|
## Feature Inventory
|
|
73
73
|
|
|
74
|
-
### Features Used (
|
|
74
|
+
### Features Used (55)
|
|
75
75
|
|
|
76
76
|
#### Mapping - Value Extraction
|
|
77
77
|
|
|
@@ -118,13 +118,14 @@ npx walkeros serve packages/cli/examples/flow-complete.json --flow web
|
|
|
118
118
|
|
|
119
119
|
#### Sources
|
|
120
120
|
|
|
121
|
-
| Feature
|
|
122
|
-
|
|
|
123
|
-
| Primary source
|
|
124
|
-
| Multiple sources
|
|
125
|
-
| Source-level mapping
|
|
126
|
-
| Pre-collector chain
|
|
127
|
-
|
|
|
121
|
+
| Feature | Location | Example |
|
|
122
|
+
| ----------------------- | --------- | ------------------------------------- |
|
|
123
|
+
| Primary source | browser | `"primary": true` |
|
|
124
|
+
| Multiple sources | web flow | browser + dataLayer + demo |
|
|
125
|
+
| Source-level mapping | dataLayer | `"mapping": { "add_to_cart": {...} }` |
|
|
126
|
+
| Pre-collector chain | dataLayer | `"next": "dataLayerValidator"` |
|
|
127
|
+
| Require (deferred init) | dataLayer | `"require": ["session"]` |
|
|
128
|
+
| Demo source events | demo | Pre-configured test events |
|
|
128
129
|
|
|
129
130
|
#### Transformers
|
|
130
131
|
|
|
@@ -139,12 +140,13 @@ npx walkeros serve packages/cli/examples/flow-complete.json --flow web
|
|
|
139
140
|
|
|
140
141
|
#### Destinations
|
|
141
142
|
|
|
142
|
-
| Feature
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
| Destination
|
|
146
|
-
|
|
|
147
|
-
|
|
|
143
|
+
| Feature | Location | Example |
|
|
144
|
+
| ----------------------- | ---------------- | ---------------------------------- |
|
|
145
|
+
| Require (deferred init) | GA4 | `"require": ["consent", "user"]` |
|
|
146
|
+
| Destination consent | GA4 | `"consent": { "marketing": true }` |
|
|
147
|
+
| Destination mapping | All destinations | Entity/action to vendor events |
|
|
148
|
+
| Multiple destinations | Both flows | GA4 + API, Meta + Demo |
|
|
149
|
+
| Batch option | API | `"batch": 5` |
|
|
148
150
|
|
|
149
151
|
#### Collector
|
|
150
152
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-next-1771252576264",
|
|
4
4
|
"description": "walkerOS CLI - Bundle and deploy walkerOS components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,15 +30,20 @@
|
|
|
30
30
|
"dev": "tsx src/index.ts",
|
|
31
31
|
"start": "node dist/index.js",
|
|
32
32
|
"test": "jest --colors",
|
|
33
|
-
"
|
|
33
|
+
"test:integration": "jest --colors --testPathPatterns='(cli\\.test|cli-e2e\\.test)'",
|
|
34
|
+
"generate:types": "openapi-typescript ${OPENAPI_SPEC:-./openapi/spec.json} -o src/types/api.gen.d.ts",
|
|
35
|
+
"generate:types:local": "OPENAPI_SPEC=${WALKEROS_APP_URL:-http://localhost:3000}/api/openapi.json npm run generate:types",
|
|
36
|
+
"typecheck": "tsc --noEmit",
|
|
37
|
+
"lint": "eslint \"src/**/*.ts*\"",
|
|
34
38
|
"clean": "rm -rf .turbo && rm -rf dist && rm -rf coverage && rm -rf .temp && rm -rf .tmp",
|
|
35
39
|
"docker:build": "bash scripts/build-docker.sh",
|
|
36
40
|
"docker:test": "bash scripts/test-docker.sh",
|
|
37
41
|
"docker:publish": "bash scripts/publish-docker.sh"
|
|
38
42
|
},
|
|
39
43
|
"dependencies": {
|
|
40
|
-
"@walkeros/core": "1.
|
|
41
|
-
"@walkeros/server-core": "1.0.
|
|
44
|
+
"@walkeros/core": "1.4.0-next-1771252576264",
|
|
45
|
+
"@walkeros/server-core": "1.0.6-next-1771252576264",
|
|
46
|
+
"ajv": "^8.17.1",
|
|
42
47
|
"chalk": "^5.6.2",
|
|
43
48
|
"commander": "^14.0.2",
|
|
44
49
|
"cors": "^2.8.5",
|
|
@@ -46,6 +51,8 @@
|
|
|
46
51
|
"express": "^4.21.2",
|
|
47
52
|
"fs-extra": "^11.3.2",
|
|
48
53
|
"jsdom": "^26.1.0",
|
|
54
|
+
"open": "^11.0.0",
|
|
55
|
+
"openapi-fetch": "^0.17.0",
|
|
49
56
|
"pacote": "^21.0.4"
|
|
50
57
|
},
|
|
51
58
|
"devDependencies": {
|
|
@@ -54,7 +61,9 @@
|
|
|
54
61
|
"@types/fs-extra": "^11.0.4",
|
|
55
62
|
"@types/jsdom": "^21.1.7",
|
|
56
63
|
"@types/pacote": "^11.1.8",
|
|
57
|
-
"@walkeros/config": "
|
|
64
|
+
"@walkeros/config": "1.1.0-next-1771252576264",
|
|
65
|
+
"msw": "^2.12.10",
|
|
66
|
+
"openapi-typescript": "^7.13.0",
|
|
58
67
|
"tsx": "^4.21.0"
|
|
59
68
|
},
|
|
60
69
|
"repository": {
|
package/dist/walker.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(()=>{var o=Object.defineProperty;var i={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(i,{Level:()=>r});var r=(e=>(e[e.ERROR=0]="ERROR",e[e.INFO=1]="INFO",e[e.DEBUG=2]="DEBUG",e))(r||{});})();
|