Move mise task scripts under /scripts
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#MISE description="Run static checks for code formatting, translations, quality"
|
||||
|
||||
set -e
|
||||
|
||||
mix lint
|
||||
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
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#MISE description="Run checks before a commit"
|
||||
|
||||
set -e
|
||||
|
||||
mix precommit
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#MISE description="Setup the local development environment"
|
||||
|
||||
set -e
|
||||
|
||||
# Add the Fluxon UI hex source repo
|
||||
|
||||
mix hex.repo add fluxon https://repo.fluxonui.com \
|
||||
--fetch-public-key $FLUXON_KEY_FINGERPRINT \
|
||||
--auth-key $FLUXON_LICENSE_KEY
|
||||
|
||||
# Install the gh extension to preview local markdown files
|
||||
|
||||
gh extension install thiagokokada/gh-gfm-preview
|
||||
|
||||
mix setup
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#MISE description="Update dependencies. Errors at the firsst outdated dependency"
|
||||
|
||||
set -e
|
||||
|
||||
npm update --prefix assets
|
||||
|
||||
mix do tailwind.update_version, esbuild.update_version, sqlean.update_version
|
||||
|
||||
mix deps.update --all
|
||||
|
||||
gh extension upgrade gfm-preview
|
||||
Reference in New Issue
Block a user