Hi Harbs,

El mié., 3 oct. 2018 a las 11:54, Harbs (<[email protected]>) escribió:

> I agree that it would be great to make it easier to use Node. There are
> some sticking points currently. To answer your points:
>
> 1. Yes. It’s kind of similar in that it declares dependencies and
> optionally build tasks. Although there’s not necessarily a build step at
> all in Node.js. It’s worth pointing out that there are some new
> developments on the Node dependency front (besides Yarn and Turbo).[1]
>
>
thanks, that's what I expected



> 2a) This is a problem. You’d either used untyped variables or create
> Typedefs. I’d really like to get support for Typescript definition files
> directly some day. Most popular nom packages have Typescript definition
> files.
>

So maybe the solution would be the use dts2as:

https://joshblog.net/2015/introducing-nextgen-actionscript/

there's another tutorial from josh that we can publish.

A side from this, I still think that adding TS at the same level than AS3
would be a great movement for Royale, Although the task will be not
trivial, probably most of the needed pieces are out there to use (TS Antlr
grammar, lever, and so on....), we just need someone with the interest,
time and dedication to make this real...


>
> 2b) Linking is done using require(). This “just works” as long as the node
> modules are installed.


...and I assume if you used package.json to download the dependencies, the
modules should be installed.


> Some tooling for debugging  and releasing would probably be helpful though.
>

Ok, but I expect Debugging to be the same we already have in Royale
(although in parallel, I think debugging still has some issues to solve,
but not related to this).

Thanks

Carlos



