Skip to content

Commit

Permalink
chore(release): 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Mar 26, 2019
1 parent de8e6f7 commit 4f0fce1
Show file tree
Hide file tree
Showing 17 changed files with 3,436 additions and 3,896 deletions.
34 changes: 18 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
sudo: false

git:
depth: 1
depth: 10

branches:
only:
- master
- /^greenkeeper/.*$/
- next

language: node_js

# cache node modules
cache:
directories:
- $HOME/.npm
Expand All @@ -19,25 +18,28 @@ cache:
matrix:
fast_finish: true
include:
- node_js: '10'
- node_js: "11"
script: npm run $JOB_PART
env: JOB_PART=pretest
- node_js: '10'
- node_js: "11"
script: npm run $JOB_PART
env: JOB_PART=test-only
- node_js: '9'
env: JOB_PART=test:only
- node_js: "10"
script: npm run $JOB_PART
env: JOB_PART=test-only
- node_js: '8'
env: JOB_PART=test:only
- node_js: "8"
script: npm run $JOB_PART
env: JOB_PART=test-only
- node_js: '6'
script: npm run $JOB_PART
env: JOB_PART=test-only
sudo: required
env: JOB_PART=test:only

before_install:
- npm i -g npm
- nvm --version
- npm install -g npm@latest

install:
- npm ci

before_script:
- node --version
- npm --version

script:
- npm run ci:$JOB_PART
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org).

## 1.0.0 - 2019-03-26

- Chore: drop support node@6.
- Fixed: better handle self-hosted repos.
- Fixed: installation without git.

## 0.2.0 - 2018-05-31

- Fixed: problem with `npm` publish.
Expand Down
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) 2017-2018 itgalaxy inc.
Copyright (c) 2017-present itgalaxy inc.

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
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
[![Travis Build Status](https://img.shields.io/travis/itgalaxy/labelify/master.svg?label=build)](https://travis-ci.org/itgalaxy/labelify)
[![dependencies Status](https://david-dm.org/itgalaxy/labelify/status.svg)](https://david-dm.org/itgalaxy/labelify)
[![devDependencies Status](https://david-dm.org/itgalaxy/labelify/dev-status.svg)](https://david-dm.org/itgalaxy/labelify?type=dev)
[![Greenkeeper badge](https://badges.greenkeeper.io/itgalaxy/labelify.svg)](https://greenkeeper.io)

Automate and simplify the creation of labels for your GitHub/Github/Send_PR_For_You_Platform repository.
Automate and simplify the creation of labels for your GitHub/GitLab/Send_a_PR_For_You_Platform repository.

## Highlights

- Support configuration file.
- Support Github/Gitlab platforms (include self hosted solutions).
- Support GitHub/GitLab platforms (include self hosted solutions).
- CLI.
- Promise interface.
- Simple usage.
Expand Down
8 changes: 4 additions & 4 deletions bin/labelify.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

"use strict";

// eslint-disable-next-line node/no-unpublished-require
const labelify = require("../src");
const meow = require("meow");
const path = require("path");
const meow = require("meow");
const resolveFrom = require("resolve-from");
// eslint-disable-next-line node/no-unpublished-require
const labelify = require("../src");

const pkg = require("../package");

Expand Down Expand Up @@ -168,5 +168,5 @@ Promise.resolve()

const exitCode = typeof error.code === "number" ? error.code : 1;

process.exit(exitCode); // eslint-disable-line no-process-exit
process.exit(exitCode);
});
7 changes: 7 additions & 0 deletions husky.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";

module.exports = {
hooks: {
"pre-commit": "lint-staged"
}
};
4 changes: 4 additions & 0 deletions labelify.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ module.exports = {
{
color: "#b4b4b4",
name: "z"
},
{
color: "#a1aa1a",
name: "1.0.0"
}
]
};
3 changes: 2 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ module.exports = {
"prettier --list-different",
"remark -f -q",
"git add"
]
],
"*.{yml,yaml}": ["prettier --list-different", "git add"]
};
Loading

0 comments on commit 4f0fce1

Please sign in to comment.