From 38e664204c5895b29026909f2cc6f99b931373a4 Mon Sep 17 00:00:00 2001 From: codetriage-readme-bot Date: Mon, 5 Feb 2018 14:56:21 -0600 Subject: [PATCH 1/3] Add CodeTriage badge to gobuffalo/buffalo Adds a badge showing the number of people helping this repo on CodeTriage. [![Open Source Helpers](https://www.codetriage.com/gobuffalo/buffalo/badges/users.svg)](https://www.codetriage.com/gobuffalo/buffalo) ## What is CodeTriage? CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed [Read more about the CodeTriage project](https://www.codetriage.com/what). ## Why am I getting this PR? Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly 4 months ago, [@repejota](https://github.com/repejota) added this project to CodeTriage in order to start contributing. ## What does adding a badge accomplish? Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project. You can see an example of a CodeTriage badge on these popular OSS READMEs: - [![](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails - [![](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal ## Have a question or comment? While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics. If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again. Thanks for making your project Open Source! Any feedback is greatly appreciated. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32141111e..899a223e4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Buffalo [![GoDoc](https://godoc.org/github.com/gobuffalo/buffalo?status.svg)](https://godoc.org/github.com/gobuffalo/buffalo) [![Build Status](https://travis-ci.org/gobuffalo/buffalo.svg?branch=master)](https://travis-ci.org/gobuffalo/buffalo) [![Go Report Card](https://goreportcard.com/badge/github.com/gobuffalo/buffalo)](https://goreportcard.com/report/github.com/gobuffalo/buffalo) [![Build status](https://ci.appveyor.com/api/projects/status/fjv5u499p78uvbxa/branch/master?svg=true)](https://ci.appveyor.com/project/markbates/buffalo/branch/master) +# Buffalo [![GoDoc](https://godoc.org/github.com/gobuffalo/buffalo?status.svg)](https://godoc.org/github.com/gobuffalo/buffalo) [![Build Status](https://travis-ci.org/gobuffalo/buffalo.svg?branch=master)](https://travis-ci.org/gobuffalo/buffalo) [![Go Report Card](https://goreportcard.com/badge/github.com/gobuffalo/buffalo)](https://goreportcard.com/report/github.com/gobuffalo/buffalo) [![Build status](https://ci.appveyor.com/api/projects/status/fjv5u499p78uvbxa/branch/master?svg=true)](https://ci.appveyor.com/project/markbates/buffalo/branch/master) [![Open Source Helpers](https://www.codetriage.com/gobuffalo/buffalo/badges/users.svg)](https://www.codetriage.com/gobuffalo/buffalo) Buffalo is a Go web development eco-system. Designed to make the life of a Go web developer easier. From 6f489da783b645766200d404507c3ed9dfc24720 Mon Sep 17 00:00:00 2001 From: Aaron Schlesinger Date: Fri, 9 Feb 2018 10:29:33 -0800 Subject: [PATCH 2/3] Allow for testing a single package Fixes https://github.com/gobuffalo/buffalo/issues/907 --- buffalo/cmd/test.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/buffalo/cmd/test.go b/buffalo/cmd/test.go index 79669ce09..1d73c8196 100644 --- a/buffalo/cmd/test.go +++ b/buffalo/cmd/test.go @@ -100,7 +100,7 @@ func testRunner(args []string) error { } if !runFlag { - pkgs, err := testPackages() + pkgs, err := testPackages(args) if err != nil { return errors.WithStack(err) } @@ -115,7 +115,7 @@ func mFlagRunner(args []string) error { pwd, _ := os.Getwd() defer os.Chdir(pwd) - pkgs, err := testPackages() + pkgs, err := testPackages(args) if err != nil { return errors.WithStack(err) } @@ -139,7 +139,14 @@ func mFlagRunner(args []string) error { return nil } -func testPackages() ([]string, error) { +func testPackages(givenArgs []string) ([]string, error) { + // If there are args, then assume these are the packages to test. + // + // Instead of always returning all packages from 'go list ./...', just + // return the given packages in this case + if len(givenArgs) > 0 { + return givenArgs, nil + } args := []string{} out, err := exec.Command(envy.Get("GO_BIN", "go"), "list", "./...").Output() if err != nil { @@ -159,7 +166,6 @@ func newTestCmd(args []string) *exec.Cmd { if _, err := exec.LookPath("gotest"); err == nil { cmd = exec.Command("gotest", "-p", "1") } - cmd.Args = append(cmd.Args, args...) cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr From 1078cb69b7dbae7fa6d3b15530ef2e9c6c44c254 Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Thu, 8 Feb 2018 20:53:43 -0500 Subject: [PATCH 3/3] moving to use webpack 3.10.0 and updated tools --- .../webpack/templates/package.json.tmpl | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/generators/assets/webpack/templates/package.json.tmpl b/generators/assets/webpack/templates/package.json.tmpl index 1d86364c6..3c74c253a 100644 --- a/generators/assets/webpack/templates/package.json.tmpl +++ b/generators/assets/webpack/templates/package.json.tmpl @@ -4,9 +4,9 @@ "main": "index.js", "license": "MIT", "dependencies": { - "babel-cli": "~6.24.1", - "babel-core": "~6.25.0", - "babel-loader": "~7.0.0", + "babel-cli": "~6.26.0", + "babel-core": "~6.26.0", + "babel-loader": "~7.1.2", "babel-preset-env": "~1.5.2", {{ if eq .opts.Bootstrap 4 -}} "bootstrap": "4.0.0", @@ -17,20 +17,20 @@ "copy-webpack-plugin": "~4.0.1", "css-loader": "~0.28.4", "expose-loader": "~0.7.3", - "extract-text-webpack-plugin": "2.1.2", - "file-loader": "~0.11.2", + "extract-text-webpack-plugin": "3.0.2", + "file-loader": "~1.1.6", "font-awesome": "~4.7.0", "gopherjs-loader": "^0.0.1", "jquery": "~3.2.1", "jquery-ujs": "~1.2.2", "node-sass": "~4.5.3", - "npm-install-webpack-plugin": "4.0.4", + "npm-install-webpack-plugin": "4.0.5", "path": "~0.12.7", - "sass-loader": "~6.0.5", - "style-loader": "~0.18.2", + "sass-loader": "~6.0.6", + "style-loader": "~0.20.1", "uglifyjs-webpack-plugin": "~0.4.6", - "url-loader": "~0.5.9", - "webpack": "~2.3.0", + "url-loader": "~0.6.2", + "webpack": "~3.10.0", "webpack-manifest-plugin": "~1.2.1" } }