Skip to content

Commit cd03ed9

Browse files
committed
chore: add demo- to emulator project names
1 parent f63bb65 commit cd03ed9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/react/useGetIdTokenQuery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"dev:emulator": "cd ../../../ && firebase emulators:exec --project test-project 'cd examples/react/useGetIdTokenQuery && vite'",
8+
"dev:emulator": "cd ../../../ && firebase emulators:exec --project demo-test-project 'cd examples/react/useGetIdTokenQuery && vite'",
99
"build": "npx vite build",
1010
"preview": "vite preview"
1111
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"packageManager": "pnpm@10.10.0",
55
"scripts": {
66
"test": "turbo test",
7-
"test:emulator": "firebase emulators:exec --project test-project \"pnpm turbo test:ci\"",
7+
"test:emulator": "firebase emulators:exec --project demo-test-project \"pnpm turbo test:ci\"",
88
"serve:coverage": "npx serve coverage",
9-
"emulator": "firebase emulators:start --project test-project",
9+
"emulator": "firebase emulators:start --project demo-test-project",
1010
"emulator:kill": "lsof -t -i:4001 -i:8080 -i:9000 -i:9099 -i:9199 -i:8085 -i:9399 -i:9299 | xargs kill -9",
1111
"format": "biome check .",
1212
"format:fix": "biome check . --write",

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test:ci": "vitest --dom --coverage --run",
99
"build": "tsup",
1010
"serve:coverage": "npx serve coverage",
11-
"emulator": "firebase emulators:start --project test-project",
11+
"emulator": "firebase emulators:start --project demo-test-project",
1212
"emulator:kill": "lsof -t -i:4001 -i:8080 -i:9000 -i:9099 -i:9199 -i:8085 | xargs kill -9",
1313
"check": "tsc --noEmit",
1414
"publish-package": "pnpm run build && cd dist && npm publish"

packages/react/vitest/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { expect } from "vitest";
1313
import { connectorConfig } from "@/dataconnect/default-connector";
1414

1515
const firebaseTestingOptions = {
16-
projectId: "test-project",
16+
projectId: "demo-test-project",
1717
apiKey: "test-api-key",
1818
authDomain: "test-auth-domain",
1919
};
@@ -38,7 +38,7 @@ if (!firebaseApp) {
3838

3939
async function wipeFirestore() {
4040
const response = await fetch(
41-
"http://localhost:8080/emulator/v1/projects/test-project/databases/(default)/documents",
41+
"http://localhost:8080/emulator/v1/projects/demo-test-project/databases/(default)/documents",
4242
{
4343
method: "DELETE",
4444
},
@@ -51,7 +51,7 @@ async function wipeFirestore() {
5151

5252
async function wipeAuth() {
5353
const response = await fetch(
54-
"http://localhost:9099/emulator/v1/projects/test-project/accounts",
54+
"http://localhost:9099/emulator/v1/projects/demo-test-project/accounts",
5555
{
5656
method: "DELETE",
5757
},

0 commit comments

Comments
 (0)