@walkeros/cli 1.4.0-next-1771334965900 → 2.0.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 +3 -3
- package/README.md +62 -29
- package/dist/cli.js +209 -68
- package/dist/examples/docker-compose.runner.yml +42 -0
- package/dist/index.d.ts +23 -41
- package/dist/index.js +211 -70
- package/dist/index.js.map +1 -1
- package/dist/runtime/main.js +1919 -184
- package/examples/docker-compose.runner.yml +42 -0
- package/package.json +8 -4
- package/dist/walker.js +0 -1
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
- WALKEROS_TOKEN=${WALKEROS_TOKEN}
|
|
23
|
+
- PROJECT_ID=${PROJECT_ID}
|
|
24
|
+
- PORT=8080
|
|
25
|
+
ports:
|
|
26
|
+
- "8081:8080"
|
|
27
|
+
|
|
28
|
+
# Mode C: Remote config with polling
|
|
29
|
+
runner-remote:
|
|
30
|
+
image: walkeros/flow:latest
|
|
31
|
+
volumes:
|
|
32
|
+
- runner-cache:/app/cache
|
|
33
|
+
environment:
|
|
34
|
+
- WALKEROS_TOKEN=${WALKEROS_TOKEN}
|
|
35
|
+
- PROJECT_ID=${PROJECT_ID}
|
|
36
|
+
- FLOW_ID=${FLOW_ID}
|
|
37
|
+
- PORT=8080
|
|
38
|
+
ports:
|
|
39
|
+
- "8082:8080"
|
|
40
|
+
|
|
41
|
+
volumes:
|
|
42
|
+
runner-cache:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "walkerOS CLI - Bundle and deploy walkerOS components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,12 +37,15 @@
|
|
|
37
37
|
"lint": "eslint \"src/**/*.ts*\"",
|
|
38
38
|
"clean": "rm -rf .turbo && rm -rf dist && rm -rf coverage && rm -rf .temp && rm -rf .tmp",
|
|
39
39
|
"docker:build": "bash scripts/build-docker.sh",
|
|
40
|
+
"docker:build:flow": "bash scripts/build-flow.sh",
|
|
40
41
|
"docker:test": "bash scripts/test-docker.sh",
|
|
41
42
|
"docker:publish": "bash scripts/publish-docker.sh"
|
|
42
43
|
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"@walkeros/core": ">=1.4.0"
|
|
46
|
+
},
|
|
43
47
|
"dependencies": {
|
|
44
|
-
"@walkeros/core": "
|
|
45
|
-
"@walkeros/server-core": "1.0.6-next-1771334965900",
|
|
48
|
+
"@walkeros/server-core": "^2.0.0",
|
|
46
49
|
"ajv": "^8.17.1",
|
|
47
50
|
"chalk": "^5.6.2",
|
|
48
51
|
"commander": "^14.0.2",
|
|
@@ -61,7 +64,8 @@
|
|
|
61
64
|
"@types/fs-extra": "^11.0.4",
|
|
62
65
|
"@types/jsdom": "^21.1.7",
|
|
63
66
|
"@types/pacote": "^11.1.8",
|
|
64
|
-
"@walkeros/config": "
|
|
67
|
+
"@walkeros/config": "*",
|
|
68
|
+
"@walkeros/core": "*",
|
|
65
69
|
"msw": "^2.12.10",
|
|
66
70
|
"openapi-typescript": "^7.13.0",
|
|
67
71
|
"tsx": "^4.21.0"
|
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||{});})();
|