2
0

👷 Replace sleep from docker:up script for cross-plat compatibility

Closes #1139
This commit is contained in:
Baptiste Arnaud
2024-01-08 14:10:57 +01:00
parent 3775919543
commit f3a4922286

View File

@@ -5,7 +5,7 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"prepare": "husky install", "prepare": "husky install",
"docker:up": "docker compose -f docker-compose.dev.yml up -d && sleep 5", "docker:up": "docker compose -f docker-compose.dev.yml up -d && node -e \"setTimeout(() => {}, 5000)\"",
"docker:nuke": "docker compose -f docker-compose.dev.yml down --volumes --remove-orphans", "docker:nuke": "docker compose -f docker-compose.dev.yml down --volumes --remove-orphans",
"lint": "turbo run lint", "lint": "turbo run lint",
"dev": "pnpm docker:up && turbo build --filter=@typebot.io/nextjs... && turbo run dev --filter=builder... --filter=viewer... --parallel --no-cache", "dev": "pnpm docker:up && turbo build --filter=@typebot.io/nextjs... && turbo run dev --filter=builder... --filter=viewer... --parallel --no-cache",
@@ -20,12 +20,12 @@
"format:fix": "turbo run format:fix" "format:fix": "turbo run format:fix"
}, },
"devDependencies": { "devDependencies": {
"@tolgee/cli": "1.3.2",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cz-emoji": "1.3.2-canary.2", "cz-emoji": "1.3.2-canary.2",
"husky": "8.0.3", "husky": "8.0.3",
"prettier": "2.8.8", "prettier": "2.8.8",
"turbo": "1.10.12", "turbo": "1.10.12"
"@tolgee/cli": "1.3.2"
}, },
"config": { "config": {
"commitizen": { "commitizen": {