feat: ProjectLifecycleManager & general launchpad cleanup (#19347)

See #19347 for full summary

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: estrada9166 <estrada9166@hotmail.com>
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com>
Co-authored-by: Jess <jess@jessicasachs.io>
This commit is contained in:
Tim Griesser
2021-12-21 21:28:44 -05:00
committed by GitHub
parent 67c42fccee
commit 4626f7481c
217 changed files with 4381 additions and 4647 deletions
+3 -2
View File
@@ -2937,10 +2937,11 @@ declare namespace Cypress {
*/
type CoreConfigOptions = Partial<Omit<ResolvedConfigOptions, TestingType>>
type DevServerFn<ComponentDevServerOpts = any> = (cypressConfig: DevServerConfig, devServerConfig: ComponentDevServerOpts) => ResolvedDevServerConfig | Promise<ResolvedDevServerConfig>
interface ComponentConfigOptions<ComponentDevServerOpts = any> extends CoreConfigOptions {
// TODO(tim): Keeping optional until we land the implementation
devServer?: (cypressConfig: DevServerConfig, devServerConfig: ComponentDevServerOpts) => ResolvedDevServerConfig | Promise<ResolvedDevServerConfig>
devServerConfig?: ComponentDevServerOpts
devServer?: Promise<{ devServer: DevServerFn<ResolvedDevServerConfig>}> | { devServer: DevServerFn<ResolvedDevServerConfig> } | DevServerFn<ResolvedDevServerConfig>
devServerConfig?: ComponentDevServerOpts | Promise<ComponentDevServerOpts>
}
/**