@keystrokehq/cli 0.1.42 → 0.1.43
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/{dist-DyolGwEN.mjs → dist-8dMGGwLh.mjs} +9 -7
- package/dist/{dist-DyolGwEN.mjs.map → dist-8dMGGwLh.mjs.map} +1 -1
- package/dist/dist-C7qKTDlJ.mjs +3 -0
- package/dist/{dist-B6BnbpYS.mjs → dist-CU5W5V2Z.mjs} +3 -3
- package/dist/{dist-B6BnbpYS.mjs.map → dist-CU5W5V2Z.mjs.map} +1 -1
- package/dist/dist-DtDJareY.mjs.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/dist-D0a19_dc.mjs +0 -3
package/dist/index.mjs
CHANGED
|
@@ -6485,7 +6485,7 @@ function registerBuildCommand(program) {
|
|
|
6485
6485
|
program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
|
|
6486
6486
|
try {
|
|
6487
6487
|
const root = resolveProjectRoot(options.dir);
|
|
6488
|
-
const { buildApp } = await import("./dist-
|
|
6488
|
+
const { buildApp } = await import("./dist-CU5W5V2Z.mjs");
|
|
6489
6489
|
await buildApp({ root });
|
|
6490
6490
|
process.stdout.write(`Built ${root}\n`);
|
|
6491
6491
|
} catch (error) {
|
|
@@ -6538,7 +6538,7 @@ async function sleep(ms) {
|
|
|
6538
6538
|
}
|
|
6539
6539
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
6540
6540
|
if (filter?.length) {
|
|
6541
|
-
const { buildFilteredApp } = await import("./dist-
|
|
6541
|
+
const { buildFilteredApp } = await import("./dist-CU5W5V2Z.mjs");
|
|
6542
6542
|
const filtered = await buildFilteredApp({
|
|
6543
6543
|
root,
|
|
6544
6544
|
filter,
|
|
@@ -6560,7 +6560,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
6560
6560
|
sourceFiles: filtered.sourceFiles
|
|
6561
6561
|
};
|
|
6562
6562
|
}
|
|
6563
|
-
const { buildApp } = await import("./dist-
|
|
6563
|
+
const { buildApp } = await import("./dist-CU5W5V2Z.mjs");
|
|
6564
6564
|
const { sourceFiles } = await buildApp({
|
|
6565
6565
|
root,
|
|
6566
6566
|
collectSources: true,
|
|
@@ -6682,7 +6682,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
6682
6682
|
//#region src/project/bootstrap-run.ts
|
|
6683
6683
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
6684
6684
|
async function resolveBootstrapRun(options) {
|
|
6685
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
6685
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-CU5W5V2Z.mjs");
|
|
6686
6686
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
6687
6687
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
6688
6688
|
const args = [`--import=${loader}`];
|
|
@@ -6831,7 +6831,7 @@ async function runDev(options) {
|
|
|
6831
6831
|
process.on("SIGINT", shutdown);
|
|
6832
6832
|
process.on("SIGTERM", shutdown);
|
|
6833
6833
|
try {
|
|
6834
|
-
const { watchApp } = await import("./dist-
|
|
6834
|
+
const { watchApp } = await import("./dist-CU5W5V2Z.mjs");
|
|
6835
6835
|
await watchApp({
|
|
6836
6836
|
root,
|
|
6837
6837
|
clean: false,
|
|
@@ -7039,7 +7039,7 @@ const INIT_CATALOG_VERSIONS = {
|
|
|
7039
7039
|
vitest: "^4.1.7",
|
|
7040
7040
|
"@types/node": "^25.9.1"
|
|
7041
7041
|
};
|
|
7042
|
-
const INIT_KEYSTROKE_VERSION = "^0.1.
|
|
7042
|
+
const INIT_KEYSTROKE_VERSION = "^0.1.32";
|
|
7043
7043
|
//#endregion
|
|
7044
7044
|
//#region src/init/copy-template.ts
|
|
7045
7045
|
function renderTemplate(content, variables) {
|
|
@@ -7857,7 +7857,7 @@ async function runStart(options) {
|
|
|
7857
7857
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
7858
7858
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
7859
7859
|
ensureNativeDeps(runtimeNodeModules);
|
|
7860
|
-
const { buildApp } = await import("./dist-
|
|
7860
|
+
const { buildApp } = await import("./dist-CU5W5V2Z.mjs");
|
|
7861
7861
|
await buildApp({
|
|
7862
7862
|
root,
|
|
7863
7863
|
clean: false
|