Skip to content

Conversation

1nf0rmagician
Copy link
Member

This PR aims for a significant improvement in build times for the web projects, by centralizing the package handling for all projects in the monorepo.

Replace npm with yarn for dependency handling
Adds a package.json file on root level specifying all web projects in the repo as workspaces. Also removes the old package-lock.json files, which are replaced by the yar.lock file created on root level.
Lastly replaced all commands in the csproj targets to use yarn in all circumstances.

To-Do:

  • Use yarn in actions
  • Add caching for the node_modules directory in github actions

Adds a package.json file on root level specifying all web projects in the repo as workspaces. Also removes the old package-lock.json files, which are replaced by the yar.lock file created on root level.
Lastly replaced all commands in the csproj targets to use yarn in all circumstances.
@1nf0rmagician 1nf0rmagician added the enhancement New feature or request label Sep 5, 2025
@1nf0rmagician 1nf0rmagician self-assigned this Sep 5, 2025
@1nf0rmagician 1nf0rmagician added this to the Framework 10.0.0 milestone Sep 5, 2025
Updates the shared workflow references from the tools repository to use the yarn install and caching.
The yarn.lock file is usually supposed to ensure consistency between different installs of the project. While an internal proxy package source is used, this causes issues in the OSS community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request npm pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant