Giter Club home page Giter Club logo

node-multidep's People

Contributors

joliss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ngokevin turbo87

node-multidep's Issues

Installing scoped packages broken?

I'm trying to install @babel/core using multidep but I'm seeing the following error:

@babel/core 7.1.0: Installing
Error: ENOENT: no such file or directory, mkdir 'node-tests/multidep_modules/@babel/core-7.1.0'
    at Object.fs.mkdirSync (fs.js:872:3)
    at /Users/tbieniek/Code/ember-test-selectors/node_modules/multidep/index.js:80:18

It seems that the slash in the package name is creating issues within multidep.

Allow installing from GitHub branches

Currently, attempting to install a GitHub branch will break because multidep uses the version name for the directory name. GitHub install looks like user/repo which has a slash, which will break.

I propose specifying an array. The first value is the install target, the second is the directory suffix.

“versions”: {
  // Will be installed at .multidep/mypackage-thatbranch
  “mypackage”: [[“myuser/mypackage#thisbranch”, “thatbranch"]]
}

My use case is to use multidep for installing versioned documentation. The documentation is versioned on NPM, but would like to retroactively apply documentation updates using GitHub branches.

I'm going to work on this now. Let me know if you have suggestions!

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.