1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00
ssh-key-action/node_modules/npm-check-updates/lib/package-managers
2019-09-18 20:39:54 +09:00
..
bower.js * first action! (#1) 2019-09-18 20:39:54 +09:00
index.js * first action! (#1) 2019-09-18 20:39:54 +09:00
npm.js * first action! (#1) 2019-09-18 20:39:54 +09:00
README.md * first action! (#1) 2019-09-18 20:39:54 +09:00

To add support for another package manager, drop in a module with the following interface:

{
    list: (npmOptions) => Promise<{ NAME: VERSION, ... }>
    latest: (String pkgName) => Promise<String> version
    newest: (String pkgName) => Promise<String> version
    greatest: (String pkgName) => Promise<String> version
    greatestMajor: (String pkgName, String currentVersion) => Promise<String> version
    greatestMinor: (String pkgName, String currentVersion) => Promise<String> version
}
  • latest and greatest are expected to reject with '404 Not Found' if the package is not found