Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var YesToAll bool
YesToAll will be used by the command to skip the questions
Functions ¶
func DepEnsure ¶
DepEnsure runs `dep ensure -v` or `go get -u` depending on app tooling to make sure that any newly changed imports are added to dep or installed.
func DeprecrationsCheck ¶
DeprecrationsCheck will either log, or fix, deprecated items in the application
func PackageJSONCheck ¶
PackageJSONCheck will compare the current default Buffalo package.json against the applications package.json. If they are different you have the option to overwrite the existing package.json file with the new one.
func WebpackCheck ¶
WebpackCheck will compare the current default Buffalo webpack.config.js against the applications webpack.config.js. If they are different you have the option to overwrite the existing webpack.config.js file with the new one.
Types ¶
type ImportConverter ¶
ImportConverter will changes imports from a -> b
func (ImportConverter) Process ¶
func (c ImportConverter) Process(r *Runner) error
Process will walk all the .go files in an application, excluding ./vendor. It will then attempt to convert any old import paths to any new import paths used by this version Buffalo.