Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 11 compatibility #307

Open
betosalvador opened this issue Nov 25, 2020 · 9 comments
Open

Angular 11 compatibility #307

betosalvador opened this issue Nov 25, 2020 · 9 comments

Comments

@betosalvador
Copy link

Hi everyone.

Do you have any idea when the nativescript schematics will be updated to support angular 11??

thanks in advance

@agonper
Copy link
Contributor

agonper commented Apr 21, 2021

This is fixed in #314

@agonper
Copy link
Contributor

agonper commented Apr 21, 2021

This one too, @NathanWalker (sorry for the @mention spam)

@iameduardod
Copy link

When will this be updated to for nativescript 8? @NathanWalker @agonper

@agonper
Copy link
Contributor

agonper commented Apr 22, 2021

Hi @iameduardod, it should be working already with a minimal functionality if you install the schematics version 11.2.0-rc.0. You'll need Angular 11.2 and TypeScript ~4.1.0. Hope this helps.

If you can try it out, please share with us if it works for you.

@iameduardod
Copy link

iameduardod commented Apr 22, 2021

So these steps to update to from a clean base? @agonper

  1. ng new --collection=@nativescript/schematics my-test-app --shared
  2. tns migrate
  3. ng update @angular/[email protected] @angular/[email protected]
  4. npm install --save-dev [email protected]
  5. npm install --save-dev @nativescript/[email protected]

@agonper
Copy link
Contributor

agonper commented Apr 23, 2021

@iameduardod I haven't tested with a shared project, but those dependency versions look good to me. Would be great to know if that still works.

However, if you are starting a fresh code sharing project with NS8 the recommendation from the NS team is to use any of these options instead: https://docs.nativescript.org/code-sharing

[email protected] are only guaranteed to work for NS NG component and module generation only.

@iameduardod
Copy link

@agonper Thanks for sharing that link! Are those options going to replace nativescript-schematics? ETA for when nativescript-schematics will be sunset?

@agonper
Copy link
Contributor

agonper commented Apr 23, 2021

Hi @iameduardod

Are those options going to replace nativescript-schematics?

For what the NS team says (source, slack community channel) that seems the plan, yes.

ETA for when nativescript-schematics will be sunset?

I cannot give you an answer to that question (I'm not part of the NS team, just helping them where I can). Perhaps @NathanWalker can give you an answer given he's in charge of the development of @nativescript/nx and @nstudio/xplat

@iameduardod
Copy link

@agonper Thank you so much for the insights!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants