@mostajs/orm 1.4.0 → 1.4.1

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.
@@ -15,8 +15,9 @@ const __dirname_resolved = dirname(__filename_resolved);
15
15
  function getDefaultJarDir() {
16
16
  if (process.env.MOSTA_JAR_DIR)
17
17
  return process.env.MOSTA_JAR_DIR;
18
- // Look in mosta-orm/bridge/, then ../jar_files/ (monorepo layout)
18
+ // Look in project root first (process.cwd()), then relative to package
19
19
  const candidates = [
20
+ join(process.cwd(), 'jar_files'),
20
21
  join(__dirname_resolved, '..', '..', 'bridge'),
21
22
  join(__dirname_resolved, '..', '..', '..', 'jar_files'),
22
23
  join(__dirname_resolved, '..', '..', 'jar_files'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mostajs/orm",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Hibernate-inspired multi-dialect ORM for Node.js/TypeScript — One API, 13 databases, zero lock-in",
5
5
  "author": "Dr Hamid MADANI <drmdh@msn.com>",
6
6
  "license": "MIT",