Migrate deps:outdated to dev:outdated in standalone script
This commit is contained in:
Executable
+11
@@ -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
|
||||||
@@ -23,10 +23,6 @@ hide = true
|
|||||||
run = 'npm update --prefix assets'
|
run = 'npm update --prefix assets'
|
||||||
hide = true
|
hide = true
|
||||||
|
|
||||||
[tasks.npm-outdated]
|
|
||||||
run = 'npm outdated --prefix assets'
|
|
||||||
hide = true
|
|
||||||
|
|
||||||
# TAILWIND DEP
|
# TAILWIND DEP
|
||||||
|
|
||||||
[tasks.tailwind-update]
|
[tasks.tailwind-update]
|
||||||
@@ -34,11 +30,6 @@ description = 'Update the Tailwind version configured in the project'
|
|||||||
run = 'mix tailwind.update_version'
|
run = 'mix tailwind.update_version'
|
||||||
hide = true
|
hide = true
|
||||||
|
|
||||||
[tasks.tailwind-outdated]
|
|
||||||
description = 'Checks that the Tailwind version is up to date'
|
|
||||||
run = 'mix tailwind.check_version'
|
|
||||||
hide = true
|
|
||||||
|
|
||||||
# ESBUILD DEP
|
# ESBUILD DEP
|
||||||
|
|
||||||
[tasks.esbuild-update]
|
[tasks.esbuild-update]
|
||||||
@@ -46,11 +37,6 @@ description = 'Update the esbuild version configured in the project'
|
|||||||
run = 'mix esbuild.update_version'
|
run = 'mix esbuild.update_version'
|
||||||
hide = true
|
hide = true
|
||||||
|
|
||||||
[tasks.esbuild-outdated]
|
|
||||||
description = 'Checks that the esbuild version is up to date'
|
|
||||||
run = 'mix esbuild.check_version'
|
|
||||||
hide = true
|
|
||||||
|
|
||||||
# MIX DEPS
|
# MIX DEPS
|
||||||
|
|
||||||
[tasks.mix-update]
|
[tasks.mix-update]
|
||||||
@@ -58,11 +44,6 @@ description = 'Update mix dependencies'
|
|||||||
run = ['mix deps.update --all']
|
run = ['mix deps.update --all']
|
||||||
hide = true
|
hide = true
|
||||||
|
|
||||||
[tasks.mix-outdated]
|
|
||||||
description = 'Show outdated mix dependencies'
|
|
||||||
run = ['mix hex.outdated --all']
|
|
||||||
hide = true
|
|
||||||
|
|
||||||
# SQLEAN EXTENSIONS
|
# SQLEAN EXTENSIONS
|
||||||
|
|
||||||
[tasks.sqlean-update]
|
[tasks.sqlean-update]
|
||||||
@@ -70,11 +51,6 @@ description = 'Update the sqlite3 extensions configured in the project'
|
|||||||
run = ['mix sqlean.update_version']
|
run = ['mix sqlean.update_version']
|
||||||
hide = true
|
hide = true
|
||||||
|
|
||||||
[tasks.sqlean-outdated]
|
|
||||||
description = 'Checks the sqlite extensions version is up to date'
|
|
||||||
run = ['mix sqlean.check_version']
|
|
||||||
hide = true
|
|
||||||
|
|
||||||
# TOOLING
|
# TOOLING
|
||||||
|
|
||||||
[tasks.gh-markdown-preview-extension-update]
|
[tasks.gh-markdown-preview-extension-update]
|
||||||
@@ -86,16 +62,6 @@ hide = true
|
|||||||
|
|
||||||
# DEPENDENCIES
|
# DEPENDENCIES
|
||||||
|
|
||||||
[tasks."deps:outdated"]
|
|
||||||
depends = [
|
|
||||||
'npm-outdated',
|
|
||||||
'tailwind-outdated',
|
|
||||||
'esbuild-outdated',
|
|
||||||
'sqlean-outdated',
|
|
||||||
'mix-outdated',
|
|
||||||
]
|
|
||||||
description = 'Show outdated dependencies'
|
|
||||||
|
|
||||||
[tasks."deps:update"]
|
[tasks."deps:update"]
|
||||||
depends = [
|
depends = [
|
||||||
'npm-update',
|
'npm-update',
|
||||||
|
|||||||
Reference in New Issue
Block a user