https://bugzilla.wikimedia.org/show_bug.cgi?id=35376

       Web browser: ---
             Bug #: 35376
           Summary: npm dependencies
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: VisualEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10299
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10299
New file to track npm dependencies

This patch will make it simpler to install node module dependencies.  When the
package.json file exists, running "npm install" with no arguments will create a
directory "node_modules" and fetch dependencies.

There are some related improvements to be made, such as editing the Makefile to
point NODE_PATH to this directory.  Actually, I don't know what the recommended
practice is here--seems like this should be in node's default require path.

My focus was on running the tests, not sure about how to reuse this file for
server configuration.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to