question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecate and finally drop Bower support

See original GitHub issue

I think it’s time to deprecate support for Bower gracefully and eventually drop it completely in the next major release (3.0.0).

This is a topic that has been discussed a little bit in the past, but I always argued against it since we had users that preferred to use xterm.js via Bower.

Eventually I changed my mind after seeing the weird things that can happen with the built files checked out in the repo and reading https://github.com/codemirror/CodeMirror/issues/4328#issuecomment-255110880, which actually states the fundamental design issue of Bower: it confuses source repositories (like this) with distribution mechanisms.

To the point, I propose taking the following steps to make sure that this goes as gracefully as possible for our users:

  1. Create a new xtermjs/bower repository, where we will point the xterm.js Bower package and push the built files of each release there (starting with the current one).
  2. Remove dist from this repository completely, ignore it from Git and include it in NPM distributions
  3. Stop updating the xtermjs/bower repository starting from version 3.0.0

/cc @Tyriar

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Greenekcommented, Jan 13, 2018

If anyone is looking for xterm.js>=3.0 in bower repo, you can use bower install --save xterm.js-next. It’s my fork created for personal use, but I try to keep it updated.

0reactions
Tyriarcommented, Jan 13, 2018

@Greenek thanks for taking that up! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecate Bower Support - Ember RFCs
Lastly, most addons have dropped support for Bower as well. Putting this all together, deprecating (and later on removing) Bower support ...
Read more >
Unexpected deprecation notice · Issue #2464 · bower ... - GitHub
Also yarn dropped bower support last year. ... Because of this deprecation NPM is about to become flooded with front-end packages which will ......
Read more >
bower/bower - Gitter
i know that is deprecated but in my company the use bower for frontend ... Hey all, we'd like to drop Bower support...
Read more >
Tobias Bieniek on Twitter: " ember-try v2.0.0 was just released ...
ember-try v2.0.0 was just released major changes: - deprecated bower support was finally removed - experimental support for.
Read more >
How to drop Bower support? · Bower blog
Remove all distribution files and bower.json from repository; Tag repository with new major semver version (e.g from 3.5.6 to 4.0.0); Don't ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found