Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

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
@barankyle barankyle deleted the dependency-cleanup branch June 6, 2023 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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