@cabloy/module-glob 5.0.6 → 5.0.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/dist/index.js CHANGED
@@ -114,7 +114,9 @@ async function __loadPackage(modules) {
114
114
  }
115
115
  function __orderModules(context, modules) {
116
116
  // 'a-version' first
117
- __pushModule(context, modules, 'a-version');
117
+ if (modules['a-version']) {
118
+ __pushModule(context, modules, 'a-version');
119
+ }
118
120
  // others
119
121
  for (const key in modules) {
120
122
  if (key !== 'a-version') {
@@ -1,7 +1,7 @@
1
1
  import { IModule, ISuite, TypeProjectMode } from '@cabloy/module-info';
2
2
  export interface IModuleGlobOptions {
3
- projectPath: string;
4
3
  projectMode: TypeProjectMode;
4
+ projectPath: string;
5
5
  disabledModules?: string[];
6
6
  disabledSuites?: string[];
7
7
  log?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/module-glob",
3
- "version": "5.0.6",
3
+ "version": "5.0.8",
4
4
  "description": "cabloy module-glob",
5
5
  "publishConfig": {
6
6
  "access": "public"