0.0.1-beta.0 • Published 3 months ago

automated-dependency-system v0.0.1-beta.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

Automated Dependency System (ADS)

This package implements an automated dependency system (ADS) built with Domain‑Driven Design. It scans for CVEs, enforces version locking, blocks unauthorized dependency changes, and more.

How to Use the ADS Package

Installation:

npm install -g automated-dependency-system

Configuration:

  • To override ADS behavior for local package development, create a .melignore file in your project root (one project name per line).
  • Set the maintainer (for adding/removing dependencies) by setting an environment variable, for example:
export ADS_MAINTAINER=your_username

Instead of calling npm directly, use the ADS CLI to trigger ADS checks automatically:

ads check           # Run all ADS checks (CVE scanning, cleaning, locking)
ads install         # Run npm install (only from package.json)
ads build           # Run npm build (via "npm run build")
ads clean-install   # Run npm ci
ads add foo 1.2.3   # Add a new dependency (if you’re the maintainer)
ads remove foo      # Remove a dependency (if you’re the maintainer)
ads allowed-versions foo  # List the three most recent versions available for "foo"

Integration:

You can also import and use ADS programmatically in your own build scripts:

const createADS = require('automated-dependency-system');
const { dependencyService } = createADS(process.env.ADS_MAINTAINER || 'defaultMaintainer');

(async () => {
    await dependencyService.runADSChecks();
    // Proceed with your npm commands…
})();
0.0.1-beta.3

3 months ago

0.0.1-beta.2

3 months ago

0.0.1-beta.1

3 months ago

0.0.1-beta.0

3 months ago