• Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    TypeScript
  • License
    ISC License
  • Created almost 4 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yarn plugin to show outdated dependencies.

Yarn Plugin Outdated

Yarn plugin to show outdated dependencies.

Screenshot

Installation

Yarn 4

yarn plugin import https://mskelton.dev/yarn-outdated/v4

Yarn 3

yarn plugin import https://mskelton.dev/yarn-outdated/v3

Yarn 2

yarn plugin import https://mskelton.dev/yarn-outdated/v1.2.0

Usage

When run without arguments, this plugin will find outdated plugins in all workspaces of your project.

yarn outdated

Filter by dependency

You can easily filter dependencies using any valid micromatch glob pattern. This is especially useful when you want to check a set of related dependencies such as a component library or tools such as Babel or ESLint.

yarn outdated '@babel/*'

And, in case you were wondering, you can add multiple glob patterns!

yarn outdated '@babel/*' '@types/*'

Filter by workspace (--workspace, -w)

In addition to filtering dependencies, larger projects will find it very helpful to filter workspaces so only outdated dependencies in a set of workspaces will be included.

The simplest way to filter a workspace is by it's name. And just like dependency filtering, this flag supports glob patterns!

yarn outdated --workspace frontend

You can also filter workspaces by directory using either an absolute or relative path.

yarn outdated --workspace packages/a
yarn outdated --workspace /Users/mark/project/packages/a

The --workspace flag can be added multiple times to specify multiple glob patterns to match with. You can even mix and match directories and workspace names!

yarn outdated --workspace packages/a --workspace frontend

Tip: Specifying --workspace . will use the current working directory.

Filter by severity (--severity, -s)

It's not always possible to update to the latest major version, and likewise you may not care about every single patch release to packages. Don't worry, we've got your back! With the --severity option, you can specify which severity levels to include. By default, we show all but if you only want to display minor versions updates, you could use this command.

yarn outdated --severity minor

Also, this flag can be specified multiple times if you would like to include multiple severities, such as minor and patch versions, as shown in the following example.

yarn outdated --severity minor --severity patch

Filter by type (--type, -t)

The final means of filtering outdated dependencies is by dependency type. For example, to only display outdated devDependencies, use the following command.

yarn outdated --type devDependencies

Include the wanted range

By default, only the latest version of dependencies are displayed. However, in some cases you may wish to know both the latest version and the version that satisfies the range specified in your manifest.

yarn outdated --range

For example if you have "glob": "^7.2.0" in your manifest, the output with this flag might look something like this.

➤ YN0000: Package   Current   Range   Latest   Package Type
➤ YN0000: glob      7.2.0     7.2.3   8.0.3    devDependencies

Check mode (--check, -c)

By default, this plugin will always return an exit code 0 even if there are outdated dependencies. While this is perfect for normal use, if you want to use this plugin with scripts and fail if there are outdated dependencies, you can add the --check flag.

yarn outdated --check

Display homepage URLs (--url)

It is possible to display dependency homepage URLs in the output. To do so, simply add the --url flag to the command!

yarn outdated --url

Format (--format)

In addition to the standard terminal text format, this plugin supports JSON and markdown formatting.

JSON (--format=json)

If you are writing a script that depends on information from this plugin, you may find the --format=json option helpful to get raw JSON data that you can then parse and use as your needs require.

Markdown (--format=markdown)

If you are using this plugin in a GitHub action or other CI provider that displays markdown content, use --format=markdown to display a formatted markdown table.

Configuration

Include homepage URLs by default (outdatedIncludeUrl)

By default, homepage URLs are not included in the output. In addition to the --url flag, you can configure URLs to show by default.

outdatedIncludeUrl: true

When this setting is enabled, you can use the --no-url flag to disable it on a per-command basis.

yarn outdated --no-url

More Repositories

1

ratchet

Codemod to convert React PropTypes to TypeScript types.
TypeScript
133
star
2

eslint-plugin-sort

Auto-fixable sort rules for ESLint.
TypeScript
24
star
3

vscode-npm-outdated

