Skip to content

Commit 3a4854d

Browse files
committed
Add changelog, add timer to ng-add
1 parent e97bcac commit 3a4854d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<a name="6.1.5"></a>
22
# [6.1.5](https://github.com/angular/angularfire/compare/6.1.4...6.1.5) (2021-05-17)
33

4-
* Support Angular 12 peer
4+
Support Angular 12 peer
5+
6+
### Bug Fixes
7+
8+
* **auth:** set the passed settings individually ([#2826](https://github.com/angular/angularfire/issues/2826)) ([984803d](https://github.com/angular/angularfire/commit/984803d))
59

610
<a name="6.1.4"></a>
711
# [6.1.4](https://github.com/angular/angularfire/compare/6.1.3...6.1.4) (2020-12-03)

src/schematics/ng-add.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,13 @@ export const ngAdd = (options: DeployOptions) => (
105105

106106
const {project} = getProject(options, host);
107107

108-
return projectTypePrompt(project).then(
109-
({ universalProject }: { universalProject: boolean }) => {
108+
// In Angular 12 it appears I might need some sort of timeout to allow
109+
// node_modules to resolve?
110+
const timeout = new Promise(resolve => setTimeout(resolve, 1_000));
111+
112+
return timeout.
113+
then(() => projectTypePrompt(project)).
114+
then(({ universalProject }: { universalProject: boolean }) => {
110115
if (universalProject) {
111116
addFirebaseFunctionsDependencies(host, context);
112117
}

0 commit comments

Comments
 (0)