Skip to content

Commit d3a9af2

Browse files
committed
Public_api
1 parent 32f57c2 commit d3a9af2

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

sample/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@angular/common": "^12.0.0",
1818
"@angular/compiler": "^12.0.0",
1919
"@angular/core": "^12.0.0",
20-
"@angular/fire": "7.0.0-canary.6fb0f6d",
20+
"@angular/fire": "7.0.0-canary.32f57c2",
2121
"@angular/forms": "^12.0.0",
2222
"@angular/platform-browser": "^12.0.0",
2323
"@angular/platform-browser-dynamic": "^12.0.0",

sample/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@
216216
dependencies:
217217
tslib "^2.2.0"
218218

219-
"@angular/[email protected].6fb0f6d":
220-
version "7.0.0-canary.6fb0f6d"
221-
resolved "https://registry.yarnpkg.com/@angular/fire/-/fire-7.0.0-canary.6fb0f6d.tgz#04d8871d84e5d4a9ddda39640c153709f62e4b76"
222-
integrity sha512-X4V6VY5wKIQSig65OWDF6TCUWHs2/gcSz4jOmCz2wYLBob4RA0K4OWnvApMpbEntoh0TuTWWlqZgYFQ26t18Rw==
219+
"@angular/[email protected].32f57c2":
220+
version "7.0.0-canary.32f57c2"
221+
resolved "https://registry.yarnpkg.com/@angular/fire/-/fire-7.0.0-canary.32f57c2.tgz#f22a08f8ab74968cf1d7ad3899c8172b58be6225"
222+
integrity sha512-LniVulI209Z8GLa0rgrr43kJYW6dDIcaxhlRpq8/sv4x2eOKbwDGqnrnDPZkGwLbp7F19B61hLyMSO5aA7+IpA==
223223
dependencies:
224224
tslib "^2.0.0"
225225

src/schematics/migration.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"migration-v7": {
55
"version": "7.0.0",
66
"description": "Update @angular/fire to v7",
7-
"factory": "./public-api#ngUpdateV7"
7+
"factory": "./public_api#ngUpdateV7"
88
},
99
"ng-post-upgate": {
1010
"description": "Print out results after ng-update",
11-
"factory": "./public-api#ngPostUpdate",
11+
"factory": "./public_api#ngPostUpdate",
1212
"private": true
1313
}
1414
}

src/schematics/ng-update.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
export const ngPostUpdate = () => () => {
2-
console.log('something');
1+
import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
2+
3+
export const ngPostUpdate = (): Rule => (
4+
host: Tree,
5+
context: SchematicContext
6+
) => {
7+
return host;
38
};

0 commit comments

Comments
 (0)