Skip to content

Commit

Permalink
feat: update jsonschema library (#521)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jun 13, 2022
1 parent a843af4 commit 4889389
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 60 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -7,13 +7,13 @@ require (
github.com/Masterminds/semver/v3 v3.1.1
github.com/ProtonMail/go-crypto v0.0.0-20210512092938-c05353c2d58c
github.com/ProtonMail/gopenpgp/v2 v2.2.2
github.com/alecthomas/jsonschema v0.0.0-20210920000243-787cd8204a0d
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
github.com/caarlos0/go-rpmutils v0.2.1-0.20211112020245-2cd62ff89b11
github.com/google/rpmpack v0.0.0-20220314092521-38642b5e571e
github.com/goreleaser/chglog v0.1.2
github.com/goreleaser/fileglob v1.3.0
github.com/imdario/mergo v0.3.13
github.com/invopop/jsonschema v0.4.0
github.com/klauspost/pgzip v1.2.5
github.com/muesli/mango-cobra v1.1.0
github.com/muesli/roff v0.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -43,8 +43,6 @@ github.com/ProtonMail/gopenpgp/v2 v2.2.2/go.mod h1:ajUlBGvxMH1UBZnaYO3d1FSVzjiC6
github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs=
github.com/alecthomas/jsonschema v0.0.0-20210920000243-787cd8204a0d h1:sUHuJQ3zwLmUgKM1v51WLWRtoy9r+hc/m7DoNftpUdA=
github.com/alecthomas/jsonschema v0.0.0-20210920000243-787cd8204a0d/go.mod h1:/n6+1/DWPltRLWL/VKyUxg6tzsl5kHUCcraimt4vr60=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
Expand Down Expand Up @@ -180,6 +178,8 @@ github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/invopop/jsonschema v0.4.0 h1:Yuy/unfgCnfV5Wl7H0HgFufp/rlurqPOOuacqyByrws=
github.com/invopop/jsonschema v0.4.0/go.mod h1:O9uiLokuu0+MGFlyiaqtWxwqJm41/+8Nj0lD7A36YH0=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/schema.go
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"path/filepath"

"github.com/alecthomas/jsonschema"
"github.com/goreleaser/nfpm/v2"
"github.com/invopop/jsonschema"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion www/docs/cmd/nfpm.md
Expand Up @@ -17,5 +17,5 @@ nFPM is a simple, 0-dependencies, deb, rpm and apk packager.
* [nfpm completion](/cmd/nfpm_completion/) - Generate the autocompletion script for the specified shell
* [nfpm init](/cmd/nfpm_init/) - Creates a sample nfpm.yaml config file
* [nfpm jsonschema](/cmd/nfpm_jsonschema/) - Outputs nFPM's JSON schema
* [nfpm package](/cmd/nfpm_package/) - Creates a package based on the given the given config file and flags
* [nfpm package](/cmd/nfpm_package/) - Creates a package based on the given config file and flags

2 changes: 1 addition & 1 deletion www/docs/cmd/nfpm_package.md
@@ -1,6 +1,6 @@
# nfpm package

Creates a package based on the given the given config file and flags
Creates a package based on the given config file and flags

```
nfpm package [flags]
Expand Down
118 changes: 64 additions & 54 deletions www/docs/static/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4889389

Please sign in to comment.