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

Add peerDependencies in core and sdk #309

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Conversation

samchon
Copy link
Owner

@samchon samchon commented Apr 13, 2023

Succeeded to complicate dependency relationship of NestJS.

Therefore, restrict dependencies of NestJS through peerDependencies

@samchon samchon added the enhancement New feature or request label Apr 13, 2023
@samchon samchon self-assigned this Apr 13, 2023
Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

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

OK, no problem.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Unfortunately, older version of @nestjs/common had not exported ModuleMetadata.

Using Parameters TMP type is for such case.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Older version of rxjs had not exported Observable, and had to import through rxjs/operators file.

Copy link
Owner Author

Choose a reason for hiding this comment

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

ts-node had worked well until 10.6.0 patch.

Copy link
Owner Author

Choose a reason for hiding this comment

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

This is result of analyses of dependency relationships of NestJS.

@samchon samchon merged commit 960373e into master Apr 13, 2023
@samchon samchon deleted the features/dependencies branch April 13, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant