@steedos/service-package-loader 2.2.54-beta.7 → 2.2.54-beta.8
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/index.js +2 -1
- package/package.json +5 -6
package/index.js
CHANGED
|
@@ -12,6 +12,7 @@ const _ = require('lodash');
|
|
|
12
12
|
const globby = require("globby");
|
|
13
13
|
const express = require('express');
|
|
14
14
|
const fs = require("fs");
|
|
15
|
+
const metaDataCore = require('@steedos/metadata-core');
|
|
15
16
|
/**
|
|
16
17
|
* @typedef {import('moleculer').Context} Context Moleculer's Context
|
|
17
18
|
*/
|
|
@@ -116,7 +117,7 @@ module.exports = {
|
|
|
116
117
|
path.join(packagePath, 'main', 'default', 'services', "**", `*.service.js`),
|
|
117
118
|
"!" + path.join(packagePath, "**", "node_modules"),
|
|
118
119
|
];
|
|
119
|
-
const matchedPaths =
|
|
120
|
+
const matchedPaths = metaDataCore.syncMatchFiles(filePatten);
|
|
120
121
|
for await (const serviceFilePath of matchedPaths) {
|
|
121
122
|
try {
|
|
122
123
|
const service = objectql.loadService(this.broker, serviceFilePath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-package-loader",
|
|
3
|
-
"version": "2.2.54-beta.
|
|
3
|
+
"version": "2.2.54-beta.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@steedos/core": "2.2.54-beta.
|
|
14
|
-
"@steedos/metadata-core": "2.2.54-beta.
|
|
15
|
-
"@steedos/objectql": "2.2.54-beta.
|
|
13
|
+
"@steedos/core": "2.2.54-beta.8",
|
|
14
|
+
"@steedos/metadata-core": "2.2.54-beta.8",
|
|
15
|
+
"@steedos/objectql": "2.2.54-beta.8",
|
|
16
16
|
"clone": "^2.1.2",
|
|
17
|
-
"globby": "^11.1.0",
|
|
18
17
|
"moleculer": "^0.14.21",
|
|
19
18
|
"underscore": "^1.12.0"
|
|
20
19
|
},
|
|
@@ -25,5 +24,5 @@
|
|
|
25
24
|
"publishConfig": {
|
|
26
25
|
"access": "public"
|
|
27
26
|
},
|
|
28
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "f91a35447a4a07a7d6868748ce911cd660c5fadc"
|
|
29
28
|
}
|