@starlove/orbit 1.0.1 → 1.0.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/.dockerignore +0 -1
- package/Dockerfile +1 -15
- package/dist/full/version.json +2 -2
- package/package.json +1 -3
- package/src/cli/orbit.js +6 -3
- package/pnpm-workspace.yaml +0 -2
package/.dockerignore
CHANGED
package/Dockerfile
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
# syntax=docker/dockerfile:1
|
|
2
2
|
|
|
3
|
-
FROM node:22-slim AS build
|
|
4
|
-
WORKDIR /app
|
|
5
|
-
|
|
6
|
-
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
|
7
|
-
|
|
8
|
-
RUN corepack enable && corepack prepare pnpm@10.20.0 --activate
|
|
9
|
-
|
|
10
|
-
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
|
11
|
-
RUN pnpm install --frozen-lockfile
|
|
12
|
-
|
|
13
|
-
COPY build.mjs ./
|
|
14
|
-
COPY public ./public
|
|
15
|
-
RUN pnpm run build:full
|
|
16
|
-
|
|
17
3
|
FROM node:22-slim AS runtime
|
|
18
4
|
WORKDIR /app
|
|
19
5
|
|
|
@@ -25,7 +11,7 @@ COPY package.json ./
|
|
|
25
11
|
COPY SKILL-ORBIT.md ./SKILL-ORBIT.md
|
|
26
12
|
COPY docs ./docs
|
|
27
13
|
COPY src ./src
|
|
28
|
-
COPY
|
|
14
|
+
COPY dist/full ./dist/full
|
|
29
15
|
|
|
30
16
|
VOLUME ["/data"]
|
|
31
17
|
EXPOSE 3337
|
package/dist/full/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starlove/orbit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Starscape Orbit — SQLite-backed, agent-first task board (Starscape suite).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
"build.mjs",
|
|
16
16
|
"docs",
|
|
17
17
|
"dist/full",
|
|
18
|
-
"pnpm-lock.yaml",
|
|
19
|
-
"pnpm-workspace.yaml",
|
|
20
18
|
"public",
|
|
21
19
|
"src",
|
|
22
20
|
"package.json"
|
package/src/cli/orbit.js
CHANGED
|
@@ -34,7 +34,8 @@ Options (docker only):
|
|
|
34
34
|
--image <name> Docker image tag (default: starscape-orbit:local)
|
|
35
35
|
--data-dir <dir> Docker registry/export data dir (default: <cwd>/.orbit/docker-data)
|
|
36
36
|
--name <name> Optional Docker container name
|
|
37
|
-
--detach
|
|
37
|
+
-d, --detach Run the container in the background (default)
|
|
38
|
+
--foreground Run attached in the foreground
|
|
38
39
|
--no-build Skip docker build and run an existing image
|
|
39
40
|
--dry-run Print docker commands without running them`);
|
|
40
41
|
}
|
|
@@ -156,7 +157,7 @@ function parseArgs(argv) {
|
|
|
156
157
|
dataDir: null,
|
|
157
158
|
containerName: null,
|
|
158
159
|
buildImage: true,
|
|
159
|
-
detach:
|
|
160
|
+
detach: true,
|
|
160
161
|
dryRun: false
|
|
161
162
|
};
|
|
162
163
|
const rest = argv.slice(2);
|
|
@@ -194,8 +195,10 @@ function parseArgs(argv) {
|
|
|
194
195
|
args.containerName = a.slice("--name=".length);
|
|
195
196
|
} else if (a === "--no-build") {
|
|
196
197
|
args.buildImage = false;
|
|
197
|
-
} else if (a === "--detach") {
|
|
198
|
+
} else if (a === "-d" || a === "--detach") {
|
|
198
199
|
args.detach = true;
|
|
200
|
+
} else if (a === "--foreground") {
|
|
201
|
+
args.detach = false;
|
|
199
202
|
} else if (a === "--dry-run") {
|
|
200
203
|
args.dryRun = true;
|
|
201
204
|
} else {
|
package/pnpm-workspace.yaml
DELETED