Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Ecosystem migration #143

Closed
demurgos opened this issue Dec 28, 2017 · 53 comments
Closed

Ecosystem migration #143

demurgos opened this issue Dec 28, 2017 · 53 comments
Assignees

Comments

@demurgos
Copy link
Member

demurgos commented Dec 28, 2017

Edit: See README.md and this medium post for details about the deprecation of gulp-util. Please help us submitting pull requests. Please also note that a patch was applied to keep all the plugins using gulp-util working with gul@4. This is only intended to help with the transition and migrating should remain a priority. More info about the Gulp 4 issue and fix

Following the deprecation of gulp-util, thousands of plugins need to be updated. According to npm, there are currently 6752 plugins depending on gulp-util. This issue tracks the progress for some of the most popular packages depending on gulp-util.

The packages listed below are from the first results for packages dependent on gulp-util.

  • Edit 1 (2017-01-01): I extended the list with additional packages that referenced this issue.
  • Edit 2 (2017-01-02): Full list of dependents (some download stats seems to be missing)
  • Edit 3 (2017-01-11): I stopped extending the list because it's getting too long. You can still post comments linking to issues or PRs. I may still add popular packages (I'll just use some arbitrary metric such as >100 stars or >1k monthly downloads).

Legend:

  • 💚 Fixed
  • 💛 PR, maintainer is aware of the issue
  • 🕐 PR, waiting for maintainer
  • ❌ No PR
  • Unchecked: Fix not on npm
  • Checked: Fix on npm

Progress (last update: 2018-10-14):

Deprecated packages (no need to update?):

Issue template:

Replace deprecated dependency gulp-util

[`gulp-util`](https://www.npmjs.com/package/gulp-util) has been deprecated recently. Continuing to use this dependency may prevent the use of your library with the recently released version 4 of Gulp, **it is important to replace `gulp-util`**.

The [README.md](https://github.com/gulpjs/gulp-util) lists alternatives for all the components so a simple replacement should be enough.

Your package is popular but still relying on `gulp-util`, it would be good to publish a fixed version to npm as soon as possible.

See:
- https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
- https://github.com/gulpjs/gulp-util/issues/143
@phated
Copy link
Member

phated commented Dec 28, 2017

This is awesome! Thanks @demurgos

A quick note about fancy-log - once more people are on gulp4 or gulp-cli, it'll need to be replaced by gulplog but we don't want to have people on it yet so logging doesn't get blackholed in the meantime.

@demurgos
Copy link
Member Author

Ok,
For the moment I am using fancy-log then.

The biggest issue when going over all these packages was that about half of them hasn't been updated in months even if they are very popular. Even if we sent PRs to all the package overnight, the biggest problem is that maintainers need to actually accept the PR and publish the update to npm. I had some quick answers from some maintainers, so it's a good sign. It would be nice to have @sindresorhus to accept its PRs because he owns many popular plugins.

Another issue related to the lack of regular maintainance is that many packages are still tested against unmaintained Node versions (pre-Node 4). I know that Gulp itself did not switch to Node 4+ but many other dependencies did. With the lack of lock files and transitive dependencies, CI tends to break for many packages so it requires additional maintenance to first get a working package and then drop gulp-util.

@phated
Copy link
Member

phated commented Dec 28, 2017

Yeah, I noticed that in some PRs. We've landed a temporary fix in vinyl-fs that upgrades the Vinyl objects passing through the stream, so the problem shouldn't be as immediate as it seemed but we will want to get these modules updated.

@yocontra
Copy link
Member

Thanks a ton for putting your time towards this - I'll go through all of my modules today.

@zbennett10
Copy link

^^ Yeah, thanks alot for compiling this list.

@stephenlacy
Copy link
Contributor

stephenlacy commented Dec 28, 2017

I opened issues in:
gulp-notify mikaelbr/gulp-notify#123
gulp-shell sun-zheng-an/gulp-shell#94
gulp-cssmin https://github.com/chilijung/gulp-cssmin/issues/24
gulp-csso ben-eb/gulp-csso#30
gulp-debug sindresorhus/gulp-debug#40
slush slushjs/slush#61
gulp-rimraf robrich/gulp-rimraf#25

And PRs:
gulp-rimraf robrich/gulp-rimraf#26

@zbennett10
Copy link

gulp-clean-css has been updated scniro/gulp-clean-css#50

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests