I think this is a must, since is the way devs out there work with JS...all
is "npm"-able ;)
So, thanks Om to start the work with this, this should be a great addition
:)

2015-12-02 1:29 GMT+01:00 OmPrakash Muppirala <bigosma...@gmail.com>:

> My first goal is to mimic the Installer to get all the required
> dependencies (AIR, FlashPlayerGlobal.swc, Falcon, Google Closure etc.)  The
> problem here is that except for Google Closure, nothing else is available
> as a require dependency from npm.  And Adobe AIR and Adobe
> FlashPlayerGlobal.swc need license agreement gates before downloading.
>
> So, I am creating a custon node.js module which calls
> download_dependencies.js in the prepublish lifecycle stage file which takes
> care of prompting the user,  downloading, unzipping and copying files into
> place.  So far so good.
>
> The next step would be to register mxmlc, compc, asjsc, etc. with npm (in
> package.json) and be able to call it from the command line.
>
> For the end user, it would be as simple as:
>
> npm install flexjs
> asjac src/HellowWorld.as
>
> I have been committing my changes to the feature-npm-install branch of the
> flex-utilities repo:
>
> https://github.com/apache/flex-utilities/tree/feature-npm-install/npm-flexjs
>
> Right now, I am working on getting the Falcon dependencies working (there
> are about a dozen of them)
>
> If there is a better way to do all this, I would love to hear it :-)
>
> Thanks,
> Om
>
> On Tue, Dec 1, 2015 at 4:12 PM, Josh Tynjala <joshtynj...@gmail.com>
> wrote:
>
> > I saw Om mention Node.js support in another thread.
> >
> > On Tue, Dec 1, 2015 at 3:38 PM, OmPrakash Muppirala <
> bigosma...@gmail.com>
> > wrote:
> >
> > > Right now, I am working on node.js support for FlexJS.
> >
> >
> > It's something that I'm very interested in, and I planned to work on this
> > too, once I found some time. Om, can you go into more detail about how
> > you're planning to implement things? I was personally thinking that
> > metadata might be needed to define what should be passed to require() for
> > modules, but I'd love to hear if you have something else in mind, and
> maybe
> > provide you with some additional feedback.
> >
> > - Josh
> >
>



-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Reply via email to