mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 12:33:55 +00:00
9f5a92078a
This commit implements Hugo Modules. This is a broad subject, but some keywords include: * A new `module` configuration section where you can import almost anything. You can configure both your own file mounts nd the file mounts of the modules you import. This is the new recommended way of configuring what you earlier put in `configDir`, `staticDir` etc. And it also allows you to mount folders in non-Hugo-projects, e.g. the `SCSS` folder in the Bootstrap GitHub project. * A module consists of a set of mounts to the standard 7 component types in Hugo: `static`, `content`, `layouts`, `data`, `assets`, `i18n`, and `archetypes`. Yes, Theme Components can now include content, which should be very useful, especially in bigger multilingual projects. * Modules not in your local file cache will be downloaded automatically and even "hot replaced" while the server is running. * Hugo Modules supports and encourages semver versioned modules, and uses the minimal version selection algorithm to resolve versions. * A new set of CLI commands are provided to manage all of this: `hugo mod init`, `hugo mod get`, `hugo mod graph`, `hugo mod tidy`, and `hugo mod vendor`. All of the above is backed by Go Modules. Fixes #5973 Fixes #5996 Fixes #6010 Fixes #5911 Fixes #5940 Fixes #6074 Fixes #6082 Fixes #6092
73 lines
3 KiB
Modula-2
73 lines
3 KiB
Modula-2
module github.com/gohugoio/hugo
|
|
|
|
require (
|
|
github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69
|
|
github.com/BurntSushi/toml v0.3.1
|
|
github.com/PuerkitoBio/purell v1.1.0
|
|
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
|
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
|
|
github.com/alecthomas/chroma v0.6.4
|
|
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
|
|
github.com/aws/aws-sdk-go v1.19.40
|
|
github.com/bep/debounce v1.2.0
|
|
github.com/bep/gitmap v1.1.0
|
|
github.com/bep/go-tocss v0.6.0
|
|
github.com/disintegration/imaging v1.6.0
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
|
|
github.com/fortytw2/leaktest v1.3.0
|
|
github.com/fsnotify/fsnotify v1.4.7
|
|
github.com/go-errors/errors v1.0.1
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/gohugoio/testmodBuilder/mods v0.0.0-20190520184928-c56af20f2e95
|
|
github.com/google/go-cmp v0.3.0
|
|
github.com/gorilla/websocket v1.4.0
|
|
github.com/hashicorp/go-immutable-radix v1.0.0
|
|
github.com/hashicorp/go-uuid v1.0.1 // indirect
|
|
github.com/jdkato/prose v1.1.0
|
|
github.com/kyokomi/emoji v1.5.1
|
|
github.com/magefile/mage v1.4.0
|
|
github.com/magiconair/properties v1.8.1 // indirect
|
|
github.com/markbates/inflect v1.0.0
|
|
github.com/mattn/go-isatty v0.0.8
|
|
github.com/miekg/mmark v1.3.6
|
|
github.com/mitchellh/hashstructure v1.0.0
|
|
github.com/mitchellh/mapstructure v1.1.2
|
|
github.com/muesli/smartcrop v0.0.0-20180228075044-f6ebaa786a12
|
|
github.com/ncw/rclone v1.48.0
|
|
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
|
|
github.com/nicksnyder/go-i18n v1.10.0
|
|
github.com/niklasfasching/go-org v0.1.1
|
|
github.com/olekukonko/tablewriter v0.0.0-20180506121414-d4647c9c7a84
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
|
|
github.com/pelletier/go-toml v1.4.0 // indirect
|
|
github.com/pkg/errors v0.8.1
|
|
github.com/rogpeppe/go-internal v1.3.0
|
|
github.com/russross/blackfriday v1.5.3-0.20190124082335-a477dd164691
|
|
github.com/sanity-io/litter v1.1.0
|
|
github.com/spf13/afero v1.2.2
|
|
github.com/spf13/cast v1.3.0
|
|
github.com/spf13/cobra v0.0.4-0.20190321000552-67fc4837d267
|
|
github.com/spf13/fsync v0.9.0
|
|
github.com/spf13/jwalterweatherman v1.1.0
|
|
github.com/spf13/pflag v1.0.3
|
|
github.com/spf13/viper v1.4.0
|
|
github.com/stretchr/testify v1.3.0
|
|
github.com/tdewolff/minify/v2 v2.3.7
|
|
github.com/yosssi/ace v0.0.5
|
|
go.opencensus.io v0.22.0 // indirect
|
|
gocloud.dev v0.15.0
|
|
golang.org/x/image v0.0.0-20190523035834-f03afa92d3ff
|
|
golang.org/x/oauth2 v0.0.0-20190523182746-aaccbc9213b0 // indirect
|
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58
|
|
golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7 // indirect
|
|
golang.org/x/text v0.3.2
|
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
|
|
google.golang.org/appengine v1.6.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69 // indirect
|
|
gopkg.in/yaml.v2 v2.2.2
|
|
)
|
|
|
|
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
|
|
|
|
go 1.13
|