[resultui] rename redirect-sw.js to root-sw.js

And build it with tsc/webpack.

Rationales:
1. We will add more features to the root-level service worker. Therefore
having a generic name is more appropriate.
2. Because more features will be added, it's better to have type checks
enabled.

R=gavinmak@google.com, mwarton, nodir

Change-Id: Ib73912969acb1e39b7d046a48647af45f8197cc5
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/2971985
Commit-Queue: Weiwei Lin <weiweilin@google.com>
Auto-Submit: Weiwei Lin <weiweilin@google.com>
Reviewed-by: Matthew Warton <mwarton@google.com>
10 files changed
tree: 8ed7db916bd5f9423feed4ee479001cab59bcda9
  1. appengine/
  2. auth/
  3. buildbucket/
  4. casviewer/
  5. cipd/
  6. client/
  7. cmdrunner/
  8. common/
  9. config/
  10. cq/
  11. cv/
  12. dm/
  13. examples/
  14. gae/
  15. gce/
  16. grpc/
  17. hacks/
  18. hardcoded/
  19. led/
  20. logdog/
  21. luci_notify/
  22. lucicfg/
  23. lucictx/
  24. luciexe/
  25. machine-db/
  26. milo/
  27. mmutex/
  28. mp/
  29. resultdb/
  30. scheduler/
  31. server/
  32. starlark/
  33. swarming/
  34. tokenserver/
  35. tools/
  36. tumble/
  37. vpython/
  38. web/
  39. .gitallowed
  40. .gitattributes
  41. .gitignore
  42. .golangci.yml
  43. AUTHORS
  44. codereview.settings
  45. CONTRIBUTING.md
  46. CONTRIBUTORS
  47. LICENSE
  48. OWNERS
  49. PRESUBMIT.py
  50. README.md
  51. WATCHLISTS
README.md

luci-go: LUCI services and tools in Go

GoDoc

Installing

LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:

fetch infra
cd infra/go
eval `./env.py`
cd src/go.chromium.org/luci

Contributing

Contributing uses the same flow as Chromium contributions.