1
0
mirror of synced 2025-11-09 05:17:24 +00:00

feat(CLI): add support for TYPESCRIPT_STARTER_REPO_BRANCH process.env, default to tag of current rel

This commit is contained in:
Jason Dreyzehner
2018-03-15 21:12:59 -04:00
parent e68eddbe12
commit 24ef06e1fe
9 changed files with 166 additions and 63 deletions

View File

@@ -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:',