Commit Graph

9 Commits

Author SHA1 Message Date
Nora e9b108f9c6 chore: fix eslint violations 2019-11-17 14:19:25 -05:00
Agnes Lin ef39abf6eb chore: update copyrights years 2019-05-07 10:16:03 -04:00
Miroslav Bajtoš c10e8225bb
fix: set `app.booting` flag immediately
Before this change, `app.booting` was set by Application plugin as part
of regular phase invocation, which executes individual plugins in
subsequent turns of the event loop. As a result, `app.booting` was
initially `undefined` despite the fact that the booting process was
already in progress.

This patch moves manipulation of `app.booting` flag directly to
`Bootstrapper#run` method, to ensure it's set early enough and always
properly cleared at the end.
2019-03-22 13:57:25 +01:00
Walker bfa874de63
Add support for es6 modules for boot scripts 2018-10-11 16:17:29 +02:00
jannyHou 14eeb4487d update: dependency 2018-07-26 14:16:16 -04:00
Jürg Lehni 6e36f02005 Add support for ES6 style async boot scripts 2017-08-18 12:43:21 +02:00
Raymond Feng 3bb519d5e9 Upgrade deps and fix style issues 2017-05-08 14:48:48 -07:00
Supasate Choochaisri d68ffc6f6f Provide scriptExtensions option 2017-04-01 02:14:47 +07:00
Raymond Feng ac1571ccf1 Refactor for modular and pluggable design
- refactor logic of processing artifacts into their own classes
- introduce Container as the main class for bootstrapping and build a
  registry of handlers during boot to organize them by a hierarchy
  denoted by path
- adopt middleware like registration and invocation
- container.use(path, handler)
- container.run(context, done)
- allow more phases during boot
- boot is now asynchronous
2016-11-22 13:38:28 -05:00