Giter Site home page Giter Site logo

npm-svn's Introduction

npm-svn

Allow to install node modules from svn repos.

Dependency Status

NPM

WARNING

Installing this module will make changes to your project's package.json file.

Installing this module via npm install will add an install hook to your project's package.json. Once this hook is added any time your run npm install for your project npm-svn looks through your package.json file for an svnDependencies block where you can list your subversion stored node modules.

Result of each module setup is cached in module directory.

To clean cache - remove node_modules/npm-svn/.cache file

Getting Started

Make sure that you have svn command line tools

Install with npm install --save npm-svn

"dependencies": {
  "npm-svn": "latest"
}

After installing npm-svn you may use list dependencies from subversion repositories in your package.json under a "svnDependencies" key. e.g.

"svnDependencies": {
  "svn-module": "svn://path/to/svn/repo",
  "svn-module@tag": "svn://path/to/svn/repo",
  "svn-module@tag|revision": "svn://path/to/svn/repo",
}

Documentation

When uninstalling this module make sure the install hook has been removed. This should happen automatically when you npm uninstall npm-svn and only be necessary if you manually uninstall the module by deleting the files and removing entries from your package.json.

Authentication

Use in package.json for adding custom options into svn cmd

"svnOptions": {
  "username": "user",
  "password": "password",
  "no-auth-cache": true
}

TODO

  • refactoring
  • svn tags path config
  • tests
  • console tools

License

Copyright (c) 2015-2017 Eugene A. Molchanov

Licensed under the ISC license.

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.