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

Update package.json #6

Merged
merged 2 commits into from
Mar 5, 2020
Merged

Update package.json #6

merged 2 commits into from
Mar 5, 2020

Conversation

nahue
Copy link
Contributor

@nahue nahue commented Mar 3, 2020

Updates peer dependencies so it can be installed in Angular 9 without warnings

Updates peer dependencies so it can be installed in Angular 9 without warnings
@nahue nahue self-assigned this Mar 3, 2020
@mroloux
Copy link
Member

mroloux commented Mar 4, 2020

Do you think we should switch to Angular 9 in our test app as well? Currently it's set to Angular 7.2

@nahue
Copy link
Contributor Author

nahue commented Mar 4, 2020

But that would involve upgrading the compiler as well.. and that might break backwards compatibility

@mroloux
Copy link
Member

mroloux commented Mar 4, 2020

Backwards compatibility? Is that an issue for the test app?

@mroloux
Copy link
Member

mroloux commented Mar 4, 2020

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 🤔

@nahue
Copy link
Contributor Author

nahue commented Mar 4, 2020

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.

@mroloux
Copy link
Member

mroloux commented Mar 4, 2020

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?

@nahue
Copy link
Contributor Author

nahue commented Mar 4, 2020

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)

@mroloux
Copy link
Member

mroloux commented Mar 5, 2020

Approving - let's do a followup PR to upgrade the Angular version

@nahue nahue merged commit ae1e2a3 into master Mar 5, 2020
@nahue nahue deleted the nahuel/update_peer_dependencies branch March 5, 2020 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants