Update and move JavaScript install code

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>
This commit is contained in:
Roberto Rosario
2018-12-26 02:15:44 -04:00
parent d6c7a0d765
commit 4ff9794286
14 changed files with 236 additions and 213 deletions
-1
View File
@@ -281,7 +281,6 @@ class Template(object):
result.append(template.render(request=request))
return result
@classmethod
def get(cls, name):
return cls._registry[name]