Nx: Integrate NativeScript Schematics w/ Angular 7

Created on 22 Oct 2018  路  6Comments  路  Source: nrwl/nx

With the release of Angular 7, NativeScript CLI tools are integrated with angular to produce scaffolding. It would be awesome if Nx could integrate as well.

question / discussion

Most helpful comment

Hi @tommyc38,
I think the integration with Nx and Nativescript is already done via @NathanWalker's library xplat: https://github.com/nstudio/xplat.

All 6 comments

Hi @tommyc38,
I think the integration with Nx and Nativescript is already done via @NathanWalker's library xplat: https://github.com/nstudio/xplat.

Thanks @bcabanes - it鈥檚 possible to integrate {N} schematics with xplat as well. The approaches are slightly different as they both address 2 different use cases.
@tommyc38 you might give both a try and share your thoughts on your use case with them.

hi @NathanWalker

Maybe a bit off topic, sorry for that. I read on your website that you are planning to integrate electron as well. I had to create an electron app recently and I am in the middle of refactoring my custom integration. Maybe there is a preview version of that available somewhere, or can you expand on that somehow, how your solution would look like?

Hi @skydever you can check out preview of some contributor changes here:
https://github.com/miguelramos/xplat/commit/49b6471e0a63c86b9ea61156bd11768eff6756cc
And here for good reasonable default app setup:
https://github.com/miguelramos/xplat/commit/70bf54bc5b11d43f2181ac058ca39896bc816e20
The aim would be for electron to be as seamless and consistent as the other app generators as well as play nicely with the entire setup to maximize reuse across multiple electron apps or any platform which makes sense in the workspace.

@tommyc38 this is also what sets xplat in slightly different use case category than just {N} schematics since xplat鈥檚 aim is to maintain interop scalability and harmony across multiple platforms in a single Nx workspace.

thank you @NathanWalker 馃憤

@NathanWalker , thank you for the response. Your project looks sweet! I am not quite clear on what the different use cases are for {N} schematics vs xplat given I've never built anything with {N} but plan to. I saw the release notes of Angular 7 and saw there were schematics to remove the boiler plate setup and thought this would be amazing for Nx--assuming it wouldn't work out of the box correctly in an Nx workspace. I look forward to giving your library a shot when the time comes in the next few months!

Was this page helpful?
0 / 5 - 0 ratings