typeorm
typeorm copied to clipboard
The sourcemaps which are published by this module are broken
Issue description
The sourcemaps which are published by this module are broken
Expected Behavior
The sourcemaps are either not present, or refer to files which exist and are contained in the typeorm package.
Actual Behavior
Currently the sourcemaps published to NPM refer to files outside the package. This confuses other tooling which is trying to use the sourcemaps, like C8. For example, /index.js.map in the NPM package refers to ../../index.ts which is not only not inside the typeorm package, it's likely inside the application which installed the package.
Steps to reproduce
.
My Environment
| Dependency | Version |
|---|---|
| Operating System | Linux / OSX |
| Node.js version | 22.16.0 |
| Typescript version | 5.8 |
| TypeORM version | 0.3.20 |
Additional Context
No response
Relevant Database Driver(s)
- [ ] aurora-mysql
- [ ] aurora-postgres
- [ ] better-sqlite3
- [ ] cockroachdb
- [ ] cordova
- [ ] expo
- [ ] mongodb
- [ ] mysql
- [ ] nativescript
- [ ] oracle
- [ ] postgres
- [ ] react-native
- [ ] sap
- [ ] spanner
- [ ] sqlite
- [ ] sqlite-abstract
- [ ] sqljs
- [ ] sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, but I don't know how to start. I would need guidance.