From 8d09a8ea46fa8b6959ea0404affc426f13fae2f4 Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Mon, 17 Oct 2016 10:30:10 -0400 Subject: [PATCH 1/4] :unamused: Bump Node version --- .nvmrc | 2 +- .travis.yml | 12 ++++++------ package.json | 3 +-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.nvmrc b/.nvmrc index ab5d706..9c0be88 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v5.7 +v6 diff --git a/.travis.yml b/.travis.yml index c7dc2f6..a2496fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,18 @@ sudo: false language: node_js node_js: -- '5.11' + - '6' cache: directories: - - node_modules + - node_modules before_script: -- npm prune + - npm prune after_success: -- npm run coverage -- npm run semantic-release + - npm run coverage + - npm run semantic-release branches: except: - - /^v\d+\.\d+\.\d+$/ + - /^v\d+\.\d+\.\d+$/ notifications: email: false slack: diff --git a/package.json b/package.json index 0776fb0..d9cc3a4 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,7 @@ "validator": "^5.2.0" }, "engines": { - "node": "5.7", - "npm": "^3.6" + "node": "^6" }, "keywords": [ "input-plugin", From d13d2ae349a957cb735ffebdbaf2cbabd77b17d5 Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Mon, 17 Oct 2016 10:30:32 -0400 Subject: [PATCH 2/4] :memo: Update Templates and labels --- .github/BUG_TEMPLATE.md | 35 +++++++++++++++ .github/CONTRIBUTING.md | 3 ++ .github/ISSUE_TEMPLATE.md | 21 ++++----- .github/PULL_REQUEST_TEMPLATE.md | 4 +- .github/labels.yml | 75 ++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 3 -- 6 files changed, 126 insertions(+), 15 deletions(-) create mode 100644 .github/BUG_TEMPLATE.md create mode 100644 .github/CONTRIBUTING.md create mode 100644 .github/labels.yml delete mode 100644 CONTRIBUTING.md diff --git a/.github/BUG_TEMPLATE.md b/.github/BUG_TEMPLATE.md new file mode 100644 index 0000000..86b9184 --- /dev/null +++ b/.github/BUG_TEMPLATE.md @@ -0,0 +1,35 @@ +LONG_DESCRIPTION + +## Steps for Reproducing + +- STEP_1 +- STEP_2 +- STEP_3 + +## Screenshots + +### STEP_1 + +![Screenshot of Step 1](url/to/screenshot) + +### STEP_2 + +![Screenshot of Step 2](url/to/screenshot) + +### STEP_3 + +![Screenshot of Step 3](url/to/screenshot) + +## Affected Browsers + +- [ ] CHROME_53_MAC_SIERRA / CORE +- [ ] CHROME_53_WINDOWS_10 / MODULE +- [ ] FIREFOX_42_MAC_SIERRA / MODULE + +## Runtime Version + +RUNTIME_VERSION + +## Code Version + +CODE_VERSION diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..a6a4599 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,3 @@ +# Contributing to Punchcard Commit Messages + +Please follow the [Punchcard Contributing Guidelines](https://github.com/punchcard-cms/punchcard/blob/master/CONTRIBUTING.md) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 2cd3e53..32c669b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,17 +1,18 @@ -{{long description}} +LONG_DESCRIPTION ```gherkin -Feature: {{feature}} - As a {{persona}} - I want {{need}} - So that {{rationale}} +Feature: FEATURE + As a PERSONA + I want NEED + So that RATIONALE - Scenario: {{scenario}} - Given {{thing}} - When {{action}} - Then {{result}} + Scenario: SCENARIO + Given CONTEXT + When ACTION + Then RESULT ``` --- -- [ ] {{feature}}/{{scenario}} \ No newline at end of file +**FEATURE** +- [ ] SCENARIO diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b9fbe89..94e77cd 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ -{{short description}} +SHORT_DESCRIPTION --- Resolves # -`DCO 1.1 Signed-off-by: {{full name}} <{{email address}}>` +`DCO 1.1 Signed-off-by: FULL_NAME ` diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..1e1821d --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,75 @@ +section: + description: Section of Punchcard Commit Messages that this issue belongs to. + color: '#c0e6ff' + labels: + - emoji + - message +problem: + description: 'Issues that make Punchcard Commit Messages feel broken or prevent us from doing further work, but otherwise work as designed. High priority.' + color: '#ff5050' + labels: + - blocked + - blocker + - bug + - externally blocked + - hotfix +experience: + description: Issues that affect a user's comprehension or overall enjoyment of Punchcard Commit Messages. + color: '#ffa573' + labels: + - visual design + - microcopy + - user experience + - developer experience + - performance +mindless: + description: Issues that are necessary but less impactful for our users. + color: '#ffd4a0' + labels: + - cleanup + - legal + - technical debt + - experience debt + - tests + - greenkeeper +feedback: + description: Issues that require further conversation to figure out how to proceed or what action steps are needed. + color: '#db2780' + labels: + - request for comments + - help wanted + - question + - research + - strategy + - stub + - prototype +addition: + description: Issues that will result in new functionality or releases. + color: '#b4e051' + labels: + - feature +improvement: + description: Issues that will iterate on existing functionality. + color: '#41d6c3' + labels: + - enhancement + - optimization +pending: + description: 'Issues where action can be taken, but has not yet.' + color: '#fdd600' + labels: + - under consideration + - consumable +inactive: + description: Issues where no actions are needed or possible. The issue is either fixed or addressed better by other issues. + color: '#dfe9e9' + labels: + - invalid + - won't fix + - duplicate + - on hold +epic: + description: 'Epics track multiple stories together towards a desired outcome.' + color: '#9855d4' + labels: + - epic diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 670435f..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,3 +0,0 @@ -# Contributing to Punchcard Content Types - -Please follow the [Punchcard Contributing Guidelines](https://github.com/punchcard-cms/punchcard/blob/master/CONTRIBUTING.md) \ No newline at end of file From c8628cf0ce274c7bd0a8b61deefa3cb57b72fc8f Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Mon, 17 Oct 2016 10:36:57 -0400 Subject: [PATCH 3/4] :memo: Add in Reparo label generation --- .travis.yml | 1 + package.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a2496fb..91e7c7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ before_script: after_success: - npm run coverage - npm run semantic-release + - npm run reparo branches: except: - /^v\d+\.\d+\.\d+$/ diff --git a/package.json b/package.json index d9cc3a4..622f9be 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "nyc": "nyc --all npm run ava", "lint": "eslint index.js lib && eslint -c ./.eslintrc-ava.yml tests", "coverage": "nyc report --reporter=text-lcov | coveralls", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "semantic-release": "semantic-release pre && npm publish && semantic-release post", + "reparo": "reparo -b master" }, "repository": { "type": "git", @@ -32,6 +33,7 @@ "punchcard-commit-msg": "^1.0.0", "punchcard-semantic-release": "^2.0.1", "punchcard-shared-tests": "^1.0.2", + "reparo": "^1.1.1-0", "semantic-release": "^4.3.5", "tap-diff": "^0.1.1", "validator": "^5.2.0" From 647389354b81ad22428f4f621c507184fac1e036 Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Mon, 17 Oct 2016 10:49:40 -0400 Subject: [PATCH 4/4] :memo: Update Templates --- .github/CONTRIBUTING.md | 2 +- .github/labels.yml | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a6a4599..f26fa32 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,3 +1,3 @@ -# Contributing to Punchcard Commit Messages +# Contributing to Punchcard Input Plugins Please follow the [Punchcard Contributing Guidelines](https://github.com/punchcard-cms/punchcard/blob/master/CONTRIBUTING.md) diff --git a/.github/labels.yml b/.github/labels.yml index 1e1821d..ad16fa7 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,11 +1,13 @@ section: - description: Section of Punchcard Commit Messages that this issue belongs to. + description: Section of the Puncchard Input Plugin that this issue belongs to. color: '#c0e6ff' labels: - - emoji - - message + - inputs + - validation + - settings + - markup problem: - description: 'Issues that make Punchcard Commit Messages feel broken or prevent us from doing further work, but otherwise work as designed. High priority.' + description: 'Issues that make the Puncchard Input Plugin feel broken or prevent us from doing further work, but otherwise work as designed. High priority.' color: '#ff5050' labels: - blocked @@ -14,7 +16,7 @@ problem: - externally blocked - hotfix experience: - description: Issues that affect a user's comprehension or overall enjoyment of Punchcard Commit Messages. + description: Issues that affect a user's comprehension or overall enjoyment of the Puncchard Input Plugin. color: '#ffa573' labels: - visual design