karma-jasmine-jquery icon indicating copy to clipboard operation
karma-jasmine-jquery copied to clipboard

Removed bower dependency

Open AStoker opened this issue 9 years ago • 21 comments

removed unneeded bower dependency. https://github.com/bessdsv/karma-jasmine-jquery/issues/8

AStoker avatar Nov 18 '15 21:11 AStoker

+1

jonhunter1977 avatar Nov 23 '15 16:11 jonhunter1977

:+1:

jamesmorgan avatar Nov 23 '15 16:11 jamesmorgan

:+1:

jamlen avatar Nov 24 '15 09:11 jamlen

It is sad that I need to give a :+1: for an issue thas is known for almost a year.

julkue avatar Dec 11 '15 14:12 julkue

@bessdsv If you aren't able to merge this important PR and fix issues, could you please consider to add some contributors to do so?

julkue avatar Dec 14 '15 20:12 julkue

I use those dependencies for installing last versions of internal libraries (jquery & jasmine-jquery) and make some magic. And i use github fork project because contributor of bower-installer project can't merge my pull request or other pull request with one feature what i need. I can delete dependencies but after that all people, who use this library, must upgrade libraries manually. or i must make new commits with new libraries' versions. do you have some ideas?

bessdsv avatar Dec 19 '15 19:12 bessdsv

You don't need to bring in Bower as a dependency. If you list the dependencies you need (such as jQuery and jasmine-jquery) in the package config (as well as the bower.json), then if you're pulling the library down with bower, jspm, or whatever, it should pull down any needed dependencies. And from what you're telling me, it sounds like you use bower as a dev-dependency, so in that case it definitely shouldn't be included. What goes out the the end use should only be what's needed for the actual project, ideally.

AStoker avatar Dec 19 '15 19:12 AStoker

Bump

AStoker avatar Jan 12 '16 00:01 AStoker

Totally agree with @AStoker . Would be nice to get rid of bower; and then allso the custom install-script of this, otherwise, well working plugin

hansogj avatar Apr 08 '16 08:04 hansogj

@bessdsv, any update? Is there any new development on this repo?

AStoker avatar Apr 19 '16 13:04 AStoker

@AStoker if @bessdsv does not reply within 7 days, could you please fork this repository and fix that issue?

julkue avatar Apr 19 '16 13:04 julkue

@julmot, can do

AStoker avatar Apr 19 '16 13:04 AStoker

@julmot patch-1 branch of the fork has been merged with the master, and a release has been made. https://github.com/AStoker/karma-jasmine-jquery/ Registered under the name karma-jasmine-jquery-2 to avoid naming conflicts with the original (unfortunately). But you can download with with jspm, npm, or bower.

AStoker avatar Apr 27 '16 15:04 AStoker

@bessdsv if this ever get's merged in, I'll mark the branch I created as deprecated (but leave it up) and point it back to the master.

AStoker avatar May 03 '16 13:05 AStoker

@bessdsv Take care of this issue.

julkue avatar May 31 '16 18:05 julkue

@bessdsv Please also specify where exactly you need that bower dependency. I searched your code for any bower call unsuccessfully.

julkue avatar May 31 '16 18:05 julkue

bump

AStoker avatar Aug 18 '16 13:08 AStoker

Thanks @AStoker. I'm reviving an old project and this package was causing npm install to fail for me. Moving to karma-jasmine-jquery-2 fixed it right away.

djskinner avatar Jun 30 '17 13:06 djskinner

If anyone's interested I published karma-jasmine-jquery. The package has no dependencies and let you choose your version of jasmine-core karma-jasmine jasmine-jquery.

pvdlg avatar Jul 15 '17 23:07 pvdlg

You don't have to move anything, just fork, make the change and adapt your package.json. Here is how I fixed the dependency problem (after I made the changes):

"karma-jasmine-jquery": "[email protected]:serbanghita/karma-jasmine-jquery.git#master",

serbanghita avatar May 10 '18 12:05 serbanghita

@bessdsv , can you merge either this PR or https://github.com/bessdsv/karma-jasmine-jquery/pull/16. There is a lot of npm audit error due to use of the older version of bower in dependencies. Below is the npm audit report -

found 29 vulnerabilities (7 low, 17 moderate, 4 high, 1 critical) in 30478 scanned packages
  29 vulnerabilities require manual review. See the full report for details.

Full Report - report.txt

ashvin777 avatar Oct 12 '18 06:10 ashvin777