0.1.5 • Published 1 year ago

@brillout/dev-my-dep v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Dev My Dep

Little tool to seamlessly develop dependencies.

# Install `dev-my-dep`
$ pnpm install --dev @brillout/dev-my-dep
# Develop `some-dependency`
$ pnpm exec dev-my-dep some-dependency
  1. Automatically fetches the Git repository of some-dependency at $root/deps/some-dependency/

    $root is your pnpm workspace's root directory.

    Add /deps/ to $root/.gitignore.

    dev-my-dep determines the Git repository's URL by reading some-dependency's package.json#repository.

  2. Automatically runs pnpm install in $root/deps/some-dependency/

  3. Automatically symlinks $cwd/node_modules/some-dependency/ to $root/deps/some-dependency/.

    $cwd is the current working directory (process.cwd())

    You need to run the dev-my-dep CLI at the workspace's package that uses some-dependency.

  4. Prints the version status of some-dependency.

    Current semver: some-dependency@^0.1.0
    Latest version: some-dependency@0.1.0

Only works with pnpm. (Supporting other package managers is a non-goal.)

0.0.11

1 year ago

0.1.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago