superuser-task-runner
Version:
A powerful task runner designed to manage complex development workflows across both monorepo and single-project configurations. Built as a more flexible alternative to Turborepo with enhanced customization capabilities, this tool focuses on unique deploym
89 lines • 3.38 kB
JSON
{
"tasks": {
"patch": {
"tasks": [
"patch:str",
"cpy:str",
"patch:meth"
]
},
"patch:str": {
"command": "git add * && git commit -m \"Cleaning w/ push\" && git push && pnpm version patch && git push && git push --tags"
},
"patch:meth": {
"command": "cd .. && cd meth && git add * && git commit -m \"Cleaning w/ push\" && git push && pnpm version patch && git push && git push --tags && cd .. && cd str"
},
"push": {
"tasks": [
"push:str",
"cpy:str",
"push:meth"
]
},
"push:str": {
"command": "git add * && git commit -m \"Cleaning w/ push\" && git push"
},
"cpy:str": {
"command": "Copy-Item -Path @('add.js','build-project.js','cache.js','colors.js','helpers.js','loadEnvConfig.js','prisma-updater.js','readline.js','setup.js','ui.js') -Destination '../meth' -Force"
},
"push:meth": {
"command": "cd .. && cd meth && git add * && git commit -m \"Cleaning w/ push\" && git push && cd .. && cd str"
},
"i": {
"command": "pnpm install"
},
"dev": {
"command": "pnpm run dev"
},
"fromScratch": {
"tasks": [
"i",
"db:all",
"build",
"dev"
]
},
"build": {
"command": "pnpm run build"
},
"start": {
"command": "pnpm start"
},
"test": {
"command": "pnpm test"
},
"lint": {
"command": "pnpm run lint"
},
"clean": {
"command": "foreach ($path in @('.pnpm-cache','.pnpm-cache', 'node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
},
"config:eslint": {
"command": "foreach ($path in @('node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
},
"config:tailwind": {
"command": "foreach ($path in @('node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
},
"config:presets": {
"command": "foreach ($path in @('node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
},
"i:shadCN": {
"command": "pnpm dlx shadcn@latest init"
},
"i:component": {
"command": "pnpm dlx shadcn@latest add"
},
"db:all": {
"command": "pnpm run db:all"
},
"db:seed": {
"command": "pnpm run db:seed"
},
"db:studio": {
"command": "npx prisma studio"
},
"db:gen": {
"command": "pnpm run db:gen"
}
}
}