Skip to content

Commit

Permalink
chore!: Normalize repository, dropping node <10.13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Sep 9, 2022
1 parent 16d726f commit d40d2b8
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 172 deletions.
34 changes: 0 additions & 34 deletions .ci/.azure-pipelines-steps.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .ci/.azure-pipelines.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/support.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/dev.yml
@@ -0,0 +1,75 @@
name: dev
on:
pull_request:
push:
branches:
- master
- main
env:
CI: true

jobs:
prettier:
name: Format code
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Prettier
uses: gulpjs/prettier_action@v3.0
with:
commit_message: 'chore: Run prettier'
prettier_options: '--write .'

test:
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [10, 12, 14, 16]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm install

- name: Run lint
run: npm run lint

- name: Run tests
run: npm test

- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{matrix.os}}-node-${{ matrix.node }}
parallel: true

coveralls:
needs: test
name: Finish up

runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,16 @@
name: release
on:
push:
branches:
- master
- main

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: release-please-action
3 changes: 3 additions & 0 deletions .prettierignore
@@ -0,0 +1,3 @@
coverage/
.nyc_output/
CHANGELOG.md
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Blaine Bublitz <blaine.bublitz@gmail.com> and Eric Schoffstall <yo@contra.io>
Copyright (c) 2019, 2022 Blaine Bublitz <blaine.bublitz@gmail.com> and Eric Schoffstall <yo@contra.io>

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
23 changes: 8 additions & 15 deletions README.md
Expand Up @@ -6,7 +6,7 @@

# vinyl-contents

[![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]
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]

Utility to read the contents of a vinyl file.

Expand Down Expand Up @@ -57,21 +57,14 @@ If the Vinyl contents are:

MIT

[downloads-image]: http://img.shields.io/npm/dm/vinyl-contents.svg
<!-- prettier-ignore-start -->
[downloads-image]: https://img.shields.io/npm/dm/vinyl-contents.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/vinyl-contents
[npm-image]: http://img.shields.io/npm/v/vinyl-contents.svg
[npm-image]: https://img.shields.io/npm/v/vinyl-contents.svg?style=flat-square

[azure-pipelines-url]: https://dev.azure.com/gulpjs/gulp/_build/latest?definitionId=5&branchName=master
[azure-pipelines-image]: https://dev.azure.com/gulpjs/gulp/_apis/build/status/vinyl-contents?branchName=master

[travis-url]: https://travis-ci.org/gulpjs/vinyl-contents
[travis-image]: http://img.shields.io/travis/gulpjs/vinyl-contents.svg?label=travis-ci

[appveyor-url]: https://ci.appveyor.com/project/gulpjs/vinyl-contents
[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/vinyl-contents.svg?label=appveyor
[ci-url]: https://github.com/gulpjs/vinyl-contents/actions?query=workflow:dev
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/vinyl-contents/dev?style=flat-square

[coveralls-url]: https://coveralls.io/r/gulpjs/vinyl-contents
[coveralls-image]: http://img.shields.io/coveralls/gulpjs/vinyl-contents/master.svg

[gitter-url]: https://gitter.im/gulpjs/gulp
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/vinyl-contents/master.svg?style=flat-square
<!-- prettier-ignore-end -->
29 changes: 0 additions & 29 deletions appveyor.yml

This file was deleted.

27 changes: 17 additions & 10 deletions package.json
Expand Up @@ -9,7 +9,7 @@
"repository": "gulpjs/vinyl-contents",
"license": "MIT",
"engines": {
"node": ">= 6"
"node": ">=10.13.0"
},
"main": "index.js",
"files": [
Expand All @@ -19,23 +19,30 @@
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "nyc mocha --async-only",
"azure-pipelines": "nyc mocha --async-only --reporter xunit -O output=test.xunit",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
"test": "nyc mocha --async-only"
},
"dependencies": {
"bl": "^3.0.0",
"readable-stream": "^3.3.0",
"vinyl": "^2.2.0"
},
"devDependencies": {
"coveralls": "github:phated/node-coveralls#2.x",
"eslint": "^5.16.0",
"eslint-config-gulp": "^3.0.1",
"expect": "^24.8.0",
"eslint": "^7.0.0",
"eslint-config-gulp": "^5.0.0",
"eslint-plugin-node": "^11.1.0",
"expect": "^27.0.0",
"from2": "^2.3.0",
"mocha": "^6.1.4",
"nyc": "^14.1.1"
"mocha": "^8.0.0",
"nyc": "^15.0.0"
},
"nyc": {
"reporter": [
"lcov",
"text-summary"
]
},
"prettier": {
"singleQuote": true
},
"keywords": []
}
3 changes: 0 additions & 3 deletions test/.eslintrc

This file was deleted.

Empty file added test/.gitkeep
Empty file.

0 comments on commit d40d2b8

Please sign in to comment.