Displays a diagnostic message in package.json files for packages which have newer versions available.
TypeScript
17
star
4

dtsfmt

Auto formatter for device tree files.
Rust
12
star
5

termicons.nvim

Alternative set of icons for nvim-web-devicons using termicons.
Lua
12
star
6

setup-yarn

Reduce boilerplate when installing setting up Node.js and installing Yarn dependencies.
10
star
7

mql5

MQL5 core and standard library implemented in proper C++ for use with language servers and modern editors.
MQL5
8
star
8

local-yokel.nvim

Work with files close to home
Lua
7
star
9

tmux-last

Tmux plugin to open the last non-empty command output in a pager.
Shell
7
star
10

prettier-formatting-example

Auto formatting code using Prettier and GitHub Actions
JavaScript
7
star
11

wait-for-vercel-action

Wait for Vercel deployment to complete for a commit.
JavaScript
7
star
12

flutter.nvim

Neovim plugin for flutter development.
Lua
6
star
13

mskelton.dev

Welcome to my personal website!
MDX
6
star
14

tree-sitter-styled

This is an extension of tree-sitter-css to support styled-components interpolation syntax.
Rust
6
star
15

chatter

ChatGPT desktop app
TypeScript
6
star
16

hoverdown.nvim

Improves support for LSP hover documentation by properly parsing and highlighting markdown.
Lua
6
star
17

shexpand.lua

Expand a string into a table of strings using shell brace expansion.
Lua
5
star
18

changelog-reminder-action

Github action to remind users their pull request is missing a changelog.
JavaScript
5
star
19

tree-sitter-mql5

This is an extension of tree-sitter-cpp to support the mql5 language.
Rust
5
star
20

close-notion-tab

Automatically close Notion share link tabs after the desktop app opens.
JavaScript
5
star
21

cursed

Multiplayer live cursors
TypeScript
4
star
22

vscode-marie

MARIE language support for VS Code
4
star
23

termicons

Material style icons optimized for terminal rendering
Handlebars
4
star
24

live-reload.nvim

Live reload Neovim plugins with ease!
Lua
3
star
25

dotfiles

My personal settings and dotfiles.
Lua
3
star
26

macos-certs

GitHub action to create a keychain and import macOS certificates for publishing macOS apps.
Shell
3
star
27

eslint-config

Simple and sensible ESLint config.
JavaScript
3
star
28

tidi

Dead simple dependency injection
TypeScript
3
star
29

slides

Frontend 101 course.
TypeScript
3
star
30

flashlight

Find usages of imported symbols in your codebase.
Rust
3
star
31

jumper.nvim

A Telescope extension to quickly switch your working directory from a list of specified directories within a workspace.
Lua
2
star
32

fx-data

Historical Forex data collector.
MQL5
2
star
33

setup-bun

Reduce boilerplate when setting up Bun and installing dependencies.
2
star
34

semantic-release-config

Shared semantic-release configuration
JavaScript
2
star
35

analyzer

Forex trading analysis and sharing tool.
MQL5
2
star
36

cls

clsx + tailwind-merge
JavaScript
2
star
37

setup-pnpm

Reduce boilerplate when installing setting up Node.js and installing pnpm dependencies.
2
star
38

vscode-playwright-test-snippets

Useful snippets for the Playwright test runner.
2
star
39

yarn-constraints-example

Real world examples of when to use Yarn constraints.
Prolog
2
star
40

bandit.nvim

The fugitive's sidekick
Lua
2
star
41

vscode-react-emotion-snippets

Useful VS Code snippets for creating React Emotion styles.
2
star
42

bookmark-sync

Quickly update your saved bookmark URL with the current page URL.
TypeScript
2
star
43

icons

Material icons packaged as React components.
JavaScript
2
star
44

advent-of-code

My submissions for advent of code. Never stop learning!
Zig
2
star
45

biblens

A simple Android/iOS app that recognizes bible verses in text.
Dart
2
star
46

lazy-context

A thin layer on top of React context that supports "lazy subscription" to only re-render when the data you care about changes.
TypeScript
2
star
47

tree-sitter-applescript

