[jbosstools-issues] [JBoss JIRA] (JBIDE-20842) Need to implement npm support
Ilya Buziuk (JIRA)
issues at jboss.org
Fri Oct 2 08:43:00 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-20842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114547#comment-13114547 ]
Ilya Buziuk edited comment on JBIDE-20842 at 10/2/15 8:42 AM:
--------------------------------------------------------------
After some npm investigation I can claim that npm support covered in the issue description can be implemented pretty easily. However, in order to make the implementation generic I do believe that *org.jboss.tools.jst.js* plugin must be refactored. My proposal is to split it to:
* *org.jboss.tools.jst.js.node* (plugin with generic node tools launch, which will be subclassed for bower, npm etc. Node preferences + some utilities)
* *org.jsboss.tools.jst.js.bower* (bower specific stuff, will have org.jboss.tools.jst.js.node as required bundle )
I think it will simplify the implementation of not only npm but also other node dependent tools (grunt, gulp etc.). It it sounds good I will create another issue for refactoring.
was (Author: ibuziuk):
After some npm investigation I can claim that npm support covered in the issue description can be implemented pretty easily. However, in order to make the implementation generic I do believe that *org.jboss.tools.jst.js* plugin must be refactored. My proposal is to split it to:
* org.jboss.tools.jst.js.node (plugin with generic node tools launch, which will be subclassed for bower, npm etc. Node preferences + some utilities)
* org.jsboss.tools.jst.js.bower (bower specific stuff, will have org.jboss.tools.jst.js.node as required bundle )
I think it will simplify the implementation of not only npm but also other node dependent tools (grunt, gulp etc.). It it sounds good I will create another issue for refactoring.
> Need to implement npm support
> -----------------------------
>
> Key: JBIDE-20842
> URL: https://issues.jboss.org/browse/JBIDE-20842
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: javascript
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Labels: new_and_noteworthy
> Fix For: 4.4.0.Alpha1
>
>
> Initially npm support should include the following commands:
> 1) [init|https://docs.npmjs.com/cli/init] - package.json creation
> 2) [update|https://docs.npmjs.com/cli/update] - updates all the packages listed to the latest version
> 3) [install|https://docs.npmjs.com/cli/install] (no arguments) - Installs the dependencies in the local *node_modules* folder
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list