Project

General

Profile

Actions

Feature #1066

closed

Package Manager for JavaScript Libraries

Added by Christoph Hoffmann about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
2019-10-09
Estimated time:

Description

Currently all JavaScript Packages and libraries are added and updated manually.
As there are viable tools to automate this available for Python as well, we should attempt to document the current state and implement an automated solution.

Possible Candidates: CalmJS / NPM

Pro: we could omit most JavaScript from the current dist, and install from source
Caveat: we have some manually edited libraries we need to maintain in their current state

Actions #1

Updated by Christoph Hoffmann about 5 years ago

basic implementation working , difficulties d/t many file/path changes. needs some more testing

Actions #2

Updated by Alexander Watzinger about 5 years ago

I tested it online and run into several issues:

I had to install calmjs:

    $ pip3 install calmjs

After that I had to call it with the full path, e.g. in my case:

    $ /home/alex/.local/bin/calmjs npm --install openatlas

Also all tables, tabs, ... didn't show so maybe it didn't work at all because with the above command I got:

npm does not support Node.js v10.15.2
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
You can find the latest version at https://nodejs.org/
Actions #3

Updated by Alexander Watzinger almost 5 years ago

  • Target version changed from 4.0.0 to 4.1.0
Actions #4

Updated by Alexander Watzinger almost 5 years ago

  • Target version changed from 4.1.0 to 5.0.0
Actions #5

Updated by Alexander Watzinger almost 5 years ago

  • Target version changed from 5.0.0 to 205
Actions #6

Updated by Alexander Watzinger almost 5 years ago

  • Status changed from In Progress to Closed
  • Target version changed from 205 to 5.0.0
Actions

Also available in: Atom PDF