Skip to content

Commit 72668c6

Browse files
authored
chore!: Normalize repository, dropping node <10.13 support (#2758)
feat: Support `.cjs` extension for gulpfiles fix: Ensure watch does not trigger on negated globs fix: Ensure watch allows japanese characters in globs
1 parent 85896d4 commit 72668c6

18 files changed

+279
-319
lines changed

.ci/.azure-pipelines-steps.yml

-38
This file was deleted.

.ci/.azure-pipelines.yml

-90
This file was deleted.

.github/workflows/dev.yml

+75
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

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage/
2+
.nyc_output/
3+
CHANGELOG.md

.travis.yml

-12
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2018 Blaine Bublitz <[email protected]>, Eric Schoffstall <[email protected]> and other contributors
3+
Copyright (c) 2013-2024 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

+14-61
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
<p align="center">The streaming build system</p>
66
</p>
77

8-
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Azure Pipelines Build Status][azure-pipelines-image]][azure-pipelines-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![OpenCollective Backers][backer-badge]][backer-url] [![OpenCollective Sponsors][sponsor-badge]][sponsor-url] [![Gitter chat][gitter-image]][gitter-url]
9-
8+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
109

1110
## What is gulp?
1211

@@ -15,25 +14,6 @@
1514
- **Strong Ecosystem** - Use npm modules to do anything you want + over 3000 curated plugins for streaming file transformations.
1615
- **Simple** - By providing only a minimal API surface, gulp is easy to learn and simple to use.
1716

18-
## What's new in 4.0?!
19-
20-
* The task system was rewritten from the ground-up, allowing task composition using `series()` and `parallel()` methods.
21-
* The watcher was updated, now using chokidar (no more need for gulp-watch!), with feature parity to our task system.
22-
* First-class support was added for incremental builds using `lastRun()`.
23-
* A `symlink()` method was exposed to create symlinks instead of copying files.
24-
* Built-in support for sourcemaps was added - the gulp-sourcemaps plugin is no longer necessary!
25-
* Task registration of exported functions - using node or ES exports - is now recommended.
26-
* Custom registries were designed, allowing for shared tasks or augmented functionality.
27-
* Stream implementations were improved, allowing for better conditional and phased builds.
28-
29-
30-
## gulp for enterprise
31-
32-
Available as part of the Tidelift Subscription
33-
34-
The maintainers of gulp and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-gulp?utm_source=npm-gulp&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
35-
36-
3717
## Installation
3818

3919
Follow our [Quick Start guide][quick-start].
@@ -246,48 +226,21 @@ for a second time.
246226

247227
Anyone can help make this project better - check out our [Contributing guide](/CONTRIBUTING.md)!
248228

249-
## Backers
250-
251-
Support us with a monthly donation and help us continue our activities.
252-
253-
[![Backers][backers-image]][support-url]
254-
255-
## Sponsors
256-
257-
Become a sponsor to get your logo on our README on Github.
258-
259-
[![Sponsors][sponsors-image]][support-url]
229+
<!-- prettier-ignore-start -->
230+
[quick-start]: https://gulpjs.com/docs/en/getting-started/quick-start
231+
[getting-started-guide]: https://gulpjs.com/docs/en/getting-started/quick-start
232+
[api-docs]: https://gulpjs.com/docs/en/api/concepts
233+
[esm-module]: https://github.com/standard-things/esm
234+
<!-- prettier-ignore-end -->
260235

261-
[downloads-image]: https://img.shields.io/npm/dm/gulp.svg
236+
<!-- prettier-ignore-start -->
237+
[downloads-image]: https://img.shields.io/npm/dm/gulp.svg?style=flat-square
262238
[npm-url]: https://www.npmjs.com/package/gulp
263-
[npm-image]: https://img.shields.io/npm/v/gulp.svg
264-
265-
[azure-pipelines-url]: https://dev.azure.com/gulpjs/gulp/_build/latest?definitionId=1&branchName=master
266-
[azure-pipelines-image]: https://dev.azure.com/gulpjs/gulp/_apis/build/status/gulp?branchName=master
239+
[npm-image]: https://img.shields.io/npm/v/gulp.svg?style=flat-square
267240

268-
[travis-url]: https://travis-ci.org/gulpjs/gulp
269-
[travis-image]: https://img.shields.io/travis/gulpjs/gulp.svg?label=travis-ci
270-
271-
[appveyor-url]: https://ci.appveyor.com/project/gulpjs/gulp
272-
[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/gulp.svg?label=appveyor
241+
[ci-url]: https://github.com/gulpjs/gulp/actions?query=workflow:dev
242+
[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/gulp/dev.yml?branch=master&style=flat-square
273243

274244
[coveralls-url]: https://coveralls.io/r/gulpjs/gulp
275-
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/gulp/master.svg
276-
277-
[gitter-url]: https://gitter.im/gulpjs/gulp
278-
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
279-
280-
[backer-url]: #backers
281-
[backer-badge]: https://opencollective.com/gulpjs/backers/badge.svg?color=blue
282-
[sponsor-url]: #sponsors
283-
[sponsor-badge]: https://opencollective.com/gulpjs/sponsors/badge.svg?color=blue
284-
285-
[support-url]: https://opencollective.com/gulpjs#support
286-
287-
[backers-image]: https://opencollective.com/gulpjs/backers.svg
288-
[sponsors-image]: https://opencollective.com/gulpjs/sponsors.svg
289-
290-
[quick-start]: https://gulpjs.com/docs/en/getting-started/quick-start
291-
[getting-started-guide]: https://gulpjs.com/docs/en/getting-started/quick-start
292-
[api-docs]: https://gulpjs.com/docs/en/api/concepts
293-
[esm-module]: https://github.com/standard-things/esm
245+
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/gulp/master.svg?style=flat-square
246+
<!-- prettier-ignore-end -->

appveyor.yml

-26
This file was deleted.

0 commit comments

Comments
 (0)