v1.1.0
This is a summary of the differences between v1.1.0 and v1.0.7.
Commits
Show commits
| SHA | Author | Committed | Message |
|---|---|---|---|
98953f0 |
9/16/2017 | docs(readme): add Greenkeeper badge | |
5405f8a |
9/16/2017 | move badge | |
889f2e7 |
9/16/2017 | move badges | |
99a9e7b |
9/16/2017 | Merge pull request #1 from mmiller42/greenkeeper/initial Add Greenkeeper badge 🌴 |
|
f725e6e |
9/16/2017 | removing tabs | |
3e878b9 |
9/17/2017 | adding line count to data | |
2e31c72 |
9/17/2017 | 1.1.0 |
Changed files
Show changed files
.babelrc
@@ -1,17 +1,17 @@
{
- "presets": [
- [
- "babel-preset-env",
- {
- "targets": {
- "node": "4.3.0"
- }
- }
- ]
- ],
- "plugins": [
+ "presets": [
+ [
+ "babel-preset-env",
+ {
+ "targets": {
+ "node": "4.3.0"
+ }
+ }
+ ]
+ ],
+ "plugins": [
"babel-plugin-transform-runtime",
- "babel-plugin-add-module-exports",
- "babel-plugin-transform-object-rest-spread"
- ]
+ "babel-plugin-add-module-exports",
+ "babel-plugin-transform-object-rest-spread"
+ ]
}README.md
@@ -1,4 +1,6 @@
-# create-github-release [](https://circleci.com/gh/mmiller42/create-github-release)
+# create-github-release
+
+[](https://circleci.com/gh/mmiller42/create-github-release) [](https://greenkeeper.io/)
Tool for generating GitHub releases after publishing a module.
github-release.config.js
@@ -4,14 +4,14 @@ const MAX_CHANGES_TO_SHOW = 80
const EXTS_TO_SHOW = ['.css', '.html', 'js', '.json', '.jsx', '.md', '.scss', '.yml']
module.exports = {
- authenticateOptions: {
- type: 'oauth',
- token: process.env.GH_TOKEN,
- },
- owner: 'mmiller42',
- repo: 'create-github-release',
- showDiff: ({ filename, changes }) => {
- const ext = path.extname(filename)
- return changes <= MAX_CHANGES_TO_SHOW && (!ext || EXTS_TO_SHOW.includes(ext))
- },
+ authenticateOptions: {
+ type: 'oauth',
+ token: process.env.GH_TOKEN,
+ },
+ owner: 'mmiller42',
+ repo: 'create-github-release',
+ showDiff: ({ filename, changes }) => {
+ const ext = path.extname(filename)
+ return changes <= MAX_CHANGES_TO_SHOW && (!ext || EXTS_TO_SHOW.includes(ext))
+ },
}package-lock.json
Inline diff not displayed. View the whole file
package.json
Inline diff not displayed. View the whole file
src/index.js
@@ -145,6 +145,7 @@ const fetchDiff = async (gitHub, { owner, repo, newTag, previousTag }) => {
url: file.blob_url,
status: file.status,
changes: file.changes,
+ lines: file.patch ? file.patch.split('\n').length : null,
diff: file.patch || null,
})),
}