Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dart to firebase CLI #7569

Merged
merged 9 commits into from
Sep 23, 2024
Merged

Added dart to firebase CLI #7569

merged 9 commits into from
Sep 23, 2024

Conversation

maneesht
Copy link
Contributor

DO NOT MERGE UNTIL DART GENERATION IS READY

  1. Added Dart Experiment
  2. Added enable_dart flag
  3. Added auto detection of Dart Platform

@maneesht maneesht requested a review from joehan August 20, 2024 01:13
Copy link
Contributor

@joehan joehan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM, just need to clean up the downloadable emualtor changes

src/emulator/downloadableEmulators.ts Outdated Show resolved Hide resolved
@maneesht maneesht changed the base branch from master to launch.fdc-pp September 23, 2024 19:40
Copy link
Contributor

@joehan joehan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after 2 small changes and adding it to schema/conect-yaml.json

@@ -23,6 +24,7 @@ import { DataConnectEmulator } from "../../../emulator/dataconnectEmulator";
import { FirebaseError } from "../../../error";
import { camelCase, snakeCase, upperFirst } from "lodash";
import { logSuccess, logBullet } from "../../../utils";
import * as experiments from "../../../experiments";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused?

@@ -7,6 +7,7 @@ import { needProjectId } from "../projectUtils";
import { load } from "../dataconnect/load";
import { readFirebaseJson } from "../dataconnect/fileUtils";
import { logger } from "../logger";
import * as experiments from "../experiments";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused, remove.

@maneesht maneesht merged commit 9ade1b7 into launch.fdc-pp Sep 23, 2024
17 checks passed
joehan added a commit that referenced this pull request Sep 23, 2024
* update cli support for dataconnect toolkit and webhooks (#7635)

* update cli support for toolkit and webhooks

* update ports

* update ports

* Replace any with Options

* update exec to call webhook, format

* address comment

* address comment

* remove unused var

---------

Co-authored-by: joehan <joehanley@google.com>

* Emulator start refactor (#7638)

* update cli support for toolkit and webhooks

* update ports

* update ports

* Replace any with Options

* update exec to call webhook, format

* address comment

* address comment

* remove unused var

* vscode implementation of emulator start

* delete debug log

* address comments

---------

Co-authored-by: joehan <joehanley@google.com>

* DataConnect + PGLite prototype. (#7615)

* Hacking away at pglite+dataconnect emulator

* Hacking away at it

* More debugging

* I THINK IT WORKSSSSS

* Saving my progress at EoD

* --amend

* Progress

* clean up

* formatting

* Use extended query patch (thanks @gregnr!)

* Format and merge master

* PR fixes

* Remove JSON comments

* format

* Fxing test compilation issues

* Cleaning up build issues

* PR fixes

* Format and generate json schema

* Patching in missing types for VSCode builds

* More type fixing

* More type fixing

* Little bit mroe code review

* Removed unused dep

* More pr fixes

* test:emualtors build fixed

* PR fixes

* Fix port disagreement

* Fix webhook; Clean up emulator code (#7649)

* fix webhooks and cleanup old emulator code

* await sendVSCode completion

* Also handle extended query protocol for close messages (#7653)

* Better handling for invalid JSON variables (#7654)

* Adding a docs link to the sidebar (#7657)

* Clean up code-extension config (#7660)

* Clean up extension configuration

* pulls out messages into i10n/markdown-compatible source

* Simplify the config getter

* Remove errant firebase-path

* Add firebase-path option for vscode (#7662)

* Add firebase-path option for vscode

Allow folks to specify a specific firebase binary

* Update vscode port

* Improved messaging on deploy (#7661)

* Removing LocalConnectionString (#7652)

* cleaning up localconnectionstring

* LocalConnectionString is dead

* test fix

* Good catch

* Enable strict mode (#7663)

* Teardown legacy context provider

* Enable strict mode on the vscode webviews (#7665)

* add await (#7670)

* Rough pass on extension UI (#7668)

* Rough pass on extension UI

* Update docs UI

* Flex the panels to get full-width content

* [𝘀𝗽𝗿] initial version (#7676)

Created using spr 1.3.6-beta.1

* Round 1 of bug bash fixes (#7667)

* Round 1 of bug bash fixes

* Fixing build issue

* Fix package-lock.json

* Oops

* Use lsofi instead of rolling our own

* format

* Fixing lsofi issues (#7683)

* Reload codelens on emulator status change; Add loading state back for emulators start (#7692)

* Add handling for port conflicts. Add fallback for emulator loading state (#7682)

* Add handling for port conflicts. Add fallback for emulator loading state

* update equality

* address comments

* Set default state for sidebar. Update fallback for emulator start (#7694)

* Set default state for sidebar. Update fallback for emulator start

* address comments

* small text update

* change comment

* Re-fetch the extensions doc link when the app is initialized (#7695)

* Better handling for port conflicts and errors in Data Connect emulator (#7691)

* WIP - better error handlingport conflicts

* Void

* Update src/emulator/storage/rules/runtime.ts

Co-authored-by: Yuchen Shi <yuchenshi@google.com>

* Update src/emulator/downloadableEmulators.ts

Co-authored-by: Yuchen Shi <yuchenshi@google.com>

* Find open ports

---------

Co-authored-by: Yuchen Shi <yuchenshi@google.com>

* remove debug mode (#7697)

* Add UI polish for running emulator status (#7699)

* update emulator reset text (#7698)

* update emulator reset text

* update text

* update text (#7700)

* update webhook (#7702)

* startup -> start-up (#7701)

* Fix broken logout, and clean up anys (#7714)

* Fix invalid connector path in FDC example (#7709)

* Added dart to firebase CLI (#7569)

---------

Co-authored-by: joehan <joehanley@google.com>
Co-authored-by: TJ Lavelle <tlavelle@google.com>
Co-authored-by: TJ Lavelle <tj@lavelle.io>
Co-authored-by: Yuchen Shi <yuchenshi@google.com>
Co-authored-by: Remi Rousselet <darky12s@gmail.com>
Co-authored-by: Maneesh Tewani <maneesht@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants