-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
045ee07
commit 654705b
Showing
16 changed files
with
222 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,32 @@ | ||
import { NodePackageManager } from "./index.js"; | ||
|
||
export type Answers = { | ||
type: string; | ||
name: string; | ||
id: string; | ||
description: string; | ||
author: string; | ||
git: boolean; | ||
pkg: NodePackageManager; | ||
openWith: "code" | "skip"; | ||
}; | ||
|
||
export type Answers2 = { | ||
// The project type | ||
type: string; | ||
|
||
// The display name of the project | ||
// Defaults to the folder name | ||
// The name of the project | ||
// This will be used as the directory name | ||
// Will be taken from the 'destination' argument | ||
// Defaults to the name of the CWD | ||
name: string; | ||
|
||
// The name of the project | ||
// Defaults to lowercased name | ||
// with spaces replaced by dashes | ||
// The id of the project | ||
// This will be used as the package name | ||
// Defaults to the name in kebab-case | ||
id: string; | ||
|
||
// The description of the project | ||
description: string; | ||
|
||
// The author of the project | ||
// Defaults to the git user name | ||
author: string; | ||
|
||
// Whether to initialize a git repository | ||
git: boolean; | ||
|
||
// The package manager to use | ||
pkg: NodePackageManager; | ||
|
||
// Whether to open the project with VS Code | ||
openWith: "code" | "skip"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.