`aurelia-deps-finder` is a utility package specifically designed to assist the `dumber` bundler in identifying and resolving dependencies within Aurelia v1 projects. It provides a specialized `depsFinder` function that `dumber` integrates into its bundling process to correctly map modules and their interdependencies within an Aurelia v1 application's structure. The current stable version is 2.1.7. This package is explicitly *not* required for Aurelia 2 (vNext) projects, as Aurelia 2 utilizes different dependency resolution mechanisms or leverages modern bundler capabilities directly, making this tool obsolete for newer versions of the framework. Its release cadence is tightly coupled to the maintenance of the Aurelia v1 ecosystem. Its key differentiator is its specialized, deep understanding of Aurelia v1's unique module loading patterns, making it an essential component for legacy build setups using `dumber` for Aurelia v1 applications.
npm install aurelia-deps-finderVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to integrate `aurelia-deps-finder` into a `gulp-dumber` build process for an Aurelia v1 application.
For Aurelia 2, remove `aurelia-deps-finder` from your build configuration. Aurelia 2 handles dependency resolution natively or through standard bundler plugins.
Ensure you are using CommonJS `require` syntax: `const auDepsFinder = require('aurelia-deps-finder');`. Configure your bundler or TypeScript `tsconfig.json` to properly handle CommonJS modules if mixing with ESM.Use the CommonJS `require` syntax: `const auDepsFinder = require('aurelia-deps-finder');`. This package exports a single function directly.