feat: detect component testing env (#20002)

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
This commit is contained in:
Barthélémy Ledoux
2022-02-11 15:38:09 -06:00
committed by GitHub
parent 22c1683f3c
commit 759449c440
32 changed files with 2207 additions and 1287 deletions
@@ -66,6 +66,9 @@ export interface WizardDataShape {
chosenFramework: NexusGenEnums['FrontendFrameworkEnum'] | null
chosenLanguage: NexusGenEnums['CodeLanguageEnum']
chosenManualInstall: boolean
detectedLanguage: NexusGenEnums['CodeLanguageEnum'] | null
detectedBundler: NexusGenEnums['SupportedBundlers'] | null
detectedFramework: NexusGenEnums['FrontendFrameworkEnum'] | null
}
export interface MigrationDataShape{
@@ -158,6 +161,9 @@ export function makeCoreData (modeOptions: Partial<AllModeOptions> = {}): CoreDa
chosenLanguage: 'js',
chosenManualInstall: false,
allBundlers: BUNDLERS,
detectedBundler: null,
detectedFramework: null,
detectedLanguage: null,
},
migration: {
step: 'renameAuto',