withruntime 0.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.
Files changed (3) hide show
  1. package/README.md +7 -0
  2. package/cli.js +8 -0
  3. package/package.json +12 -0
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # withruntime
2
+
3
+ This name belongs to [Runtime Cloud](https://withruntime.com) and forwards to the official package, [`@withruntime/cloud`](https://www.npmjs.com/package/@withruntime/cloud).
4
+
5
+ ```sh
6
+ npx @withruntime/cloud --help
7
+ ```
package/cli.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ // Forward to the official Runtime Cloud CLI in @withruntime/cloud.
3
+ import { createRequire } from "node:module";
4
+ import { dirname, join } from "node:path";
5
+ import { pathToFileURL } from "node:url";
6
+ const require = createRequire(import.meta.url);
7
+ const main = require.resolve("@withruntime/cloud");
8
+ await import(pathToFileURL(join(dirname(main), "cli.js")).href);
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "withruntime",
3
+ "version": "0.2.0",
4
+ "description": "Runtime Cloud's CLI. This name forwards to @withruntime/cloud, the official package from withruntime.com.",
5
+ "homepage": "https://withruntime.com",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "bin": { "withruntime": "./cli.js" },
9
+ "files": ["cli.js", "README.md"],
10
+ "dependencies": { "@withruntime/cloud": ">=0.1.0" },
11
+ "engines": { "node": ">=22" }
12
+ }