@holo-js/cli 0.3.4 → 0.3.5
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/bin/holo.mjs +24 -24
- package/dist/{broadcast-QILESA7G.mjs → broadcast-XTNIEW2J.mjs} +8 -8
- package/dist/{cache-BOL6WXNZ.mjs → cache-GJMLKHFQ.mjs} +7 -7
- package/dist/{cache-migrations-FOUN7TV7.mjs → cache-migrations-I376U7OI.mjs} +10 -10
- package/dist/{chunk-4CZZAYBP.mjs → chunk-22O7ZMVL.mjs} +5 -5
- package/dist/{chunk-FOF2T6WV.mjs → chunk-2465IYXF.mjs} +5 -5
- package/dist/{chunk-OS6OHURH.mjs → chunk-6FHRJWJ5.mjs} +1 -1
- package/dist/{chunk-PO6HA5X4.mjs → chunk-AWZCYD24.mjs} +1 -1
- package/dist/{chunk-KH6SO6UZ.mjs → chunk-DM4VAMEG.mjs} +7 -7
- package/dist/{chunk-AXR7OYXH.mjs → chunk-E4BNFHEY.mjs} +2 -2
- package/dist/{chunk-BR3EK6EB.mjs → chunk-J7RTSY2O.mjs} +1 -1
- package/dist/{chunk-MSGEQG7J.mjs → chunk-NRAWK46X.mjs} +1 -1
- package/dist/{chunk-C5TOIYSZ.mjs → chunk-NZTCPFUD.mjs} +47 -47
- package/dist/{chunk-2I3HBIKC.mjs → chunk-R3J55E2M.mjs} +3 -3
- package/dist/{chunk-74PQTZFU.mjs → chunk-R4U4W3LC.mjs} +2 -2
- package/dist/{config-2VCACEYG.mjs → config-J7TH23HN.mjs} +3 -3
- package/dist/{dev-7PCRJVVI.mjs → dev-IZVOADM7.mjs} +9 -9
- package/dist/{discovery-CQS33P2B.mjs → discovery-YSUZHVXE.mjs} +4 -4
- package/dist/{generators-EWZEL6HH.mjs → generators-NMUVPWLP.mjs} +10 -10
- package/dist/index.mjs +24 -24
- package/dist/{media-migrations-NMON4H5M.mjs → media-migrations-UCYDFZXJ.mjs} +9 -9
- package/dist/{plugins-ZCROBR3X.mjs → plugins-IKH7AI5W.mjs} +3 -3
- package/dist/{queue-NRMC72JL.mjs → queue-3NNILNBE.mjs} +12 -12
- package/dist/{queue-IIUEQXHE.mjs → queue-U7Y6STP7.mjs} +12 -12
- package/dist/{queue-migrations-EMN6NTZV.mjs → queue-migrations-B5I4FPHH.mjs} +10 -10
- package/dist/{runtime-G7XQIYHL.mjs → runtime-HAG7S5UO.mjs} +1 -1
- package/dist/{runtime-IF5TK3OC.mjs → runtime-WUPOEKWV.mjs} +8 -8
- package/dist/runtime-worker.mjs +25 -6
- package/dist/{scaffold-3WGEZWV2.mjs → scaffold-FPBL4PS5.mjs} +7 -7
- package/dist/{security-LOZJ3SQN.mjs → security-CLQDHMBP.mjs} +7 -7
- package/package.json +19 -19
package/dist/bin/holo.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
pinProjectDependencyVersions,
|
|
23
23
|
removeProjectDependency,
|
|
24
24
|
upsertProjectDependency
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-6FHRJWJ5.mjs";
|
|
26
26
|
import {
|
|
27
27
|
runWithSpinner,
|
|
28
28
|
writeLine
|
|
@@ -30,16 +30,16 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
ensureEmptyDirectory,
|
|
32
32
|
fileExists
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-22O7ZMVL.mjs";
|
|
34
|
+
import "../chunk-E4BNFHEY.mjs";
|
|
35
|
+
import "../chunk-R3J55E2M.mjs";
|
|
36
|
+
import "../chunk-AWZCYD24.mjs";
|
|
37
|
+
import "../chunk-R4U4W3LC.mjs";
|
|
38
|
+
import "../chunk-J7RTSY2O.mjs";
|
|
39
39
|
import {
|
|
40
40
|
APP_CONFIG_FILE_NAMES,
|
|
41
41
|
SUPPORTED_AUTH_SOCIAL_PROVIDERS
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-NZTCPFUD.mjs";
|
|
43
43
|
|
|
44
44
|
// src/cli.ts
|
|
45
45
|
import { cp, mkdtemp, readFile as readFile2, rm, writeFile as writeFile2 } from "fs/promises";
|
|
@@ -131,31 +131,31 @@ var projectRuntimeModulePromise;
|
|
|
131
131
|
var projectScaffoldModulePromise;
|
|
132
132
|
var agentSkillsModulePromise;
|
|
133
133
|
function loadRuntimeModule() {
|
|
134
|
-
runtimeModulePromise ??= import("../runtime-
|
|
134
|
+
runtimeModulePromise ??= import("../runtime-WUPOEKWV.mjs");
|
|
135
135
|
return runtimeModulePromise;
|
|
136
136
|
}
|
|
137
137
|
function loadSecurityModule() {
|
|
138
|
-
securityModulePromise ??= import("../security-
|
|
138
|
+
securityModulePromise ??= import("../security-CLQDHMBP.mjs");
|
|
139
139
|
return securityModulePromise;
|
|
140
140
|
}
|
|
141
141
|
function loadProjectConfigModule() {
|
|
142
|
-
projectConfigModulePromise ??= import("../config-
|
|
142
|
+
projectConfigModulePromise ??= import("../config-J7TH23HN.mjs");
|
|
143
143
|
return projectConfigModulePromise;
|
|
144
144
|
}
|
|
145
145
|
function loadProjectDiscoveryModule() {
|
|
146
|
-
projectDiscoveryModulePromise ??= import("../discovery-
|
|
146
|
+
projectDiscoveryModulePromise ??= import("../discovery-YSUZHVXE.mjs");
|
|
147
147
|
return projectDiscoveryModulePromise;
|
|
148
148
|
}
|
|
149
149
|
function loadProjectPluginsModule() {
|
|
150
|
-
projectPluginsModulePromise ??= import("../plugins-
|
|
150
|
+
projectPluginsModulePromise ??= import("../plugins-IKH7AI5W.mjs");
|
|
151
151
|
return projectPluginsModulePromise;
|
|
152
152
|
}
|
|
153
153
|
function loadProjectRuntimeModule() {
|
|
154
|
-
projectRuntimeModulePromise ??= import("../runtime-
|
|
154
|
+
projectRuntimeModulePromise ??= import("../runtime-HAG7S5UO.mjs");
|
|
155
155
|
return projectRuntimeModulePromise;
|
|
156
156
|
}
|
|
157
157
|
function loadProjectScaffoldModule() {
|
|
158
|
-
projectScaffoldModulePromise ??= import("../scaffold-
|
|
158
|
+
projectScaffoldModulePromise ??= import("../scaffold-FPBL4PS5.mjs");
|
|
159
159
|
return projectScaffoldModulePromise;
|
|
160
160
|
}
|
|
161
161
|
function loadAgentSkillsModule() {
|
|
@@ -163,7 +163,7 @@ function loadAgentSkillsModule() {
|
|
|
163
163
|
return agentSkillsModulePromise;
|
|
164
164
|
}
|
|
165
165
|
async function resolveRuntimeExecutor(runtimeExecutor) {
|
|
166
|
-
runtimeModulePromise ??= import("../runtime-
|
|
166
|
+
runtimeModulePromise ??= import("../runtime-WUPOEKWV.mjs");
|
|
167
167
|
return runtimeExecutor ?? (await runtimeModulePromise).withRuntimeEnvironment;
|
|
168
168
|
}
|
|
169
169
|
async function resolveExecutor(executors, loader, key) {
|
|
@@ -171,17 +171,17 @@ async function resolveExecutor(executors, loader, key) {
|
|
|
171
171
|
return existing ? existing : await loader();
|
|
172
172
|
}
|
|
173
173
|
async function resolveProjectExecutor(executors, key) {
|
|
174
|
-
devModulePromise ??= import("../dev-
|
|
174
|
+
devModulePromise ??= import("../dev-IZVOADM7.mjs");
|
|
175
175
|
return resolveExecutor(executors, async () => (await devModulePromise)[key], key);
|
|
176
176
|
}
|
|
177
177
|
async function resolveQueueExecutor(executors, key) {
|
|
178
178
|
return resolveExecutor(executors, async () => {
|
|
179
179
|
if (key === "runQueueFailedTableCommand" || key === "runQueueTableCommand") {
|
|
180
|
-
queueMigrationsModulePromise ??= import("../queue-migrations-
|
|
180
|
+
queueMigrationsModulePromise ??= import("../queue-migrations-B5I4FPHH.mjs");
|
|
181
181
|
const migrations = await queueMigrationsModulePromise;
|
|
182
182
|
return key === "runQueueFailedTableCommand" ? migrations.runQueueFailedTableCommand : migrations.runQueueTableCommand;
|
|
183
183
|
}
|
|
184
|
-
queueModulePromise ??= import("../queue-
|
|
184
|
+
queueModulePromise ??= import("../queue-3NNILNBE.mjs");
|
|
185
185
|
const queue = await queueModulePromise;
|
|
186
186
|
const resolved = {
|
|
187
187
|
runQueueFailedCommand: queue.runQueueFailedCommand,
|
|
@@ -199,10 +199,10 @@ async function resolveQueueExecutor(executors, key) {
|
|
|
199
199
|
async function resolveCacheExecutor(executors, key) {
|
|
200
200
|
return resolveExecutor(executors, async () => {
|
|
201
201
|
if (key === "runCacheTableCommand") {
|
|
202
|
-
cacheMigrationsModulePromise ??= import("../cache-migrations-
|
|
202
|
+
cacheMigrationsModulePromise ??= import("../cache-migrations-I376U7OI.mjs");
|
|
203
203
|
return (await cacheMigrationsModulePromise).runCacheTableCommand;
|
|
204
204
|
}
|
|
205
|
-
cacheModulePromise ??= import("../cache-
|
|
205
|
+
cacheModulePromise ??= import("../cache-GJMLKHFQ.mjs");
|
|
206
206
|
const cache = await cacheModulePromise;
|
|
207
207
|
const resolved = {
|
|
208
208
|
runCacheClearCommand: cache.runCacheClearCommand,
|
|
@@ -212,15 +212,15 @@ async function resolveCacheExecutor(executors, key) {
|
|
|
212
212
|
}, key);
|
|
213
213
|
}
|
|
214
214
|
async function resolveMediaExecutor(executors, key) {
|
|
215
|
-
mediaMigrationsModulePromise ??= import("../media-migrations-
|
|
215
|
+
mediaMigrationsModulePromise ??= import("../media-migrations-UCYDFZXJ.mjs");
|
|
216
216
|
return resolveExecutor(executors, async () => (await mediaMigrationsModulePromise)[key], key);
|
|
217
217
|
}
|
|
218
218
|
async function resolveBroadcastExecutor(executors, key) {
|
|
219
|
-
broadcastModulePromise ??= import("../broadcast-
|
|
219
|
+
broadcastModulePromise ??= import("../broadcast-XTNIEW2J.mjs");
|
|
220
220
|
return resolveExecutor(executors, async () => (await broadcastModulePromise)[key], key);
|
|
221
221
|
}
|
|
222
222
|
async function resolveGeneratorCommand(key) {
|
|
223
|
-
generatorsModulePromise ??= import("../generators-
|
|
223
|
+
generatorsModulePromise ??= import("../generators-NMUVPWLP.mjs");
|
|
224
224
|
return (await generatorsModulePromise)[key];
|
|
225
225
|
}
|
|
226
226
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
initializeProjectRuntime
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2465IYXF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeLine
|
|
6
6
|
} from "./chunk-Y355VYRN.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
loadProjectConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
prepareProjectDiscovery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
14
14
|
import {
|
|
15
15
|
loadGeneratedProjectRegistry
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
17
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
18
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
19
19
|
import {
|
|
20
20
|
importProjectModule,
|
|
21
21
|
resolveProjectPackageImportSpecifier
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
23
23
|
|
|
24
24
|
// src/broadcast.ts
|
|
25
25
|
import { basename, extname, resolve } from "path";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
writeLine
|
|
6
6
|
} from "./chunk-Y355VYRN.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
8
|
+
import "./chunk-E4BNFHEY.mjs";
|
|
9
|
+
import "./chunk-R3J55E2M.mjs";
|
|
10
|
+
import "./chunk-AWZCYD24.mjs";
|
|
11
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
12
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
13
13
|
import {
|
|
14
14
|
resolveProjectPackageImportSpecifier
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cache.ts
|
|
18
18
|
import { loadConfigDirectory } from "@holo-js/config";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runProjectPrepare
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DM4VAMEG.mjs";
|
|
4
|
+
import "./chunk-6FHRJWJ5.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getRegistryMigrationSlug,
|
|
7
7
|
hasRegisteredCreateTableMigration,
|
|
8
8
|
hasRegisteredMigrationSlug,
|
|
9
9
|
nextMigrationTemplate
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NRAWK46X.mjs";
|
|
11
11
|
import {
|
|
12
12
|
writeLine
|
|
13
13
|
} from "./chunk-Y355VYRN.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ensureProjectConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
18
18
|
import {
|
|
19
19
|
prepareProjectDiscovery
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
21
21
|
import {
|
|
22
22
|
loadGeneratedProjectRegistry
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
24
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
25
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
26
26
|
import {
|
|
27
27
|
makeProjectRelativePath,
|
|
28
28
|
resolveDefaultArtifactPath,
|
|
29
29
|
writeTextFile
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
31
31
|
|
|
32
32
|
// src/cache-migrations.ts
|
|
33
33
|
import { resolve } from "path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadProjectConfig,
|
|
3
3
|
resolveGeneratedSchemaPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
loadGeneratedProjectRegistry,
|
|
7
7
|
relativeImportPath,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
renderNextRealtimeQueryRoute,
|
|
22
22
|
renderNextRuntimeBootstrap,
|
|
23
23
|
renderSvelteViteConfig
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
25
25
|
import {
|
|
26
26
|
loadProjectPluginFrameworkDescriptors
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-R4U4W3LC.mjs";
|
|
28
28
|
import {
|
|
29
29
|
AUTH_CONFIG_FILE_NAMES,
|
|
30
30
|
AUTH_SOCIAL_PROVIDER_PACKAGE_NAMES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
resolveFirstExistingPath,
|
|
65
65
|
sanitizePackageName,
|
|
66
66
|
writeTextFile
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
68
68
|
|
|
69
69
|
// src/project/scaffold.ts
|
|
70
70
|
import { mkdir as mkdir3, readdir as readdir2 } from "fs/promises";
|
|
@@ -2997,7 +2997,7 @@ async function installMediaIntoProject(projectRoot) {
|
|
|
2997
2997
|
if (!mediaConfigPath) {
|
|
2998
2998
|
await writeTextFile(resolve4(projectRoot, "config/media.ts"), renderMediaConfig());
|
|
2999
2999
|
}
|
|
3000
|
-
const { createMediaTableMigration } = await import("./media-migrations-
|
|
3000
|
+
const { createMediaTableMigration } = await import("./media-migrations-UCYDFZXJ.mjs");
|
|
3001
3001
|
const migrationFilePath = await createMediaTableMigration(projectRoot, {
|
|
3002
3002
|
skipIfExists: true
|
|
3003
3003
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fileExists
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-22O7ZMVL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
loadProjectConfig,
|
|
6
6
|
resolveGeneratedSchemaPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
prepareProjectDiscovery
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
loadGeneratedProjectRegistry
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
14
14
|
import {
|
|
15
15
|
CLI_RUNTIME_ROOT,
|
|
16
16
|
GENERATED_SCHEMA_RUNTIME_PATH,
|
|
17
17
|
bundleProjectModule
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
19
19
|
|
|
20
20
|
// src/runtime.ts
|
|
21
21
|
import { spawn } from "child_process";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hasProjectDependency
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6FHRJWJ5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
syncManagedDriverDependencies
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22O7ZMVL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ensureGeneratedSchemaPlaceholder,
|
|
9
9
|
ensureProjectConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
prepareProjectDiscovery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
14
14
|
import {
|
|
15
15
|
renderFrameworkRunnerForDescriptor
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
17
17
|
import {
|
|
18
18
|
loadProjectPluginFrameworkDescriptors
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-R4U4W3LC.mjs";
|
|
20
20
|
import {
|
|
21
21
|
getFrameworkDescriptorByIdFrom,
|
|
22
22
|
getFrameworkDescriptorsWith,
|
|
23
23
|
readTextFile,
|
|
24
24
|
writeTextFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
26
26
|
|
|
27
27
|
// src/dev.ts
|
|
28
28
|
import { spawnSync, spawn } from "child_process";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadGeneratedProjectRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
4
4
|
import {
|
|
5
5
|
APP_CONFIG_FILE_NAMES,
|
|
6
6
|
DATABASE_CONFIG_FILE_NAMES,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isModulePackage,
|
|
9
9
|
pathExists,
|
|
10
10
|
resolveFirstExistingPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
12
12
|
|
|
13
13
|
// src/project/config.ts
|
|
14
14
|
import { createHash } from "crypto";
|
|
@@ -13,7 +13,7 @@ import { extname, join, relative, resolve } from "path";
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@holo-js/cli",
|
|
16
|
-
version: "0.3.
|
|
16
|
+
version: "0.3.5",
|
|
17
17
|
description: "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
18
18
|
type: "module",
|
|
19
19
|
license: "MIT",
|
|
@@ -94,51 +94,51 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
94
94
|
"@clerk/backend": "^3.4.7",
|
|
95
95
|
"@clack/prompts": "^1.5.1",
|
|
96
96
|
"@eslint/js": "^9.17.0",
|
|
97
|
-
"@holo-js/adapter-next": "^0.3.
|
|
98
|
-
"@holo-js/adapter-nuxt": "^0.3.
|
|
99
|
-
"@holo-js/adapter-sveltekit": "^0.3.
|
|
100
|
-
"@holo-js/adapter-shared": "^0.3.
|
|
101
|
-
"@holo-js/auth": "^0.3.
|
|
102
|
-
"@holo-js/auth-clerk": "^0.3.
|
|
103
|
-
"@holo-js/auth-social": "^0.3.
|
|
104
|
-
"@holo-js/auth-social-apple": "^0.3.
|
|
105
|
-
"@holo-js/auth-social-discord": "^0.3.
|
|
106
|
-
"@holo-js/auth-social-facebook": "^0.3.
|
|
107
|
-
"@holo-js/auth-social-github": "^0.3.
|
|
108
|
-
"@holo-js/auth-social-google": "^0.3.
|
|
109
|
-
"@holo-js/auth-social-linkedin": "^0.3.
|
|
110
|
-
"@holo-js/auth-workos": "^0.3.
|
|
111
|
-
"@holo-js/authorization": "^0.3.
|
|
112
|
-
"@holo-js/broadcast": "^0.3.
|
|
113
|
-
"@holo-js/cache": "^0.3.
|
|
114
|
-
"@holo-js/cache-db": "^0.3.
|
|
115
|
-
"@holo-js/cache-redis": "^0.3.
|
|
116
|
-
"@holo-js/cli": "^0.3.
|
|
117
|
-
"@holo-js/config": "^0.3.
|
|
118
|
-
"@holo-js/core": "^0.3.
|
|
119
|
-
"@holo-js/db": "^0.3.
|
|
120
|
-
"@holo-js/db-mysql": "^0.3.
|
|
121
|
-
"@holo-js/db-postgres": "^0.3.
|
|
122
|
-
"@holo-js/db-sqlite": "^0.3.
|
|
123
|
-
"@holo-js/events": "^0.3.
|
|
124
|
-
"@holo-js/flux": "^0.3.
|
|
125
|
-
"@holo-js/flux-react": "^0.3.
|
|
126
|
-
"@holo-js/flux-svelte": "^0.3.
|
|
127
|
-
"@holo-js/flux-vue": "^0.3.
|
|
128
|
-
"@holo-js/forms": "^0.3.
|
|
129
|
-
"@holo-js/kernel": "^0.3.
|
|
130
|
-
"@holo-js/mail": "^0.3.
|
|
131
|
-
"@holo-js/media": "^0.3.
|
|
132
|
-
"@holo-js/notifications": "^0.3.
|
|
133
|
-
"@holo-js/queue": "^0.3.
|
|
134
|
-
"@holo-js/queue-db": "^0.3.
|
|
135
|
-
"@holo-js/queue-redis": "^0.3.
|
|
136
|
-
"@holo-js/realtime": "^0.3.
|
|
137
|
-
"@holo-js/security": "^0.3.
|
|
138
|
-
"@holo-js/session": "^0.3.
|
|
139
|
-
"@holo-js/storage": "^0.3.
|
|
140
|
-
"@holo-js/storage-s3": "^0.3.
|
|
141
|
-
"@holo-js/validation": "^0.3.
|
|
97
|
+
"@holo-js/adapter-next": "^0.3.5",
|
|
98
|
+
"@holo-js/adapter-nuxt": "^0.3.5",
|
|
99
|
+
"@holo-js/adapter-sveltekit": "^0.3.5",
|
|
100
|
+
"@holo-js/adapter-shared": "^0.3.5",
|
|
101
|
+
"@holo-js/auth": "^0.3.5",
|
|
102
|
+
"@holo-js/auth-clerk": "^0.3.5",
|
|
103
|
+
"@holo-js/auth-social": "^0.3.5",
|
|
104
|
+
"@holo-js/auth-social-apple": "^0.3.5",
|
|
105
|
+
"@holo-js/auth-social-discord": "^0.3.5",
|
|
106
|
+
"@holo-js/auth-social-facebook": "^0.3.5",
|
|
107
|
+
"@holo-js/auth-social-github": "^0.3.5",
|
|
108
|
+
"@holo-js/auth-social-google": "^0.3.5",
|
|
109
|
+
"@holo-js/auth-social-linkedin": "^0.3.5",
|
|
110
|
+
"@holo-js/auth-workos": "^0.3.5",
|
|
111
|
+
"@holo-js/authorization": "^0.3.5",
|
|
112
|
+
"@holo-js/broadcast": "^0.3.5",
|
|
113
|
+
"@holo-js/cache": "^0.3.5",
|
|
114
|
+
"@holo-js/cache-db": "^0.3.5",
|
|
115
|
+
"@holo-js/cache-redis": "^0.3.5",
|
|
116
|
+
"@holo-js/cli": "^0.3.5",
|
|
117
|
+
"@holo-js/config": "^0.3.5",
|
|
118
|
+
"@holo-js/core": "^0.3.5",
|
|
119
|
+
"@holo-js/db": "^0.3.5",
|
|
120
|
+
"@holo-js/db-mysql": "^0.3.5",
|
|
121
|
+
"@holo-js/db-postgres": "^0.3.5",
|
|
122
|
+
"@holo-js/db-sqlite": "^0.3.5",
|
|
123
|
+
"@holo-js/events": "^0.3.5",
|
|
124
|
+
"@holo-js/flux": "^0.3.5",
|
|
125
|
+
"@holo-js/flux-react": "^0.3.5",
|
|
126
|
+
"@holo-js/flux-svelte": "^0.3.5",
|
|
127
|
+
"@holo-js/flux-vue": "^0.3.5",
|
|
128
|
+
"@holo-js/forms": "^0.3.5",
|
|
129
|
+
"@holo-js/kernel": "^0.3.5",
|
|
130
|
+
"@holo-js/mail": "^0.3.5",
|
|
131
|
+
"@holo-js/media": "^0.3.5",
|
|
132
|
+
"@holo-js/notifications": "^0.3.5",
|
|
133
|
+
"@holo-js/queue": "^0.3.5",
|
|
134
|
+
"@holo-js/queue-db": "^0.3.5",
|
|
135
|
+
"@holo-js/queue-redis": "^0.3.5",
|
|
136
|
+
"@holo-js/realtime": "^0.3.5",
|
|
137
|
+
"@holo-js/security": "^0.3.5",
|
|
138
|
+
"@holo-js/session": "^0.3.5",
|
|
139
|
+
"@holo-js/storage": "^0.3.5",
|
|
140
|
+
"@holo-js/storage-s3": "^0.3.5",
|
|
141
|
+
"@holo-js/validation": "^0.3.5",
|
|
142
142
|
"@nuxt/kit": "^4.4.4",
|
|
143
143
|
"@nuxt/module-builder": "^1.0.2",
|
|
144
144
|
"@sveltejs/adapter-node": "^5.5.4",
|
|
@@ -155,7 +155,7 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
155
155
|
"@vitest/coverage-v8": "^4.1.5",
|
|
156
156
|
"better-sqlite3": "^11.7.0",
|
|
157
157
|
"bullmq": "^5.71.0",
|
|
158
|
-
"create-holo-js": "^0.3.
|
|
158
|
+
"create-holo-js": "^0.3.5",
|
|
159
159
|
"esbuild": "^0.27.4",
|
|
160
160
|
"eslint": "^9.17.0",
|
|
161
161
|
"fast-check": "^4.5.3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadGeneratedProjectRegistry,
|
|
3
3
|
writeGeneratedProjectRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
5
5
|
import {
|
|
6
6
|
assertUniqueCommandTokens,
|
|
7
7
|
assertUniqueEntries,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveRegisteredPath,
|
|
33
33
|
unregisterAuthorizationDefinitionNames,
|
|
34
34
|
validateMigrationName
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-J7RTSY2O.mjs";
|
|
36
36
|
import {
|
|
37
37
|
hasEventDefinitionMarker,
|
|
38
38
|
hasListenerDefinitionMarker,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
loadQueueDiscoveryModule,
|
|
44
44
|
makeProjectRelativePath,
|
|
45
45
|
pathExists
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
47
47
|
|
|
48
48
|
// src/project/discovery.ts
|
|
49
49
|
import { resolve } from "path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeCommandAliases
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J7RTSY2O.mjs";
|
|
4
4
|
import {
|
|
5
5
|
APP_CONFIG_FILE_NAMES,
|
|
6
6
|
pathExists,
|
|
7
7
|
readTextFile,
|
|
8
8
|
resolveFirstExistingPath,
|
|
9
9
|
writeTextFile
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
11
11
|
|
|
12
12
|
// src/project/plugins.ts
|
|
13
13
|
import { createRequire } from "module";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
serializeDatabaseConfig,
|
|
8
8
|
serializeProjectConfig,
|
|
9
9
|
writeProjectConfig
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
11
|
+
import "./chunk-AWZCYD24.mjs";
|
|
12
12
|
import {
|
|
13
13
|
readTextFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
15
15
|
export {
|
|
16
16
|
defaultProjectConfig,
|
|
17
17
|
ensureGeneratedSchemaPlaceholder,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
runProjectPrepare,
|
|
15
15
|
runProjectStartServer,
|
|
16
16
|
toPosixSlashes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DM4VAMEG.mjs";
|
|
18
18
|
import {
|
|
19
19
|
hasProjectDependency
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-6FHRJWJ5.mjs";
|
|
21
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
22
|
+
import "./chunk-E4BNFHEY.mjs";
|
|
23
|
+
import "./chunk-R3J55E2M.mjs";
|
|
24
|
+
import "./chunk-AWZCYD24.mjs";
|
|
25
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
26
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
27
|
+
import "./chunk-NZTCPFUD.mjs";
|
|
28
28
|
export {
|
|
29
29
|
collectDirectoryTree,
|
|
30
30
|
collectDiscoveryWatchRoots,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
loadRegisteredModels,
|
|
5
5
|
loadRegisteredSeeders,
|
|
6
6
|
prepareProjectDiscovery
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
8
|
+
import "./chunk-AWZCYD24.mjs";
|
|
9
9
|
import {
|
|
10
10
|
collectImportedBindingsBySource,
|
|
11
11
|
extractListensToItems,
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
resolveListenerEventNamesFromSource,
|
|
14
14
|
resolveNamedExport,
|
|
15
15
|
resolveNamedExportEntry
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-J7RTSY2O.mjs";
|
|
17
|
+
import "./chunk-NZTCPFUD.mjs";
|
|
18
18
|
export {
|
|
19
19
|
collectImportedBindingsBySource,
|
|
20
20
|
discoverAppCommands,
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
} from "./chunk-YJWHIQ45.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runProjectPrepare
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-DM4VAMEG.mjs";
|
|
7
|
+
import "./chunk-6FHRJWJ5.mjs";
|
|
8
8
|
import {
|
|
9
9
|
hasRegisteredCreateTableMigration,
|
|
10
10
|
hasRegisteredMigrationSlug,
|
|
11
11
|
nextMigrationTemplate
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NRAWK46X.mjs";
|
|
13
13
|
import {
|
|
14
14
|
writeLine
|
|
15
15
|
} from "./chunk-Y355VYRN.mjs";
|
|
16
16
|
import {
|
|
17
17
|
ensureAbsent,
|
|
18
18
|
fileExists
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-22O7ZMVL.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ensureGeneratedSchemaPlaceholder,
|
|
22
22
|
ensureProjectConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
24
24
|
import {
|
|
25
25
|
prepareProjectDiscovery
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
27
27
|
import {
|
|
28
28
|
ensureSuffix,
|
|
29
29
|
loadGeneratedProjectRegistry,
|
|
@@ -45,16 +45,16 @@ import {
|
|
|
45
45
|
toKebabCase,
|
|
46
46
|
toPascalCase,
|
|
47
47
|
toSnakeCase
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
49
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
50
50
|
import {
|
|
51
51
|
collectFiles
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-J7RTSY2O.mjs";
|
|
53
53
|
import {
|
|
54
54
|
makeProjectRelativePath,
|
|
55
55
|
resolveDefaultArtifactPath,
|
|
56
56
|
writeTextFile
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
58
58
|
|
|
59
59
|
// src/generators.ts
|
|
60
60
|
import { createHash } from "crypto";
|
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
pinProjectDependencyVersions,
|
|
22
22
|
removeProjectDependency,
|
|
23
23
|
upsertProjectDependency
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6FHRJWJ5.mjs";
|
|
25
25
|
import {
|
|
26
26
|
runWithSpinner,
|
|
27
27
|
writeLine
|
|
@@ -29,16 +29,16 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
ensureEmptyDirectory,
|
|
31
31
|
fileExists
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-22O7ZMVL.mjs";
|
|
33
|
+
import "./chunk-E4BNFHEY.mjs";
|
|
34
|
+
import "./chunk-R3J55E2M.mjs";
|
|
35
|
+
import "./chunk-AWZCYD24.mjs";
|
|
36
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
37
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
38
38
|
import {
|
|
39
39
|
APP_CONFIG_FILE_NAMES,
|
|
40
40
|
SUPPORTED_AUTH_SOCIAL_PROVIDERS
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
42
42
|
|
|
43
43
|
// src/types.ts
|
|
44
44
|
function defineCommand(command) {
|
|
@@ -135,31 +135,31 @@ var projectRuntimeModulePromise;
|
|
|
135
135
|
var projectScaffoldModulePromise;
|
|
136
136
|
var agentSkillsModulePromise;
|
|
137
137
|
function loadRuntimeModule() {
|
|
138
|
-
runtimeModulePromise ??= import("./runtime-
|
|
138
|
+
runtimeModulePromise ??= import("./runtime-WUPOEKWV.mjs");
|
|
139
139
|
return runtimeModulePromise;
|
|
140
140
|
}
|
|
141
141
|
function loadSecurityModule() {
|
|
142
|
-
securityModulePromise ??= import("./security-
|
|
142
|
+
securityModulePromise ??= import("./security-CLQDHMBP.mjs");
|
|
143
143
|
return securityModulePromise;
|
|
144
144
|
}
|
|
145
145
|
function loadProjectConfigModule() {
|
|
146
|
-
projectConfigModulePromise ??= import("./config-
|
|
146
|
+
projectConfigModulePromise ??= import("./config-J7TH23HN.mjs");
|
|
147
147
|
return projectConfigModulePromise;
|
|
148
148
|
}
|
|
149
149
|
function loadProjectDiscoveryModule() {
|
|
150
|
-
projectDiscoveryModulePromise ??= import("./discovery-
|
|
150
|
+
projectDiscoveryModulePromise ??= import("./discovery-YSUZHVXE.mjs");
|
|
151
151
|
return projectDiscoveryModulePromise;
|
|
152
152
|
}
|
|
153
153
|
function loadProjectPluginsModule() {
|
|
154
|
-
projectPluginsModulePromise ??= import("./plugins-
|
|
154
|
+
projectPluginsModulePromise ??= import("./plugins-IKH7AI5W.mjs");
|
|
155
155
|
return projectPluginsModulePromise;
|
|
156
156
|
}
|
|
157
157
|
function loadProjectRuntimeModule() {
|
|
158
|
-
projectRuntimeModulePromise ??= import("./runtime-
|
|
158
|
+
projectRuntimeModulePromise ??= import("./runtime-HAG7S5UO.mjs");
|
|
159
159
|
return projectRuntimeModulePromise;
|
|
160
160
|
}
|
|
161
161
|
function loadProjectScaffoldModule() {
|
|
162
|
-
projectScaffoldModulePromise ??= import("./scaffold-
|
|
162
|
+
projectScaffoldModulePromise ??= import("./scaffold-FPBL4PS5.mjs");
|
|
163
163
|
return projectScaffoldModulePromise;
|
|
164
164
|
}
|
|
165
165
|
function loadAgentSkillsModule() {
|
|
@@ -167,7 +167,7 @@ function loadAgentSkillsModule() {
|
|
|
167
167
|
return agentSkillsModulePromise;
|
|
168
168
|
}
|
|
169
169
|
async function resolveRuntimeExecutor(runtimeExecutor) {
|
|
170
|
-
runtimeModulePromise ??= import("./runtime-
|
|
170
|
+
runtimeModulePromise ??= import("./runtime-WUPOEKWV.mjs");
|
|
171
171
|
return runtimeExecutor ?? (await runtimeModulePromise).withRuntimeEnvironment;
|
|
172
172
|
}
|
|
173
173
|
async function resolveExecutor(executors, loader, key) {
|
|
@@ -175,17 +175,17 @@ async function resolveExecutor(executors, loader, key) {
|
|
|
175
175
|
return existing ? existing : await loader();
|
|
176
176
|
}
|
|
177
177
|
async function resolveProjectExecutor(executors, key) {
|
|
178
|
-
devModulePromise ??= import("./dev-
|
|
178
|
+
devModulePromise ??= import("./dev-IZVOADM7.mjs");
|
|
179
179
|
return resolveExecutor(executors, async () => (await devModulePromise)[key], key);
|
|
180
180
|
}
|
|
181
181
|
async function resolveQueueExecutor(executors, key) {
|
|
182
182
|
return resolveExecutor(executors, async () => {
|
|
183
183
|
if (key === "runQueueFailedTableCommand" || key === "runQueueTableCommand") {
|
|
184
|
-
queueMigrationsModulePromise ??= import("./queue-migrations-
|
|
184
|
+
queueMigrationsModulePromise ??= import("./queue-migrations-B5I4FPHH.mjs");
|
|
185
185
|
const migrations = await queueMigrationsModulePromise;
|
|
186
186
|
return key === "runQueueFailedTableCommand" ? migrations.runQueueFailedTableCommand : migrations.runQueueTableCommand;
|
|
187
187
|
}
|
|
188
|
-
queueModulePromise ??= import("./queue-
|
|
188
|
+
queueModulePromise ??= import("./queue-U7Y6STP7.mjs");
|
|
189
189
|
const queue = await queueModulePromise;
|
|
190
190
|
const resolved = {
|
|
191
191
|
runQueueFailedCommand: queue.runQueueFailedCommand,
|
|
@@ -203,10 +203,10 @@ async function resolveQueueExecutor(executors, key) {
|
|
|
203
203
|
async function resolveCacheExecutor(executors, key) {
|
|
204
204
|
return resolveExecutor(executors, async () => {
|
|
205
205
|
if (key === "runCacheTableCommand") {
|
|
206
|
-
cacheMigrationsModulePromise ??= import("./cache-migrations-
|
|
206
|
+
cacheMigrationsModulePromise ??= import("./cache-migrations-I376U7OI.mjs");
|
|
207
207
|
return (await cacheMigrationsModulePromise).runCacheTableCommand;
|
|
208
208
|
}
|
|
209
|
-
cacheModulePromise ??= import("./cache-
|
|
209
|
+
cacheModulePromise ??= import("./cache-GJMLKHFQ.mjs");
|
|
210
210
|
const cache = await cacheModulePromise;
|
|
211
211
|
const resolved = {
|
|
212
212
|
runCacheClearCommand: cache.runCacheClearCommand,
|
|
@@ -216,15 +216,15 @@ async function resolveCacheExecutor(executors, key) {
|
|
|
216
216
|
}, key);
|
|
217
217
|
}
|
|
218
218
|
async function resolveMediaExecutor(executors, key) {
|
|
219
|
-
mediaMigrationsModulePromise ??= import("./media-migrations-
|
|
219
|
+
mediaMigrationsModulePromise ??= import("./media-migrations-UCYDFZXJ.mjs");
|
|
220
220
|
return resolveExecutor(executors, async () => (await mediaMigrationsModulePromise)[key], key);
|
|
221
221
|
}
|
|
222
222
|
async function resolveBroadcastExecutor(executors, key) {
|
|
223
|
-
broadcastModulePromise ??= import("./broadcast-
|
|
223
|
+
broadcastModulePromise ??= import("./broadcast-XTNIEW2J.mjs");
|
|
224
224
|
return resolveExecutor(executors, async () => (await broadcastModulePromise)[key], key);
|
|
225
225
|
}
|
|
226
226
|
async function resolveGeneratorCommand(key) {
|
|
227
|
-
generatorsModulePromise ??= import("./generators-
|
|
227
|
+
generatorsModulePromise ??= import("./generators-NMUVPWLP.mjs");
|
|
228
228
|
return (await generatorsModulePromise)[key];
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
hasRegisteredCreateTableMigration,
|
|
3
3
|
hasRegisteredMigrationSlug,
|
|
4
4
|
nextMigrationTemplate
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NRAWK46X.mjs";
|
|
6
6
|
import {
|
|
7
7
|
writeLine
|
|
8
8
|
} from "./chunk-Y355VYRN.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ensureProjectConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
prepareProjectDiscovery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
16
16
|
import {
|
|
17
17
|
loadGeneratedProjectRegistry
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
19
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
20
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
21
21
|
import {
|
|
22
22
|
makeProjectRelativePath,
|
|
23
23
|
resolveDefaultArtifactPath,
|
|
24
24
|
writeTextFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
26
26
|
|
|
27
27
|
// src/media-migrations.ts
|
|
28
28
|
import { readdir } from "fs/promises";
|
|
@@ -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-IZVOADM7.mjs");
|
|
97
97
|
await runProjectPrepare(projectRoot);
|
|
98
98
|
writeLine(io.stdout, `Created migration: ${makeProjectRelativePath(projectRoot, migrationFilePath)}`);
|
|
99
99
|
}
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
readProjectPluginNames,
|
|
9
9
|
resolveProjectPlugins,
|
|
10
10
|
writeProjectPluginNames
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-R4U4W3LC.mjs";
|
|
12
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
13
|
+
import "./chunk-NZTCPFUD.mjs";
|
|
14
14
|
export {
|
|
15
15
|
activateProjectPlugin,
|
|
16
16
|
deactivateProjectPlugin,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
initializeProjectRuntime
|
|
3
|
-
} from "./chunk-FOF2T6WV.mjs";
|
|
4
1
|
import {
|
|
5
2
|
loadProjectDatabaseDrivers
|
|
6
3
|
} from "./chunk-XBOVM6LO.mjs";
|
|
4
|
+
import {
|
|
5
|
+
initializeProjectRuntime
|
|
6
|
+
} from "./chunk-2465IYXF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isIgnorableWatchError,
|
|
9
9
|
isRecursiveWatchUnsupported,
|
|
10
10
|
normalizeWatchedFilePath,
|
|
11
11
|
runProjectPrepare,
|
|
12
12
|
toPosixSlashes
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-DM4VAMEG.mjs";
|
|
14
|
+
import "./chunk-6FHRJWJ5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
writeLine
|
|
17
17
|
} from "./chunk-Y355VYRN.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ensureProjectConfig,
|
|
21
21
|
loadProjectConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
23
23
|
import {
|
|
24
24
|
prepareProjectDiscovery
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
26
26
|
import {
|
|
27
27
|
loadGeneratedProjectRegistry
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
29
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
30
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
31
31
|
import {
|
|
32
32
|
HOLO_RUNTIME_ROOT,
|
|
33
33
|
bundleProjectModule,
|
|
34
34
|
resolveProjectPackageImportSpecifier
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
36
36
|
|
|
37
37
|
// src/queue.ts
|
|
38
38
|
import { spawn } from "child_process";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
initializeProjectRuntime
|
|
3
|
+
} from "./chunk-2465IYXF.mjs";
|
|
1
4
|
import {
|
|
2
5
|
loadProjectDatabaseDrivers
|
|
3
6
|
} from "./chunk-XBOVM6LO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
initializeProjectRuntime
|
|
6
|
-
} from "./chunk-FOF2T6WV.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isIgnorableWatchError,
|
|
9
9
|
isRecursiveWatchUnsupported,
|
|
10
10
|
normalizeWatchedFilePath,
|
|
11
11
|
runProjectPrepare,
|
|
12
12
|
toPosixSlashes
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-DM4VAMEG.mjs";
|
|
14
|
+
import "./chunk-6FHRJWJ5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
writeLine
|
|
17
17
|
} from "./chunk-Y355VYRN.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ensureProjectConfig,
|
|
21
21
|
loadProjectConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
23
23
|
import {
|
|
24
24
|
prepareProjectDiscovery
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
26
26
|
import {
|
|
27
27
|
loadGeneratedProjectRegistry
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
29
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
30
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
31
31
|
import {
|
|
32
32
|
HOLO_RUNTIME_ROOT,
|
|
33
33
|
bundleProjectModule,
|
|
34
34
|
resolveProjectPackageImportSpecifier
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
36
36
|
|
|
37
37
|
// src/queue.ts
|
|
38
38
|
import { spawn } from "child_process";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runProjectPrepare
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DM4VAMEG.mjs";
|
|
4
|
+
import "./chunk-6FHRJWJ5.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getRegistryMigrationSlug,
|
|
7
7
|
hasRegisteredCreateTableMigration,
|
|
8
8
|
hasRegisteredMigrationSlug,
|
|
9
9
|
nextMigrationTemplate
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NRAWK46X.mjs";
|
|
11
11
|
import {
|
|
12
12
|
writeLine
|
|
13
13
|
} from "./chunk-Y355VYRN.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ensureProjectConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E4BNFHEY.mjs";
|
|
18
18
|
import {
|
|
19
19
|
prepareProjectDiscovery
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-R3J55E2M.mjs";
|
|
21
21
|
import {
|
|
22
22
|
loadGeneratedProjectRegistry
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
24
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
25
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
26
26
|
import {
|
|
27
27
|
makeProjectRelativePath,
|
|
28
28
|
resolveDefaultArtifactPath,
|
|
29
29
|
writeTextFile
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
31
31
|
|
|
32
32
|
// src/queue-migrations.ts
|
|
33
33
|
import { resolve } from "path";
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
resolveRuntimeWorkerPath,
|
|
23
23
|
runRuntimeInvocation,
|
|
24
24
|
withRuntimeEnvironment
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-2465IYXF.mjs";
|
|
26
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
27
|
+
import "./chunk-E4BNFHEY.mjs";
|
|
28
|
+
import "./chunk-R3J55E2M.mjs";
|
|
29
|
+
import "./chunk-AWZCYD24.mjs";
|
|
30
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
31
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
32
|
+
import "./chunk-NZTCPFUD.mjs";
|
|
33
33
|
export {
|
|
34
34
|
RUNTIME_MIGRATION_NAME_PATTERN,
|
|
35
35
|
cacheProjectConfig,
|
package/dist/runtime-worker.mjs
CHANGED
|
@@ -17,6 +17,22 @@ import {
|
|
|
17
17
|
resetDB,
|
|
18
18
|
resolveRuntimeConnectionManagerOptions
|
|
19
19
|
} from "@holo-js/db";
|
|
20
|
+
|
|
21
|
+
// src/runtime-schema-hydration.ts
|
|
22
|
+
import { connectionAsyncContext } from "@holo-js/db";
|
|
23
|
+
async function replayRanMigrationsInDryRunScope(connection, migrations, ranNames, context) {
|
|
24
|
+
for (const migration of [...migrations].sort((left, right) => left.name.localeCompare(right.name))) {
|
|
25
|
+
if (!ranNames.has(migration.name)) {
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
await connectionAsyncContext.run({
|
|
29
|
+
connectionName: connection.getConnectionName(),
|
|
30
|
+
connection
|
|
31
|
+
}, () => migration.up(context));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// src/runtime-worker.ts
|
|
20
36
|
var payload = JSON.parse(process.env.HOLO_RUNTIME_PAYLOAD ?? "{}");
|
|
21
37
|
if (typeof payload.projectRoot === "string") {
|
|
22
38
|
process.chdir(payload.projectRoot);
|
|
@@ -155,20 +171,23 @@ async function hydrateGeneratedSchemaFromRanMigrations(manager2, migrations) {
|
|
|
155
171
|
clear: () => hydratedRegistry.clear()
|
|
156
172
|
};
|
|
157
173
|
const dryRunConnection = {
|
|
174
|
+
getConnectionName: () => realConnection.getConnectionName(),
|
|
175
|
+
getDriver: () => realConnection.getDriver(),
|
|
158
176
|
getDialect: () => realConnection.getDialect(),
|
|
159
177
|
getCapabilities: () => realConnection.getCapabilities(),
|
|
160
178
|
getSchemaName: () => realConnection.getSchemaName(),
|
|
161
179
|
getSchemaRegistry: () => replayRegistry,
|
|
162
|
-
executeCompiled: async () =>
|
|
180
|
+
executeCompiled: async () => ({ affectedRows: 0 }),
|
|
163
181
|
introspectCompiled: async () => ({ rows: [], rowCount: 0 }),
|
|
164
182
|
transaction: async (callback) => callback(dryRunConnection)
|
|
165
183
|
};
|
|
166
184
|
const schema = createSchemaService(dryRunConnection);
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
185
|
+
await replayRanMigrationsInDryRunScope(
|
|
186
|
+
dryRunConnection,
|
|
187
|
+
migrations,
|
|
188
|
+
ranNames,
|
|
189
|
+
{ db: dryRunConnection, schema }
|
|
190
|
+
);
|
|
172
191
|
for (const table of hydratedRegistry.list()) {
|
|
173
192
|
realConnection.getSchemaRegistry().replace(table);
|
|
174
193
|
}
|
|
@@ -56,24 +56,24 @@ import {
|
|
|
56
56
|
upsertMediaPackageDependency,
|
|
57
57
|
upsertNotificationsPackageDependency,
|
|
58
58
|
upsertSecurityPackageDependency
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-22O7ZMVL.mjs";
|
|
60
|
+
import "./chunk-E4BNFHEY.mjs";
|
|
61
|
+
import "./chunk-R3J55E2M.mjs";
|
|
62
62
|
import {
|
|
63
63
|
renderAuthProviderRouteFiles,
|
|
64
64
|
renderFrameworkFiles,
|
|
65
65
|
renderFrameworkRunner,
|
|
66
66
|
renderFrameworkRunnerForDescriptor,
|
|
67
67
|
renderNextBroadcastConfigRoute
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-AWZCYD24.mjs";
|
|
69
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
70
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isSupportedCacheInstallerDriver,
|
|
73
73
|
isSupportedQueueInstallerDriver,
|
|
74
74
|
normalizeScaffoldOptionalPackages,
|
|
75
75
|
sanitizePackageName
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
77
77
|
export {
|
|
78
78
|
authFeaturesRequireConfigUpdate,
|
|
79
79
|
detectAuthInstallFeaturesFromConfig,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeLine
|
|
3
3
|
} from "./chunk-Y355VYRN.mjs";
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-22O7ZMVL.mjs";
|
|
5
|
+
import "./chunk-E4BNFHEY.mjs";
|
|
6
|
+
import "./chunk-R3J55E2M.mjs";
|
|
7
|
+
import "./chunk-AWZCYD24.mjs";
|
|
8
|
+
import "./chunk-R4U4W3LC.mjs";
|
|
9
|
+
import "./chunk-J7RTSY2O.mjs";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectPackageImportSpecifier
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NZTCPFUD.mjs";
|
|
13
13
|
|
|
14
14
|
// src/security.ts
|
|
15
15
|
import { loadConfigDirectory } from "@holo-js/config";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@clack/prompts": "^1.5.1",
|
|
31
|
-
"@holo-js/auth": "^0.3.
|
|
32
|
-
"@holo-js/cache-db": "^0.3.
|
|
33
|
-
"@holo-js/config": "^0.3.
|
|
34
|
-
"@holo-js/core": "^0.3.
|
|
35
|
-
"@holo-js/db": "^0.3.
|
|
36
|
-
"@holo-js/kernel": "^0.3.
|
|
37
|
-
"@holo-js/security": "^0.3.
|
|
38
|
-
"@holo-js/storage": "^0.3.
|
|
31
|
+
"@holo-js/auth": "^0.3.5",
|
|
32
|
+
"@holo-js/cache-db": "^0.3.5",
|
|
33
|
+
"@holo-js/config": "^0.3.5",
|
|
34
|
+
"@holo-js/core": "^0.3.5",
|
|
35
|
+
"@holo-js/db": "^0.3.5",
|
|
36
|
+
"@holo-js/kernel": "^0.3.5",
|
|
37
|
+
"@holo-js/security": "^0.3.5",
|
|
38
|
+
"@holo-js/storage": "^0.3.5",
|
|
39
39
|
"esbuild": "^0.27.4",
|
|
40
40
|
"inflection": "^3.0.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@holo-js/broadcast": "^0.3.
|
|
44
|
-
"@holo-js/mail": "^0.3.
|
|
45
|
-
"@holo-js/session": "^0.3.
|
|
46
|
-
"@holo-js/queue": "^0.3.
|
|
43
|
+
"@holo-js/broadcast": "^0.3.5",
|
|
44
|
+
"@holo-js/mail": "^0.3.5",
|
|
45
|
+
"@holo-js/session": "^0.3.5",
|
|
46
|
+
"@holo-js/queue": "^0.3.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"@holo-js/broadcast": {
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@holo-js/broadcast": "^0.3.
|
|
64
|
-
"@holo-js/events": "^0.3.
|
|
65
|
-
"@holo-js/mail": "^0.3.
|
|
66
|
-
"@holo-js/queue": "^0.3.
|
|
67
|
-
"@holo-js/queue-db": "^0.3.
|
|
68
|
-
"@holo-js/session": "^0.3.
|
|
63
|
+
"@holo-js/broadcast": "^0.3.5",
|
|
64
|
+
"@holo-js/events": "^0.3.5",
|
|
65
|
+
"@holo-js/mail": "^0.3.5",
|
|
66
|
+
"@holo-js/queue": "^0.3.5",
|
|
67
|
+
"@holo-js/queue-db": "^0.3.5",
|
|
68
|
+
"@holo-js/session": "^0.3.5",
|
|
69
69
|
"@types/node": "^22.10.2",
|
|
70
70
|
"tsup": "^8.3.5",
|
|
71
71
|
"typescript": "^5.7.2",
|