-
Notifications
You must be signed in to change notification settings - Fork 25
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
Provide separate URLs for bower and npm assets #67
Comments
You propose to make something like bower-packagist.org and npm-packagist.org ? |
Don't need to be separate domains, URLs would be fine:
As outlined in the linked foxy issue, there's a way to convert requirements like I'd like to have the option to use asset-packagist for |
Ok, now I see. Good idea. |
It's only necessary to return only bower packages on bower url. |
@schmunk42 Good idea! In this case, I can add automatically the |
@hiqsol In connection with my comment on the problem to create a bridge between CAP/Asset-Packagist and Foxy. Is it possible for |
@francoispluchino Yes, it is possible. How this mock should look? |
A Regarding the resolution of package dependencies, I don't know how your server work, but to make it simple, a Composer package mock must be created for each asset package version required during the resolution (retrieved from the true package.json file, but with empty lists for Regarding the ZIP archive downloading, return a ZIP archive for any versions of any packages (without checking). |
Stale issue message |
Can we reopen this? Seems to be necessary for some improvements in foxy. |
@razvanphp How is asset-packagist related to foxy? |
I don't know, saw those discussions and you mentioning it in the OP 🙂 |
Could you provide separate URLs for bower and npm assets?
The background is that, while
composer
andbower
work in a similar way concerning flat-installation of dependencies,npm
works completely different. See detailsThis might (will) lead to other solutions regarding management of
npm
packages, ie. fxpio/foxy#8 - while using asset-packagist for bower still is a very practical solution.By having separate URLs developers could choose freely which service they use for which packages.
The text was updated successfully, but these errors were encountered: