Skip to content

Commit

Permalink
chore: upgrade all deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dlvhdr committed Jan 4, 2024
1 parent 29e3418 commit 11ba142
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 36 deletions.
14 changes: 7 additions & 7 deletions config/parser.go
Expand Up @@ -133,13 +133,13 @@ type ColorThemeBackground struct {
}

type ColorTheme struct {
Text ColorThemeText `yaml:"text" validate:"required,dive"`
Background ColorThemeBackground `yaml:"background" validate:"required,dive"`
Border ColorThemeBorder `yaml:"border" validate:"required,dive"`
Text ColorThemeText `yaml:"text" validate:"required"`
Background ColorThemeBackground `yaml:"background" validate:"required"`
Border ColorThemeBorder `yaml:"border" validate:"required"`
}

type ColorThemeConfig struct {
Inline ColorTheme `yaml:",inline" validate:"dive"`
Inline ColorTheme `yaml:",inline"`
}

type TableUIThemeConfig struct {
Expand All @@ -151,8 +151,8 @@ type UIThemeConfig struct {
}

type ThemeConfig struct {
Ui UIThemeConfig `yaml:"ui,omitempty" validate:"dive"`
Colors *ColorThemeConfig `yaml:"colors,omitempty" validate:"omitempty,dive"`
Ui UIThemeConfig `yaml:"ui,omitempty" validate:"omitempty"`
Colors *ColorThemeConfig `yaml:"colors,omitempty" validate:"omitempty"`
}

type Config struct {
Expand All @@ -161,7 +161,7 @@ type Config struct {
Defaults Defaults `yaml:"defaults"`
Keybindings Keybindings `yaml:"keybindings"`
RepoPaths map[string]string `yaml:"repoPaths"`
Theme *ThemeConfig `yaml:"theme,omitempty" validate:"omitempty,dive"`
Theme *ThemeConfig `yaml:"theme,omitempty" validate:"omitempty"`
Pager Pager `yaml:"pager"`
}

Expand Down
57 changes: 30 additions & 27 deletions go.mod
@@ -1,59 +1,62 @@
module github.com/dlvhdr/gh-dash

go 1.18
go 1.21

toolchain go1.21.4

require (
github.com/atotto/clipboard v0.1.4
github.com/charmbracelet/bubbles v0.16.1
github.com/charmbracelet/bubbletea v0.24.2
github.com/charmbracelet/bubbles v0.17.1
github.com/charmbracelet/bubbletea v0.25.0
github.com/charmbracelet/glamour v0.6.0
github.com/charmbracelet/lipgloss v0.7.1
github.com/charmbracelet/log v0.2.3
github.com/cli/go-gh/v2 v2.1.0
github.com/cli/shurcooL-graphql v0.0.3
github.com/go-playground/validator/v10 v10.15.0
github.com/charmbracelet/lipgloss v0.9.1
github.com/charmbracelet/log v0.3.1
github.com/cli/go-gh/v2 v2.4.0
github.com/cli/shurcooL-graphql v0.0.4
github.com/go-playground/validator/v10 v10.16.0
github.com/muesli/termenv v0.15.2
github.com/spf13/cobra v1.7.0
github.com/spf13/cobra v1.8.0
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/alecthomas/chroma v0.10.0 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/cli/browser v1.1.0 // indirect
github.com/cli/safeexec v1.0.0 // indirect
github.com/cli/browser v1.3.0 // indirect
github.com/cli/safeexec v1.0.1 // indirect
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/dlclark/regexp2 v1.10.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/henvic/httpretty v0.1.0 // indirect
github.com/gorilla/css v1.0.1 // indirect
github.com/henvic/httpretty v0.1.3 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/microcosm-cc/bluemonday v1.0.21 // indirect
github.com/muesli/ansi v0.0.0-20211031195517-c9f0611b6c70 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/microcosm-cc/bluemonday v1.0.26 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/thlib/go-timezone-local v0.0.0-20210907160436-ef149e42d28e // indirect
github.com/yuin/goldmark v1.5.2 // indirect
github.com/yuin/goldmark-emoji v1.0.1 // indirect
golang.org/x/crypto v0.7.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/term v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
github.com/yuin/goldmark v1.6.0 // indirect
github.com/yuin/goldmark-emoji v1.0.2 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

0 comments on commit 11ba142

Please sign in to comment.