From a573dc84278274adaba7d3b100981c52d4d90c91 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 6 Oct 2025 18:04:40 +0300 Subject: [PATCH] Migrate deps:outdated to dev:outdated in standalone script --- mise-tasks/dev/outdated | 11 +++++++++++ mise.toml | 34 ---------------------------------- 2 files changed, 11 insertions(+), 34 deletions(-) create mode 100755 mise-tasks/dev/outdated diff --git a/mise-tasks/dev/outdated b/mise-tasks/dev/outdated new file mode 100755 index 00000000..6cb36d46 --- /dev/null +++ b/mise-tasks/dev/outdated @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +#MISE description="Show outdated dependencies. Errors at the firsst outdated dependency" + +set -e + +npm outdated --prefix assets + +mix do tailwind.check_version, esbuild.check_version, sqlean.check_version + +mix hex.outdated --all diff --git a/mise.toml b/mise.toml index 104a7bdb..df333ee9 100644 --- a/mise.toml +++ b/mise.toml @@ -23,10 +23,6 @@ hide = true run = 'npm update --prefix assets' hide = true -[tasks.npm-outdated] -run = 'npm outdated --prefix assets' -hide = true - # TAILWIND DEP [tasks.tailwind-update] @@ -34,11 +30,6 @@ description = 'Update the Tailwind version configured in the project' run = 'mix tailwind.update_version' hide = true -[tasks.tailwind-outdated] -description = 'Checks that the Tailwind version is up to date' -run = 'mix tailwind.check_version' -hide = true - # ESBUILD DEP [tasks.esbuild-update] @@ -46,11 +37,6 @@ description = 'Update the esbuild version configured in the project' run = 'mix esbuild.update_version' hide = true -[tasks.esbuild-outdated] -description = 'Checks that the esbuild version is up to date' -run = 'mix esbuild.check_version' -hide = true - # MIX DEPS [tasks.mix-update] @@ -58,11 +44,6 @@ description = 'Update mix dependencies' run = ['mix deps.update --all'] hide = true -[tasks.mix-outdated] -description = 'Show outdated mix dependencies' -run = ['mix hex.outdated --all'] -hide = true - # SQLEAN EXTENSIONS [tasks.sqlean-update] @@ -70,11 +51,6 @@ description = 'Update the sqlite3 extensions configured in the project' run = ['mix sqlean.update_version'] hide = true -[tasks.sqlean-outdated] -description = 'Checks the sqlite extensions version is up to date' -run = ['mix sqlean.check_version'] -hide = true - # TOOLING [tasks.gh-markdown-preview-extension-update] @@ -86,16 +62,6 @@ hide = true # DEPENDENCIES -[tasks."deps:outdated"] -depends = [ - 'npm-outdated', - 'tailwind-outdated', - 'esbuild-outdated', - 'sqlean-outdated', - 'mix-outdated', -] -description = 'Show outdated dependencies' - [tasks."deps:update"] depends = [ 'npm-update',