Commit Graph

6 Commits

Author SHA1 Message Date
Riceball LEE 0f1bc59f76 Merge branch 'master' of https://github.com/strongloop/loopback-boot 2017-05-26 14:49:51 +08: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
Riceball LEE 6c4b025ebf * [bug] can not load script after reading model config
Warning: it can not load script for registered "require" file extension.
2017-02-14 15:20:20 +08: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
Joshua Estrin Skrzypek 09c3f8365b Replace fs.existsSync calls with fs.statSync 2016-09-05 14:29:51 +02:00