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

Remove generated packages from workspace #877

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

srchase
Copy link
Contributor

@srchase srchase commented Aug 16, 2023

This PR removes the generated test client and SSDK packages from the yarn workspace.

Previously, these packages were added to the workspace so that they could be built using yarn commands, e.g. yarn build --filter=weather.

This had the side-effect of different yarn.lock files, depending on whether or not the test client and SSDK packages had been generated with ./gradlew clean build.

By removing them from the workspace, they will not influence the yarn.lock file. In order for the generated client and SSDK packages to be used in integration tests, a script is added to build, pack and copy the generated packages into node_modules.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@srchase srchase requested review from a team as code owners August 16, 2023 20:07
@srchase srchase merged commit 0bced79 into smithy-lang:main Aug 16, 2023
8 checks passed
@srchase srchase deleted the exclude-generated-from-workspace branch August 16, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants