@orbit-app/cli 0.0.0-stage → 1.1.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/dist/orbit.mjs ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ var major = Number(process.versions.node.split(".")[0]);
3
+ if (major < 22) {
4
+ process.stderr.write("error: orbit needs Node.js 22 or later. This is Node.js " + process.versions.node + ".\n");
5
+ process.exit(1);
6
+ }
7
+ import("./cli.mjs");
package/package.json CHANGED
@@ -1,6 +1,34 @@
1
1
  {
2
2
  "name": "@orbit-app/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.1.0",
4
+ "description": "The orbit command: publish Mac apps and web apps to an Orbit store.",
5
+ "type": "module",
6
+ "bin": {
7
+ "orbit": "dist/orbit.mjs"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "engines": {
13
+ "node": ">=22"
14
+ },
15
+ "scripts": {
16
+ "build": "node scripts/build.mjs",
17
+ "dev": "node scripts/build.mjs --dev && ORBIT_API_URL=${ORBIT_API_URL:-http://localhost:8787} node dist/orbit.mjs",
18
+ "typecheck": "tsc --noEmit",
19
+ "test": "tsc --noEmit && vitest run",
20
+ "prepack": "node scripts/build.mjs"
21
+ },
22
+ "devDependencies": {
23
+ "@orbit/manifest": "link:../manifest",
24
+ "@orbit/objects-schema": "link:../objects-schema",
25
+ "@types/node": "^26.6.5",
26
+ "commander": "^15.0.0",
27
+ "esbuild": "0.28.2",
28
+ "typescript": "^7.0.2",
29
+ "vitest": "^5.0.5"
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
33
+ }
34
+ }