alertmanager/ui/react-app
TJ Hoplock f6b942cf9b
chore!: adopt log/slog, drop go-kit/log (#4089)
* chore!: adopt log/slog, drop go-kit/log

The bulk of this change set was automated by the following script which
is being used to aid in converting the various exporters/projects to use
slog:

https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434

This commit includes several changes:
- bump exporter-tookit to v0.13.1 for log/slog support
- updates golangci-lint deprecated configs
- enables sloglint linter
- removes old go-kit/log linter configs
- introduce some `if logger == nil { $newLogger }` additions to prevent
  nil references
- converts cluster membership config to use a stdlib compatible slog
  adapter, rather than creating a custom io.Writer for use as the
membership `logOutput` config

Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>

* chore: address PR feedback

Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>

---------

Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
2024-11-06 09:09:57 +00:00
..
dist Bump @emotion/react from 11.10.6 to 11.11.4 in /ui/react-app (#3787) 2024-07-01 13:59:03 +02:00
src deactivate button based on the location 2023-03-02 14:46:50 +01:00
.eslintrc.js
.gitignore Isolate react-app package (#3589) 2023-11-03 14:50:06 +00:00
.prettierignore
.prettierrc.json
embed.go Update react-app assets 2024-06-28 16:24:58 +02:00
embed.go.tmpl Update golanci-lint (#3632) 2023-12-07 16:42:42 +00:00
package-lock.json Merge pull request #4046 from prometheus/dependabot/npm_and_yarn/ui/react-app/eslint-plugin-react-7.37.1 2024-10-16 16:31:26 +02:00
package.json Merge pull request #4046 from prometheus/dependabot/npm_and_yarn/ui/react-app/eslint-plugin-react-7.37.1 2024-10-16 16:31:26 +02:00
tsconfig.json
ui.go Update golanci-lint (#3632) 2023-12-07 16:42:42 +00:00
web.go chore!: adopt log/slog, drop go-kit/log (#4089) 2024-11-06 09:09:57 +00:00
webpack.common.ts
webpack.dev.ts
webpack.prod.ts inject react-app in binary 2023-02-28 12:57:49 +01:00