From 5670e97c1f6c02aace62f7a39b4cef66b98076d1 Mon Sep 17 00:00:00 2001 From: Gino Miceli Date: Fri, 23 Aug 2024 10:43:07 -0400 Subject: [PATCH 1/2] Add shortcut script to build all and start local --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 8e2720d00..d88b94214 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build-all": "npm run build --workspaces --if-present", "deploy": "firebase login && firebase deploy --project $npm_config_project", "build-all-and-deploy": "npm run build-all && npm run deploy", + "build-all-and-start-local": "npm run build-all --config=local --project=local && npm run start:local", "watch:local": "npm run watch --workspace functions > functions.log 2>&1 & npm run watch --config=local --project=local --workspace web > web.log 2>&1", "start:local": "firebase emulators:exec 'npm run watch:local' --project local --ui --config firebase.local.json --import data/local", "export:local": "firebase emulators:export data/local --project local --only firestore", From e977ea62483ad2e17ced73994fec5b9026117a64 Mon Sep 17 00:00:00 2001 From: Gino Miceli Date: Fri, 23 Aug 2024 10:51:19 -0400 Subject: [PATCH 2/2] Update test data to use latest schema --- data/local/auth_export/accounts.json | 2 +- .../all_namespaces_all_kinds.export_metadata | Bin 52 -> 52 bytes .../all_namespaces/all_kinds/output-0 | Bin 12538 -> 14632 bytes .../firestore_export.overall_export_metadata | Bin 95 -> 95 bytes 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/data/local/auth_export/accounts.json b/data/local/auth_export/accounts.json index 3367ae75b..17799bf53 100644 --- a/data/local/auth_export/accounts.json +++ b/data/local/auth_export/accounts.json @@ -1 +1 @@ -{"kind":"identitytoolkit#DownloadAccountResponse","users":[{"localId":"OSpCUZYAGPvDJn8n7rgYz9YfIrD9","lastLoginAt":"1719838206834","createdAt":"1719838206834","lastRefreshAt":"2024-07-01T12:50:06.841Z"},{"localId":"dZWReItHKWIaMi4GJPxszWb0VCnN","lastLoginAt":"1719841155698","createdAt":"1719841155698","lastRefreshAt":"2024-07-01T13:39:15.701Z"},{"localId":"xyNMqyb9LPp0xXtdEa6DQk3ymHLa","lastLoginAt":"1719841321507","createdAt":"1719841321507","lastRefreshAt":"2024-07-01T13:42:01.508Z"}]} \ No newline at end of file +{"kind":"identitytoolkit#DownloadAccountResponse","users":[{"localId":"OSpCUZYAGPvDJn8n7rgYz9YfIrD9","createdAt":"1719838206834","lastLoginAt":"1719838206834","validSince":"1724424200","emailVerified":false,"disabled":false},{"localId":"dZWReItHKWIaMi4GJPxszWb0VCnN","createdAt":"1719841155698","lastLoginAt":"1719841155698","validSince":"1724424200","emailVerified":false,"disabled":false},{"localId":"xyNMqyb9LPp0xXtdEa6DQk3ymHLa","createdAt":"1719841321507","lastLoginAt":"1719841321507","validSince":"1724424200","emailVerified":false,"disabled":false}]} \ No newline at end of file diff --git a/data/local/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata b/data/local/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata index fbcb50aeb533a305d6664ad049b0ab175a82da99..0725252051040b213f38864d8571c3ff4452e2a7 100644 GIT binary patch delta 36 pcmXppnII~^|JU_Z>$*FbCGJnZ0cHsCa4`sREdl$Pik001Ry4o?68 delta 36 pcmXppnII~E@%x^Ae_Gp_CC<;^3uXxMa4`sREdl$Pik001$R4%Pqw diff --git a/data/local/firestore_export/all_namespaces/all_kinds/output-0 b/data/local/firestore_export/all_namespaces/all_kinds/output-0 index 6c1c4bd4d8ac34bf8f4f672037a57cc3174a3eae..6619a99a04482ee631e04e8d688df74f6297bef4 100644 GIT binary patch literal 14632 zcmc&*dwf$xzRyY1w855E9s;wlOmi4Z~h^0Wh^vl6nW2 zRByG_w`F8emd+}Jt)t#(Gc-0bzgI+01egX&98`e)3Y*L(p(M;pf!6H`u!U<~&$gN@T%OeLFa44QWt>*{-$`Jlp=BQ*{PbpCQUoUz!v12B5`o? zgV>kpMTZ{3Bupsew0pMxZkv*iRArar>qH>e6e+%bVHO`*y|`mmi3sGjnDz5_3y@D} zpPp4J0(s_W*XlQC^KC9Zbmp@h5y;-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lf&P6c&%ZZ2|g{QfXHmf$Zy?wM9!qG0*&Is^EokC$ZHMnZl=3tqdMbs;b?1(>7n zJ%4!hZ-$i+CjWLC+atgnef=#TB!h0E65Ck)XXRt6JERgjyw34Z$A*!<^ie7TRbnDv Q`ed`eNq+R9hen_O1tR-5asU7T diff --git a/data/local/firestore_export/firestore_export.overall_export_metadata b/data/local/firestore_export/firestore_export.overall_export_metadata index 780e6ae2bdfd209ce74ff2857025e0ee2ab03955..0f517135cb2b9e505577d09a99298228b9b3e887 100644 GIT binary patch delta 23 ecma!#=h>0#;>XCqXnbO$x#C0~e-0#;>XCqXdL&%Om-rVKMSA2uS5V(^ajNM