@walkeros/cli 3.1.1 → 3.2.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.
@@ -135,8 +135,9 @@ export META_PIXEL_ID="123456789"
135
135
  walkeros bundle examples/web-tracking.json --stats
136
136
 
137
137
  # Simulate events
138
- walkeros simulate examples/web-tracking.json \
139
- --event '{"name":"product view","data":{"id":"P123","name":"Laptop","price":999}}'
138
+ walkeros push examples/web-tracking.json \
139
+ --event '{"name":"product view","data":{"id":"P123","name":"Laptop","price":999}}' \
140
+ --simulate destination.demo
140
141
  ```
141
142
 
142
143
  ## Server Examples
@@ -382,7 +383,7 @@ The event name is parsed as: `const [entity, action] = event.split(' ')`
382
383
 
383
384
  ## Next Steps
384
385
 
385
- 1. Try each example with `walkeros bundle` and `walkeros simulate`
386
+ 1. Try each example with `walkeros bundle` and `walkeros push --simulate`
386
387
  2. Modify examples to match your tracking requirements
387
388
  3. Create custom flow files for your use case
388
389
  4. Deploy to production
@@ -540,9 +540,6 @@
540
540
  "@walkeros/destination-demo": {},
541
541
  "@walkeros/transformer-validator": {},
542
542
  "@walkeros/server-transformer-fingerprint": {},
543
- "@walkeros/server-transformer-cache": {
544
- "path": "../../server/transformers/cache"
545
- },
546
543
  "@walkeros/store-memory": {
547
544
  "path": "../../stores/memory"
548
545
  }
@@ -562,6 +559,23 @@
562
559
  "http": {
563
560
  "package": "@walkeros/server-source-express",
564
561
  "primary": true,
562
+ "cache": {
563
+ "store": "cache",
564
+ "rules": [
565
+ {
566
+ "match": {
567
+ "key": "ingest.method",
568
+ "operator": "eq",
569
+ "value": "GET"
570
+ },
571
+ "key": ["ingest.method", "ingest.path"],
572
+ "ttl": 300,
573
+ "update": {
574
+ "headers.X-Cache": { "key": "cache.status" }
575
+ }
576
+ }
577
+ ]
578
+ },
565
579
  "config": {
566
580
  "settings": {
567
581
  "path": "/collect",
@@ -598,26 +612,6 @@
598
612
  }
599
613
  },
600
614
  "transformers": {
601
- "cache": {
602
- "package": "@walkeros/server-transformer-cache",
603
- "next": "filter",
604
- "config": {
605
- "settings": {
606
- "rules": [
607
- {
608
- "match": {
609
- "key": "method",
610
- "operator": "equals",
611
- "value": "GET"
612
- },
613
- "key": ["method", "path"],
614
- "ttl": 300
615
- }
616
- ]
617
- }
618
- },
619
- "env": { "store": "$store:cache" }
620
- },
621
615
  "filter": {
622
616
  "code": {
623
617
  "type": "filter",
@@ -682,7 +676,7 @@
682
676
  "destinations": {
683
677
  "meta": {
684
678
  "package": "@walkeros/server-destination-meta",
685
- "before": "cache",
679
+ "before": "fingerprint",
686
680
  "config": {
687
681
  "settings": {
688
682
  "pixelId": "$var.metaPixelId",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "destinations": {
16
16
  "demo": {
17
- "code": "destinationDemo",
17
+ "package": "@walkeros/destination-demo",
18
18
  "config": {
19
19
  "consent": {
20
20
  "marketing": true
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "destinations": {
16
16
  "demo": {
17
- "code": "destinationDemo",
17
+ "package": "@walkeros/destination-demo",
18
18
  "config": {
19
19
  "settings": {
20
20
  "name": "Simple Demo",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkeros/cli",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "description": "walkerOS CLI - Bundle and deploy walkerOS components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -44,8 +44,8 @@
44
44
  "docker:publish": "bash scripts/publish-docker.sh"
45
45
  },
46
46
  "dependencies": {
47
- "@walkeros/core": "^3.1.1",
48
- "@walkeros/server-core": "^3.1.1",
47
+ "@walkeros/core": "^3.2.0",
48
+ "@walkeros/server-core": "^3.2.0",
49
49
  "ajv": "^8.17.1",
50
50
  "chalk": "^5.6.2",
51
51
  "commander": "^14.0.2",