Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(create-app): add process to context #4

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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