-
-
Save RomanMinkin/35d6cf9f33e69a859b56f929a2bcf01d to your computer and use it in GitHub Desktop.
Revisions
-
stevemao revised this gist
Feb 2, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ np() { bump=`conventional-recommended-bump -p angular` && echo ${1:-$bump} && npm --no-git-tag-version version ${1:-$bump} &>/dev/null && conventional-changelog -i CHANGELOG.md -s -p ${2:-$preset} && git add CHANGELOG.md && version=`cat package.json | json version` && git commit -m"docs(CHANGELOG): $version" && @@ -43,7 +43,7 @@ ap() { bump=`conventional-recommended-bump -p angular` && echo ${1:-$bump} && npm --no-git-tag-version version ${1:-$bump} &>/dev/null && conventional-changelog -i CHANGELOG.md -s -p ${2:-$preset} && git add CHANGELOG.md && version=`cat package.json | json version` && git commit -m":memo: CHANGELOG for $version" && -
stevemao revised this gist
Aug 15, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # and optional argument preset `angular`/ `jquery` ... # defaults to conventional-commits-detector np() { travis status --no-interactive && trash node_modules &>/dev/null; git pull --rebase && npm install && @@ -30,7 +30,7 @@ np() { # apm publish with goodies ap() { travis status --no-interactive && trash node_modules &>/dev/null; git pull --rebase && npm install && -
stevemao revised this gist
Aug 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ np() { version=`cat package.json | json version` && git commit -m"docs(CHANGELOG): $version" && mv -f _package.json package.json && npm version ${1:-$bump} -m "chore(release): %s" && git push --follow-tags && conventional-github-releaser -p ${2:-$preset} && npm publish -
stevemao revised this gist
Aug 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ ap() { conventional-changelog -i CHANGELOG.md -w -p ${2:-$preset} && git add CHANGELOG.md && version=`cat package.json | json version` && git commit -m":memo: CHANGELOG for $version" && mv -f _package.json package.json && apm publish ${1:-$bump} && git push --follow-tags && -
stevemao revised this gist
Aug 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,7 +35,7 @@ ap() { git pull --rebase && npm install && apm install && npm test && # checking coding styles or non atom related tests maybe apm test && cp package.json _package.json && preset=`conventional-commits-detector` && -
stevemao revised this gist
Aug 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -50,5 +50,5 @@ ap() { mv -f _package.json package.json && apm publish ${1:-$bump} && git push --follow-tags && conventional-github-releaser -p ${2:-$preset} } -
stevemao revised this gist
Aug 13, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ # and optional argument preset `angular`/ `jquery` ... # defaults to conventional-commits-detector np() { travis status && trash node_modules &>/dev/null; git pull --rebase && npm install && @@ -29,6 +30,7 @@ np() { # apm publish with goodies ap() { travis status && trash node_modules &>/dev/null; git pull --rebase && npm install && -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,7 @@ np() { version=`cat package.json | json version` && git commit -m"docs(CHANGELOG): $version" && mv -f _package.json package.json && npm version ${1:-$bump} -m "chore: release %s" && git push --follow-tags && conventional-github-releaser -p ${2:-$preset} && npm publish -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,6 +33,7 @@ ap() { git pull --rebase && npm install && apm install && npm test && apm test && cp package.json _package.json && preset=`conventional-commits-detector` && -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,8 @@ ap() { trash node_modules &>/dev/null; git pull --rebase && npm install && apm install && apm test && cp package.json _package.json && preset=`conventional-commits-detector` && echo $preset && -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 22 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,3 +26,25 @@ np() { conventional-github-releaser -p ${2:-$preset} && npm publish } # apm publish with goodies ap() { trash node_modules &>/dev/null; git pull --rebase && npm install && npm test && cp package.json _package.json && preset=`conventional-commits-detector` && echo $preset && bump=`conventional-recommended-bump -p angular` && echo ${1:-$bump} && npm --no-git-tag-version version ${1:-$bump} &>/dev/null && conventional-changelog -i CHANGELOG.md -w -p ${2:-$preset} && git add CHANGELOG.md && version=`cat package.json | json version` && git commit -m"docs(CHANGELOG): $version" && mv -f _package.json package.json && apm publish ${1:-$bump} && git push --follow-tags && conventional-github-releaser -p ${2:-$preset} && } -
stevemao revised this gist
Aug 12, 2015 . No changes.There are no files selected for viewing
-
stevemao revised this gist
Aug 12, 2015 . No changes.There are no files selected for viewing
-
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 6 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # npm publish with goodies # prerequisites: # `npm install -g trash conventional-recommended-bump conventional-changelog conventional-github-releaser conventional-commits-detector json` # `np` with optional argument `patch`/`minor`/`major`/`<version>` # defaults to conventional-recommended-bump # and optional argument preset `angular`/ `jquery` ... @@ -10,15 +10,17 @@ np() { git pull --rebase && npm install && npm test && cp package.json _package.json && preset=`conventional-commits-detector` && echo $preset && bump=`conventional-recommended-bump -p angular` && echo ${1:-$bump} && npm --no-git-tag-version version ${1:-$bump} &>/dev/null && conventional-changelog -i CHANGELOG.md -w -p ${2:-$preset} && git add CHANGELOG.md && version=`cat package.json | json version` && git commit -m"docs(CHANGELOG): $version" && mv -f _package.json package.json && npm version ${1:-$bump} && git push --follow-tags && conventional-github-releaser -p ${2:-$preset} && -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 6 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # npm publish with goodies # prerequisites: # `npm install -g trash conventional-recommended-bump conventional-changelog conventional-github-releaser conventional-commits-detector` # `np` with optional argument `patch`/`minor`/`major`/`<version>` # defaults to conventional-recommended-bump @@ -12,13 +12,15 @@ np() { npm test && cp package.json _package.json preset=`conventional-commits-detector` && echo $preset && bump=`conventional-recommended-bump -p angular` && echo ${1:-$bump} && npm --no-git-tag-version version ${1:-$bump} &>/dev/null && conventional-changelog -i CHANGELOG.md -w -p ${2:-$preset} && rm -f package.json && mv _package.json package.json && npm version ${1:-$bump} && git push --follow-tags && conventional-github-releaser -p ${2:-$preset} && npm publish } -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 8 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1,24 @@ # npm publish with goodies # prerequisite: # `npm install -g trash conventional-recommended-bump conventional-changelog conventional-github-releaser conventional-commits-detector` # `np` with optional argument `patch`/`minor`/`major`/`<version>` # defaults to conventional-recommended-bump # and optional argument preset `angular`/ `jquery` ... # defaults to conventional-commits-detector np() { trash node_modules &>/dev/null; git pull --rebase && npm install && npm test && cp package.json _package.json preset=`conventional-commits-detector` && bump=`conventional-recommended-bump -p angular` && npm --no-git-tag-version version ${1:-$bump} && conventional-changelog -i CHANGELOG.md -w -p ${2:-preset} && rm -f package.json && mv _package.json package.json && npm version ${1:-$bump} && git push --follow-tags && conventional-github-releaser -p ${2:-preset} && npm publish } -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # npm publish with goodies # prerequisites: # `npm install -g trash conventional-recommended-bump conventional-changelog conventional-github-releaser` # `np` with optional argument `patch`/`minor`/`major`/`<version>` # defaults to recommended-bump -
stevemao revised this gist
Aug 12, 2015 . 1 changed file with 21 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,23 @@ # npm publish with goodies # prerequisite: # `npm install -g trash conventional-recommended-bump conventional-changelog conventional-github-releaser` # `np` with optional argument `patch`/`minor`/`major`/`<version>` # defaults to recommended-bump # and optional argument preset `angular`/ `jquery` ... # defaults to angular np() { trash node_modules &>/dev/null; git pull --rebase && npm install && npm test && cp package.json _package.json bump=`conventional-recommended-bump -p ${2:-angular}` && npm --no-git-tag-version version ${1:-$bump} && conventional-changelog -i CHANGELOG.md -w -p ${2:-angular} && rm -f package.json && mv _package.json package.json && npm version ${1:-$bump} && git push --follow-tags && conventional-github-releaser -p ${2:-angular} && npm publish } -
sindresorhus revised this gist
Aug 12, 2014 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,10 @@ # defaults to `patch` np() { trash node_modules &>/dev/null; git pull --rebase && npm install && npm test && npm version ${1:-patch} && npm publish && git push --follow-tags } -
sindresorhus renamed this gist
Jun 11, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,13 @@ # npm publish with goodies # prerequisite: `npm install -g trash` # `np` with an optional argument `patch`/`minor`/`major`/`<version>` # defaults to `patch` np() { trash node_modules &>/dev/null; git pull --rebase && \ npm install && \ npm test && \ npm version ${1:-patch} && \ npm publish && \ git push --follow-tags } -
sindresorhus created this gist
Jan 15, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # npm publish with goodies # `np` with an optional argument `patch`/`minor`/`major`/`<version>` # defaults to `patch` np() { trash node_modules &>/dev/null; git pull --rebase && \ npm install && \ npm test && \ npm version ${1:=patch} && \ npm publish && \ git push --follow-tags }