File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,12 @@ serve-all:
99
99
serve-web :
100
100
cd web; bun run preview # todo: make serve function
101
101
serve-server :
102
- @# Read server/README.md for this use of npm.
103
102
cd server; bun run serve
104
103
105
104
watch-web : copy-common-to-web
106
105
cd web; bun run dev
107
106
watch-server : copy-common-to-server
108
- cd server; npm run dev
107
+ cd server; bun run dev
109
108
110
109
copy-common : copy-common-to-server copy-common-to-web
111
110
copy-common-to-server :
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ GNU Make が導入されています。以下は、ユーザーが使うこと
25
25
- 以下をインストールします:
26
26
27
27
- Node.js v22
28
- - Bun
28
+ - Bun (js)
29
29
- GNU Make
30
- - Node Package Manager / npm (optional)
30
+ - Node Package Manager / npm
31
31
- nvm (optional)
32
32
33
33
- ` make setup ` を実行します。
Original file line number Diff line number Diff line change 1
- import { type AppOptions , initializeApp } from "firebase-admin" ;
1
+ import * as firebase from "firebase-admin" ;
2
2
3
- const options : AppOptions = {
3
+ const options : firebase . AppOptions = {
4
4
projectId : process . env . FIREBASE_PROJECT_ID ,
5
5
} ;
6
6
7
7
if ( ! options . projectId )
8
8
throw new Error ( "FIREBASE_PROJECT_ID required in server/.env" ) ;
9
9
10
- const app = initializeApp ( options ) ;
10
+ const app = firebase . initializeApp ( options ) ;
11
11
12
12
export { app } ;
You can’t perform that action at this time.
0 commit comments