Skip to content
This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Commit 9b47508

Browse files
author
Charlike Mike Reagent
committed
fix(ci): update readme badges and CircleCI config
TAG: latest
1 parent 782ae97 commit 9b47508

File tree

5 files changed

+157
-115
lines changed

5 files changed

+157
-115
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
defaults: &defaults
44
working_directory: ~/parse-function
55
docker:
6-
- image: circleci/node:6
6+
- image: circleci/node:8
77

88
restore_modules_cache: &restore_modules_cache
99
restore_cache:
@@ -20,8 +20,8 @@ jobs:
2020
- checkout
2121
- *restore_modules_cache
2222
- run:
23-
name: Installing dependencies
24-
command: yarn add -D npx@latest && npx -p node@8 yarn install
23+
name: Installing Dependencies
24+
command: yarn install
2525
- save_cache:
2626
key: parse-function-{{ checksum "yarn.lock" }}
2727
paths: node_modules
@@ -48,10 +48,10 @@ jobs:
4848
- *restore_modules_cache
4949
- run:
5050
name: Building dist files
51-
command: yarn add -D npx@latest && npx -p node@8 yarn build
51+
command: yarn build
5252
- run:
5353
name: Releasing and publishing
54-
command: yarn add -D npx@latest && npx -p node@8 new-release
54+
command: yarn run release
5555

5656
workflows:
5757
version: 2

.verb.md

Lines changed: 74 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img align="center" src="https://cdn.jsdelivr.net/emojione/assets/svg/1f54e.svg" width="256" height="256" alt="Parse a function">
33
</p>
44

5-
# {%= name %} [![npm version][npmv-img]][npmv-url] [![github release][github-release-img]][github-release-url] [![mit License][license-img]][license-url] [![NPM Downloads Weekly][downloads-weekly-img]][downloads-weekly-url] [![NPM Downloads Total][downloads-total-img]][downloads-total-url]
5+
# {%= name %} [![npm version][npmv-img]][npmv-url] [![github release][github-release-img]][github-release-url] [![License][license-img]][license-url]
66

77
> {%= description %}
88
@@ -13,20 +13,30 @@
1313
## Quality Assurance :100:
1414

1515
[![Code Style Standard][standard-img]][standard-url]
16-
[![Linux Build][travis-img]][travis-url]
16+
[![Linux Build][circleci-img]][circleci-url]
1717
[![Code Coverage][codecov-img]][codecov-url]
1818
[![Dependencies Status][dependencies-img]][dependencies-url]
1919
[![Renovate App Status][renovate-img]][renovate-url]
2020

2121
If you have any _how-to_ kind of questions, please read [Code of Conduct](./CODE_OF_CONDUCT.md) and **join the chat** room or [open an issue][open-issue-url].
2222
You may also read the [Contributing Guide](./CONTRIBUTING.md). There, beside _"How to contribute?"_, we describe everything **_stated_** by the badges.
2323

