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

Cleaned up dependency installation #8048

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Cleaned up dependency installation #8048

merged 1 commit into from
Jun 6, 2023

Conversation

barankyle
Copy link
Member

@barankyle barankyle commented Jun 2, 2023

Summary

Made production npm installs only install prod dependencies through --production flag.

Removed some unused dependencies and moved some dependency definitions if they were only used in specific packages.

Made lerna a devDependency, which works fine in production builds.

Ran depcheck on all packages to identify and fix most extraneous or unspecified dependencies.

References

closes #insert number here

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

@barankyle barankyle force-pushed the dependency-cleanup branch 4 times, most recently from 838d0c8 to 6387194 Compare June 5, 2023 19:02
@barankyle barankyle linked an issue Jun 5, 2023 that may be closed by this pull request
scripts/resave-all-scenes.ts Outdated Show resolved Hide resolved
Made production npm installs only install prod dependencies through --production flag.

Removed some unused dependencies and moved some dependency definitions if they were only
used in specific packages.

Made lerna a devDependency, which works fine in production builds.

Ran depcheck on all packages to identify and fix most extraneous or unspecified dependencies.

Removed a number of top-level npm scripts that just called a script. Replaced any calls to
those npm scripts with the appropriate command.
Copy link
Member

@hanzlamateen hanzlamateen left a comment

Choose a reason for hiding this comment

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

Looks good. Also updated control center to update scripts that were removed from package.json

https://github.com/EtherealEngine/etherealengine-control-center/pull/99/files

@barankyle barankyle added this pull request to the merge queue Jun 6, 2023
Merged via the queue into dev with commit 2ab2466 Jun 6, 2023
8 of 9 checks passed
@barankyle barankyle deleted the dependency-cleanup branch June 6, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Remove some of the 60 scripts in our pkg json
3 participants