Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodes-media fixes #257

Merged
merged 4 commits into from
Mar 25, 2024
Merged

nodes-media fixes #257

merged 4 commits into from
Mar 25, 2024

Conversation

m0ar
Copy link
Contributor

@m0ar m0ar commented Mar 25, 2024

Some errors related to some deps upgraded to ESM unveiled some non-standard tsconfig options which emitted code not compatible with newer versions of node. This should fix all the low hanging "typechecks but fails in runtime" 🌴

Not entirely sure how to test this properly locally, but it builds and runs both locally and in docker 🤞

@m0ar m0ar added the bug Something isn't working label Mar 25, 2024
@m0ar m0ar self-assigned this Mar 25, 2024
Comment on lines -25 to +31
"cors": "^2.8.5",
"body-parser": "^1.20.2",
"express": "^4.17.1",
"express-fileupload": "^1.4.0",
"imagemagick": "^0.1.3",
"jsonwebtoken": "^8.5.1",
"kubo-rpc-client": "^3.0.4",
"morgan": "^1.10.0",
"node-latex": "^3.1.0",
"reflect-metadata": "^0.1.13"
"reflect-metadata": "^0.1.13",
"temp": "^0.9.4"
Copy link
Contributor Author

@m0ar m0ar Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some were unused, some used but not registered as dependencies

"build": "rimraf dist && tsc",
"start": "NODE_PATH=./dist node ./dist/index.js",
Copy link
Contributor Author

@m0ar m0ar Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unnecessary when the cursed and deprecated baseUrl config is removed, because now you can make sense of the import paths in emitted js files without being clairvoyant

@m0ar m0ar merged commit 05e25be into develop Mar 25, 2024
4 checks passed
@m0ar m0ar deleted the m0ar/media-service-fixes branch March 25, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant