@toa.io/boot 1.0.0-alpha.66 → 1.0.0-alpha.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/boot",
3
- "version": "1.0.0-alpha.66",
3
+ "version": "1.0.0-alpha.67",
4
4
  "description": "Toa Boot",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -20,13 +20,14 @@
20
20
  "test": "echo \"Error: run tests from root\" && exit 1"
21
21
  },
22
22
  "dependencies": {
23
- "@toa.io/core": "1.0.0-alpha.66",
23
+ "@toa.io/core": "1.0.0-alpha.67",
24
24
  "@toa.io/filesystem": "1.0.0-alpha.63",
25
25
  "@toa.io/generic": "1.0.0-alpha.63",
26
- "@toa.io/norm": "1.0.0-alpha.66",
26
+ "@toa.io/norm": "1.0.0-alpha.67",
27
27
  "@toa.io/schemas": "1.0.0-alpha.63",
28
28
  "clone-deep": "4.0.1",
29
- "dotenv": "16.1.1"
29
+ "dotenv": "16.1.1",
30
+ "openspan": "1.0.0-alpha.67"
30
31
  },
31
- "gitHead": "e5052ee5ae7ac87d6c96a40026c3cd7cef6c11fe"
32
+ "gitHead": "8e94e72803ebf6835958aee34a632565181ec520"
32
33
  }
@@ -1,12 +1,16 @@
1
1
  'use strict'
2
2
 
3
+ const { console } = require('openspan')
3
4
  const { Composition } = require('@toa.io/core')
5
+ const { version } = require('@toa.io/runtime/package.json')
4
6
 
5
7
  const boot = require('./index')
6
8
 
7
9
  async function composition (paths, options) {
8
10
  options = Object.assign({}, options)
9
11
 
12
+ console.info('Starting composition', { runtime: version })
13
+
10
14
  const manifests = await Promise.all(paths.map((path) => boot.manifest(path, options)))
11
15
  const tenants = await Promise.all(manifests.map(boot.extensions.tenants))
12
16
  const expositions = await Promise.all(manifests.map(boot.discovery.expose))