-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update package.json #6
Conversation
Updates peer dependencies so it can be installed in Angular 9 without warnings
Do you think we should switch to Angular 9 in our test app as well? Currently it's set to Angular 7.2 |
But that would involve upgrading the compiler as well.. and that might break backwards compatibility |
Backwards compatibility? Is that an issue for the test app? |
Ideally we should have 2 test apps - one one Angular 7, and one on Angular 9. That way we can easily test whether changes to the client still work on old and new Angular versions. I wonder how other Angular plugins tackle this 🤔 |
Of course but if you take a look.. testApp does not have a package.json file.. it uses the main one... so it uses the same dependencies from seatsio-angular. |
Yes, but I think we only push the built seatsio-angular subproject to npmjs. Which is just the client, not the sample project. So we're free to upgrade the Angular version used by our sample project. Or create another one next to it. Unless I'm missing something? |
The problem is that Angular treats this as a whole project.. with a library (seatsio-angular) and a app (testApp) but it uses the same dependencies for both. What we could do.. is create a monorepo with lerna, and inside create the angular project.. and as siblings.. two more with different versions. (thats too much effort for this i know) |
Approving - let's do a followup PR to upgrade the Angular version |
Updates peer dependencies so it can be installed in Angular 9 without warnings