Commit Graph

3 Commits

Author SHA1 Message Date
Anthony DiGirolamo
01b5d06eea pw_presubmit: JavaScript and TypeScript lint check
- Upgrade to latest eslint (8.47.0)
- Add eslint presubmit
- Fix all eslint errors

Change-Id: Ib9dc37e7f4b3e2666b0792e14c93b6b0d4ffa111
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/165410
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Asad Memon <asadmemon@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-08-14 20:57:48 +00:00
Anthony DiGirolamo
f59b8be8ba pw_presubmit: Apply TypeScript formatting
- Enable TypeScript format presubmit step.
- Apply required formatting

Change-Id: Idf735a9a21a92d361bbfb62f6af787077daa3041
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/164825
Reviewed-by: Asad Memon <asadmemon@google.com>
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com>
2023-08-11 18:32:02 +00:00
Asad Memon
c01e2cd967 pw_web_ui: Move building protos to a node script and add log.proto
We want to bundle log.proto so users can use pw_log_rpc without
having to rebuild protocollection themselves.

This also cleans up package.json and moves list of protos to a node
script which also resolves import issues with log.proto file.

Change-Id: I357475ce368d7027e56d315a47673fa2d11ab4df
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/104468
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Commit-Queue: Asad Memon <asadmemon@google.com>
2022-08-02 17:07:50 +00:00