AppleScript grammar for tree-sitter
Rust
1
star
48

use-strict-params

Strictly typed params for React router.
TypeScript
1
star
49

ray

My personal Raycast extensions
TypeScript
1
star
50

react-medium-image

A medium-style image viewer.
JavaScript
1
star
51

ev

CLI to manage your Apple calendar events
1
star
52

super-reactor

Respond to reaction requests with a bit too much fervor 🙂
JavaScript
1
star
53

lorem

CLI to generate lorem ipsum text
Go
1
star
54

versly

Read the Bible, every day, one chapter each day
Svelte
1
star
55

pomo-menu

macOS menu bar app to accompany the pomo command.
Swift
1
star
56

gobble

Command line RSS feed viewer
Go
1
star
57

todo

Go
1
star
58

pkg

Fish plugin for parsing package.json files
Shell
1
star
59

bk

Command line tool for interacting with Buildkite pipelines, builds, and more.
Go
1
star
60

url

Parse URLs from a string.
Shell
1
star
61

ama

Ask me anything!
1
star
62

sandbox

TypeScript
1
star
63

speak

Speak your mind, without your voice.
TypeScript
1
star
64

bytes

The source repository for my website's "bytes" (mini posts).
1
star
65

jira

Parse Jira issues from text.
Go
1
star
66

yarn-completion

Fish shell autocompletion rules for Yarn berry
1
star
67

togglr

An open source feature flag platform built for performance, stability, and feature richness.
TypeScript
1
star
68

webpack-config

Shared webpack config for my React projects.
TypeScript
1
star
69

setup

AR experience for playing the card game Set.
Rust
1
star
70

rust-template

Template for new Rust CLI projects.
Shell
1
star
71

graphite-to-github

Redirects Graphite pull request URLs to GitHub
1
star
72

hlx-browser-extension

Helpful utilities to manage your Higher Level FX VPS.
1
star
73

pr

Interactively create a pull request.
Shell
1
star
74

oldies.nvim

Navigate your oldfiles without losing your mind.
Lua
1
star
75

pomo

Simple pomodoro timer CLI.
Rust
1
star
76

mskelton

1
star
77

tsk

Tasks for the terminal dweller
Go
1
star
78

req

Simple data fetching library built on top of the fetch API
TypeScript
1
star
79

browserslist-config

Supported browsers in my projects.
JavaScript
1
star
80

byte

CLI tool to create bytes (mini posts) for my website.
Go
1
star
81

veritas

Assert facts against your data sources
TypeScript
1
star
82

lineup

Baseball lineup generator
TypeScript
1
star
83

ui

UI library built on modern web platform features.
JavaScript
1
star
84

npm-template

Project generator for my personal projects.
TypeScript
1
star
85

hexterm.lua

Get the xterm closest color to a hexadecimal color
Lua
1
star
86

time-ago

Formats a date using the Intl RelativeTimeFormat API with automatic unit selection.
TypeScript
1
star
87

bible-plan-generator

Bible reading plan generator
Python
1
star
88

observer

A super simple and performant way to observer specific selectors in the DOM.
TypeScript
1
star
89

pomo-go

Simple pomodoro timer CLI
Go
1
star
90

dottie

Dead simple dotfile management with the full power of bash.
Shell
1
star
91

go-template

Template for new Go CLI projects.
Shell
1
star
92

melodies

Song book and instrument tabs when you are at home or on the go.
TypeScript
1
star
93

tsconfig

Shared TypeScript config for my projects.
1
star
94

dprint-config

My personal dprint config.
1
star
95

isomorphic-resolve

Isomorphic `require.resolve` for ESM and CommonJS
JavaScript
1
star
96

go.mskelton.dev

Short links for mskelton.dev
HTML
1
star
97

bm

Open bookmarks from the Arc browser in your terminal.
Shell
1
star
98

tailwind-plugins

My collection of tailwind plugins.
JavaScript
1
star
99

pngpaste

Paste images from your clipboard into a PNG file.
Shell
1
star
100

unified-plugins

My collection of unified plugins.
JavaScript
1
star