Comments (12)
I don't know, saw those discussions and you mentioning it in the OP 🙂
from asset-packagist.
You propose to make something like bower-packagist.org and npm-packagist.org ?
Did I get you correctly?
It is possible of course.
But I didn't get any profit for anybody.
Could you please clarify?
from asset-packagist.
Don't need to be separate domains, URLs would be fine:
https://asset-packagist.org/bower
https://asset-packagist.org/npm
As outlined in the linked foxy issue, there's a way to convert requirements like npm-asset
into native package.json
entries, while still keeping the existing syntax (and ability to use ap) in composer.json
. This won't be supported for bower
.
I'd like to have the option to use asset-packagist for bower
, but not for npm
.
from asset-packagist.
Ok, now I see. Good idea.
Need time to investigate it more.
from asset-packagist.
It's only necessary to return only bower packages on bower url.
Or more?
from asset-packagist.
@schmunk42 Good idea! In this case, I can add automatically the asset-packagist
repository in Composer with the Composer Asset Plugin Legacy. If @hiqsol accepts.
from asset-packagist.
@hiqsol In connection with my comment on the problem to create a bridge between CAP/Asset-Packagist and Foxy.
Is it possible for asset-packagist
to return a mock for NPM packages, as well as a ZIP archive containing only a package.json
file with the minimum information?
from asset-packagist.
@francoispluchino Yes, it is possible.
But I'm a bit busy right now and can't spend enough time to read all the given links thoroughly, so I feel that I lose enough understanding what do you want to achieve.
How this mock should look?
If you are ready to make a PR I'll be glad to help.
from asset-packagist.
A package.json
file containing only the name in the ZIP archive. I think it may be generic (like composer-asset-package-mock
). This is only for Composer to not throw an exception for NPM packages.
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 dependencies
and devDependencies
sections of the converted package.json file to composer.json file).
Regarding the ZIP archive downloading, return a ZIP archive for any versions of any packages (without checking).
from asset-packagist.
Stale issue message
from asset-packagist.
Can we reopen this? Seems to be necessary for some improvements in foxy.
from asset-packagist.
Can we reopen this? Seems to be necessary for some improvements in foxy.
@razvanphp How is asset-packagist related to foxy?
from asset-packagist.
Related Issues (20)
- Fetch does not fetch dependencies HOT 1
- asset-packagist.org is down HOT 13
- asset-packagist.org is down again HOT 5
- asset-packagist.org is down again HOT 6
- Unable to search packages from the website because of HiArt Exception HOT 2
- bower-asset/jsoneditor missing tags below 5.24.0 HOT 1
- composer show -t result in error: strtok() expects parameter 1 to be string, null given HOT 3
- Brave browser misidentifying asset-packagist.org HOT 1
- Broken URLs when clicking on "see on Npm"
- bower-asset/imagesloaded not found HOT 2
- Bower package updates are shown fetched but in reality not HOT 2
- packages hijacking HOT 2
- Possible to add version number of package in folder name HOT 3
- Implement "composer audit" for NPM packages HOT 1
- PHP 8 compatibility
- SSL problem HOT 2
- 500 Internal Server Error HOT 1
- Search page shows newer version than detail page HOT 5
- Unable to fetch asset-packagist.org from India HOT 21
- bower-asset/swagger-ui not updated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asset-packagist.