Uses gts to run eslint and prettier.gts is Google's TypeScript
formatter (https://github.com/google/gts).
Run `yarn run check` or `yarn run fix` to lint or format the code.
A future CL will add running this linter as a presubmit step.
This CL also formats several project files that weren't linted.
Change-Id: Ibfee61efb0d1f18cbd9aae5e6cb32687e8dce8ac
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12120
Commit-Queue: Matthew Soulanille <msoulanille@google.com>
Reviewed-by: Matthew Soulanille <msoulanille@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
Reviewed-by: Max Koopman <koopman@google.com>
WebSerialTransport connects to devices over WebSerial and implements the
DeviceTransport interface. DeviceTransport defines how raw bytes are
sent to and from connected devices.
Change-Id: Ic6c402036f9d2aaea61e05b1f4c42ccc58349b3d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/11725
Commit-Queue: Matthew Soulanille <msoulanille@google.com>
Reviewed-by: Max Koopman <koopman@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
Initialize the pw_web_ui package and add Bazel as a build system. Add a single example test in `src/transport/web_serial_transport_test.ts` to verify Bazel can build and run Jasmine tests.
HAS_TO_BE_LARGE=Initializing a new package. Most of this is due to yarn.lock.
Change-Id: Ie3adbdba5a91de9a5f16205be8077bafb3a1fee3