npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ember-outdated

v1.0.0

Published

A CLI tool that shows you what dependencies in an ember-cli project are outdated.

Downloads

8

Readme

ember-outdated

This command-line tool helps identify which dependencies in an Ember CLI project are out-of-date.

Install

ember-outdated can either be installed locally or in each Ember project you'd like to use it in.

Global Install

npm install -g ember-outdated

Per-Project Install

npm install ember-outdated --save-dev

Usage

If you installed globally, run ember-outdated from within an Ember CLI application that has already had its dependencies installed.

$ cd my-awesome-ember-cli-app
$ ember-outdated

If you installed directly in your project:

$ cd my-awesome-ember-cli-app
$ ./node-modules/bin/ember-outdated

npx

ember-outdated also works beautifully with npx.

$ cd my-awesome-ember-cli-app
$ npx ember-outdated

Example

Here's the output of running ember-outdated against the frontend for Wordset. ember-outdated for Wordset

How to Interpret

The output of ember-outdated is divided into four columns, Location, Package, Target, Latest, and ember-cli.

  • Location: Either package.json (for npm dependencies) or bower.json (for Bower dependencies).
  • Package: The name of the package.
  • Target: The specific version tag listed in your package.json or bower.json.
  • Latest: The latest non-prerelease version of the package according to npm or bower.
  • ember-cli: If the package is part of Ember CLI's default package.json or bower.json, this column will show the specific version tag for that package.

It's important to note that newer isn't always better, so don't update all your packages just for the sake of updating. Take the time to research each new version, test against your codebase, and determine if you want to upgrade. This is especially true if the latest version is much newer than the target version.

I think something's broken

If something doesn't work the way you think it should, please open an issue! There's small edge cases I know exist, but just haven't run into them myself.

When you open an issue, it would be super helpful if you'd also link to the output of the debug mode, which can be invoked with the --debug flag. HOWEVER, please check the output to make sure there's nothing in it that you don't feel comfortable making public. It returns the raw output of the npm outdated and bower list commands, along with the contents of Ember CLI's package.json and bower.json files.

Working on ember-outdated

If you're thinking about contributing to ember-outdated I'd absolutely love to work with you. However, before making big changes (such as modifying the conditions under which a package is listed as outdated), please open an issue for discussion.

Tests

ember-outdated uses mocha for testing and the Expect/Should assertions from chai. Should is preferred, but Expect can be used where necessary.

Areas for Improvement

Right now the core functionality (that is, the bits of ember-outdated that interface with npm and bower) aren't tested. Breaking up those areas into smaller, more testable units would be awesome.