@keystrokehq/cli 0.1.28 → 0.1.29
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-C0He9OW1.mjs → dist-BGJ-Gw_w.mjs} +7 -8
- package/dist/dist-BGJ-Gw_w.mjs.map +1 -0
- package/dist/dist-C0_71CpG.mjs +22635 -0
- package/dist/dist-C0_71CpG.mjs.map +1 -0
- package/dist/dist-ClUopraJ.mjs +3 -0
- package/dist/index.mjs +6 -6
- package/dist/templates/hello-world/package.json +1 -0
- package/package.json +4 -4
- package/dist/dist-BcxMnb_L.mjs +0 -172656
- package/dist/dist-BcxMnb_L.mjs.map +0 -1
- package/dist/dist-C0He9OW1.mjs.map +0 -1
- package/dist/dist-D0hzlFrz.mjs +0 -3
package/dist/index.mjs
CHANGED
|
@@ -6377,7 +6377,7 @@ function registerBuildCommand(program) {
|
|
|
6377
6377
|
program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
|
|
6378
6378
|
try {
|
|
6379
6379
|
const root = resolveProjectRoot(options.dir);
|
|
6380
|
-
const { buildApp } = await import("./dist-
|
|
6380
|
+
const { buildApp } = await import("./dist-BGJ-Gw_w.mjs");
|
|
6381
6381
|
await buildApp({ root });
|
|
6382
6382
|
process.stdout.write(`Built ${root}\n`);
|
|
6383
6383
|
} catch (error) {
|
|
@@ -6431,7 +6431,7 @@ async function sleep(ms) {
|
|
|
6431
6431
|
}
|
|
6432
6432
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
6433
6433
|
if (filter?.length) {
|
|
6434
|
-
const { buildFilteredApp } = await import("./dist-
|
|
6434
|
+
const { buildFilteredApp } = await import("./dist-BGJ-Gw_w.mjs");
|
|
6435
6435
|
const filtered = await buildFilteredApp({
|
|
6436
6436
|
root,
|
|
6437
6437
|
filter,
|
|
@@ -6453,7 +6453,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
6453
6453
|
sourceFiles: filtered.sourceFiles
|
|
6454
6454
|
};
|
|
6455
6455
|
}
|
|
6456
|
-
const { buildApp } = await import("./dist-
|
|
6456
|
+
const { buildApp } = await import("./dist-BGJ-Gw_w.mjs");
|
|
6457
6457
|
const { sourceFiles } = await buildApp({
|
|
6458
6458
|
root,
|
|
6459
6459
|
collectSources: true,
|
|
@@ -6572,7 +6572,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
6572
6572
|
//#region src/project/bootstrap-run.ts
|
|
6573
6573
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
6574
6574
|
async function resolveBootstrapRun(options) {
|
|
6575
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
6575
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-BGJ-Gw_w.mjs");
|
|
6576
6576
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
6577
6577
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
6578
6578
|
const args = [`--import=${loader}`];
|
|
@@ -6721,7 +6721,7 @@ async function runDev(options) {
|
|
|
6721
6721
|
process.on("SIGINT", shutdown);
|
|
6722
6722
|
process.on("SIGTERM", shutdown);
|
|
6723
6723
|
try {
|
|
6724
|
-
const { watchApp } = await import("./dist-
|
|
6724
|
+
const { watchApp } = await import("./dist-BGJ-Gw_w.mjs");
|
|
6725
6725
|
await watchApp({
|
|
6726
6726
|
root,
|
|
6727
6727
|
clean: false,
|
|
@@ -7760,7 +7760,7 @@ async function runStart(options) {
|
|
|
7760
7760
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
7761
7761
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
7762
7762
|
ensureNativeDeps(runtimeNodeModules);
|
|
7763
|
-
const { buildApp } = await import("./dist-
|
|
7763
|
+
const { buildApp } = await import("./dist-BGJ-Gw_w.mjs");
|
|
7764
7764
|
await buildApp({
|
|
7765
7765
|
root,
|
|
7766
7766
|
clean: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"conf": "^15.1.0",
|
|
30
30
|
"drizzle-orm": "^0.45.2",
|
|
31
31
|
"picomatch": "^4.0.4",
|
|
32
|
-
"tsdown": "^0.22.0"
|
|
32
|
+
"tsdown": "^0.22.0",
|
|
33
|
+
"typescript": "^6.0.3"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@types/node": "^25.9.1",
|
|
@@ -38,11 +39,10 @@
|
|
|
38
39
|
"oxlint": "^1.66.0",
|
|
39
40
|
"tsdown": "^0.22.0",
|
|
40
41
|
"tsx": "^4.22.3",
|
|
41
|
-
"typescript": "^6.0.3",
|
|
42
42
|
"vitest": "^4.1.7",
|
|
43
43
|
"@keystrokehq/oxlint-config": "0.0.4",
|
|
44
44
|
"@keystrokehq/tsconfig": "0.0.3",
|
|
45
|
-
"@keystrokehq/tsdown-config": "0.0.
|
|
45
|
+
"@keystrokehq/tsdown-config": "0.0.5",
|
|
46
46
|
"@keystrokehq/vitest-config": "0.0.7"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|