Skip to content

Commit d3618b1

Browse files
committed
use firebase hosting instead of angularfire
1 parent 18da38f commit d3618b1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

generate-version.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ if (flags.has("-worker")) {
6262
runAndCommit(`npx ng generate web-worker app`);
6363
}
6464
if (flags.has("-fire")) {
65+
// steps from https://firebase.google.com/docs/hosting/quickstart
6566
console.log("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
66-
console.error("@angular/fire must be added manually. Run this and commit:");
67+
console.error(
68+
"firebase hosting must be added manually. Run this and commit:"
69+
);
6770
console.log("cd the-project");
68-
console.log("npx ng add @angular/fire");
69-
console.log("npx rimraf node_modules");
71+
console.log("firebase init hosting");
7072
console.log("git add .");
7173
console.log("cd ..");
72-
console.log(`git commit -m "add angular fire"`);
74+
console.log(`git commit -m "add firebase hosting"`);
7375
console.log("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
7476
} else {
7577
rimraf.sync(`${projectName}/node_modules`);

0 commit comments

Comments
 (0)