Update the JavaScript dependency installation code to handle scoped packages. The code is also updated to use pathlib's Path. Move the JavaScript dependency installation to its own app named dependencies. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
9 lines
201 B
Python
9 lines
201 B
Python
from __future__ import unicode_literals
|
|
|
|
from .javascript import JSDependencyManager
|
|
|
|
|
|
def handler_install_javascript(sender, **kwargs):
|
|
js_manager = JSDependencyManager()
|
|
js_manager.install()
|