{"id":13727076,"url":"https://github.com/mskelton/yarn-plugin-outdated","last_synced_at":"2025-04-05T14:09:42.301Z","repository":{"id":37854950,"uuid":"319536863","full_name":"mskelton/yarn-plugin-outdated","owner":"mskelton","description":"Yarn plugin to show outdated dependencies.","archived":false,"fork":false,"pushed_at":"2025-01-14T05:47:23.000Z","size":108604,"stargazers_count":129,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T13:11:15.420Z","etag":null,"topics":["plugin","yarn","yarn-outdated","yarn-plugin","yarn2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mskelton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mskelton"}},"created_at":"2020-12-08T05:34:09.000Z","updated_at":"2025-03-15T17:14:18.000Z","dependencies_parsed_at":"2023-12-05T05:29:34.437Z","dependency_job_id":"f5f5c99f-55cd-410f-9d9b-6c6b734eca36","html_url":"https://github.com/mskelton/yarn-plugin-outdated","commit_stats":{"total_commits":129,"total_committers":5,"mean_commits":25.8,"dds":0.1937984496124031,"last_synced_commit":"a2ed1b5a808616689e33a9bea75696608db26210"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskelton%2Fyarn-plugin-outdated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskelton%2Fyarn-plugin-outdated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskelton%2Fyarn-plugin-outdated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskelton%2Fyarn-plugin-outdated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskelton","download_url":"https://codeload.github.com/mskelton/yarn-plugin-outdated/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345856,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plugin","yarn","yarn-outdated","yarn-plugin","yarn2"],"created_at":"2024-08-03T01:03:38.517Z","updated_at":"2025-04-05T14:09:42.284Z","avatar_url":"https://github.com/mskelton.png","language":"TypeScript","readme":"# Yarn Plugin Outdated\n\nYarn plugin to show outdated dependencies.\n\n![Screenshot](https://github.com/mskelton/yarn-plugin-outdated/assets/25914066/436e9ace-7e81-41e4-9eb6-f73e30d81e3f)\n\n## Installation\n\n### Yarn 4\n\n```bash\nyarn plugin import https://go.mskelton.dev/yarn-outdated/v4\n```\n\n### Yarn 3\n\n```bash\nyarn plugin import https://go.mskelton.dev/yarn-outdated/v3\n```\n\n### Yarn 2\n\n```bash\nyarn plugin import https://go.mskelton.dev/yarn-outdated/v1.2.0\n```\n\n## Usage\n\nWhen run without arguments, this plugin will find outdated plugins in all\nworkspaces of your project.\n\n```bash\nyarn outdated\n```\n\n### Filter by dependency\n\nYou can easily filter dependencies using any valid\n[micromatch](https://github.com/micromatch/micromatch) glob pattern. This is\nespecially useful when you want to check a set of related dependencies such as a\ncomponent library or tools such as Babel or ESLint.\n\n```bash\nyarn outdated '@babel/*'\n```\n\nAnd, in case you were wondering, you can add multiple glob patterns!\n\n```bash\nyarn outdated '@babel/*' '@types/*'\n```\n\n### Filter by workspace (`--workspace`, `-w`)\n\nIn addition to filtering dependencies, larger projects will find it very helpful\nto filter workspaces so only outdated dependencies in a set of workspaces will\nbe included.\n\nThe simplest way to filter a workspace is by it's name. And just like dependency\nfiltering, this flag supports glob patterns!\n\n```bash\nyarn outdated --workspace frontend\n```\n\nYou can also filter workspaces by directory using either an absolute or relative\npath.\n\n```bash\nyarn outdated --workspace packages/a\nyarn outdated --workspace /Users/mark/project/packages/a\n```\n\nThe `--workspace` flag can be added multiple times to specify multiple glob\npatterns to match with. You can even mix and match directories and workspace\nnames!\n\n```bash\nyarn outdated --workspace packages/a --workspace frontend\n```\n\n_Tip: Specifying `--workspace .` will use the current working directory._\n\n### Filter by severity (`--severity`, `-s`)\n\nIt's not always possible to update to the latest major version, and likewise you\nmay not care about every single patch release to packages. Don't worry, we've\ngot your back! With the `--severity` option, you can specify which severity\nlevels to include. By default, we show all but if you only want to display minor\nversions updates, you could use this command.\n\n```bash\nyarn outdated --severity minor\n```\n\nAlso, this flag can be specified multiple times if you would like to include\nmultiple severities, such as minor and patch versions, as shown in the following\nexample.\n\n```bash\nyarn outdated --severity minor --severity patch\n```\n\n### Filter by type (`--type`, `-t`)\n\nThe final means of filtering outdated dependencies is by dependency type. For\nexample, to only display outdated `devDependencies`, use the following command.\n\n```bash\nyarn outdated --type devDependencies\n```\n\n### Include the wanted range\n\nBy default, only the latest version of dependencies are displayed. However, in\nsome cases you may wish to know both the latest version and the version that\nsatisfies the range specified in your manifest.\n\n```bash\nyarn outdated --range\n```\n\nFor example if you have `\"glob\": \"^7.2.0\"` in your manifest, the output with\nthis flag might look something like this.\n\n```bash\n➤ YN0000: Package   Current   Range   Latest   Package Type\n➤ YN0000: glob      7.2.0     7.2.3   8.0.3    devDependencies\n```\n\n### Check mode (`--check`, `-c`)\n\nBy default, this plugin will always return an exit code 0 even if there are\noutdated dependencies. While this is perfect for normal use, if you want to use\nthis plugin with scripts and fail if there are outdated dependencies, you can\nadd the `--check` flag.\n\n```bash\nyarn outdated --check\n```\n\n### Display homepage URLs (`--url`)\n\nIt is possible to display dependency homepage URLs in the output. To do so,\nsimply add the `--url` flag to the command!\n\n```bash\nyarn outdated --url\n```\n\n### Format (`--format`)\n\nIn addition to the standard terminal text format, this plugin supports JSON and\nmarkdown formatting.\n\n#### JSON (`--format=json`)\n\nIf you are writing a script that depends on information from this plugin, you\nmay find the `--format=json` option helpful to get raw JSON data that you can\nthen parse and use as your needs require.\n\n#### Markdown (`--format=markdown`)\n\nIf you are using this plugin in a GitHub action or other CI provider that\ndisplays markdown content, use `--format=markdown` to display a formatted\nmarkdown table.\n\n## Configuration\n\n### Include homepage URLs by default (`outdatedIncludeUrl`)\n\nBy default, homepage URLs are not included in the output. In addition to the\n`--url` flag, you can configure URLs to show by default.\n\n```yaml\noutdatedIncludeUrl: true\n```\n\nWhen this setting is enabled, you can use the `--no-url` flag to disable it on a\nper-command basis.\n\n```bash\nyarn outdated --no-url\n```\n","funding_links":["https://github.com/sponsors/mskelton"],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskelton%2Fyarn-plugin-outdated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskelton%2Fyarn-plugin-outdated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskelton%2Fyarn-plugin-outdated/lists"}