aspnet / jquery-validation-unobtrusive

Add-on to jQuery Validation to enable unobtrusive validation options in data-* attributes.
MIT License
257 stars 113 forks source link

Cannot install these using the client side library manager instead of using the nuget packages. #162

Open AraHaan opened 1 year ago

AraHaan commented 1 year ago

The following can be installed using the client side library manager:

image

However, as you can see, the 2 scripts that are not selected cannot which is sad, and I feel like they should be able to be installed that way as well (instead of as nuget packages) as an option.

AraHaan commented 1 year ago

Also, I think that this package should outright depend on the fact that they really should be getting those other packages using that client-side library manager over the nuget package versions of them due to various reasons.

  1. They could always decide to stop shipping nuget packages of their libraries and only ship to npm / the domains that the client-side library manager can install from.
  2. They could sometimes ship security fixes to those places much faster than to nuget.org.

Because of those reasons I think it would be great to actually remove the dependance packages of the package versions of jquery and the jquery validation packages in favor of that feature, if the developer wants to use the package versions of those then that is on them and not on the aspnet team.

AraHaan commented 1 year ago

Looks like I looked in the wrong place to find the unobtrusive scripts from the client-side library manager, but will still modify the nuget package version though to let them know that it is recommended to use that manager over the packages.