3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00
zeppelin/backend
Dragory 59a927ba93 Update to Knub 28, improve debugger-friendliness
Development npm scripts now also listen for debuggers:
- Port 9229 for the bot
- Port 9239 for the api

Via Knub 28, PluginErrors are no longer used in development, which
helps with call stacks in debuggers (see Knub changelog).

Unhandled promise rejections are now treated as exceptions via nodejs
flag --unhandled-rejections=strict, which allows catching them with
a debugger.

The internal "error-tolerant" error handler is now only used in
production; in development, all unhandled errors cause the bot to
crash and are easily catchable by debuggers.
2020-01-12 10:34:05 +02:00
..
src Update to Knub 28, improve debugger-friendliness 2020-01-12 10:34:05 +02:00
.gitignore Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
api.env.example Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
bot.env.example Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
ormconfig.js typeorm: set migrationsDir to the dev folder 2019-11-30 23:38:19 +02:00
package-lock.json Update to Knub 28, improve debugger-friendliness 2020-01-12 10:34:05 +02:00
package.json Update to Knub 28, improve debugger-friendliness 2020-01-12 10:34:05 +02:00
register-tsconfig-paths.js Switch from ts-node to tsc-watch for faster watch restarts; move format npm script to project root 2019-11-30 17:05:18 +02:00
start-dev.js Switch from ts-node to tsc-watch for faster watch restarts; move format npm script to project root 2019-11-30 17:05:18 +02:00
tsconfig.json Add source map support to backend dev builds 2019-12-08 02:05:35 +02:00