@holo-js/cli 0.2.5 → 0.2.6
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/{agent-skills-MSEMQUXT.mjs → agent-skills-CHAXS2YN.mjs} +13 -6
- package/dist/bin/holo.mjs +39 -17
- package/dist/{broadcast-5MJ3GJK7.mjs → broadcast-JBQWQZSO.mjs} +5 -4
- package/dist/{broadcast-MRJGFCFH.mjs → broadcast-YGJFCEPP.mjs} +5 -4
- package/dist/{cache-WWE4Q4YE.mjs → cache-HUGRWOHQ.mjs} +1 -1
- package/dist/{cache-KVRYC7FB.mjs → cache-OSJ4PD52.mjs} +1 -1
- package/dist/{cache-migrations-CPYQC7T6.mjs → cache-migrations-77TLXIVG.mjs} +3 -3
- package/dist/{cache-migrations-APDFSFEX.mjs → cache-migrations-FKAHRP24.mjs} +3 -3
- package/dist/{chunk-UPXQONEH.mjs → chunk-4K4CWMMP.mjs} +3 -3
- package/dist/{chunk-PT72AMV7.mjs → chunk-7B2RVYLL.mjs} +46 -46
- package/dist/{chunk-XDRCZ3Z5.mjs → chunk-AJLRAC5M.mjs} +3 -3
- package/dist/{chunk-TWITVSFZ.mjs → chunk-C624G3R2.mjs} +46 -46
- package/dist/{dev-CT4DRTLN.mjs → dev-L4Y2GU2E.mjs} +2 -2
- package/dist/{dev-QDLR6C7K.mjs → dev-YPBQBEOE.mjs} +2 -2
- package/dist/{generators-PUN5TFP5.mjs → generators-H4NTV4DB.mjs} +5 -5
- package/dist/{generators-WQHI7DBW.mjs → generators-VCYISHWO.mjs} +5 -5
- package/dist/index.mjs +39 -17
- package/dist/{media-migrations-D3CDNMPT.mjs → media-migrations-BNVAPYEM.mjs} +2 -2
- package/dist/{media-migrations-IWCSCKSA.mjs → media-migrations-NNB3DAQR.mjs} +2 -2
- package/dist/{queue-GRB2IH5M.mjs → queue-5BXSDFCO.mjs} +6 -6
- package/dist/{queue-O3OSLGOV.mjs → queue-D4LSWNS2.mjs} +6 -6
- package/dist/{queue-migrations-7T42S4FX.mjs → queue-migrations-EF4AMMSY.mjs} +2 -2
- package/dist/{queue-migrations-HFZB64OG.mjs → queue-migrations-LXEWXJYT.mjs} +2 -2
- package/dist/{runtime-M3G5OKQV.mjs → runtime-RPMZMTD4.mjs} +1 -1
- package/dist/{runtime-TTRP2DGL.mjs → runtime-UKBJQFXM.mjs} +1 -1
- package/dist/{scaffold-5BOVJYF3.mjs → scaffold-NJ5VH73M.mjs} +1 -1
- package/dist/{scaffold-NY3MWUZF.mjs → scaffold-VV3KTYGO.mjs} +1 -1
- package/dist/{security-H7AGDFBX.mjs → security-JR4P7L2C.mjs} +1 -1
- package/dist/{security-ST6ED7EK.mjs → security-K5PZS3E3.mjs} +1 -1
- package/package.json +8 -8
|
@@ -18,7 +18,7 @@ description: Help users build applications with the Holo-JS framework by researc
|
|
|
18
18
|
|
|
19
19
|
# Holo-JS
|
|
20
20
|
|
|
21
|
-
Use the docs as the source of truth. Do not answer from memory when exact commands, imports, API names, config shape, route shape, or framework integration details matter.
|
|
21
|
+
Use the docs as the source of truth, then act. Do not answer from memory when exact commands, imports, API names, config shape, route shape, or framework integration details matter.
|
|
22
22
|
|
|
23
23
|
Primary documentation URL: https://docs.holo-js.com/
|
|
24
24
|
|
|
@@ -26,10 +26,17 @@ Primary documentation URL: https://docs.holo-js.com/
|
|
|
26
26
|
|
|
27
27
|
1. Clarify the user's task category in your own reasoning: setup, config, database, ORM, auth, authorization, validation/forms, storage/media, queue/events, broadcast/realtime, mail/notifications, testing, deployment, or framework integration.
|
|
28
28
|
2. Search the live docs before giving implementation details.
|
|
29
|
-
3. Open the most relevant docs
|
|
30
|
-
4.
|
|
31
|
-
5.
|
|
32
|
-
6.
|
|
29
|
+
3. Open the most relevant docs page and read only the sections that match the task.
|
|
30
|
+
4. Open at most one adjacent or overview page when the task touches package setup, framework integration, auth/session/security, background workers, or deployment.
|
|
31
|
+
5. Stop researching as soon as the docs provide enough information to implement the requested task.
|
|
32
|
+
6. Implement the task immediately using the docs you just read.
|
|
33
|
+
7. Mention when docs do not cover the requested detail and ask for a docs link or local project context.
|
|
34
|
+
|
|
35
|
+
Do not read package implementation files after docs lookup unless one of these is true:
|
|
36
|
+
|
|
37
|
+
- the docs are missing the API detail required to compile the code
|
|
38
|
+
- the implementation already failed and you need source to debug the failure
|
|
39
|
+
- the user explicitly asks you to inspect package internals
|
|
33
40
|
|
|
34
41
|
## How To Search
|
|
35
42
|
|
|
@@ -80,7 +87,7 @@ These names are navigation hints, not an API reference. Confirm exact paths and
|
|
|
80
87
|
- Do not assume optional packages are installed. Check install/setup docs for the feature.
|
|
81
88
|
- Do not expose secrets in client code or examples.
|
|
82
89
|
- Do not hand-edit generated Holo-JS output unless docs explicitly instruct it.
|
|
83
|
-
- If docs and installed package behavior disagree, tell the user what you found and
|
|
90
|
+
- If docs and installed package behavior disagree, tell the user what you found and verify the smallest relevant package surface before continuing.
|
|
84
91
|
|
|
85
92
|
## Coding Against An Existing App
|
|
86
93
|
|
package/dist/bin/holo.mjs
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "../chunk-LBJAJLKU.mjs";
|
|
31
31
|
import "../chunk-D7O4SU6N.mjs";
|
|
32
32
|
import "../chunk-VP2E62DF.mjs";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-7B2RVYLL.mjs";
|
|
34
34
|
import "../chunk-YEFJBN56.mjs";
|
|
35
35
|
import "../chunk-J76GH2DR.mjs";
|
|
36
36
|
import {
|
|
@@ -129,43 +129,43 @@ var projectRuntimeModulePromise;
|
|
|
129
129
|
var projectScaffoldModulePromise;
|
|
130
130
|
var agentSkillsModulePromise;
|
|
131
131
|
function loadRuntimeModule() {
|
|
132
|
-
runtimeModulePromise ??= import("../runtime-
|
|
132
|
+
runtimeModulePromise ??= import("../runtime-RPMZMTD4.mjs");
|
|
133
133
|
return runtimeModulePromise;
|
|
134
134
|
}
|
|
135
135
|
function loadQueueModule() {
|
|
136
|
-
queueModulePromise ??= import("../queue-
|
|
136
|
+
queueModulePromise ??= import("../queue-D4LSWNS2.mjs");
|
|
137
137
|
return queueModulePromise;
|
|
138
138
|
}
|
|
139
139
|
function loadCacheModule() {
|
|
140
|
-
cacheModulePromise ??= import("../cache-
|
|
140
|
+
cacheModulePromise ??= import("../cache-OSJ4PD52.mjs");
|
|
141
141
|
return cacheModulePromise;
|
|
142
142
|
}
|
|
143
143
|
function loadQueueMigrationsModule() {
|
|
144
|
-
queueMigrationsModulePromise ??= import("../queue-migrations-
|
|
144
|
+
queueMigrationsModulePromise ??= import("../queue-migrations-LXEWXJYT.mjs");
|
|
145
145
|
return queueMigrationsModulePromise;
|
|
146
146
|
}
|
|
147
147
|
function loadCacheMigrationsModule() {
|
|
148
|
-
cacheMigrationsModulePromise ??= import("../cache-migrations-
|
|
148
|
+
cacheMigrationsModulePromise ??= import("../cache-migrations-FKAHRP24.mjs");
|
|
149
149
|
return cacheMigrationsModulePromise;
|
|
150
150
|
}
|
|
151
151
|
function loadMediaMigrationsModule() {
|
|
152
|
-
mediaMigrationsModulePromise ??= import("../media-migrations-
|
|
152
|
+
mediaMigrationsModulePromise ??= import("../media-migrations-BNVAPYEM.mjs");
|
|
153
153
|
return mediaMigrationsModulePromise;
|
|
154
154
|
}
|
|
155
155
|
function loadGeneratorsModule() {
|
|
156
|
-
generatorsModulePromise ??= import("../generators-
|
|
156
|
+
generatorsModulePromise ??= import("../generators-VCYISHWO.mjs");
|
|
157
157
|
return generatorsModulePromise;
|
|
158
158
|
}
|
|
159
159
|
function loadBroadcastModule() {
|
|
160
|
-
broadcastModulePromise ??= import("../broadcast-
|
|
160
|
+
broadcastModulePromise ??= import("../broadcast-JBQWQZSO.mjs");
|
|
161
161
|
return broadcastModulePromise;
|
|
162
162
|
}
|
|
163
163
|
function loadSecurityModule() {
|
|
164
|
-
securityModulePromise ??= import("../security-
|
|
164
|
+
securityModulePromise ??= import("../security-K5PZS3E3.mjs");
|
|
165
165
|
return securityModulePromise;
|
|
166
166
|
}
|
|
167
167
|
function loadDevModule() {
|
|
168
|
-
devModulePromise ??= import("../dev-
|
|
168
|
+
devModulePromise ??= import("../dev-YPBQBEOE.mjs");
|
|
169
169
|
return devModulePromise;
|
|
170
170
|
}
|
|
171
171
|
function loadProjectConfigModule() {
|
|
@@ -181,11 +181,11 @@ function loadProjectRuntimeModule() {
|
|
|
181
181
|
return projectRuntimeModulePromise;
|
|
182
182
|
}
|
|
183
183
|
function loadProjectScaffoldModule() {
|
|
184
|
-
projectScaffoldModulePromise ??= import("../scaffold-
|
|
184
|
+
projectScaffoldModulePromise ??= import("../scaffold-NJ5VH73M.mjs");
|
|
185
185
|
return projectScaffoldModulePromise;
|
|
186
186
|
}
|
|
187
187
|
function loadAgentSkillsModule() {
|
|
188
|
-
agentSkillsModulePromise ??= import("../agent-skills-
|
|
188
|
+
agentSkillsModulePromise ??= import("../agent-skills-CHAXS2YN.mjs");
|
|
189
189
|
return agentSkillsModulePromise;
|
|
190
190
|
}
|
|
191
191
|
async function resolveRuntimeExecutor(runtimeExecutor) {
|
|
@@ -255,6 +255,23 @@ function createCommandContext(io, projectRoot, loadProject, input) {
|
|
|
255
255
|
loadProject
|
|
256
256
|
};
|
|
257
257
|
}
|
|
258
|
+
function serializePassthroughInput(input) {
|
|
259
|
+
const tokens = [...input.args];
|
|
260
|
+
for (const [name, value] of Object.entries(input.flags)) {
|
|
261
|
+
if (value === false) {
|
|
262
|
+
continue;
|
|
263
|
+
}
|
|
264
|
+
const flag = name.length === 1 ? `-${name}` : `--${name}`;
|
|
265
|
+
const values = Array.isArray(value) ? value : [value];
|
|
266
|
+
for (const currentValue of values) {
|
|
267
|
+
tokens.push(flag);
|
|
268
|
+
if (currentValue !== true) {
|
|
269
|
+
tokens.push(String(currentValue));
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return tokens;
|
|
274
|
+
}
|
|
258
275
|
function printCommandList(io, registry) {
|
|
259
276
|
const internal = registry.filter((command) => command.source === "internal");
|
|
260
277
|
const app = registry.filter((command) => command.source === "app");
|
|
@@ -808,13 +825,18 @@ function createInternalCommands(context, runtimeExecutor, queueExecutors = {}, p
|
|
|
808
825
|
{
|
|
809
826
|
name: "start",
|
|
810
827
|
description: "Run the production framework server with Holo runtime preloads.",
|
|
811
|
-
usage: "holo start",
|
|
828
|
+
usage: "holo start [...frameworkArgs]",
|
|
812
829
|
source: "internal",
|
|
813
|
-
async prepare() {
|
|
814
|
-
return { args:
|
|
830
|
+
async prepare(input) {
|
|
831
|
+
return { args: input.args, flags: input.flags };
|
|
815
832
|
},
|
|
816
|
-
async run() {
|
|
833
|
+
async run(input) {
|
|
817
834
|
const runProjectStartServer = await resolveProjectExecutor(projectExecutors, "runProjectStartServer");
|
|
835
|
+
const passthroughArgs = serializePassthroughInput(input);
|
|
836
|
+
if (passthroughArgs.length > 0) {
|
|
837
|
+
await runProjectStartServer(context, context.projectRoot, void 0, passthroughArgs);
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
818
840
|
await runProjectStartServer(context, context.projectRoot);
|
|
819
841
|
}
|
|
820
842
|
},
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
writeLine
|
|
3
|
+
} from "./chunk-I7QBCEV7.mjs";
|
|
1
4
|
import {
|
|
2
5
|
initializeProjectRuntime
|
|
3
6
|
} from "./chunk-KS5TWO75.mjs";
|
|
4
7
|
import "./chunk-LBJAJLKU.mjs";
|
|
5
|
-
import {
|
|
6
|
-
writeLine
|
|
7
|
-
} from "./chunk-I7QBCEV7.mjs";
|
|
8
8
|
import "./chunk-D7O4SU6N.mjs";
|
|
9
9
|
import {
|
|
10
10
|
prepareProjectDiscovery
|
|
11
11
|
} from "./chunk-VP2E62DF.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
loadProjectConfig
|
|
15
15
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -146,6 +146,7 @@ async function createRealtimeWorkerBindings(projectRoot) {
|
|
|
146
146
|
return await withRealtimeRequest(options.context, async (authRequest) => {
|
|
147
147
|
return await realtime.subscribeRealtimeQuery(await resolveDefinition(name), args, {
|
|
148
148
|
onData: options.onData,
|
|
149
|
+
onPatch: options.onPatch,
|
|
149
150
|
onError: options.onError
|
|
150
151
|
}, { authRequest });
|
|
151
152
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
writeLine
|
|
3
|
-
} from "./chunk-I7QBCEV7.mjs";
|
|
4
1
|
import {
|
|
5
2
|
initializeProjectRuntime
|
|
6
3
|
} from "./chunk-KS5TWO75.mjs";
|
|
7
4
|
import "./chunk-LBJAJLKU.mjs";
|
|
5
|
+
import {
|
|
6
|
+
writeLine
|
|
7
|
+
} from "./chunk-I7QBCEV7.mjs";
|
|
8
8
|
import "./chunk-D7O4SU6N.mjs";
|
|
9
9
|
import {
|
|
10
10
|
prepareProjectDiscovery
|
|
11
11
|
} from "./chunk-VP2E62DF.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-C624G3R2.mjs";
|
|
13
13
|
import {
|
|
14
14
|
loadProjectConfig
|
|
15
15
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -146,6 +146,7 @@ async function createRealtimeWorkerBindings(projectRoot) {
|
|
|
146
146
|
return await withRealtimeRequest(options.context, async (authRequest) => {
|
|
147
147
|
return await realtime.subscribeRealtimeQuery(await resolveDefinition(name), args, {
|
|
148
148
|
onData: options.onData,
|
|
149
|
+
onPatch: options.onPatch,
|
|
149
150
|
onError: options.onError
|
|
150
151
|
}, { authRequest });
|
|
151
152
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runProjectPrepare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
4
4
|
import "./chunk-FGQ2I2YH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getRegistryMigrationSlug,
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
hasRegisteredMigrationSlug,
|
|
9
9
|
nextMigrationTemplate
|
|
10
10
|
} from "./chunk-LXGQCG56.mjs";
|
|
11
|
+
import "./chunk-LBJAJLKU.mjs";
|
|
11
12
|
import {
|
|
12
13
|
writeLine
|
|
13
14
|
} from "./chunk-I7QBCEV7.mjs";
|
|
14
|
-
import "./chunk-LBJAJLKU.mjs";
|
|
15
15
|
import "./chunk-D7O4SU6N.mjs";
|
|
16
16
|
import {
|
|
17
17
|
prepareProjectDiscovery
|
|
18
18
|
} from "./chunk-VP2E62DF.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-C624G3R2.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ensureProjectConfig
|
|
22
22
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runProjectPrepare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
4
4
|
import "./chunk-FGQ2I2YH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getRegistryMigrationSlug,
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
hasRegisteredMigrationSlug,
|
|
9
9
|
nextMigrationTemplate
|
|
10
10
|
} from "./chunk-LXGQCG56.mjs";
|
|
11
|
-
import "./chunk-LBJAJLKU.mjs";
|
|
12
11
|
import {
|
|
13
12
|
writeLine
|
|
14
13
|
} from "./chunk-I7QBCEV7.mjs";
|
|
14
|
+
import "./chunk-LBJAJLKU.mjs";
|
|
15
15
|
import "./chunk-D7O4SU6N.mjs";
|
|
16
16
|
import {
|
|
17
17
|
prepareProjectDiscovery
|
|
18
18
|
} from "./chunk-VP2E62DF.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ensureProjectConfig
|
|
22
22
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-VP2E62DF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
syncManagedDriverDependencies
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C624G3R2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ensureGeneratedSchemaPlaceholder,
|
|
12
12
|
ensureProjectConfig
|
|
@@ -97,9 +97,9 @@ async function runProjectBuild(io, projectRoot, spawn2 = spawnSync) {
|
|
|
97
97
|
throw new Error(result.stderr?.trim() || result.stdout?.trim() || "Project build failed.");
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
async function runProjectStartServer(io, projectRoot, spawnProcess = spawn) {
|
|
100
|
+
async function runProjectStartServer(io, projectRoot, spawnProcess = spawn, passthroughArgs = []) {
|
|
101
101
|
const invocation = resolveFrameworkRunnerInvocation(projectRoot, "start");
|
|
102
|
-
const child = spawnProcess(invocation.command, [...invocation.args], {
|
|
102
|
+
const child = spawnProcess(invocation.command, [...invocation.args, ...passthroughArgs], {
|
|
103
103
|
cwd: projectRoot,
|
|
104
104
|
env: process.env,
|
|
105
105
|
stdio: ["pipe", "pipe", "pipe"]
|
|
@@ -64,7 +64,7 @@ import { loadConfigDirectory } from "@holo-js/config";
|
|
|
64
64
|
// package.json
|
|
65
65
|
var package_default = {
|
|
66
66
|
name: "@holo-js/cli",
|
|
67
|
-
version: "0.2.
|
|
67
|
+
version: "0.2.6",
|
|
68
68
|
description: "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
69
69
|
type: "module",
|
|
70
70
|
license: "MIT",
|
|
@@ -118,49 +118,49 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
118
118
|
"@clerk/backend": "^3.4.7",
|
|
119
119
|
"@clack/prompts": "^1.5.1",
|
|
120
120
|
"@eslint/js": "^9.17.0",
|
|
121
|
-
"@holo-js/adapter-next": "^0.2.
|
|
122
|
-
"@holo-js/adapter-nuxt": "^0.2.
|
|
123
|
-
"@holo-js/adapter-sveltekit": "^0.2.
|
|
124
|
-
"@holo-js/auth": "^0.2.
|
|
125
|
-
"@holo-js/auth-clerk": "^0.2.
|
|
126
|
-
"@holo-js/auth-social": "^0.2.
|
|
127
|
-
"@holo-js/auth-social-apple": "^0.2.
|
|
128
|
-
"@holo-js/auth-social-discord": "^0.2.
|
|
129
|
-
"@holo-js/auth-social-facebook": "^0.2.
|
|
130
|
-
"@holo-js/auth-social-github": "^0.2.
|
|
131
|
-
"@holo-js/auth-social-google": "^0.2.
|
|
132
|
-
"@holo-js/auth-social-linkedin": "^0.2.
|
|
133
|
-
"@holo-js/auth-workos": "^0.2.
|
|
134
|
-
"@holo-js/authorization": "^0.2.
|
|
135
|
-
"@holo-js/broadcast": "^0.2.
|
|
136
|
-
"@holo-js/cache": "^0.2.
|
|
137
|
-
"@holo-js/cache-db": "^0.2.
|
|
138
|
-
"@holo-js/cache-redis": "^0.2.
|
|
139
|
-
"@holo-js/cli": "^0.2.
|
|
140
|
-
"@holo-js/config": "^0.2.
|
|
141
|
-
"@holo-js/core": "^0.2.
|
|
142
|
-
"@holo-js/db": "^0.2.
|
|
143
|
-
"@holo-js/db-mysql": "^0.2.
|
|
144
|
-
"@holo-js/db-postgres": "^0.2.
|
|
145
|
-
"@holo-js/db-sqlite": "^0.2.
|
|
146
|
-
"@holo-js/events": "^0.2.
|
|
147
|
-
"@holo-js/flux": "^0.2.
|
|
148
|
-
"@holo-js/flux-react": "^0.2.
|
|
149
|
-
"@holo-js/flux-svelte": "^0.2.
|
|
150
|
-
"@holo-js/flux-vue": "^0.2.
|
|
151
|
-
"@holo-js/forms": "^0.2.
|
|
152
|
-
"@holo-js/mail": "^0.2.
|
|
153
|
-
"@holo-js/media": "^0.2.
|
|
154
|
-
"@holo-js/notifications": "^0.2.
|
|
155
|
-
"@holo-js/queue": "^0.2.
|
|
156
|
-
"@holo-js/queue-db": "^0.2.
|
|
157
|
-
"@holo-js/queue-redis": "^0.2.
|
|
158
|
-
"@holo-js/realtime": "^0.2.
|
|
159
|
-
"@holo-js/security": "^0.2.
|
|
160
|
-
"@holo-js/session": "^0.2.
|
|
161
|
-
"@holo-js/storage": "^0.2.
|
|
162
|
-
"@holo-js/storage-s3": "^0.2.
|
|
163
|
-
"@holo-js/validation": "^0.2.
|
|
121
|
+
"@holo-js/adapter-next": "^0.2.6",
|
|
122
|
+
"@holo-js/adapter-nuxt": "^0.2.6",
|
|
123
|
+
"@holo-js/adapter-sveltekit": "^0.2.6",
|
|
124
|
+
"@holo-js/auth": "^0.2.6",
|
|
125
|
+
"@holo-js/auth-clerk": "^0.2.6",
|
|
126
|
+
"@holo-js/auth-social": "^0.2.6",
|
|
127
|
+
"@holo-js/auth-social-apple": "^0.2.6",
|
|
128
|
+
"@holo-js/auth-social-discord": "^0.2.6",
|
|
129
|
+
"@holo-js/auth-social-facebook": "^0.2.6",
|
|
130
|
+
"@holo-js/auth-social-github": "^0.2.6",
|
|
131
|
+
"@holo-js/auth-social-google": "^0.2.6",
|
|
132
|
+
"@holo-js/auth-social-linkedin": "^0.2.6",
|
|
133
|
+
"@holo-js/auth-workos": "^0.2.6",
|
|
134
|
+
"@holo-js/authorization": "^0.2.6",
|
|
135
|
+
"@holo-js/broadcast": "^0.2.6",
|
|
136
|
+
"@holo-js/cache": "^0.2.6",
|
|
137
|
+
"@holo-js/cache-db": "^0.2.6",
|
|
138
|
+
"@holo-js/cache-redis": "^0.2.6",
|
|
139
|
+
"@holo-js/cli": "^0.2.6",
|
|
140
|
+
"@holo-js/config": "^0.2.6",
|
|
141
|
+
"@holo-js/core": "^0.2.6",
|
|
142
|
+
"@holo-js/db": "^0.2.6",
|
|
143
|
+
"@holo-js/db-mysql": "^0.2.6",
|
|
144
|
+
"@holo-js/db-postgres": "^0.2.6",
|
|
145
|
+
"@holo-js/db-sqlite": "^0.2.6",
|
|
146
|
+
"@holo-js/events": "^0.2.6",
|
|
147
|
+
"@holo-js/flux": "^0.2.6",
|
|
148
|
+
"@holo-js/flux-react": "^0.2.6",
|
|
149
|
+
"@holo-js/flux-svelte": "^0.2.6",
|
|
150
|
+
"@holo-js/flux-vue": "^0.2.6",
|
|
151
|
+
"@holo-js/forms": "^0.2.6",
|
|
152
|
+
"@holo-js/mail": "^0.2.6",
|
|
153
|
+
"@holo-js/media": "^0.2.6",
|
|
154
|
+
"@holo-js/notifications": "^0.2.6",
|
|
155
|
+
"@holo-js/queue": "^0.2.6",
|
|
156
|
+
"@holo-js/queue-db": "^0.2.6",
|
|
157
|
+
"@holo-js/queue-redis": "^0.2.6",
|
|
158
|
+
"@holo-js/realtime": "^0.2.6",
|
|
159
|
+
"@holo-js/security": "^0.2.6",
|
|
160
|
+
"@holo-js/session": "^0.2.6",
|
|
161
|
+
"@holo-js/storage": "^0.2.6",
|
|
162
|
+
"@holo-js/storage-s3": "^0.2.6",
|
|
163
|
+
"@holo-js/validation": "^0.2.6",
|
|
164
164
|
"@nuxt/kit": "^4.4.4",
|
|
165
165
|
"@nuxt/module-builder": "^1.0.2",
|
|
166
166
|
"@sveltejs/adapter-node": "^5.5.4",
|
|
@@ -177,7 +177,7 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
177
177
|
"@vitest/coverage-v8": "^4.1.5",
|
|
178
178
|
"better-sqlite3": "^11.7.0",
|
|
179
179
|
"bullmq": "^5.71.0",
|
|
180
|
-
"create-holo-js": "^0.2.
|
|
180
|
+
"create-holo-js": "^0.2.6",
|
|
181
181
|
"esbuild": "^0.27.4",
|
|
182
182
|
"eslint": "^9.17.0",
|
|
183
183
|
"fast-check": "^4.5.3",
|
|
@@ -3092,7 +3092,7 @@ async function installMediaIntoProject(projectRoot) {
|
|
|
3092
3092
|
if (!mediaConfigPath) {
|
|
3093
3093
|
await writeTextFile(resolve4(projectRoot, "config/media.ts"), renderMediaConfig());
|
|
3094
3094
|
}
|
|
3095
|
-
const { createMediaTableMigration } = await import("./media-migrations-
|
|
3095
|
+
const { createMediaTableMigration } = await import("./media-migrations-BNVAPYEM.mjs");
|
|
3096
3096
|
const migrationFilePath = await createMediaTableMigration(projectRoot, {
|
|
3097
3097
|
skipIfExists: true
|
|
3098
3098
|
});
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-VP2E62DF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
syncManagedDriverDependencies
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7B2RVYLL.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ensureGeneratedSchemaPlaceholder,
|
|
12
12
|
ensureProjectConfig
|
|
@@ -97,9 +97,9 @@ async function runProjectBuild(io, projectRoot, spawn2 = spawnSync) {
|
|
|
97
97
|
throw new Error(result.stderr?.trim() || result.stdout?.trim() || "Project build failed.");
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
async function runProjectStartServer(io, projectRoot, spawnProcess = spawn) {
|
|
100
|
+
async function runProjectStartServer(io, projectRoot, spawnProcess = spawn, passthroughArgs = []) {
|
|
101
101
|
const invocation = resolveFrameworkRunnerInvocation(projectRoot, "start");
|
|
102
|
-
const child = spawnProcess(invocation.command, [...invocation.args], {
|
|
102
|
+
const child = spawnProcess(invocation.command, [...invocation.args, ...passthroughArgs], {
|
|
103
103
|
cwd: projectRoot,
|
|
104
104
|
env: process.env,
|
|
105
105
|
stdio: ["pipe", "pipe", "pipe"]
|
|
@@ -64,7 +64,7 @@ import { loadConfigDirectory } from "@holo-js/config";
|
|
|
64
64
|
// package.json
|
|
65
65
|
var package_default = {
|
|
66
66
|
name: "@holo-js/cli",
|
|
67
|
-
version: "0.2.
|
|
67
|
+
version: "0.2.6",
|
|
68
68
|
description: "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
69
69
|
type: "module",
|
|
70
70
|
license: "MIT",
|
|
@@ -118,49 +118,49 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
118
118
|
"@clerk/backend": "^3.4.7",
|
|
119
119
|
"@clack/prompts": "^1.5.1",
|
|
120
120
|
"@eslint/js": "^9.17.0",
|
|
121
|
-
"@holo-js/adapter-next": "^0.2.
|
|
122
|
-
"@holo-js/adapter-nuxt": "^0.2.
|
|
123
|
-
"@holo-js/adapter-sveltekit": "^0.2.
|
|
124
|
-
"@holo-js/auth": "^0.2.
|
|
125
|
-
"@holo-js/auth-clerk": "^0.2.
|
|
126
|
-
"@holo-js/auth-social": "^0.2.
|
|
127
|
-
"@holo-js/auth-social-apple": "^0.2.
|
|
128
|
-
"@holo-js/auth-social-discord": "^0.2.
|
|
129
|
-
"@holo-js/auth-social-facebook": "^0.2.
|
|
130
|
-
"@holo-js/auth-social-github": "^0.2.
|
|
131
|
-
"@holo-js/auth-social-google": "^0.2.
|
|
132
|
-
"@holo-js/auth-social-linkedin": "^0.2.
|
|
133
|
-
"@holo-js/auth-workos": "^0.2.
|
|
134
|
-
"@holo-js/authorization": "^0.2.
|
|
135
|
-
"@holo-js/broadcast": "^0.2.
|
|
136
|
-
"@holo-js/cache": "^0.2.
|
|
137
|
-
"@holo-js/cache-db": "^0.2.
|
|
138
|
-
"@holo-js/cache-redis": "^0.2.
|
|
139
|
-
"@holo-js/cli": "^0.2.
|
|
140
|
-
"@holo-js/config": "^0.2.
|
|
141
|
-
"@holo-js/core": "^0.2.
|
|
142
|
-
"@holo-js/db": "^0.2.
|
|
143
|
-
"@holo-js/db-mysql": "^0.2.
|
|
144
|
-
"@holo-js/db-postgres": "^0.2.
|
|
145
|
-
"@holo-js/db-sqlite": "^0.2.
|
|
146
|
-
"@holo-js/events": "^0.2.
|
|
147
|
-
"@holo-js/flux": "^0.2.
|
|
148
|
-
"@holo-js/flux-react": "^0.2.
|
|
149
|
-
"@holo-js/flux-svelte": "^0.2.
|
|
150
|
-
"@holo-js/flux-vue": "^0.2.
|
|
151
|
-
"@holo-js/forms": "^0.2.
|
|
152
|
-
"@holo-js/mail": "^0.2.
|
|
153
|
-
"@holo-js/media": "^0.2.
|
|
154
|
-
"@holo-js/notifications": "^0.2.
|
|
155
|
-
"@holo-js/queue": "^0.2.
|
|
156
|
-
"@holo-js/queue-db": "^0.2.
|
|
157
|
-
"@holo-js/queue-redis": "^0.2.
|
|
158
|
-
"@holo-js/realtime": "^0.2.
|
|
159
|
-
"@holo-js/security": "^0.2.
|
|
160
|
-
"@holo-js/session": "^0.2.
|
|
161
|
-
"@holo-js/storage": "^0.2.
|
|
162
|
-
"@holo-js/storage-s3": "^0.2.
|
|
163
|
-
"@holo-js/validation": "^0.2.
|
|
121
|
+
"@holo-js/adapter-next": "^0.2.6",
|
|
122
|
+
"@holo-js/adapter-nuxt": "^0.2.6",
|
|
123
|
+
"@holo-js/adapter-sveltekit": "^0.2.6",
|
|
124
|
+
"@holo-js/auth": "^0.2.6",
|
|
125
|
+
"@holo-js/auth-clerk": "^0.2.6",
|
|
126
|
+
"@holo-js/auth-social": "^0.2.6",
|
|
127
|
+
"@holo-js/auth-social-apple": "^0.2.6",
|
|
128
|
+
"@holo-js/auth-social-discord": "^0.2.6",
|
|
129
|
+
"@holo-js/auth-social-facebook": "^0.2.6",
|
|
130
|
+
"@holo-js/auth-social-github": "^0.2.6",
|
|
131
|
+
"@holo-js/auth-social-google": "^0.2.6",
|
|
132
|
+
"@holo-js/auth-social-linkedin": "^0.2.6",
|
|
133
|
+
"@holo-js/auth-workos": "^0.2.6",
|
|
134
|
+
"@holo-js/authorization": "^0.2.6",
|
|
135
|
+
"@holo-js/broadcast": "^0.2.6",
|
|
136
|
+
"@holo-js/cache": "^0.2.6",
|
|
137
|
+
"@holo-js/cache-db": "^0.2.6",
|
|
138
|
+
"@holo-js/cache-redis": "^0.2.6",
|
|
139
|
+
"@holo-js/cli": "^0.2.6",
|
|
140
|
+
"@holo-js/config": "^0.2.6",
|
|
141
|
+
"@holo-js/core": "^0.2.6",
|
|
142
|
+
"@holo-js/db": "^0.2.6",
|
|
143
|
+
"@holo-js/db-mysql": "^0.2.6",
|
|
144
|
+
"@holo-js/db-postgres": "^0.2.6",
|
|
145
|
+
"@holo-js/db-sqlite": "^0.2.6",
|
|
146
|
+
"@holo-js/events": "^0.2.6",
|
|
147
|
+
"@holo-js/flux": "^0.2.6",
|
|
148
|
+
"@holo-js/flux-react": "^0.2.6",
|
|
149
|
+
"@holo-js/flux-svelte": "^0.2.6",
|
|
150
|
+
"@holo-js/flux-vue": "^0.2.6",
|
|
151
|
+
"@holo-js/forms": "^0.2.6",
|
|
152
|
+
"@holo-js/mail": "^0.2.6",
|
|
153
|
+
"@holo-js/media": "^0.2.6",
|
|
154
|
+
"@holo-js/notifications": "^0.2.6",
|
|
155
|
+
"@holo-js/queue": "^0.2.6",
|
|
156
|
+
"@holo-js/queue-db": "^0.2.6",
|
|
157
|
+
"@holo-js/queue-redis": "^0.2.6",
|
|
158
|
+
"@holo-js/realtime": "^0.2.6",
|
|
159
|
+
"@holo-js/security": "^0.2.6",
|
|
160
|
+
"@holo-js/session": "^0.2.6",
|
|
161
|
+
"@holo-js/storage": "^0.2.6",
|
|
162
|
+
"@holo-js/storage-s3": "^0.2.6",
|
|
163
|
+
"@holo-js/validation": "^0.2.6",
|
|
164
164
|
"@nuxt/kit": "^4.4.4",
|
|
165
165
|
"@nuxt/module-builder": "^1.0.2",
|
|
166
166
|
"@sveltejs/adapter-node": "^5.5.4",
|
|
@@ -177,7 +177,7 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
177
177
|
"@vitest/coverage-v8": "^4.1.5",
|
|
178
178
|
"better-sqlite3": "^11.7.0",
|
|
179
179
|
"bullmq": "^5.71.0",
|
|
180
|
-
"create-holo-js": "^0.2.
|
|
180
|
+
"create-holo-js": "^0.2.6",
|
|
181
181
|
"esbuild": "^0.27.4",
|
|
182
182
|
"eslint": "^9.17.0",
|
|
183
183
|
"fast-check": "^4.5.3",
|
|
@@ -3092,7 +3092,7 @@ async function installMediaIntoProject(projectRoot) {
|
|
|
3092
3092
|
if (!mediaConfigPath) {
|
|
3093
3093
|
await writeTextFile(resolve4(projectRoot, "config/media.ts"), renderMediaConfig());
|
|
3094
3094
|
}
|
|
3095
|
-
const { createMediaTableMigration } = await import("./media-migrations-
|
|
3095
|
+
const { createMediaTableMigration } = await import("./media-migrations-NNB3DAQR.mjs");
|
|
3096
3096
|
const migrationFilePath = await createMediaTableMigration(projectRoot, {
|
|
3097
3097
|
skipIfExists: true
|
|
3098
3098
|
});
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
runProjectPrepare,
|
|
15
15
|
runProjectStartServer,
|
|
16
16
|
toPosixSlashes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
18
18
|
import {
|
|
19
19
|
hasProjectDependency
|
|
20
20
|
} from "./chunk-FGQ2I2YH.mjs";
|
|
21
21
|
import "./chunk-D7O4SU6N.mjs";
|
|
22
22
|
import "./chunk-VP2E62DF.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-C624G3R2.mjs";
|
|
24
24
|
import "./chunk-YEFJBN56.mjs";
|
|
25
25
|
import "./chunk-J76GH2DR.mjs";
|
|
26
26
|
import "./chunk-ILU426CF.mjs";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
runProjectPrepare,
|
|
15
15
|
runProjectStartServer,
|
|
16
16
|
toPosixSlashes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
18
18
|
import {
|
|
19
19
|
hasProjectDependency
|
|
20
20
|
} from "./chunk-FGQ2I2YH.mjs";
|
|
21
21
|
import "./chunk-D7O4SU6N.mjs";
|
|
22
22
|
import "./chunk-VP2E62DF.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
24
24
|
import "./chunk-YEFJBN56.mjs";
|
|
25
25
|
import "./chunk-J76GH2DR.mjs";
|
|
26
26
|
import "./chunk-ILU426CF.mjs";
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
} from "./chunk-VRGB6DIS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runProjectPrepare
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
7
7
|
import "./chunk-FGQ2I2YH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
hasRegisteredCreateTableMigration,
|
|
10
10
|
hasRegisteredMigrationSlug,
|
|
11
11
|
nextMigrationTemplate
|
|
12
12
|
} from "./chunk-LXGQCG56.mjs";
|
|
13
|
-
import {
|
|
14
|
-
writeLine
|
|
15
|
-
} from "./chunk-I7QBCEV7.mjs";
|
|
16
13
|
import {
|
|
17
14
|
ensureAbsent,
|
|
18
15
|
fileExists
|
|
19
16
|
} from "./chunk-LBJAJLKU.mjs";
|
|
17
|
+
import {
|
|
18
|
+
writeLine
|
|
19
|
+
} from "./chunk-I7QBCEV7.mjs";
|
|
20
20
|
import "./chunk-D7O4SU6N.mjs";
|
|
21
21
|
import {
|
|
22
22
|
collectFiles,
|
|
23
23
|
prepareProjectDiscovery
|
|
24
24
|
} from "./chunk-VP2E62DF.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-C624G3R2.mjs";
|
|
26
26
|
import {
|
|
27
27
|
ensureGeneratedSchemaPlaceholder,
|
|
28
28
|
ensureProjectConfig
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
} from "./chunk-VRGB6DIS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runProjectPrepare
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
7
7
|
import "./chunk-FGQ2I2YH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
hasRegisteredCreateTableMigration,
|
|
10
10
|
hasRegisteredMigrationSlug,
|
|
11
11
|
nextMigrationTemplate
|
|
12
12
|
} from "./chunk-LXGQCG56.mjs";
|
|
13
|
+
import {
|
|
14
|
+
writeLine
|
|
15
|
+
} from "./chunk-I7QBCEV7.mjs";
|
|
13
16
|
import {
|
|
14
17
|
ensureAbsent,
|
|
15
18
|
fileExists
|
|
16
19
|
} from "./chunk-LBJAJLKU.mjs";
|
|
17
|
-
import {
|
|
18
|
-
writeLine
|
|
19
|
-
} from "./chunk-I7QBCEV7.mjs";
|
|
20
20
|
import "./chunk-D7O4SU6N.mjs";
|
|
21
21
|
import {
|
|
22
22
|
collectFiles,
|
|
23
23
|
prepareProjectDiscovery
|
|
24
24
|
} from "./chunk-VP2E62DF.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
26
26
|
import {
|
|
27
27
|
ensureGeneratedSchemaPlaceholder,
|
|
28
28
|
ensureProjectConfig
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-I7QBCEV7.mjs";
|
|
30
30
|
import "./chunk-D7O4SU6N.mjs";
|
|
31
31
|
import "./chunk-VP2E62DF.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-C624G3R2.mjs";
|
|
33
33
|
import "./chunk-YEFJBN56.mjs";
|
|
34
34
|
import "./chunk-J76GH2DR.mjs";
|
|
35
35
|
import {
|
|
@@ -133,43 +133,43 @@ var projectRuntimeModulePromise;
|
|
|
133
133
|
var projectScaffoldModulePromise;
|
|
134
134
|
var agentSkillsModulePromise;
|
|
135
135
|
function loadRuntimeModule() {
|
|
136
|
-
runtimeModulePromise ??= import("./runtime-
|
|
136
|
+
runtimeModulePromise ??= import("./runtime-UKBJQFXM.mjs");
|
|
137
137
|
return runtimeModulePromise;
|
|
138
138
|
}
|
|
139
139
|
function loadQueueModule() {
|
|
140
|
-
queueModulePromise ??= import("./queue-
|
|
140
|
+
queueModulePromise ??= import("./queue-5BXSDFCO.mjs");
|
|
141
141
|
return queueModulePromise;
|
|
142
142
|
}
|
|
143
143
|
function loadCacheModule() {
|
|
144
|
-
cacheModulePromise ??= import("./cache-
|
|
144
|
+
cacheModulePromise ??= import("./cache-HUGRWOHQ.mjs");
|
|
145
145
|
return cacheModulePromise;
|
|
146
146
|
}
|
|
147
147
|
function loadQueueMigrationsModule() {
|
|
148
|
-
queueMigrationsModulePromise ??= import("./queue-migrations-
|
|
148
|
+
queueMigrationsModulePromise ??= import("./queue-migrations-EF4AMMSY.mjs");
|
|
149
149
|
return queueMigrationsModulePromise;
|
|
150
150
|
}
|
|
151
151
|
function loadCacheMigrationsModule() {
|
|
152
|
-
cacheMigrationsModulePromise ??= import("./cache-migrations-
|
|
152
|
+
cacheMigrationsModulePromise ??= import("./cache-migrations-77TLXIVG.mjs");
|
|
153
153
|
return cacheMigrationsModulePromise;
|
|
154
154
|
}
|
|
155
155
|
function loadMediaMigrationsModule() {
|
|
156
|
-
mediaMigrationsModulePromise ??= import("./media-migrations-
|
|
156
|
+
mediaMigrationsModulePromise ??= import("./media-migrations-NNB3DAQR.mjs");
|
|
157
157
|
return mediaMigrationsModulePromise;
|
|
158
158
|
}
|
|
159
159
|
function loadGeneratorsModule() {
|
|
160
|
-
generatorsModulePromise ??= import("./generators-
|
|
160
|
+
generatorsModulePromise ??= import("./generators-H4NTV4DB.mjs");
|
|
161
161
|
return generatorsModulePromise;
|
|
162
162
|
}
|
|
163
163
|
function loadBroadcastModule() {
|
|
164
|
-
broadcastModulePromise ??= import("./broadcast-
|
|
164
|
+
broadcastModulePromise ??= import("./broadcast-YGJFCEPP.mjs");
|
|
165
165
|
return broadcastModulePromise;
|
|
166
166
|
}
|
|
167
167
|
function loadSecurityModule() {
|
|
168
|
-
securityModulePromise ??= import("./security-
|
|
168
|
+
securityModulePromise ??= import("./security-JR4P7L2C.mjs");
|
|
169
169
|
return securityModulePromise;
|
|
170
170
|
}
|
|
171
171
|
function loadDevModule() {
|
|
172
|
-
devModulePromise ??= import("./dev-
|
|
172
|
+
devModulePromise ??= import("./dev-L4Y2GU2E.mjs");
|
|
173
173
|
return devModulePromise;
|
|
174
174
|
}
|
|
175
175
|
function loadProjectConfigModule() {
|
|
@@ -185,11 +185,11 @@ function loadProjectRuntimeModule() {
|
|
|
185
185
|
return projectRuntimeModulePromise;
|
|
186
186
|
}
|
|
187
187
|
function loadProjectScaffoldModule() {
|
|
188
|
-
projectScaffoldModulePromise ??= import("./scaffold-
|
|
188
|
+
projectScaffoldModulePromise ??= import("./scaffold-VV3KTYGO.mjs");
|
|
189
189
|
return projectScaffoldModulePromise;
|
|
190
190
|
}
|
|
191
191
|
function loadAgentSkillsModule() {
|
|
192
|
-
agentSkillsModulePromise ??= import("./agent-skills-
|
|
192
|
+
agentSkillsModulePromise ??= import("./agent-skills-CHAXS2YN.mjs");
|
|
193
193
|
return agentSkillsModulePromise;
|
|
194
194
|
}
|
|
195
195
|
async function resolveRuntimeExecutor(runtimeExecutor) {
|
|
@@ -259,6 +259,23 @@ function createCommandContext(io, projectRoot, loadProject, input) {
|
|
|
259
259
|
loadProject
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
+
function serializePassthroughInput(input) {
|
|
263
|
+
const tokens = [...input.args];
|
|
264
|
+
for (const [name, value] of Object.entries(input.flags)) {
|
|
265
|
+
if (value === false) {
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
const flag = name.length === 1 ? `-${name}` : `--${name}`;
|
|
269
|
+
const values = Array.isArray(value) ? value : [value];
|
|
270
|
+
for (const currentValue of values) {
|
|
271
|
+
tokens.push(flag);
|
|
272
|
+
if (currentValue !== true) {
|
|
273
|
+
tokens.push(String(currentValue));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return tokens;
|
|
278
|
+
}
|
|
262
279
|
function printCommandList(io, registry) {
|
|
263
280
|
const internal = registry.filter((command) => command.source === "internal");
|
|
264
281
|
const app = registry.filter((command) => command.source === "app");
|
|
@@ -812,13 +829,18 @@ function createInternalCommands(context, runtimeExecutor, queueExecutors = {}, p
|
|
|
812
829
|
{
|
|
813
830
|
name: "start",
|
|
814
831
|
description: "Run the production framework server with Holo runtime preloads.",
|
|
815
|
-
usage: "holo start",
|
|
832
|
+
usage: "holo start [...frameworkArgs]",
|
|
816
833
|
source: "internal",
|
|
817
|
-
async prepare() {
|
|
818
|
-
return { args:
|
|
834
|
+
async prepare(input) {
|
|
835
|
+
return { args: input.args, flags: input.flags };
|
|
819
836
|
},
|
|
820
|
-
async run() {
|
|
837
|
+
async run(input) {
|
|
821
838
|
const runProjectStartServer = await resolveProjectExecutor(projectExecutors, "runProjectStartServer");
|
|
839
|
+
const passthroughArgs = serializePassthroughInput(input);
|
|
840
|
+
if (passthroughArgs.length > 0) {
|
|
841
|
+
await runProjectStartServer(context, context.projectRoot, void 0, passthroughArgs);
|
|
842
|
+
return;
|
|
843
|
+
}
|
|
822
844
|
await runProjectStartServer(context, context.projectRoot);
|
|
823
845
|
}
|
|
824
846
|
},
|
|
@@ -11,7 +11,7 @@ import "./chunk-D7O4SU6N.mjs";
|
|
|
11
11
|
import {
|
|
12
12
|
prepareProjectDiscovery
|
|
13
13
|
} from "./chunk-VP2E62DF.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ensureProjectConfig
|
|
17
17
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -93,7 +93,7 @@ async function createMediaTableMigration(projectRoot, options = {}) {
|
|
|
93
93
|
}
|
|
94
94
|
async function runMediaTableCommand(io, projectRoot) {
|
|
95
95
|
const migrationFilePath = await createMediaTableMigration(projectRoot);
|
|
96
|
-
const { runProjectPrepare } = await import("./dev-
|
|
96
|
+
const { runProjectPrepare } = await import("./dev-YPBQBEOE.mjs");
|
|
97
97
|
await runProjectPrepare(projectRoot);
|
|
98
98
|
writeLine(io.stdout, `Created migration: ${makeProjectRelativePath(projectRoot, migrationFilePath)}`);
|
|
99
99
|
}
|
|
@@ -11,7 +11,7 @@ import "./chunk-D7O4SU6N.mjs";
|
|
|
11
11
|
import {
|
|
12
12
|
prepareProjectDiscovery
|
|
13
13
|
} from "./chunk-VP2E62DF.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-C624G3R2.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ensureProjectConfig
|
|
17
17
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -93,7 +93,7 @@ async function createMediaTableMigration(projectRoot, options = {}) {
|
|
|
93
93
|
}
|
|
94
94
|
async function runMediaTableCommand(io, projectRoot) {
|
|
95
95
|
const migrationFilePath = await createMediaTableMigration(projectRoot);
|
|
96
|
-
const { runProjectPrepare } = await import("./dev-
|
|
96
|
+
const { runProjectPrepare } = await import("./dev-L4Y2GU2E.mjs");
|
|
97
97
|
await runProjectPrepare(projectRoot);
|
|
98
98
|
writeLine(io.stdout, `Created migration: ${makeProjectRelativePath(projectRoot, migrationFilePath)}`);
|
|
99
99
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
initializeProjectRuntime
|
|
3
|
+
} from "./chunk-KS5TWO75.mjs";
|
|
1
4
|
import {
|
|
2
5
|
isIgnorableWatchError,
|
|
3
6
|
isRecursiveWatchUnsupported,
|
|
4
7
|
normalizeWatchedFilePath,
|
|
5
8
|
runProjectPrepare,
|
|
6
9
|
toPosixSlashes
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
8
11
|
import "./chunk-FGQ2I2YH.mjs";
|
|
12
|
+
import "./chunk-LBJAJLKU.mjs";
|
|
9
13
|
import {
|
|
10
14
|
writeLine
|
|
11
15
|
} from "./chunk-I7QBCEV7.mjs";
|
|
12
|
-
import {
|
|
13
|
-
initializeProjectRuntime
|
|
14
|
-
} from "./chunk-KS5TWO75.mjs";
|
|
15
|
-
import "./chunk-LBJAJLKU.mjs";
|
|
16
16
|
import "./chunk-D7O4SU6N.mjs";
|
|
17
17
|
import {
|
|
18
18
|
prepareProjectDiscovery
|
|
19
19
|
} from "./chunk-VP2E62DF.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-C624G3R2.mjs";
|
|
21
21
|
import {
|
|
22
22
|
ensureProjectConfig,
|
|
23
23
|
loadProjectConfig
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
initializeProjectRuntime
|
|
3
|
-
} from "./chunk-KS5TWO75.mjs";
|
|
4
1
|
import {
|
|
5
2
|
isIgnorableWatchError,
|
|
6
3
|
isRecursiveWatchUnsupported,
|
|
7
4
|
normalizeWatchedFilePath,
|
|
8
5
|
runProjectPrepare,
|
|
9
6
|
toPosixSlashes
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
11
8
|
import "./chunk-FGQ2I2YH.mjs";
|
|
12
|
-
import "./chunk-LBJAJLKU.mjs";
|
|
13
9
|
import {
|
|
14
10
|
writeLine
|
|
15
11
|
} from "./chunk-I7QBCEV7.mjs";
|
|
12
|
+
import {
|
|
13
|
+
initializeProjectRuntime
|
|
14
|
+
} from "./chunk-KS5TWO75.mjs";
|
|
15
|
+
import "./chunk-LBJAJLKU.mjs";
|
|
16
16
|
import "./chunk-D7O4SU6N.mjs";
|
|
17
17
|
import {
|
|
18
18
|
prepareProjectDiscovery
|
|
19
19
|
} from "./chunk-VP2E62DF.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
21
21
|
import {
|
|
22
22
|
ensureProjectConfig,
|
|
23
23
|
loadProjectConfig
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runProjectPrepare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
4
4
|
import "./chunk-FGQ2I2YH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getRegistryMigrationSlug,
|
|
@@ -16,7 +16,7 @@ import "./chunk-D7O4SU6N.mjs";
|
|
|
16
16
|
import {
|
|
17
17
|
prepareProjectDiscovery
|
|
18
18
|
} from "./chunk-VP2E62DF.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-C624G3R2.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ensureProjectConfig
|
|
22
22
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runProjectPrepare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
4
4
|
import "./chunk-FGQ2I2YH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getRegistryMigrationSlug,
|
|
@@ -16,7 +16,7 @@ import "./chunk-D7O4SU6N.mjs";
|
|
|
16
16
|
import {
|
|
17
17
|
prepareProjectDiscovery
|
|
18
18
|
} from "./chunk-VP2E62DF.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ensureProjectConfig
|
|
22
22
|
} from "./chunk-YEFJBN56.mjs";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import "./chunk-LBJAJLKU.mjs";
|
|
27
27
|
import "./chunk-D7O4SU6N.mjs";
|
|
28
28
|
import "./chunk-VP2E62DF.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
30
30
|
import "./chunk-YEFJBN56.mjs";
|
|
31
31
|
import "./chunk-J76GH2DR.mjs";
|
|
32
32
|
import "./chunk-ILU426CF.mjs";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import "./chunk-LBJAJLKU.mjs";
|
|
27
27
|
import "./chunk-D7O4SU6N.mjs";
|
|
28
28
|
import "./chunk-VP2E62DF.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-C624G3R2.mjs";
|
|
30
30
|
import "./chunk-YEFJBN56.mjs";
|
|
31
31
|
import "./chunk-J76GH2DR.mjs";
|
|
32
32
|
import "./chunk-ILU426CF.mjs";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
upsertMediaPackageDependency,
|
|
57
57
|
upsertNotificationsPackageDependency,
|
|
58
58
|
upsertSecurityPackageDependency
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-7B2RVYLL.mjs";
|
|
60
60
|
import "./chunk-YEFJBN56.mjs";
|
|
61
61
|
import {
|
|
62
62
|
renderAuthProviderRouteFiles,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
upsertMediaPackageDependency,
|
|
57
57
|
upsertNotificationsPackageDependency,
|
|
58
58
|
upsertSecurityPackageDependency
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-C624G3R2.mjs";
|
|
60
60
|
import "./chunk-YEFJBN56.mjs";
|
|
61
61
|
import {
|
|
62
62
|
renderAuthProviderRouteFiles,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@clack/prompts": "^1.5.1",
|
|
31
|
-
"@holo-js/cache-db": "^0.2.
|
|
32
|
-
"@holo-js/config": "^0.2.
|
|
33
|
-
"@holo-js/core": "^0.2.
|
|
34
|
-
"@holo-js/db": "^0.2.
|
|
31
|
+
"@holo-js/cache-db": "^0.2.6",
|
|
32
|
+
"@holo-js/config": "^0.2.6",
|
|
33
|
+
"@holo-js/core": "^0.2.6",
|
|
34
|
+
"@holo-js/db": "^0.2.6",
|
|
35
35
|
"esbuild": "^0.27.4",
|
|
36
36
|
"inflection": "^3.0.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@holo-js/events": "^0.2.
|
|
40
|
-
"@holo-js/queue": "^0.2.
|
|
41
|
-
"@holo-js/queue-db": "^0.2.
|
|
39
|
+
"@holo-js/events": "^0.2.6",
|
|
40
|
+
"@holo-js/queue": "^0.2.6",
|
|
41
|
+
"@holo-js/queue-db": "^0.2.6",
|
|
42
42
|
"@types/node": "^22.10.2",
|
|
43
43
|
"tsup": "^8.3.5",
|
|
44
44
|
"typescript": "^5.7.2",
|