Skip to content

Commit

Permalink
Upgrade to JS SDK 9.23 to use some multidb features. (#999)
Browse files Browse the repository at this point in the history
* Upgrade to 9.23 to use some multidb features.

* Adjust dependencies to resolve ESModule issue.

* Changes to port numbers

* Explicit event types.
  • Loading branch information
christhompsongoogle committed Jan 3, 2024
1 parent 0151b25 commit a927d78
Show file tree
Hide file tree
Showing 13 changed files with 18,020 additions and 30,838 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -50,7 +50,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -40,7 +40,7 @@ firebase emulators:exec --project demo-example --import test-data 'npm start'
```

This will run the web app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.
Expand All @@ -67,7 +67,7 @@ cd firebase-tools-ui/
GCLOUD_PROJECT=<project-id> FIREBASE_EMULATOR_HUB=localhost:4400 npm start
```

Open [http://localhost:3000](http://localhost:3000) to view it in the browser. Note: The development server runs by default on port **3000**, so please make sure you are visiting that URL instead of the production Emulator UI (which defaults on port **4000**).
Open [http://localhost:5173](http://localhost:5173) to view it in the browser. Note: The development server runs by default on port **5173**, so please make sure you are visiting that URL instead of the production Emulator UI (which defaults on port **4000**).

### Developing features behind flags

Expand Down Expand Up @@ -128,7 +128,7 @@ To run the production build with emulators, use:
firebase emulators:exec --project demo-example --import test-data 'node dist/server/server.js'
```

This will start a server that serves both the static files and APIs at `http://localhost:3000/`.
This will start a server that serves both the static files and APIs at `http://localhost:5173/`.

NOTE: The static files are not meant to be deployed to a website or CDN. They must be used in conjunction with
the server as described above.
Expand Down

0 comments on commit a927d78

Please sign in to comment.