Skip to content
Permalink
Browse files

feat(changelog): add it

  • Loading branch information
jyounce committed May 30, 2015
1 parent d540a6f commit 52058a02c23615b3e849c0616ce846945b5ed1b4
Showing with 63 additions and 1 deletion.
  1. +2 −1 .npmignore
  2. +27 −0 CHANGELOG.md
  3. +31 −0 changelog/changelog.coffee
  4. +3 −0 package.json
@@ -1,4 +1,5 @@
todo.md
.travis.yml
config/config.json
docs/
docs/
changelog/
@@ -0,0 +1,27 @@
<a name"0.1.4"></a>
### 0.1.4 (2015-05-29)


#### Bug Fixes

* **gulp:** make gulp a dep if app is using gulp ([4184bf41](git://github.com/jyounce/rapid-build.git/commit/4184bf41))


<a name"0.1.3"></a>
### 0.1.3 (2015-05-29)


#### Bug Fixes

* **gulp:** load gulp from app's node_modules if present ([91cd0adc](git://github.com/jyounce/rapid-build.git/commit/91cd0adc))


<a name"0.1.2"></a>
### 0.1.2 (2015-05-29)


#### Bug Fixes

* **windows:** paths in spa html file ([e41d7a76](git://github.com/jyounce/rapid-build.git/commit/e41d7a76))


@@ -0,0 +1,31 @@
# Only for rapid-build development
# ================================
process.chdir __dirname
q = require 'q'
fs = require 'fs'
path = require 'path'
file = {
pkg: path.join '..', 'package.json'
changelog: path.join '..', 'CHANGELOG.md'
}
pkg = require file.pkg
changelog = require 'conventional-changelog'

runChangelog = ->
defer = q.defer()
opts =
repository: pkg.repository.url
version: pkg.version
file: file.changelog
# from: 'de5328d16019e214208f280105cddc75726dc3c0'
# to: '8fa1737ecb4d4bce2d4f6d09408aace851cab6fd'
changelog opts, (e, log) ->
fs.writeFile file.changelog, log, (e) ->
console.log 'Here is your changelog!', log
defer.resolve()
defer.promise

# init
# ====
runChangelog()

@@ -20,6 +20,9 @@
"node": ">=0.10.0"
},
"main": "gulpfile.js",
"devDependencies": {
"conventional-changelog": "~0.0.17"
},
"dependencies": {
"bower": "~1.4.1",
"browser-sync": "~2.7.5",

0 comments on commit 52058a0

Please sign in to comment.
You can’t perform that action at this time.