@xenon-device-management/xenon 1.1.26 → 1.1.27

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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenon-device-management/xenon",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "Xenon - Intelligent Mobile Infrastructure. A self-healing device orchestration platform for Appium.",
5
5
  "main": "./lib/src/index.js",
6
6
  "exports": {
@@ -54,9 +54,10 @@ const logger_1 = __importDefault(require("../logger"));
54
54
  const config_1 = require("../config");
55
55
  function resolvePluginRoot() {
56
56
  let dir = __dirname;
57
- for (let i = 0; i < 6; i++) {
57
+ for (let i = 0; i < 8; i++) {
58
58
  const pkgJson = path.join(dir, 'package.json');
59
- if (fs.existsSync(pkgJson)) {
59
+ const schema = path.join(dir, 'prisma', 'schema.prisma');
60
+ if (fs.existsSync(pkgJson) && fs.existsSync(schema)) {
60
61
  try {
61
62
  const pkg = JSON.parse(fs.readFileSync(pkgJson, 'utf8'));
62
63
  if (pkg.name === '@xenon-device-management/xenon' || pkg.name === 'xenon') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenon-device-management/xenon",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "Xenon - Intelligent Mobile Infrastructure. A self-healing device orchestration platform for Appium.",
5
5
  "main": "./lib/src/index.js",
6
6
  "exports": {