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

Complement #652 - fix bug of SDK distrubition composer. #654

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

samchon
Copy link
Owner

@samchon samchon commented Oct 12, 2023

I've banned yarn berry which does not support npm prepare command to change setup wizard to using the standard npm prepare command.

By the way, SDK distribution composer had determined whether the target distribution directory has been prepared by checking the package.json file with the npm run prepare command.

Therefore, if the SDK distrubition directory being composed by older version of @nestia/sdk, newer version's SDK distribution composer re-composed the distribution directory vulnerably.

This PR fixes such bug.

I've banned `yarn berry` which does not support `npm prepare` command to change setup wizard to using the standard `npm prepare` command.

By the way, SDK distribution composer had determined whether the target distribution directory has been prepared by checking the `package.json` file with the `npm run prepare` command.

Therefore, if the SDK distrubition directory being composed by older version of `@nestia/sdk`, newer version's SDK distribution composer re-composed the distribution directory vulnerably.

This PR fixes such bug.
@samchon samchon added bug Something isn't working enhancement New feature or request labels Oct 12, 2023
@samchon samchon self-assigned this Oct 12, 2023
@samchon samchon merged commit 5439d52 into master Oct 12, 2023
@samchon samchon deleted the features/distribute branch October 12, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant