-
Notifications
You must be signed in to change notification settings - Fork 146
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
Maintenance: remove tests folder from the commons dist package #1354
Comments
Do we treat this as a breaking change? I agree that they could/should be removed, but we don't know if anyone is depending on them already. |
Yes, since the code was available to customers. We use the code only in our tests across most packages. Moving the code to commons/tests would require import additional exports. Alternatively we can create a dedicated testing package to move these kind of utilities and e2e related code. |
I think that's the way to go, we should create a new package in the workspace and extract those things not needed at runtime there. Also I don't think we should publish this pkg to npm for now. About the breaking change part, this means we'll have to wait till 2.0 |
@am29d, do you think we should create a separate issue to create, in due time, a the new unpublished package & move over all the internal references to it while also marking the published one as deprecated? In this new issue we could:
This way we can avoid adding more things inside Obviously this wouldn't be a priority issue, but I think we could approach it before v2 discussions. At the same time, this issue here (#1354) would stay open as-is and be closed once we actually remove the files. |
As it stands, the only actions left for this issue are:
If you are interested in working on this issue, please leave a comment below so we can assign it to you. If you have any additional question before claiming the issue, feel free to ask either here on in our Discord server under the |
|
This is available in preview starting from the |
Summary
Important
Please refer to this comment down below for the latest updates on the scope & tasks for this issue.
In our commons package we export sample resources, which are bundled in our distribution package. We should remove these resources from the distribution package.
Why is this needed?
These sample resources are unnecessary for the production build.
Which area does this relate to?
No response
Solution
No response
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: