@mikro-orm/reflection 7.0.0-dev.64 → 7.0.0-dev.65

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.
@@ -1,5 +1,5 @@
1
1
  import { ComputedPropertyName, ModuleKind, NoSubstitutionTemplateLiteral, Project, StringLiteral } from 'ts-morph';
2
- import { ConfigurationLoader, MetadataError, MetadataProvider, MetadataStorage, ReferenceKind, Utils, } from '@mikro-orm/core';
2
+ import { MetadataError, MetadataProvider, MetadataStorage, ReferenceKind, Utils, } from '@mikro-orm/core';
3
3
  export class TsMorphMetadataProvider extends MetadataProvider {
4
4
  project;
5
5
  sources;
@@ -163,9 +163,8 @@ export class TsMorphMetadataProvider extends MetadataProvider {
163
163
  }
164
164
  }
165
165
  initProject() {
166
- const settings = ConfigurationLoader.getSettings();
167
166
  /* v8 ignore next */
168
- const tsConfigFilePath = this.config.get('discovery').tsConfigPath ?? settings.tsConfigPath ?? './tsconfig.json';
167
+ const tsConfigFilePath = this.config.get('discovery').tsConfigPath ?? './tsconfig.json';
169
168
  try {
170
169
  this.project = new Project({
171
170
  tsConfigFilePath: Utils.normalizePath(process.cwd(), tsConfigFilePath),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mikro-orm/reflection",
3
3
  "type": "module",
4
- "version": "7.0.0-dev.64",
4
+ "version": "7.0.0-dev.65",
5
5
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
6
6
  "exports": {
7
7
  "./package.json": "./package.json",
@@ -56,6 +56,6 @@
56
56
  "@mikro-orm/core": "^6.6.1"
57
57
  },
58
58
  "peerDependencies": {
59
- "@mikro-orm/core": "7.0.0-dev.64"
59
+ "@mikro-orm/core": "7.0.0-dev.65"
60
60
  }
61
61
  }