JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q55597F
  • License MIT

Autonomously determine correct version of all the things.

Package Exports

  • package-json-manager
  • package-json-manager/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (package-json-manager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Package JSON Manager

  • Rule #1: There are no rules
  • Rule #2: Everything must be unit tested
  • Rule #3: If you can be anything in life be kind

Version Finder Logo

Package JSON Manager. Confirm that all packages can be correctly installed in a package json. This library will enable foundation for something like

npm install @ngrx/store

and npm automatically installing the right version.

Documentation

Package Json Version Utils

// method to dynamically find package json
const packageJsonPath = findPackageJson(__dirname, )
// absolute path to directory
const projectDependencies = getProjectDependencies(packageJsonPath);
// languagesUsed will return e.g. ['angular', 'react', 'vue'];
const languagesUsed = determineLanguagesUsed(projectDependencies);
// languagesUsedWithVersionUsed will return e.g. ['angular-7.0.0', 'react-16.7.0', 'vue-15.0.0']
const languagesUsedWithVersionUsed = determineLanguagesWithVersionUsed(projectDependencies);

Note: We will soon have a separate documentation site for Package JSON Manager.