Skip to content

Commit

Permalink
refactor(questions): dont export BaseQuestion class
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt committed Feb 23, 2024
1 parent 09062d2 commit 466e1e0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/questions/Git.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PromptQuestion } from "@yeoman/types";
import { BaseQuestion } from "./index.js";
import { BaseQuestion } from "./BaseQuestion.js";
import { Answers } from "../@types/index.js";
import AppGenerator from "../app.js";

Expand Down
2 changes: 1 addition & 1 deletion src/questions/PackageManager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PromptQuestion } from "@yeoman/types";
import { BaseQuestion } from "./index.js";
import { BaseQuestion } from "./BaseQuestion.js";
import { Answers, NodePackageManager } from "../@types/index.js";
import { ConfigHelper } from "../helpers/index.js";
import AppGenerator from "../app.js";
Expand Down
2 changes: 1 addition & 1 deletion src/questions/ProjectDescription.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PromptQuestion } from "@yeoman/types";
import { BaseQuestion } from "./BaseQuestion.js";
import { Answers } from "../@types/index.js";
import { BaseQuestion } from "./index.js";
import AppGenerator from "../app.js";

export class ProjectDescription extends BaseQuestion {
Expand Down
2 changes: 1 addition & 1 deletion src/questions/ProjectId.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PromptQuestion } from "@yeoman/types";
import { BaseQuestion } from "./BaseQuestion.js";
import { Answers } from "../@types/index.js";
import { BaseQuestion } from "./index.js";
import AppGenerator from "../app.js";

export class ProjectId extends BaseQuestion {
Expand Down
4 changes: 2 additions & 2 deletions src/questions/ProjectName.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import path from "node:path";
import { PromptQuestion } from "@yeoman/types";
import AppGenerator from "../app.js";
import { BaseQuestion } from "./BaseQuestion.js";
import { Answers } from "../@types/index.js";
import { BaseQuestion } from "./index.js";
import AppGenerator from "../app.js";

export class ProjectName extends BaseQuestion {
public constructor(generator: AppGenerator) {
Expand Down
2 changes: 1 addition & 1 deletion src/questions/ProjectType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PromptQuestion } from "@yeoman/types";
import { BaseQuestion } from "./BaseQuestion.js";
import { Answers, GeneratorSignature } from "../@types/index.js";
import { BaseQuestion } from "./index.js";
import AppGenerator from "../app.js";

export class ProjectType extends BaseQuestion {
Expand Down
2 changes: 1 addition & 1 deletion src/questions/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./BaseQuestion.js";
export * from "./Author.js";
export * from "./Git.js";
export * from "./PackageManager.js";
export * from "./ProjectDescription.js";
Expand Down

0 comments on commit 466e1e0

Please sign in to comment.