Conversation
12 tasks
nwoodward
approved these changes
Nov 12, 2025
Contributor
nwoodward
left a comment
There was a problem hiding this comment.
👍 Thanks @AndreaBarbasso. This PR fixes the errors on those npm commands for me.
tdonohue
approved these changes
Nov 12, 2025
Member
tdonohue
left a comment
There was a problem hiding this comment.
👍 Thanks @AndreaBarbasso ! I tested both prod mode and dev mode again. Both work well now, so this fixes the issues.
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
Description
Introduced the
tsconfig-pathspackage (github, npm) to resolve TypeScript path aliases.Instructions for Reviewers
The
tsconfig-pathspackage hooks into the Node.js module resolution system and allows it to understand the path mappings from thetsconfig.jsonfile.The fix involved updating all
ts-nodecommands in the scripts section ofpackage.jsonto include the-r tsconfig-paths/registerflag. This flag pre-loads the path mappings, enabling Node.js to correctly resolve the aliased module paths at runtime and successfully execute the scripts.To test this PR, check that the project can run both in
devandprodmode with no issues.Checklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.