/npm-git-deps-testing

Testing for NPM git dependency management

npm-git-deps-testing

Testing of NPM's management of git dependencies.

What is this?

This library has three tags:

  • v1.0.0 which has a bunch of devDependencies that are slow to install but no NPM scripts
  • v2.0.0 which has a bunch of devDependencies that are slow to install and a prepare script
  • v3.0.0 which has a bunch of devDependencies that are slow to install and a build script
  • v4.0.0 which has a bunch of devDependencies that are slow to install and a build script that exits with an error
  • v5.0.0 which has a bunch of devDependencies that are slow to install and a prepare script that exits with an error

Running the tests

  • Set up a local npm package (e.g. using npm init)
  • Install the different versions using, e.g. npm --verbose install paulbrimicombe/npm-git-deps-testing#semver:1.0.0
  • If you're using npm 6, versions 1.0.0, 3.0.0 and 4.0.0 will be fast to install but 2.0.0 will be slow and 5.0.0 will error (because of the error in the prepare script)
  • If you're using npm 8, version 1.0.0 will be fast but 2.0.0, 3.0.0 and 4.0.0 will be slow and 5.0.0 will error (because of the error in the prepare script)