Skip to content

Commit 66f987f

Browse files
sttkphated
andauthored
chore!: Normalize repository, dropping node <10.13 support (#54)
chore: Remove process-nextick-args chore: Remove when Co-authored-by: Blaine Bublitz <[email protected]>
1 parent 35260ae commit 66f987f

21 files changed

+170
-248
lines changed

.ci/.azure-pipelines-steps.yml

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

.ci/.azure-pipelines.yml

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

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage/

.github/workflows/dev.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: dev
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
env:
9+
CI: true
10+
11+
jobs:
12+
prettier:
13+
name: Format code
14+
runs-on: ubuntu-latest
15+
if: ${{ github.event_name == 'push' }}
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
21+
- name: Prettier
22+
uses: gulpjs/[email protected]
23+
with:
24+
commit_message: 'chore: Run prettier'
25+
prettier_options: '--write .'
26+
27+
test:
28+
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }}
29+
runs-on: ${{ matrix.os }}
30+
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
node: [10, 12, 14, 16]
35+
os: [ubuntu-latest, windows-latest, macos-latest]
36+
37+
steps:
38+
- name: Clone repository
39+
uses: actions/checkout@v2
40+
41+
- name: Set Node.js version
42+
uses: actions/setup-node@v2
43+
with:
44+
node-version: ${{ matrix.node }}
45+
46+
- run: node --version
47+
- run: npm --version
48+
49+
- name: Install npm dependencies
50+
run: npm install
51+
52+
- name: Run lint
53+
run: npm run lint
54+
55+
- name: Run tests
56+
run: npm test
57+
58+
- name: Coveralls
59+
uses: coverallsapp/[email protected]
60+
with:
61+
github-token: ${{ secrets.GITHUB_TOKEN }}
62+
flag-name: ${{matrix.os}}-node-${{ matrix.node }}
63+
parallel: true
64+
65+
coveralls:
66+
needs: test
67+
name: Finish up
68+
69+
runs-on: ubuntu-latest
70+
steps:
71+
- name: Coveralls Finished
72+
uses: coverallsapp/[email protected]
73+
with:
74+
github-token: ${{ secrets.GITHUB_TOKEN }}
75+
parallel-finished: true

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
8+
jobs:
9+
release-please:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: GoogleCloudPlatform/release-please-action@v2
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
release-type: node
16+
package-name: release-please-action
17+
bump-minor-pre-major: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ coverage
2020
# nyc test coverage
2121
.nyc_output
2222

23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
23+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
2424
.grunt
2525

2626
# Bower dependency directory (https://bower.io/)

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage/
2+
.nyc_output/
3+
CHANGELOG.md

.travis.yml

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Blaine Bublitz, Eric Schoffstall and other contributors
3+
Copyright (c) 2015-2019, 2021 Blaine Bublitz <[email protected]> and Eric Schoffstall <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# async-done
88

9-
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Azure Pipelines Build Status][azure-pipelines-image]][azure-pipelines-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]
9+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
1010

1111
Allows libraries to handle various caller provided asynchronous functions uniformly. Maps promises, observables, child processes and streams, and callbacks to callback style.
1212

@@ -67,7 +67,7 @@ Optionally takes a callback to call when async tasks are complete.
6767
* `Promise` returned
6868
- Completion: [onFulfilled][promise-onfulfilled] method called
6969
- Error: [onRejected][promise-onrejected] method called
70-
* `Observable` (e.g. from [RxJS v5][rxjs5-observable] or [RxJS v4][rxjs5-observable]) returned
70+
* `Observable` (e.g. from [RxJS v5][rxjs5-observable] or [RxJS v4][rxjs4-observable]) returned
7171
- Completion: [complete][rxjs5-observer-complete] method called
7272
- Error: [error][rxjs5-observer-error] method called
7373

@@ -91,31 +91,26 @@ Errors can be caused by:
9191

9292
MIT
9393

94-
[downloads-image]: https://img.shields.io/npm/dm/async-done.svg
94+
<!-- prettier-ignore-start -->
95+
[downloads-image]: https://img.shields.io/npm/dm/async-done.svg?style=flat-square
9596
[npm-url]: https://www.npmjs.com/package/async-done
96-
[npm-image]: https://img.shields.io/npm/v/async-done.svg
97+
[npm-image]: https://img.shields.io/npm/v/async-done.svg?style=flat-square
9798

98-
[azure-pipelines-url]: https://dev.azure.com/gulpjs/gulp/_build/latest?definitionId=6&branchName=master
99-
[azure-pipelines-image]: https://dev.azure.com/gulpjs/gulp/_apis/build/status/async-done?branchName=master
100-
101-
[travis-url]: https://travis-ci.org/gulpjs/async-done
102-
[travis-image]: https://img.shields.io/travis/gulpjs/async-done.svg?label=travis-ci
103-
104-
[appveyor-url]: https://ci.appveyor.com/project/gulpjs/async-done
105-
[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/async-done.svg?label=appveyor
99+
[ci-url]: https://github.com/gulpjs/async-done/actions?query=workflow:dev
100+
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/async-done/dev?style=flat-square
106101

107102
[coveralls-url]: https://coveralls.io/r/gulpjs/async-done
108-
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/async-done/master.svg
109-
110-
[gitter-url]: https://gitter.im/gulpjs/gulp
111-
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
103+
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/async-done/master.svg?style=flat-square
104+
<!-- prettier-ignore-end -->
112105

106+
<!-- prettier-ignore-start -->
113107
[end-of-stream]: https://www.npmjs.com/package/end-of-stream
114108
[domains]: http://nodejs.org/api/domain.html
115109
[event-stream]: https://github.com/dominictarr/event-stream
116110
[promise-onfulfilled]: http://promisesaplus.com/#point-26
117111
[promise-onrejected]: http://promisesaplus.com/#point-30
118-
[rx4-observable]: https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md
112+
[rxjs4-observable]: https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md
119113
[rxjs5-observable]: http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html
120114
[rxjs5-observer-complete]: http://reactivex.io/rxjs/class/es6/MiscJSDoc.js~ObserverDoc.html#instance-method-complete
121115
[rxjs5-observer-error]: http://reactivex.io/rxjs/class/es6/MiscJSDoc.js~ObserverDoc.html#instance-method-error
116+
<!-- prettier-ignore-end -->

0 commit comments

Comments
 (0)