feat(CLI): add support for TYPESCRIPT_STARTER_REPO_BRANCH process.env, default to tag of current rel
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { prompt, Question } from 'inquirer';
|
||||
import { Runner, TypescriptStarterUserOptions, validateName } from './utils';
|
||||
import { Runner, TypescriptStarterCLIOptions, validateName } from './utils';
|
||||
|
||||
export async function inquire(): Promise<TypescriptStarterUserOptions> {
|
||||
export async function inquire(): Promise<TypescriptStarterCLIOptions> {
|
||||
const packageNameQuestion: Question = {
|
||||
filter: (answer: string) => answer.trim(),
|
||||
message: '📦 Enter the new package name:',
|
||||
|
||||
Reference in New Issue
Block a user