24-
[![tunnckoCore support][gitterchat-img]][gitterchat-url]
24+
[![Make A Pull Request][prs-welcome-img]][prs-welcome-url]
2525
[![Code Format Prettier][prettier-img]][prettier-url]
26-
[![node security status][nodesecurity-img]][nodesecurity-url]
27-
[![conventional Commits][ccommits-img]][ccommits-url]
28-
[![semantic release][semantic-release-img]][semantic-release-url]
29-
[![Node Version Required][nodeversion-img]][nodeversion-url]
26+
[![Node Security Status][nodesecurity-img]][nodesecurity-url]
27+
[![Conventional Commits][ccommits-img]][ccommits-url]
28+
[![Semantically Released][new-release-img]][new-release-url]
29+
[![Renovate App Status][renovate-img]][renovate-url]
30+
31+
Project is [semantically](https://semver.org) & automatically released on [CircleCI][codecov-url] with [new-release][] and its [New Release](https://github.com/apps/new-release) Github Bot.
32+
33+
[![All Contributors Spec][all-contributors-img]](#contributors)
34+
[![Newsletter Subscribe][tinyletter-img]][tinyletter-url]
35+
[![Give thanks][give-donate-img]][give-donate-url]
36+
[![Share Love Tweet][share-love-img]][share-love-url]
37+
[![NPM Downloads Weekly][downloads-weekly-img]][npmv-url]
38+
[![NPM Downloads Monthly][downloads-monthly-img]][npmv-url]
39+
[![NPM Downloads Total][downloads-total-img]][npmv-url]
3040

3141
## Features
3242

@@ -38,7 +48,7 @@ You may also read the [Contributing Guide](./CONTRIBUTING.md). There, beside _"H
3848
- **Customization:** allows switching the parser, through `options.parse`
3949
- **Support for:** arrow functions, default parameters, generators and async/await functions
4050
- **Stable:** battle-tested in production and against all parsers - [espree][], [acorn][], [babylon][]
41-
- **Tested:** with [370+ tests](./test.js) for _200%_ coverage
51+
- **Tested:** with [450+ tests](./test.js) for _200%_ coverage
4252

4353
## Table of Contents
4454
<!-- toc -->
@@ -213,65 +223,92 @@ Please read the [Contributing Guide](./CONTRIBUTING.md) and [Code of Conduct](./
213223
***
214224

215225
{%= include('footer') %}
216-
Project scaffolded and managed with [hela][].
226+
_Project automation and management with [hela][] task framework._
217227

218228
{%= reflinks(verb.reflinks) %}
219229

220-
221230
<!-- Heading badges -->
222231
[npmv-url]: https://www.npmjs.com/package/{%= name %}
223-
[npmv-img]: https://img.shields.io/npm/v/{%= name %}.svg
232+
[npmv-img]: https://img.shields.io/npm/v/{%= name %}.svg?label=npm%20version
224233

225-
[open-issue-url]: https://github.com/{%= repository %}/issues/new
226234
[github-release-url]: https://github.com/{%= repository %}/releases/latest
227-
[github-release-img]: https://img.shields.io/github/release/{%= repository %}.svg
235+
[github-release-img]: https://img.shields.io/github/release/{%= repository %}.svg?label=github%20release
228236

229237
[license-url]: https://github.com/{%= repository %}/blob/master/LICENSE
230-
[license-img]: https://img.shields.io/badge/license-{%= license.replace('-', ' ') %}-blue.svg
231-
232-
[downloads-weekly-url]: https://www.npmjs.com/package/{%= name %}
233-
[downloads-weekly-img]: https://img.shields.io/npm/dw/{%= name %}.svg
234-
235-
[downloads-total-url]: https://www.npmjs.com/package/{%= name %}
236-
[downloads-total-img]: https://img.shields.io/npm/dt/{%= name %}.svg
238+
[license-img]: https://img.shields.io/badge/license-{%= license.replace('-', '%20') %}-blue.svg
239+
<!-- [license-img]: https://img.shields.io/badge/license-tunnckoCore_1%2E0-blue.svg -->
237240

238241
<!-- Front line badges -->
239-
[codeclimate-url]: https://codeclimate.com/github/{%= repository %}
240-
[codeclimate-img]: https://img.shields.io/codeclimate/github/{%= repository %}.svg
242+
[bithound-score-url]: https://www.bithound.io/github/{%= repository %}
243+
[bithound-score-img]: https://www.bithound.io/github/{%= repository %}/badges/score.svg
241244

242-
[standard-url]: https://github.com/standard/standard
243-
[standard-img]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
245+
[bithound-code-url]: https://www.bithound.io/github/{%= repository %}
246+
[bithound-code-img]: https://www.bithound.io/github/{%= repository %}/badges/code.svg
247+
248+
[standard-url]: https://github.com/airbnb/javascript
249+
[standard-img]: https://img.shields.io/badge/code_style-airbnb-brightgreen.svg
244250

245-
[travis-url]: https://travis-ci.org/{%= repository %}
246-
[travis-img]: https://img.shields.io/travis/{%= repository %}/master.svg?label=linux
251+
[circleci-url]: https://circleci.com/gh/{%= repository %}/tree/master
252+
[circleci-img]: https://img.shields.io/circleci/project/github/{%= repository %}/master.svg
247253

248254
[codecov-url]: https://codecov.io/gh/{%= repository %}
249255
[codecov-img]: https://img.shields.io/codecov/c/github/{%= repository %}/master.svg
250256

257+
[bithound-deps-url]: https://www.bithound.io/github/{%= repository %}/dependencies/npm
258+
[bithound-deps-img]: https://www.bithound.io/github/{%= repository %}/badges/dependencies.svg
259+
251260
[dependencies-url]: https://david-dm.org/{%= repository %}
252261
[dependencies-img]: https://img.shields.io/david/{%= repository %}.svg
253262

254-
[renovate-url]: https://renovateapp.com
255-
[renovate-img]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg
256-
257263
<!-- Second front of badges -->
258-
259-
[gitterchat-url]: https://gitter.im/tunnckoCore/support
260-
[gitterchat-img]: https://img.shields.io/gitter/room/tunnckoCore/support.svg
264+
[prs-welcome-img]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
265+
[prs-welcome-url]: http://makeapullrequest.com
261266

262267
[prettier-url]: https://github.com/prettier/prettier
263268
[prettier-img]: https://img.shields.io/badge/styled_with-prettier-f952a5.svg
264269

265-
[nodesecurity-url]: https://nodesecurity.io/orgs/tunnckocore/projects/{%= nspId %}
270+
[nodesecurity-url]: https://nodesecurity.io/orgs/tunnckocore/projects/{%= nspId %}/master
266271
[nodesecurity-img]: https://nodesecurity.io/orgs/tunnckocore/projects/{%= nspId %}/badge
267272
<!-- the original color of nsp:
268273
[nodesec-img]: https://img.shields.io/badge/nsp-no_known_vulns-35a9e0.svg -->
269274

270-
[semantic-release-url]: https://github.com/apps/new-release
271-
[semantic-release-img]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-new--release-e10079.svg
272-
273275
[ccommits-url]: https://conventionalcommits.org/
274276
[ccommits-img]: https://img.shields.io/badge/conventional_commits-1.0.0-yellow.svg
275277

278+
[new-release-url]: https://github.com/tunnckoCore/new-release
279+
[new-release-img]: https://img.shields.io/badge/semantically-released-05C5FF.svg
280+
276281
[nodeversion-url]: https://nodejs.org/en/download
277-
[nodeversion-img]: https://img.shields.io/node/v/{%= name %}.svg
282+
[nodeversion-img]: https://img.shields.io/node/v/{%= name %}.svg
283+
284+
[renovate-url]: https://renovateapp.com
285+
[renovate-img]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg
286+
287+
288+
<!-- Third badges line (After CodeSponsor.io ad) -->
289+
[all-contributors-img]: https://img.shields.io/github/contributors/{%= repository %}.svg?label=all%20contributors&colorB=ffa500
290+
291+
[tinyletter-url]: https://tinyletter.com/tunnckoCore
292+
[tinyletter-img]: https://img.shields.io/badge/join-newsletter-9caaf8.svg
293+
<!--
294+
[paypal-donate-url]: https://paypal.me/tunnckoCore/10
295+
[paypal-donate-img]: https://img.shields.io/badge/$-support-f47721.svg
296+
-->
297+
[give-donate-url]: https://paypal.me/tunnckoCore/10
298+
[give-donate-img]: https://img.shields.io/badge/give-donation-f47721.svg
299+
300+
[downloads-weekly-img]: https://img.shields.io/npm/dw/{%= name %}.svg
301+
[downloads-monthly-img]: https://img.shields.io/npm/dm/{%= name %}.svg
302+
[downloads-total-img]: https://img.shields.io/npm/dt/{%= name %}.svg
303+
304+
305+
<!-- Miscellaneous -->
306+
[share-love-url]: https://twitter.com/intent/tweet?text={%= encodeURI(homepage) %}&via=tunnckoCore
307+
[share-love-img]: https://img.shields.io/badge/tweet-about-1da1f2.svg
308+
309+
[open-issue-url]: https://github.com/{%= repository %}/issues/new
310+
[highlighted-link]: https://ghub.now.sh/{%= verb.related.highlight %}
311+
[author-link]: https://i.am.charlike.online
312+
313+
[standard-url]: https://github.com/standard/standard
314+
[standard-img]: https://img.shields.io/badge/code_style-standard-brightgreen.svg

.xxxtravis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)