Skip to content

Commit b37939e

Browse files
committed
feat: add semantic-release
1 parent 3a6748b commit b37939e

File tree

4 files changed

+21
-33
lines changed

4 files changed

+21
-33
lines changed

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

Diff for: .travis.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
language: node_js
2+
cache:
3+
directories:
4+
- node_modules
5+
notifications:
6+
email: false
27
node_js:
3-
- '0.12'
4-
- '4'
5-
- '5'
8+
- '7'
69
- '6'
7-
8-
sudo: false
10+
- '4'
11+
before_script:
12+
- npm prune
13+
after_success:
14+
- npm run semantic-release
15+
branches:
16+
except:
17+
- /^v\d+\.\d+\.\d+$/

Diff for: README.md

+1-23
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
# gulp-inject
22

3-
---
4-
5-
## HELP WANTED
6-
7-
### Contributors are welcomed!
8-
9-
**I don't have enough time to maintain this plugin as I would want to, so I'm looking for people who want to help out and be contributors/repository admins.**
10-
11-
#### Interested?
12-
13-
**Contact me! See `package.json` for contact information.**
14-
15-
---
16-
17-
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![XO code style][codestyle-image]][codestyle-url] [![Dependency Status][depstat-image]][depstat-url]
3+
[![NPM version][npm-image]][npm-url] [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Build Status][travis-image]][travis-url] [![XO code style][codestyle-image]][codestyle-url] [![Dependency Status][depstat-image]][depstat-url]
184

195
> A stylesheet, javascript and webcomponent reference injection plugin for [gulp](https://github.com/wearefractal/gulp). No more manual editing of your index.html!
206
@@ -868,14 +854,6 @@ Default: `false`
868854
Affects the default `options.transform` function, see above.
869855

870856

871-
#### options.quiet
872-
Type: `Boolean`
873-
874-
Default: `false`
875-
876-
Lower the verbosity by setting this to true, suppressing the logging of successful injections.
877-
878-
879857
#### ~~options.templateString~~
880858

881859
***DEPRECATED!***

Diff for: package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gulp-inject",
3-
"version": "4.2.1",
3+
"version": "0.0.0-development",
44
"description": "A javascript, stylesheet and webcomponent injection plugin for Gulp, i.e. inject file references into your index.html",
55
"keywords": [
66
"gulpplugin",
@@ -20,13 +20,13 @@
2020
"main": "index.js",
2121
"repository": {
2222
"type": "git",
23-
"url": "git://github.com/klei/gulp-inject.git"
23+
"url": "https://github.com/klei/gulp-inject.git"
2424
},
2525
"scripts": {
2626
"lint": "xo",
2727
"pretest": "npm run -s lint",
2828
"test": "mocha -R spec src/**/*_test.js",
29-
"release": "standard-version"
29+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
3030
},
3131
"dependencies": {
3232
"arrify": "^1.0.1",
@@ -40,9 +40,9 @@
4040
"devDependencies": {
4141
"mocha": "~2.0.1",
4242
"should": "^4.0.4",
43-
"standard-version": "^2.2.1",
4443
"strip-color": "^0.1.0",
45-
"xo": "^0.13.0"
44+
"xo": "^0.13.0",
45+
"semantic-release": "^7.0.2"
4646
},
4747
"engines": {
4848
"node": ">=4"

0 commit comments

Comments
 (0)