Skip to content

Commit

Permalink
feat: setReadmeVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Aug 8, 2018
1 parent 8c419a5 commit de4b9a7
Show file tree
Hide file tree
Showing 20 changed files with 3,871 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.idea/
/node_modules/
/dist/
/test/README.md
/coverage/
/.nyc_output/
/*.tgz
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/.idea/
/src/
/test/
/.travis.yml
/mocha.opts
/tsconfig*.json
/tslint.json
/coverage/
/.nyc_output/
/*.tgz
/.nycrc
19 changes: 19 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"reporter": [
"text",
"text-summary",
"html",
"lcov"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"exclude": [
"**/test/**/*"
],
"sourceMap": true,
"instrument": true
}
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
language: node_js
node_js:
- stable
- lts/carbon
- lts/boron
sudo: false

env:
global:
- TS_NODE_CACHE_DIRECTORY=./node_modules/.cache/ts-node

before_install:
- npm i -g greenkeeper-lockfile
- greenkeeper-lockfile-update

install: npm install
script:
- npm run tslint
- npm test -- --forbid-only --forbid-pending
after_script: if [[ $GH_TOKEN ]]; then greenkeeper-lockfile-upload; fi;
after_success: cat ./coverage/lcov.info | coveralls

before_cache: rm -rf ./node_modules/.cache
cache:
directories:
- node_modules

stages:
- Test
#- Release

#jobs:
# include:
# - on: branch=master
# stage: Release
# node_js: stable
# before_install: []
# before_script: npm run build
# script:
# after_script: []
# after_success: []
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Art
Copyright (c) 2018 Arturas Molcanovas <a.molcanovas@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# semantic-release-alorel
Personal additions to the semantic-release library

[![Build Status](https://travis-ci.com/Alorel/semantic-release-alorel.svg?branch=master)](https://travis-ci.com/Alorel/semantic-release-alorel)
[![Coverage Status](https://coveralls.io/repos/github/Alorel/semantic-release-alorel/badge.svg?branch=master)](https://coveralls.io/github/Alorel/semantic-release-alorel?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/Alorel/semantic-release-alorel.svg)](https://greenkeeper.io/)

Stages covered:

* Prepare
* Set versions @ README.md
12 changes: 12 additions & 0 deletions mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--check-leaks
--exit
--full-trace
-r ts-node/register
-r source-map-support/register
-t 10000
--trace-deprecation
--trace-warnings
--throw-deprecation
--recursive
--watch-extensions ts
test/**/*.ts

0 comments on commit de4b9a7

Please sign in to comment.