Better typescript

This commit is contained in:
2025-11-21 19:36:05 +00:00
parent 52ae098ac6
commit 2a4578e1eb

View File

@@ -70,7 +70,7 @@ local PROJECTS = {
map('c ', '!cd client && ', { desc = 'Run command in client directory' }, 'c') map('c ', '!cd client && ', { desc = 'Run command in client directory' }, 'c')
laravel_keymaps('server') laravel_keymaps('server')
map('yrn ', '!cd client && yarn ', { desc = 'Run yarn script' }, 'c') map('yrn ', '!cd client && yarn ', { desc = 'Run yarn script' }, 'c')
map('ts ', '!cd server && php artisan typescript:transform --format', { desc = 'Compile typescript' }, 'c') map('<Leader>pt', ':!cd server && php artisan typescript:transform --format<CR>', { desc = 'Compile typescript' })
require('conform').formatters.pint = { require('conform').formatters.pint = {
append_args = { append_args = {
'--config=' .. dir .. '/server/pint.json', '--config=' .. dir .. '/server/pint.json',