Skip to content

Commit

Permalink
chore!: Normalize repository, dropping node <10.13 support (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
sttk committed Dec 29, 2021
1 parent 1c6f0c9 commit f6e5671
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 17 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
@@ -0,0 +1,13 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
coverage/
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
* text eol=lf
13 changes: 7 additions & 6 deletions .github/workflows/dev.yml
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- main
env:
CI: true

Expand All @@ -20,7 +21,7 @@ jobs:
- name: Prettier
uses: gulpjs/prettier_action@v3.0
with:
commit_message: 'Build: Run prettier'
commit_message: 'chore: Run prettier'
prettier_options: '--write .'

test:
Expand All @@ -30,15 +31,15 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10, 12, 14]
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@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

Expand All @@ -55,7 +56,7 @@ jobs:
run: npm test

- name: Coveralls
uses: coverallsapp/github-action@v1.1.0
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{matrix.os}}-node-${{ matrix.node }}
Expand All @@ -68,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.0
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,17 @@
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
bump-minor-pre-major: true
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -20,7 +20,7 @@ coverage
# nyc test coverage
.nyc_output

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

# Bower dependency directory (https://bower.io/)
Expand Down Expand Up @@ -63,3 +63,5 @@ typings/
# Garbage files
.DS_Store

# Test results
test.xunit
1 change: 1 addition & 0 deletions .prettierignore
@@ -1,2 +1,3 @@
coverage/
.nyc_output/
CHANGELOG.md
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 Artem Medeusheyev & 2020 Blaine Bublitz <blaine.bublitz@gmail.com>, Eric Schoffstall <yo@contra.io> and other contributors
Copyright (c) 2014 Artem Medeusheyev & 2020-2021 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
2 changes: 1 addition & 1 deletion README.md
@@ -1,5 +1,5 @@
<p align="center">
<a href="http://gulpjs.com">
<a href="https://gulpjs.com">
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
</a>
</p>
Expand Down
20 changes: 12 additions & 8 deletions package.json
Expand Up @@ -13,17 +13,21 @@
"repository": "gulpjs/ordered-read-streams",
"author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",
"license": "MIT",
"engines": {
"node": ">= 10.13.0"
},
"dependencies": {
"readable-stream": "^2.0.1"
"readable-stream": "^3.6.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"eslint-config-gulp": "^5.0.0",
"expect": "^26.0.1",
"mississippi": "^1.3.0",
"mocha": "^7.1.2",
"nyc": "^15.0.1",
"through2": "^2.0.0"
"eslint": "^7.32.0",
"eslint-config-gulp": "^5.0.1",
"eslint-plugin-node": "^11.1.0",
"expect": "^27.4.2",
"mississippi": "^4.0.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"through2": "^4.0.2"
},
"nyc": {
"reporter": [
Expand Down
Empty file removed test/.gitkeep
Empty file.

0 comments on commit f6e5671

Please sign in to comment.