>
> HTH,
> Harbs
>
> [1]
> https://blog.npmjs.org/post/178027064160/next-generation-package-management
>
> > On Oct 3, 2018, at 12:06 PM, Carlos Rovira <[email protected]>
> wrote:
> >
> > Ok! publishing! :)
> >
> > While I publish I want to do share some thoughts I had today with friends
> > that use Node. They say that we need to make it as easy as possible to
> work
> > with Node since today is what front end devs use. So it's a must for us
> to
> > succeed in the current JS world. So tow things:
> >
> > 1.- package.json :  I assume that this is like build.xml or pom.xml. And
> > people expect to add JS libraries and those ones could bring other
> > dependencies as well. For me this is in the Node world and in Royale we
> > don't need to do more.
> >
> > 2.- Once we have a node dependency downloaded in our local repo, we need
> to
> > be able to use easily. Two things comes to my mind here:
> >       a) how we use the code directly in AS3 for a node library
> >       b) how we link the library and it's dependencies quickly (until now
> > we link via inject, from a CDN, but that's not what a node dev expect)
> >
> > hope you could share thoughts about this process to discover if we cover
> it
> > completely or we have black spots.
> >
> > thanks
> >
> >
> >
> >
> > El mié., 3 oct. 2018 a las 10:45, Harbs (<[email protected]>)
> escribió:
> >
> >> I’m done. I think it’s good to go.
> >>
> >> Harbs
> >>
> >>> On Oct 3, 2018, at 11:37 AM, Harbs <[email protected]> wrote:
> >>>
> >>> I’m making a few small changes/corrections. I’ll be done in a few
> >> minutes.
> >>>
> >>>> On Oct 3, 2018, at 11:24 AM, Carlos Rovira <[email protected]>
> >> wrote:
> >>>>
> >>>> Hi, I think a catch with all revisions. Please let me know if it's ok
> >> to go:
> >>>>
> >>>>
> >>
> https://royale.codeoscopic.com/hello-node-how-to-transpile-actionscript-for-node-js/
> >>>>
> >>>> about Royale 0.8 to 0.9.4 change, I 'm not sure is what we want, since
> >> the
> >>>> node support was from 0.8 and we still didn't release 0.9.4...is
> right?
> >>>>
> >>>> Thanks
> >>>>
> >>>> Carlos
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> El mié., 3 oct. 2018 a las 9:19, Harbs (<[email protected]>)
> >> escribió:
> >>>>
> >>>>> Agree. Remove the section about “This tutorial was made possible”,
> and
> >>>>> link to Josh’s site in the top box.
> >>>>>
> >>>>>> On Oct 3, 2018, at 2:24 AM, Alex Harui <[email protected]>
> >> wrote:
> >>>>>>
> >>>>>> Personally, I don't have a problem, but I think Apache doesn't like
> >>>>> anything that implies that Apache pays for code.
> >>>>>> IMO, the wording of that section does not say that Apache paid for
> >>>>> anything, but it still talks about money and people can get the wrong
> >>>>> impression.
> >>>>>>
> >>>>>> I would suggest removing that section.  Maybe in the top section
> where
> >>>>> Josh's name is mentioned, make it a link to wherever Josh wants it to
> >> go
> >>>>> that will tell people more about Josh and how he gets funding.
> >>>>>>
> >>>>>> Couple of small things I noticed:
> >>>>>>
> >>>>>> "donated to this website" --> "donated to Apache Royale"
> >>>>>> "Royale 0.8" --> "Royale 0.9.4".
> >>>>>>
> >>>>>> My 2 cents (dang, I'm mentioning money again!),
> >>>>>> -Alex
> >>>>>>
> >>>>>> On 10/2/18, 3:50 PM, "Carlos Rovira" <[email protected]>
> >> wrote:
> >>>>>>
> >>>>>> One latest thing. There’s a mention to yeti, moonshine and josh’s
> >>>>> patreon
> >>>>>> account. It’s ok to left as is? Just to ensure all is correct
> >>>>>>
> >>>>>> Thanks!
> >>>>>>
> >>>>>> El El mié, 3 oct 2018 a las 0:41, Carlos Rovira <
> >>>>> [email protected]>
> >>>>>> escribió:
> >>>>>>
> >>>>>>> Hi ,
> >>>>>>>
> >>>>>>> just introduced and edited NodeJS tutorial in pre site:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.codeoscopic.com%2Fhello-node-how-to-transpile-actionscript-for-node-js%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C9dc0854917ab4b8d910908d628b97319%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741174301497910&amp;sdata=54snzCFJPohBfKCKj7egocm83yt88ifgEHvzanzWd4c%3D&amp;reserved=0
> >>>>>>>
> >>>>>>> If someone could check if all is ok and even try the example, it
> >> would
> >>>>> be
> >>>>>>> great I run out of time and could try my self.
> >>>>>>>
> >>>>>>> If all is ok, I can publish in r.a.o tomorrow morning
> >>>>>>>
> >>>>>>> thanks
> >>>>>>>
> >>>>>>> Carlos
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> El mar., 2 oct. 2018 a las 19:17, Andrew Wetmore (<
> >> [email protected]
> >>>>>> )
> >>>>>>> escribió:
> >>>>>>>
> >>>>>>>> This will be a great addition. Thanks, Josh!
> >>>>>>>>
> >>>>>>>> On Tue, Oct 2, 2018 at 2:06 PM Carlos Rovira <
> >> [email protected]>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>> I contacted today Josh Tynjala, looking for the NodeJS tutorial
> he
> >> did
> >>>>>>>> that
> >>>>>>>>> I could not find.
> >>>>>>>>> It seems he refactored his site and change domain and the
> tutorials
> >>>>>>>> aren't
> >>>>>>>>> not available
> >>>>>>>>> I asked Josh to republish those tutorials on royale website with
> >> the
> >>>>>>>>> revision to update from FlexJS to Royale.
> >>>>>>>>>
> >>>>>>>>> He did the permission, and as well for anything he's part of this
> >>>>>>>> project
> >>>>>>>>> and PMC, so don't know if needs to expressly
> >>>>>>>>> notifiy here about the donation of this material
> >>>>>>>>>
> >>>>>>>>> In the other hand I want to expose here if we are all ok to
> >> republish
> >>>>>>>> this
> >>>>>>>>> tutorials in our website.
> >>>>>>>>>
> >>>>>>>>> I'll take the opportunity to say thanks to Josh for his generous
> >>>>>>>> donation!
> >>>>>>>>> Thanks Josh! :)
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> Carlos Rovira
> >>>>>>>>>
> >>>>>
> >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C9dc0854917ab4b8d910908d628b97319%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741174301654157&amp;sdata=vnLcJT%2F4C9zhFo%2BbZRwNmw3r94Y2uB1EjYP1Gf%2FGda0%3D&amp;reserved=0
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Andrew Wetmore
> >>>>>>>>
> >>>>>>>>
> >>>>>
> >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C9dc0854917ab4b8d910908d628b97319%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741174301654157&amp;sdata=THdcEADC8cBa%2F8KkHNxPvZm0%2FVl3AhzoYDMFY2OSKdE%3D&amp;reserved=0
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Carlos Rovira
> >>>>>>>
> >>>>>
> >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C9dc0854917ab4b8d910908d628b97319%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741174301654157&amp;sdata=vnLcJT%2F4C9zhFo%2BbZRwNmw3r94Y2uB1EjYP1Gf%2FGda0%3D&amp;reserved=0
> >>>>>>>
> >>>>>>> --
> >>>>>> Carlos Rovira
> >>>>>>
> >>>>>
> >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C9dc0854917ab4b8d910908d628b97319%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741174301654157&amp;sdata=vnLcJT%2F4C9zhFo%2BbZRwNmw3r94Y2uB1EjYP1Gf%2FGda0%3D&amp;reserved=0
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> Carlos Rovira
> >>>> http://about.me/carlosrovira
> >>>
> >>
> >>
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to