fix: replace __dirname by his esm equivalent syntax #8340
Annotations
11 errors
|
Run build:
packages/core/src/domain/AnyToPromise.spec.ts#L7
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/specs/schema/test/helpers/validateSpec.ts#L6
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/specs/schema/src/utils/generateSpec.spec.ts#L20
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/engines/test/getEngineFixture.ts#L5
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/engines/src/utils/getEngines.spec.ts#L5
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/platform/platform-exceptions/src/domain/ExceptionSchema.spec.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/third-parties/components-scan/src/importFiles.spec.ts#L6
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/third-parties/components-scan/src/importProviders.spec.ts#L5
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/platform/common/src/services/PlatformResponse.spec.ts#L6
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Run build:
packages/specs/swagger/src/constants.ts#L4
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Loading