3.0.3 • Published 7 years ago

johnny-dep v3.0.3

Weekly downloads
19
License
ISC
Repository
github
Last release
7 years ago

johnny-dep

Helps you to work with git dependencies.

workflow

Here's how Johnny Dep would like to help you manage your git dependencies:

setup

  1. git clone && npm i as normal, this installs third party dependencies.
  2. npm run johnny (which will run johnny-dep sync-npm-git-dependencies), this installs your npm git dependencies, cloning and building the repos at ../ and simulating flat dependency structure using symlinks.
  3. npm run dev

add an npm dependency

  1. cd into the repo where you want to add the dependency
  2. johnny-dep remove-symlinks (requires globally installed johnny-dep)
  3. npm install your favourite dependency
  4. cd into the main project
  5. npm run johnny

add a git dependency

  1. open the package.json of your project
  2. add your git pointer to the johnnyDep.npmGitDependencies Array in this format: [org]/[repo]#[branch]
  3. npm run johnny

commands

sync-npm-git-dependencies

Installs your npm git dependencies, cloning and building the repos at ../ and simulating flat dependency structure using symlinks.

remove-symlinks

Removes all the symlinks johnny created so that npm or yarn can do their job.

publish-npm-git-dependencies

UNDER CONSTRUCTION

  • traverses git dependencies, for every dep
    • publish nested
    • check if up to date with remote
    • update package.json to use published things
    • run build
    • update package.json
    • publish branch
3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago