Documentation ¶
Index ¶
- Variables
- func AddPackageJSONScripts(r *Runner) error
- func DeprecrationsCheck(r *Runner) error
- func PackageJSONCheck(r *Runner) error
- func PackrClean(r *Runner) error
- func Plugins(r *Runner) error
- func Plush(r *Runner) error
- func Run() error
- func WebpackCheck(r *Runner) error
- type Check
- type ImportConverter
- type MiddlewareTransformer
- type Runner
Constants ¶
This section is empty.
Variables ¶
var YesToAll bool
YesToAll will be used by the command to skip the questions
Functions ¶
func AddPackageJSONScripts ¶
AddPackageJSONScripts rewrites the package.json file to add dev and build scripts if there are missing.
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.