fix: starting scheduler

This commit is contained in:
Karol Sójko 2022-06-17 13:39:36 +02:00
parent ebcd69bdae
commit b6b06acce5
No known key found for this signature in database
GPG key ID: A50543BF560BDEB0
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@ node_modules
dist
coverage
.env
newrelic_agent.log
**/.pnp.*
**/.yarn/*

View file

@ -15,6 +15,7 @@
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run test",
"clean": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run clean",
"build:all": "yarn workspaces foreach -pt --verbose run build",
"setup:env": "yarn workspaces foreach -pt --verbose run setup:env",
"build:scheduler": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/scheduler-server run build",
"start:scheduler": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/scheduler-server run worker"
},

View file

@ -16,8 +16,9 @@
"lint": "eslint . --ext .ts",
"pretest": "yarn lint && yarn build",
"test": "jest --coverage",
"worker": "yarn dist/bin/worker.js",
"verify:jobs": "yarn dist/bin/verify.js",
"worker": "yarn node dist/bin/worker.js",
"verify:jobs": "yarn node dist/bin/verify.js",
"setup:env": "cp .env.sample .env",
"typeorm": "typeorm-ts-node-commonjs"
},
"dependencies": {