Skip to content

Commit 1aea474

Browse files
authored
Merge pull request #28 from rachelnicole/plugin-update
update plugin according to new guidelines
2 parents a3c2326 + e258bbe commit 1aea474

File tree

8 files changed

+59
-24
lines changed

8 files changed

+59
-24
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{{long description}}
2+
3+
```gherkin
4+
Feature: {{feature}}
5+
As a {{persona}}
6+
I want {{need}}
7+
So that {{rationale}}
8+
9+
Scenario: {{scenario}}
10+
Given {{thing}}
11+
When {{action}}
12+
Then {{result}}
13+
```
14+
15+
---
16+
17+
- [ ] {{feature}}/{{scenario}}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{{short description}}
2+
3+
---
4+
Resolves #
5+
6+
`DCO 1.1 Signed-off-by: {{full name}} <{{email address}}>`

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
sudo: false
12
language: node_js
23
node_js:
3-
- '5.7'
4+
- '5.11'
45
cache:
56
directories:
67
- node_modules
7-
after_success: npm run coverage
8+
before_script:
9+
- npm prune
10+
after_success:
11+
- npm run coverage
12+
- npm run semantic-release
13+
branches:
14+
except:
15+
- /^v\d+\.\d+\.\d+$/
816
notifications:
17+
email: false
918
slack:
10-
secure: cGsqJj0H1tpwY2r6m16lH3OLIUIzkr7VL3yDKmupFtD/uEFvjyMOwB0rpYuMHgSTRWlOuiLtgznHtukk3zAvgZDAVw2c9n3IVzLBjz0QqjPJTuShZMMvGvMOkdpzk/PDAB0xMovxB5covJC/TDQcN7NLa5Err3ps5WbKgj09rmVomiOW+QJkH7xzx6CyHmnQqk4Wqw9IEEQdRMf6fIbo5JZUFa5ZhSzkVpNmjX8fGis2U8fX/zEO9DA+9e8aQYLYsewUfpohAAJo2nPT1iq53VeRRLF3t4B4Wwn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y=

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing to Punchcard Content Types
2+
3+
Please follow the [Punchcard Contributing Guidelines](https://github.com/punchcard-cms/punchcard/blob/master/CONTRIBUTING.md)

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
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]
1+
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)
22
---
33

44
An input plugin for a single date input type.
55

66
## License
77

88
Apache-2.0
9-
10-
[npm-image]: https://badge.fury.io/js/input-plugin-date.svg
11-
[npm-url]: https://npmjs.org/package/input-plugin-date
12-
[travis-image]: https://travis-ci.org/punchcard-cms/input-plugin-date.svg
13-
[travis-url]: https://travis-ci.org/punchcard-cms/input-plugin-date
14-
[daviddm-image]: https://david-dm.org/punchcard-cms/input-plugin-date.svg?theme=shields.io
15-
[daviddm-url]: https://david-dm.org/punchcard-cms/input-plugin-date
16-
[coveralls-image]: https://coveralls.io/repos/punchcard-cms/input-plugin-date/badge.svg
17-
[coveralls-url]: https://coveralls.io/r/punchcard-cms/input-plugin-date

package.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "input-plugin-date",
3-
"version": "0.0.1",
3+
"version": "0.0.0",
44
"description": "An input plugin for a single date input type.",
55
"main": "index.js",
66
"scripts": {
@@ -10,11 +10,12 @@
1010
"ava:watch": "ava --watch | tap-diff",
1111
"nyc": "nyc --all npm run ava",
1212
"lint": "eslint index.js lib && eslint -c ./.eslintrc-ava.yml tests",
13-
"coverage": "nyc report --reporter=text-lcov | coveralls"
13+
"coverage": "nyc report --reporter=text-lcov | coveralls",
14+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1415
},
1516
"repository": {
1617
"type": "git",
17-
"url": "git@github.com:punchcard-cms/input-plugin-date.git"
18+
"url": "https://github.com/punchcard-cms/input-plugin-date.git"
1819
},
1920
"contributors": [
2021
"Rachel White <[email protected]>"
@@ -26,8 +27,12 @@
2627
"coveralls": "^2.11.9",
2728
"eslint": "^2.10.0",
2829
"eslint-config-punchcard": "^1.0.1",
30+
"ghooks": "^1.3.2",
2931
"nyc": "^6.0.0",
30-
"punchcard-content-types": "^0.10.1",
32+
"punchcard-commit-msg": "^1.0.0",
33+
"punchcard-semantic-release": "^2.0.1",
34+
"punchcard-shared-tests": "^1.0.2",
35+
"semantic-release": "^4.3.5",
3136
"tap-diff": "^0.1.1"
3237
},
3338
"engines": {
@@ -49,5 +54,14 @@
4954
],
5055
"failFast": true,
5156
"tap": true
57+
},
58+
"config": {
59+
"ghooks": {
60+
"commit-msg": "punchcard-commit-msg"
61+
}
62+
},
63+
"release": {
64+
"analyzeCommits": "punchcard-semantic-release/analyze",
65+
"generateNotes": "punchcard-semantic-release/notes"
5266
}
5367
}

tests/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test from 'ava';
2-
import contentTypes from 'punchcard-content-types';
2+
import tests from 'punchcard-shared-tests';
33

44
import plugin from '../';
55

6-
contentTypes.pluginTests(test, plugin);
6+
tests.plugins(test, plugin);

tests/test.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)