Use Bower to manage front-end dependencies

RESOLVED FIXED

Status

Mozilla Developer Network
Code Cleanup
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: openjck, Unassigned)

Tracking

Details

(Reporter)

Description

3 years ago
We should use Bower to manage front-end dependencies on MDN. Example dependencies include CKEditor, jQuery, Font Awesome, and Prism among others.

As per bug 1057298, these dependencies should be placed in lib/js.
(Reporter)

Updated

3 years ago
No longer blocks: 1057298
(Reporter)

Updated

3 years ago
Depends on: 1139490
(Reporter)

Updated

3 years ago
Blocks: 1139500
(Reporter)

Comment 1

3 years ago
Work to base this on:

https://github.com/mozilla/kuma/pull/3094
(Reporter)

Updated

2 years ago
Summary: Add Bower to MDN for front-end dependency management → Use Bower to manage front-end dependencies

Comment 2

2 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/af3d75a9f1f21b5cffbbcaa225eeb76bbd91921c
Bug 1119397: Use Bower to manage jQuery dependency

https://github.com/mozilla/kuma/commit/b22da4819efefedbc755752fb7ec3f6117bd6023
Merge pull request #3599 from openjck/bug-1119397-bower-installer-jquery

Bug 1119397: Use Bower to manage jQuery dependency
(Reporter)

Comment 3

2 years ago
I'll call this done once all straightforward dependencies have been migrated to Bower.

Some dependencies will not be migrated right now. These include custom builds and dependencies that are no longer officially published. It would be easier to migrate those dependencies to Bower as they're upgraded. [1]

[1] https://github.com/mozilla/kuma/blob/master/docs/development.rst#front-end-dependencies

Comment 4

2 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/aaefb408435106440c218b6a894c28983eeb7838
Bug 1119397: Manage html5shiv with Bower

https://github.com/mozilla/kuma/commit/fdad3e873683ac26d34bd7c96e772fa9114ddc6d
Bug 1119397: Manage Selectivizr with Bower

https://github.com/mozilla/kuma/commit/3a44d68a0fc389642c51e1a16dadc37a38993999
Bug 1119397: Manage fontfaceobserver with Bower

https://github.com/mozilla/kuma/commit/6dee496c85d780dda1d58cc13e8d6ebe7df30b75
Merge pull request #3601 from openjck/bug-1119397-bower-remaining-straightforward-dependencies

Fix bug 1119397: Manage remaining straightforward dependencies with Bower

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.