@@ -219,27 +219,26 @@ export const WIZARD_FRAMEWORKS = [
219
219
supportStatus : 'full' ,
220
220
componentIndexHtml : componentIndexHtmlGenerator ( ) ,
221
221
} ,
222
- // TODO: revert once Angular is slated for release
223
- // {
224
- // type: 'angular',
225
- // configFramework: 'angular',
226
- // category: 'template',
227
- // name: 'Angular',
228
- // detectors: [dependencies.WIZARD_DEPENDENCY_ANGULAR_CLI],
229
- // supportedBundlers: [dependencies.WIZARD_DEPENDENCY_WEBPACK],
230
- // dependencies: (bundler: WizardBundler['type'], projectPath: string): DependencyToInstall[] => {
231
- // return [
232
- // isDependencyInstalled(dependencies.WIZARD_DEPENDENCY_ANGULAR_CLI, projectPath),
233
- // isDependencyInstalled(dependencies.WIZARD_DEPENDENCY_ANGULAR_DEVKIT_BUILD_ANGULAR, projectPath),
234
- // isDependencyInstalled(dependencies.WIZARD_DEPENDENCY_ANGULAR_CORE, projectPath),
235
- // isDependencyInstalled(dependencies.WIZARD_DEPENDENCY_ANGULAR_COMMON, projectPath),
236
- // isDependencyInstalled(dependencies.WIZARD_DEPENDENCY_ANGULAR_PLATFORM_BROWSER_DYNAMIC, projectPath),
237
- // ]
238
- // },
239
- // codeGenFramework: 'angular',
240
- // mountModule: 'cypress/angular',
241
- // supportStatus: 'full',
242
- // componentIndexHtml: componentIndexHtmlGenerator(),
243
- // specPattern: '**/*.cy.ts',
244
- // },
222
+ {
223
+ type : 'angular' ,
224
+ configFramework : 'angular' ,
225
+ category : 'template' ,
226
+ name : 'Angular' ,
227
+ detectors : [ dependencies . WIZARD_DEPENDENCY_ANGULAR_CLI ] ,
228
+ supportedBundlers : [ dependencies . WIZARD_DEPENDENCY_WEBPACK ] ,
229
+ dependencies : ( bundler : WizardBundler [ 'type' ] , projectPath : string ) : Promise < DependencyToInstall [ ] > => {
230
+ return Promise . all ( [
231
+ isDependencyInstalled ( dependencies . WIZARD_DEPENDENCY_ANGULAR_CLI , projectPath ) ,
232
+ isDependencyInstalled ( dependencies . WIZARD_DEPENDENCY_ANGULAR_DEVKIT_BUILD_ANGULAR , projectPath ) ,
233
+ isDependencyInstalled ( dependencies . WIZARD_DEPENDENCY_ANGULAR_CORE , projectPath ) ,
234
+ isDependencyInstalled ( dependencies . WIZARD_DEPENDENCY_ANGULAR_COMMON , projectPath ) ,
235
+ isDependencyInstalled ( dependencies . WIZARD_DEPENDENCY_ANGULAR_PLATFORM_BROWSER_DYNAMIC , projectPath ) ,
236
+ ] )
237
+ } ,
238
+ codeGenFramework : 'angular' ,
239
+ mountModule : 'cypress/angular' ,
240
+ supportStatus : 'full' ,
241
+ componentIndexHtml : componentIndexHtmlGenerator ( ) ,
242
+ specPattern : '**/*.cy.ts' ,
243
+ } ,
245
244
] as const
0 commit comments