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

feat: Removed Yarn (in favor of NPM ), Updated Docker, Reran/updated packages. #786

Merged
merged 5 commits into from
Jun 11, 2024

Conversation

Kevin101Zhang
Copy link
Contributor

@Kevin101Zhang Kevin101Zhang commented Jun 11, 2024

We previously managed our packages with two different package managers, which often led to confusion and inconsistencies within the repository. Some parts of the codebase used Yarn, while others, like Docker configurations, relied on npm.

This setup resulted in numerous dependency mismatches/conflucts, duplicate caching and storage, and larger build times. To align with the majority of our repository, which already uses npm (e.g., our runner scripts), I remove Yarn entirely and standardize on npm. I eliminated all references to Yarn, including removing the yarn.lock file/cache. Additionally, we updated our Dockerfile from using Node.js version 16 to version 18 to meet the requirements of our applications and removed the reference to yarn in our dockerfile. Which is odd because our local dockerfile used yarn while our dockerfile on gcp references npm?

@Kevin101Zhang Kevin101Zhang marked this pull request as ready for review June 11, 2024 19:10
@Kevin101Zhang Kevin101Zhang requested a review from a team as a code owner June 11, 2024 19:10
@Kevin101Zhang Kevin101Zhang changed the title updated devDependencies eslint, ts-eslint-plugin, ts-eslint-parser to compatible peerDependencies Removed Yarn (in favor of NPM ), Updated Docker, Reran/updated packages. Jun 11, 2024
@Kevin101Zhang
Copy link
Contributor Author

Testing:

  1. Fresh Install of modules has no issues
  2. Runs Locally
  3. Builds Locally
  4. Local Docker Container builds successfully

@Kevin101Zhang Kevin101Zhang merged commit 8ffa697 into main Jun 11, 2024
@Kevin101Zhang Kevin101Zhang deleted the fix-dep-tree branch June 11, 2024 20:36
@Kevin101Zhang Kevin101Zhang linked an issue Jun 11, 2024 that may be closed by this pull request
@Kevin101Zhang Kevin101Zhang changed the title Removed Yarn (in favor of NPM ), Updated Docker, Reran/updated packages. feat: Removed Yarn (in favor of NPM ), Updated Docker, Reran/updated packages. Jul 24, 2024
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.

Remove yarn
2 participants