
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
analyze-ember-project-dependencies
Advanced tools
Analyze dependencies of an Ember project
Both Embroider and pnpm ask that packages declare their dependencies correctly. The codemod (really, a linter) performs a static code analysis so that you can easily find missing and unused dependencies.
For more information, see Fixing Package Dependencies.
Step 1. Run the codemod (e.g. at the workspace root of a monorepo).
cd <path/to/your/project>
npx analyze-ember-project-dependencies
Step 2. Check the output for true positives.
By default, apps and addons follow the flat component structure for components. Pass --component-structure to indicate otherwise.
npx analyze-ember-project-dependencies --component-structure nested
Pass --root to run the codemod somewhere else (i.e. not in the current directory).
npx analyze-ember-project-dependencies --root <path/to/your/project>
The codemod is designed to cover typical cases. It is not designed to cover one-off cases.
To better meet your needs, consider cloning the repo and running the codemod locally.
cd <path/to/cloned/repo>
# Compile TypeScript
pnpm build
# Run codemod
./dist/bin/analyze-ember-project-dependencies.js --root <path/to/your/project>
[!IMPORTANT]
The codemod uses a list called
KNOWN_ENTITIESto analyze implicit code. The list accounts for packages that live outside of your project. It isn't meant to be (and doesn't have to be) exhaustive.You can modify
KNOWN_ENTITIESto get more accurate results.
src/utils/find-entities/known-entities.tsconst KNOWN_ENTITIES = new Map<PackageName, Partial<ProjectDataEntities>>([ [ '@ember/render-modifiers', { modifiers: ['did-insert', 'did-update', 'will-destroy'], }, ], // ... ]);
See the Contributing guide for details.
This project is licensed under the MIT License.
FAQs
Analyze dependencies of an Ember project
The npm package analyze-ember-project-dependencies receives a total of 49 weekly downloads. As such, analyze-ember-project-dependencies popularity was classified as not popular.
We found that analyze-ember-project-dependencies demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.