Skip to content

Commit 9302802

Browse files
sttkphated
andauthored
chore!: Normalize repository, dropping node <10.13 support (#151)
chore!: Remove `inspect` method & rely on `util.inspect.custom` symbol Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>
1 parent 50a775b commit 9302802

File tree

15 files changed

+187
-273
lines changed

15 files changed

+187
-273
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.

.github/support.yml

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

.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/prettier_action@v3.0
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/github-action@v1.1.2
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/github-action@v1.1.2
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) 2013 Blaine Bublitz <blaine.bublitz@gmail.com>, Eric Schoffstall <yo@contra.io> and other contributors
3+
Copyright (c) 2013, 2016-2022 Blaine Bublitz <blaine.bublitz@gmail.com> and Eric Schoffstall <yo@contra.io>
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: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<p align="center">
2-
<a href="http://gulpjs.com">
2+
<a href="https://gulpjs.com">
33
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
44
</a>
55
</p>
66

77
# vinyl
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
Virtual file format.
1212

@@ -421,32 +421,29 @@ Same goes for `clone()`. If you have your own internal stuff that needs special
421421

422422
MIT
423423

424+
425+
<!-- prettier-ignore-start -->
426+
[downloads-image]: https://img.shields.io/npm/dm/vinyl.svg?style=flat-square
427+
[npm-url]: https://www.npmjs.com/package/vinyl
428+
[npm-image]: https://img.shields.io/npm/v/vinyl.svg?style=flat-square
429+
430+
[ci-url]: https://github.com/gulpjs/vinyl/actions?query=workflow:dev
431+
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/vinyl/dev?style=flat-square
432+
433+
[coveralls-url]: https://coveralls.io/r/gulpjs/vinyl
434+
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/vinyl/master.svg?style=flat-square
435+
<!-- prettier-ignore-end -->
436+
437+
<!-- prettier-ignore-start -->
424438
[is-symbolic]: #issymbolic
425439
[is-directory]: #isdirectory
426440
[normalization]: #normalization-and-concatenation
427441
[extending-vinyl]: #extending-vinyl
428442
[stream]: https://nodejs.org/api/stream.html#stream_stream
429443
[readable-stream]: https://nodejs.org/api/stream.html#stream_readable_streams
430444
[buffer]: https://nodejs.org/api/buffer.html#buffer_class_buffer
431-
[fs-stats]: http://nodejs.org/api/fs.html#fs_class_fs_stats
445+
[fs-stats]: https://nodejs.org/api/fs.html#fs_class_fs_stats
432446
[vinyl-fs]: https://github.com/gulpjs/vinyl-fs
433447
[cloneable-readable]: https://github.com/mcollina/cloneable-readable
448+
<!-- prettier-ignore-end -->
434449

435-
[downloads-image]: https://img.shields.io/npm/dm/vinyl.svg
436-
[npm-url]: https://www.npmjs.com/package/vinyl
437-
[npm-image]: https://img.shields.io/npm/v/vinyl.svg
438-
439-
[azure-pipelines-url]: https://dev.azure.com/gulpjs/gulp/_build/latest?definitionId=$PROJECT_ID&branchName=master
440-
[azure-pipelines-image]: https://dev.azure.com/gulpjs/gulp/_apis/build/status/vinyl?branchName=master
441-
442-
[travis-url]: https://travis-ci.org/gulpjs/vinyl
443-
[travis-image]: https://img.shields.io/travis/gulpjs/vinyl.svg?label=travis-ci
444-
445-
[appveyor-url]: https://ci.appveyor.com/project/gulpjs/vinyl
446-
[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/vinyl.svg?label=appveyor
447-
448-
[coveralls-url]: https://coveralls.io/r/gulpjs/vinyl
449-
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/vinyl/master.svg
450-
451-
[gitter-url]: https://gitter.im/gulpjs/gulp
452-
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg

0 commit comments

Comments
 (0)