We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d04a0e commit 0e5ac6cCopy full SHA for 0e5ac6c
projects/schematics/src/ng-add/actions/add-standalone-import.ts
@@ -7,14 +7,14 @@ export function addStandaloneConfigsToProviders(options: NgAddOptions): Rule {
7
return (host: Tree, context: SchematicContext) => {
8
const [projectName] = getProject(host);
9
const { fileName } = options.standaloneInfo!;
10
-
+
11
context.logger.info(`✅️ All imports done, please add the 'provideRouter()' as well if you don't have it provided yet.`);
12
13
return chain([
14
addRootProvider(projectName, ({code, external}) => {
15
external('authConfig', `./auth/${fileName}`);
16
return code`${external('provideAuth', 'angular-auth-oidc-client')}(authConfig)`;
17
}),
18
- ]);
+ ] as Iterable<Rule>);
19
};
20
}
0 commit comments