feat!: switch to native ESM with NodeNext module resolution and .js import paths

BREAKING CHANGE: Consumers must use ESM-compatible environments.
All import paths now include .js extensions.
CommonJS (require) is no longer supported.
This commit is contained in:
2025-04-02 21:05:56 +02:00
committed by 20Max01
parent 9bd899581f
commit c6e9fbd2a3
16 changed files with 62 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { ITSinjex } from './ITSinjex';
import { Identifier } from 'src/types/Identifier.js';
import { ITSinjex } from './ITSinjex.js';
/**
* General error class for {@link ITSinjex} interface.

View File

@@ -1,5 +1,5 @@
import { DependencyResolutionError } from './Exceptions';
import { Identifier } from '../types/Identifier';
import { DependencyResolutionError } from './Exceptions.js';
import { Identifier } from '../types/Identifier.js';
/**
* Static TSInjex Interface