[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. .gitallowed
  2. .gitattributes
  3. .gitignore
  4. .golangci.yml
  5. AUTHORS
  6. CONTRIBUTING.md
  7. CONTRIBUTORS
  8. LICENSE
  9. OWNERS
  10. PRESUBMIT.py
  11. README.md
  12. WATCHLISTS
  13. appengine/
  14. auth/
  15. buildbucket/
  16. casviewer/
  17. cipd/
  18. client/
  19. cmdrunner/
  20. codereview.settings
  21. common/
  22. config/
  23. cq/
  24. cv/
  25. dm/
  26. examples/
  27. gae/
  28. gce/
  29. grpc/
  30. hacks/
  31. hardcoded/
  32. led/
  33. logdog/
  34. luci_notify/
  35. lucicfg/
  36. lucictx/
  37. luciexe/
  38. machine-db/
  39. milo/
  40. mmutex/
  41. mp/
  42. resultdb/
  43. scheduler/
  44. server/
  45. starlark/
  46. swarming/
  47. tokenserver/
  48. tools/
  49. tumble/
  50. vpython/
  51. web/
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.