Skip to content

Commit

Permalink
fix(create-app): add process to context
Browse files Browse the repository at this point in the history
Signed-off-by: Kubilay Kahveci <[email protected]>
  • Loading branch information
mkubilayk committed Sep 30, 2024
1 parent afd6b74 commit 0c502f2
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions packages/create-app/src/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const localContextText = `\
import type { CommandContext } from "@stricli/core";
export interface LocalContext extends CommandContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}
Expand All @@ -53,7 +53,7 @@ import os from "node:os";
import path from "node:path";
export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default async function(this: LocalContext, flags: SubdirCommandFlags): Pr
import type { CommandContext } from "@stricli/core";

export interface LocalContext extends CommandContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default async function(this: LocalContext, flags: SubdirCommandFlags): Pr
import type { CommandContext } from "@stricli/core";

export interface LocalContext extends CommandContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void run(app, process.argv.slice(2), buildContext(process));
import type { CommandContext } from "@stricli/core";

export interface LocalContext extends CommandContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ await run(app, process.argv.slice(2), buildContext(process));
import type { CommandContext } from "@stricli/core";

export interface LocalContext extends CommandContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ import os from "node:os";
import path from "node:path";

export interface LocalContext extends CommandContext, StricliAutoCompleteContext {
// readonly process: NodeJS.Process;
readonly process: NodeJS.Process;
// ...
}

Expand Down

0 comments on commit 0c502f2

Please sign in to comment.