diff --git a/packages/api-gateway/package.json b/packages/api-gateway/package.json index 90c1949a5..30710da18 100644 --- a/packages/api-gateway/package.json +++ b/packages/api-gateway/package.json @@ -16,13 +16,9 @@ "build": "tsc --build", "lint": "eslint . --ext .ts", "setup:env": "cp .env.sample .env", - "wait-for:syncing-server": "docker/wait-for.sh localhost $SYNCING_SERVER_PORT", - "wait-for:auth": "docker/wait-for.sh localhost $AUTH_SERVER_PORT", - "wait-for:files": "docker/wait-for.sh localhost $FILES_SERVER_PORT", "wait-for:revisions": "docker/wait-for.sh localhost $REVISIONS_SERVER_PORT", - "wait-for:services": "yarn wait-for:syncing-server && yarn wait-for:auth && yarn wait-for:files && yarn wait-for:revisions", "start": "yarn node dist/bin/server.js", - "supervisor:start": "yarn wait-for:services && yarn node dist/bin/server.js", + "supervisor:start": "yarn wait-for:revisions && yarn node dist/bin/server.js", "upgrade:snjs": "yarn ncu -u '@standardnotes/*'" }, "dependencies": { diff --git a/packages/auth/package.json b/packages/auth/package.json index d79bd2ef7..39ac9f692 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -17,12 +17,10 @@ "lint": "eslint . --ext .ts", "pretest": "yarn lint && yarn build", "test": "jest --coverage --config=./jest.config.js --maxWorkers=50%", - "wait-for:db": "docker/wait-for.sh $DB_HOST $DB_PORT", - "wait-for:cache": "docker/wait-for.sh $REDIS_HOST $REDIS_PORT", - "wait-for:infra": "yarn wait-for:db && yarn wait-for:cache", + "wait-for:syncing-server": "docker/wait-for.sh localhost $SYNCING_SERVER_PORT", "wait-for:auth": "docker/wait-for.sh localhost $AUTH_SERVER_PORT", "start": "yarn node dist/bin/server.js", - "supervisor:start": "yarn wait-for:infra && yarn node dist/bin/server.js", + "supervisor:start": "yarn wait-for:syncing-server && yarn node dist/bin/server.js", "worker": "yarn node dist/bin/worker.js", "supervisor:worker": "yarn wait-for:auth && yarn node dist/bin/worker.js", "cleanup": "yarn node dist/bin/cleanup.js", diff --git a/packages/files/package.json b/packages/files/package.json index e3029194b..e94453c01 100644 --- a/packages/files/package.json +++ b/packages/files/package.json @@ -20,12 +20,10 @@ "lint": "eslint . --ext .ts", "pretest": "yarn lint && yarn build", "test": "jest --coverage --config=./jest.config.js --maxWorkers=50%", - "wait-for:db": "docker/wait-for.sh $DB_HOST $DB_PORT", - "wait-for:cache": "docker/wait-for.sh $REDIS_HOST $REDIS_PORT", - "wait-for:infra": "yarn wait-for:db && yarn wait-for:cache", + "wait-for:auth": "docker/wait-for.sh localhost $AUTH_SERVER_PORT", "wait-for:files": "docker/wait-for.sh localhost $FILES_SERVER_PORT", "start": "yarn node dist/bin/server.js", - "supervisor:start": "yarn wait-for:infra && yarn node dist/bin/server.js", + "supervisor:start": "yarn wait-for:auth && yarn node dist/bin/server.js", "worker": "yarn node dist/bin/worker.js", "supervisor:worker": "yarn wait-for:files && yarn node dist/bin/worker.js", "upgrade:snjs": "yarn ncu -u '@standardnotes/*'" diff --git a/packages/revisions/package.json b/packages/revisions/package.json index 968c8d955..4687ca2c1 100644 --- a/packages/revisions/package.json +++ b/packages/revisions/package.json @@ -19,12 +19,10 @@ "lint:fix": "eslint . --ext .ts --fix", "pretest": "yarn lint && yarn build", "test": "jest --coverage --config=./jest.config.js --maxWorkers=50%", - "wait-for:db": "docker/wait-for.sh $DB_HOST $DB_PORT", - "wait-for:cache": "docker/wait-for.sh $REDIS_HOST $REDIS_PORT", - "wait-for:infra": "yarn wait-for:db && yarn wait-for:cache", + "wait-for:files": "docker/wait-for.sh localhost $FILES_SERVER_PORT", "wait-for:revisions": "docker/wait-for.sh localhost $REVISIONS_SERVER_PORT", "start": "yarn node dist/bin/server.js", - "supervisor:start": "yarn wait-for:infra && yarn node dist/bin/server.js", + "supervisor:start": "yarn wait-for:files && yarn node dist/bin/server.js", "supervisor:worker": "yarn wait-for:revisions && yarn node dist/bin/worker.js", "worker": "yarn node dist/bin/worker.js" },