@toa.io/norm 1.0.0-alpha.64 → 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/norm",
3
- "version": "1.0.0-alpha.64",
3
+ "version": "1.0.0-alpha.67",
4
4
  "description": "Toa declarations normalization and validation",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -20,10 +20,10 @@
20
20
  "test": "echo \"Error: run tests from root\" && exit 1"
21
21
  },
22
22
  "dependencies": {
23
- "@toa.io/core": "1.0.0-alpha.64",
23
+ "@toa.io/core": "1.0.0-alpha.67",
24
24
  "@toa.io/generic": "1.0.0-alpha.63",
25
25
  "@toa.io/schemas": "1.0.0-alpha.63",
26
26
  "@toa.io/yaml": "1.0.0-alpha.63"
27
27
  },
28
- "gitHead": "2a79179b0e6e21ff48eee481d9d71ed0e5d6b343"
28
+ "gitHead": "8e94e72803ebf6835958aee34a632565181ec520"
29
29
  }
@@ -24,6 +24,15 @@ const resolve = (references, annotations) => {
24
24
  }
25
25
  }
26
26
 
27
+ for (const dependency of Object.keys(annotations)) {
28
+ const { module } = load(dependency)
29
+
30
+ if (!module.standalone || (dependency in dependencies))
31
+ continue
32
+
33
+ dependencies[dependency] = []
34
+ }
35
+
27
36
  return dependencies
28
37
  }
29
38