Skip to content

Commit

Permalink
feat: Add mise configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyno-zeta committed Dec 2, 2024
1 parent 53117b9 commit 7cc7173
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
19 changes: 19 additions & 0 deletions backend/.mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#:schema https://mise.jdx.dev/schema/mise.json

[tools]
# renovate: datasource=github-tags depName=golang/go
go = '1.23'
# renovate: datasource=github-tags depName=golangci/golangci-lint
golangci-lint = "v1.62.2"
# renovate: datasource=github-tags depName=gotestyourself/gotestsum
gotestsum = "v1.12.0"
# renovate: datasource=github-tags depName=99designs/gqlgen
"go:github.com/99designs/gqlgen" = "v0.17.57"
# renovate: datasource=go depName=go.uber.org/mock/mockgen
"go:go.uber.org/mock/mockgen" = "v0.5.0"
# renovate: datasource=go depName=golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment
"go:golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment" = "v0.27.0"
# renovate: datasource=github-tags depName=boumenot/gocover-cobertura
"go:github.com/boumenot/gocover-cobertura" = "v1.3.0"
# renovate: datasource=github-tags depName=mitchellh/gox
"go:github.com/mitchellh/gox" = "v1.0.1"
7 changes: 7 additions & 0 deletions frontend/.mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#:schema https://mise.jdx.dev/schema/mise.json

[tools]
[tools.node]
# renovate: datasource=github-tags depName=nodejs/node
version = '22'
postinstall = 'corepack enable'
4 changes: 3 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@
"fileMatch": [
"^backend/Makefile$",
"^backend/Dockerfile.*",
"^backend/.mise.toml",
"^frontend/.mise.toml",
"^.github/workflows/.*\\.yml"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VERSION\\s*[:=]+\\s*\"(?<currentValue>.*)\"\\s"
"#\\s*renovate:\\s*datasource=(?<datasource>.*?)( depName=(?<depName>.*?))?( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*\\s*[ :=]+\\s*[\"'](?<currentValue>.*)[\"']\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
Expand Down

0 comments on commit 7cc7173

Please sign in to comment.