Skip to content

Commit

Permalink
Merge pull request #72 from foomo/dependabot/go_modules/gomod-update-…
Browse files Browse the repository at this point in the history
…c38803d372

chore(deps): bump the gomod-update group across 1 directory with 5 updates
  • Loading branch information
franklinkim authored Jul 4, 2024
2 parents d9c5c37 + 44903f3 commit d2d65a2
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 64 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ tmp/
!.editorconfig
!.goreleaser.yml
!.golangci.yml
!.husky.yaml
!.posh.yml
17 changes: 17 additions & 0 deletions .husky.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
hooks:
pre-commit:
- golangci-lint run --fast
- husky lint-staged
commit-msg:
# only execute if not in a merge
- if [[ -z $(git rev-parse -q --verify MERGE_HEAD) ]]; then husky lint-commit; fi

lint-staged:
'*.go':
- goimports -l -w
- gofmt -l -w

lint-commit:
email: '^(.+@bestbytes.com)$'
types: '^(feat|fix|build|chore|docs|perf|refactor|revert|style|test|wip)$'
header: '^(?P<type>\w+)(\((?P<scope>[\w/.-]+)\))?(?P<breaking>!)?:( +)?(?P<header>.+)'
32 changes: 17 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
module github.com/foomo/posh

go 1.21
go 1.21.0

require (
dario.cat/mergo v1.0.0
github.com/Masterminds/semver/v3 v3.2.1
github.com/Masterminds/sprig/v3 v3.2.3
github.com/alecthomas/chroma v0.10.0
github.com/c-bata/go-prompt v0.2.6
github.com/charlievieth/fastwalk v1.0.3
github.com/charlievieth/fastwalk v1.0.6
github.com/foomo/fender v1.0.1
github.com/go-git/go-git/v5 v5.12.0
github.com/gofrs/flock v0.8.1
github.com/gofrs/flock v0.12.0
github.com/joho/godotenv v1.5.1
github.com/kubescape/go-git-url v0.0.30
github.com/pkg/errors v0.9.1
github.com/pterm/pterm v0.12.79
github.com/samber/lo v1.39.0
github.com/spf13/cobra v1.8.0
github.com/samber/lo v1.44.0
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.18.2
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
github.com/whilp/git-urls v1.0.0
golang.org/x/sync v0.7.0
gopkg.in/yaml.v3 v3.0.1
)
Expand All @@ -32,6 +32,7 @@ require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v1.0.0 // indirect
github.com/chainguard-dev/git-urls v1.0.2 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
Expand Down Expand Up @@ -63,7 +64,7 @@ require (
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pkg/term v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
Expand All @@ -81,16 +82,17 @@ require (
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.13.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
)

replace github.com/c-bata/go-prompt v0.2.6 => github.com/franklinkim/go-prompt v0.2.7-0.20210427061716-a8f4995d7aa5
Loading

0 comments on commit d2d65a2

Please sign in to comment.