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

Duplicate package.json dependencies #840

Closed
codedmonkey opened this issue Nov 29, 2021 · 1 comment · Fixed by #841
Closed

Duplicate package.json dependencies #840

codedmonkey opened this issue Nov 29, 2021 · 1 comment · Fixed by #841

Comments

@codedmonkey
Copy link
Contributor

👋

I've been experimenting with creating my own Symfony UX-like bundle (this one). Although the Flex documentation is limited it's working great.

One problem I've been encountering is that on every update of Composer, Flex tries to add my bundle's autoimport libraries to the devDependencies section of the package.json. Awesome, of course, but in this case I already added it to the dependencies section myself.

My request is that Flex checks if the library is already defined under the dependencies section before it adds it to the devDependencies section. I can make a PR myself if it helps!

@stof
Copy link
Member

stof commented Nov 29, 2021

this makes sense IMO. Contributions are welcome to fix this.

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

Successfully merging a pull request may close this issue.

2 participants