walkeros 0.0.1 → 0.3.2

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/README.md CHANGED
@@ -1,3 +1,50 @@
1
- # walkerOS
1
+ # runneros
2
2
 
3
- soon
3
+ Shorthand command for walkerOS CLI.
4
+
5
+ ## Usage
6
+
7
+ Instead of typing:
8
+
9
+ ```bash
10
+ npx @walkeros/cli bundle
11
+ ```
12
+
13
+ You can now use:
14
+
15
+ ```bash
16
+ npx runneros bundle
17
+ ```
18
+
19
+ ## Commands
20
+
21
+ All commands from `@walkeros/cli` are available:
22
+
23
+ ```bash
24
+ # Bundle walkerOS components
25
+ npx runneros bundle
26
+
27
+ # Simulate event processing
28
+ npx runneros simulate
29
+
30
+ # Run collector/server
31
+ npx runneros run collect <file>
32
+ npx runneros run serve <file>
33
+ ```
34
+
35
+ ## Installation
36
+
37
+ ```bash
38
+ npm install -g runneros
39
+ ```
40
+
41
+ Or use directly with npx:
42
+
43
+ ```bash
44
+ npx runneros --help
45
+ ```
46
+
47
+ ## Documentation
48
+
49
+ For full documentation, see the
50
+ [walkerOS CLI documentation](https://github.com/elbwalker/walkerOS/tree/main/packages/cli).
package/dist/index.js ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/index.ts
4
+ import { spawn } from "child_process";
5
+ import { createRequire } from "module";
6
+ var require2 = createRequire(import.meta.url);
7
+ var cliPath = require2.resolve("@walkeros/cli");
8
+ var child = spawn("node", [cliPath, ...process.argv.slice(2)], {
9
+ stdio: "inherit"
10
+ });
11
+ child.on("exit", (code) => {
12
+ process.exit(code || 0);
13
+ });
package/package.json CHANGED
@@ -1,23 +1,40 @@
1
1
  {
2
2
  "name": "walkeros",
3
- "version": "0.0.1",
4
- "description": "walkerOS CLI",
3
+ "version": "0.3.2",
4
+ "description": "walkerOS CLI - Bundle and deploy walkerOS components",
5
+ "license": "MIT",
6
+ "type": "module",
5
7
  "bin": {
6
- "walkeros": "./index.js"
8
+ "walkeros": "dist/index.js"
7
9
  },
8
10
  "files": [
9
- "index.js",
11
+ "dist/**",
10
12
  "README.md"
11
13
  ],
12
- "license": "MIT",
14
+ "scripts": {
15
+ "build": "tsup",
16
+ "dev": "tsx src/index.ts",
17
+ "start": "node dist/index.js",
18
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
19
+ },
20
+ "dependencies": {
21
+ "@walkeros/cli": "0.3.2"
22
+ },
23
+ "devDependencies": {
24
+ "tsup": "^8.4.0",
25
+ "typescript": "^5.8.2"
26
+ },
13
27
  "repository": {
14
28
  "url": "git+https://github.com/elbwalker/walkerOS.git",
15
- "directory": "packages/cli"
29
+ "directory": "apps/cli"
16
30
  },
17
31
  "author": "elbwalker <hello@elbwalker.com>",
18
32
  "homepage": "https://github.com/elbwalker/walkerOS#readme",
19
33
  "keywords": [
20
- "walkerOS",
21
- "cli"
34
+ "walkeros",
35
+ "cli",
36
+ "shorthand",
37
+ "analytics",
38
+ "event-tracking"
22
39
  ]
23
40
  }
package/index.js DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- console.log('moin');