Skip to content

Commit

Permalink
Merge pull request #28 from rachelnicole/plugin-update
Browse files Browse the repository at this point in the history
update plugin according to new guidelines
  • Loading branch information
scottnath authored Jul 19, 2016
2 parents a3c2326 + e258bbe commit 1aea474
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 24 deletions.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{long description}}

```gherkin
Feature: {{feature}}
As a {{persona}}
I want {{need}}
So that {{rationale}}
Scenario: {{scenario}}
Given {{thing}}
When {{action}}
Then {{result}}
```

---

- [ ] {{feature}}/{{scenario}}
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{{short description}}

---
Resolves #

`DCO 1.1 Signed-off-by: {{full name}} <{{email address}}>`
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
sudo: false
language: node_js
node_js:
- '5.7'
- '5.11'
cache:
directories:
- node_modules
after_success: npm run coverage
before_script:
- npm prune
after_success:
- npm run coverage
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
notifications:
email: false
slack:
secure: cGsqJj0H1tpwY2r6m16lH3OLIUIzkr7VL3yDKmupFtD/uEFvjyMOwB0rpYuMHgSTRWlOuiLtgznHtukk3zAvgZDAVw2c9n3IVzLBjz0QqjPJTuShZMMvGvMOkdpzk/PDAB0xMovxB5covJC/TDQcN7NLa5Err3ps5WbKgj09rmVomiOW+QJkH7xzx6CyHmnQqk4Wqw9IEEQdRMf6fIbo5JZUFa5ZhSzkVpNmjX8fGis2U8fX/zEO9DA+9e8aQYLYsewUfpohAAJo2nPT1iq53VeRRLF3t4B4WwnuuKsWwa7zfnyqcz1vn+v8NeqKO1nK8vVDUoKfIFo0WBXrjbsWBleSXyNxYsOlxcMvMzlQCs9r1dHoOElblqHgGXssUfbaV/3xsyEtai0acN5rI+a0DwKutO/XbjQa0IVFh1FzEaNT/hmE1KN0nLaQl+HN3BHZkLQHg+QXTjPC6l80nP36dxv47gHRZGqfu32Yyzp7m67MJsmx0yMqNUl8bUim3acKCjEpGBLNsWw5SUA52W/kHRDDj5geL6F65St4H7lKFrFqTDukKC/ZtRtvSjlM2FInf00FnlHop1Z/BrvBSmx8MeNroOKaGJ10JGlYKafuJVbKWEYDjN7lDzRVbZJiILaESxJEOjpaJZpm7hq5Nxe5Dzr4w/NoMjSFv/fZE10PLMM=
secure: ox6ML0J1IVjzJnA4gKD7hGkWgL66vTdGo+4rwkh+AsQQursLZQXk2L/LlPi5BDxI3+4uus25PSWEarPgeQIzOGrCrxuT223rVZvUk2b9ThEA0wG6ApsNB8MYgv5flNIoPpPq97tlWAAzPRX1VP6XyT50yom2g/t+vMeQMjza25mT5PPc03ZP3yLnxI2e1jUPGEbaqO50I9sfetZsqERdmYu+B3Q3NHB5mWQCz1AcxT6+IYxMUMhWg75KfQ4X4g/NvVOC5K+T6XA8XtVcaho+k1EpjhU3SY0+VsltestTvNvhDwMSAF4PAywjzSmSfJjCyvO/fLCgPh4DAjQWXCXQyj8WChSjNAP4NbZl6aAKsUxXv4Uk5js6+ZIVOI2W2mhUfJxLPTdWdcRl2C7DSbhwyss4f1wQrVRPbvdF1U/jdX1QASs/nGqjwDI+xh03YJsRMyTiKm/PieZX/kDMCH371ffvE0heCLMxaXPq9K/Kl3cP517LQiiAjQXL4X8qsEdlQkcCp+7+bxSbUv1dvKhguSi8ZtGuLhuhElggr/DJCg+1UMnkNXExeJXIe8MtVfYqHrQ0Pxo4CYV52P6apxPqCWCOry+OjTw6ByUyw0ufOR95NY8uZb1OKTxPp+KjTDOt0fZbk++iR/lfRTkXkKWMRyh5G1KRmx7mAN6U1yU478Y=
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing to Punchcard Content Types

Please follow the [Punchcard Contributing Guidelines](https://github.com/punchcard-cms/punchcard/blob/master/CONTRIBUTING.md)
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
Date Input Plugin [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
Date Input Plugin [![Build Status](https://travis-ci.org/punchcard-cms/input-plugin-date.svg?branch=master)](https://travis-ci.org/punchcard-cms/input-plugin-date) [![Coverage Status](https://coveralls.io/repos/github/punchcard-cms/input-plugin-date/badge.svg?branch=master)](https://coveralls.io/github/punchcard-cms/input-plugin-date?branch=master)
---

An input plugin for a single date input type.

## License

Apache-2.0

[npm-image]: https://badge.fury.io/js/input-plugin-date.svg
[npm-url]: https://npmjs.org/package/input-plugin-date
[travis-image]: https://travis-ci.org/punchcard-cms/input-plugin-date.svg
[travis-url]: https://travis-ci.org/punchcard-cms/input-plugin-date
[daviddm-image]: https://david-dm.org/punchcard-cms/input-plugin-date.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/punchcard-cms/input-plugin-date
[coveralls-image]: https://coveralls.io/repos/punchcard-cms/input-plugin-date/badge.svg
[coveralls-url]: https://coveralls.io/r/punchcard-cms/input-plugin-date
22 changes: 18 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "input-plugin-date",
"version": "0.0.1",
"version": "0.0.0",
"description": "An input plugin for a single date input type.",
"main": "index.js",
"scripts": {
Expand All @@ -10,11 +10,12 @@
"ava:watch": "ava --watch | tap-diff",
"nyc": "nyc --all npm run ava",
"lint": "eslint index.js lib && eslint -c ./.eslintrc-ava.yml tests",
"coverage": "nyc report --reporter=text-lcov | coveralls"
"coverage": "nyc report --reporter=text-lcov | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git@github.com:punchcard-cms/input-plugin-date.git"
"url": "https://github.com/punchcard-cms/input-plugin-date.git"
},
"contributors": [
"Rachel White <[email protected]>"
Expand All @@ -26,8 +27,12 @@
"coveralls": "^2.11.9",
"eslint": "^2.10.0",
"eslint-config-punchcard": "^1.0.1",
"ghooks": "^1.3.2",
"nyc": "^6.0.0",
"punchcard-content-types": "^0.10.1",
"punchcard-commit-msg": "^1.0.0",
"punchcard-semantic-release": "^2.0.1",
"punchcard-shared-tests": "^1.0.2",
"semantic-release": "^4.3.5",
"tap-diff": "^0.1.1"
},
"engines": {
Expand All @@ -49,5 +54,14 @@
],
"failFast": true,
"tap": true
},
"config": {
"ghooks": {
"commit-msg": "punchcard-commit-msg"
}
},
"release": {
"analyzeCommits": "punchcard-semantic-release/analyze",
"generateNotes": "punchcard-semantic-release/notes"
}
}
4 changes: 2 additions & 2 deletions tests/plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava';
import contentTypes from 'punchcard-content-types';
import tests from 'punchcard-shared-tests';

import plugin from '../';

contentTypes.pluginTests(test, plugin);
tests.plugins(test, plugin);
5 changes: 0 additions & 5 deletions tests/test.js

This file was deleted.

0 comments on commit 1aea474

Please sign in to comment.