Code Monkey home page Code Monkey logo

Comments (3)

balupton avatar balupton commented on May 27, 2024

Overwritten or merged? Could you provide sample input and output of your dependencies and devDependencies of your bower.json and package.json?

Alternatively, you may need a projectz.cson file if you require more control.

from projectz.

hvoecking avatar hvoecking commented on May 27, 2024

They're overwritten, I wrote a test case (without a projectz.cson file), this is the output:

FAILURE: 1/2 tests ran successfully; 1 failed, 0 incomplete, 1 errors

Error #1:
projectz-dependencies ➞  files ➞  bower.json
AssertionError: expected '{"dependencies":{"package-dependency-1":"version","package-dependency-2":"version"},"devDependencies":{"package-dev-dependency-1":"version","package-dev-dependency-2":"version"}}' to equal '{"dependencies":{"bower-dependency-1":"version","bower-dependency-2":"version"},"devDependencies":{"bower-dev-dependency-1":"version","bower-dev-dependency-2":"version"}}'
    at /tmp/projectz/out/test/dependencies-test.js:51:59
    at fs.js:271:14
    at Object.oncomplete (fs.js:107:15)

npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0

/tmp/projectz/Cakefile:103
      throw err;
            ^
Error: Process exited with error status code
  at ChildProcess.<anonymous> (/tmp/projectz/Cakefile:92:15)
  at ChildProcess.emit (events.js:98:17)
  at maybeClose (child_process.js:755:16)
  at Process.ChildProcess._handle.onexit (child_process.js:822:5)

What options do I need to set in the projectz.cson file? I would not like to get the dependencies merged, since my eg. gulp dependencies are not supposed to end up in my bower components directory.

from projectz.

pflannery avatar pflannery commented on May 27, 2024

I get the same problem.
I don't think we should to try to merge npm and bower dependencies but the license, description and keywords etc should be merged (currently not working for bower)

from projectz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.