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

Move Cypress related dependencies to devDependencies and remove one unused dependency #1829

Merged
merged 1 commit into from
May 20, 2024

Conversation

mengweieric
Copy link
Collaborator

Description

Build zip size reduced by more than 1MB

// Before
-rw-rw-r--  1 ubuntu ubuntu 55740378 May  8 21:35 observabilityDashboards-2.14.0.zip

// After
-rw-rw-r--  1 ubuntu ubuntu 53876629 May  8 21:54 observabilityDashboards-2.14.0.zip

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

Nice!

"json5": "^2.2.3",
"mime": "^3.0.0",
"mocha": "10.1.0",
"performance-now": "^2.1.0",
"plotly.js-dist": "^2.29.1",
"postinstall": "^0.7.4",
Copy link
Member

Choose a reason for hiding this comment

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

Is postinstall not needed or is it part of core?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

postinstall was previously added for generating anltr artifacts after installing dependecies, but we later due to build issue start generating file manually, hence not need it anymore

@mengweieric mengweieric merged commit 64c71c9 into opensearch-project:main May 20, 2024
14 of 23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 20, 2024
Signed-off-by: Eric <[email protected]>
(cherry picked from commit 64c71c9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mengweieric pushed a commit that referenced this pull request May 21, 2024
(cherry picked from commit 64c71c9)

Signed-off-by: Eric <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants