Welcome and thank you for your interest in contributing to Grunt Plugins.
If making a large change we request that you open an issue first.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
-
Clone the repository and create a new branch
-
Install all dependencies
npm install -g @microsoft/rush npm installNote: The initial
npm installmay fail due to SHA-256 signatures, this is because the shrink-wrap is reference local versions that got checked in, to resolve runrush update --recheck --purge --fullto cause the re-linking of the local build -- futurenpm installshould now work. -
Navigate to the root folder and update rush dependencies
rush update -
Build
rush build -
Run Tests (Currently not working)
npm run test
The root folder contains 8 packages that are components of this next version of the SDK. When making changes in multiple packages, you can build using the following commands in root folder:
-
rush rebuild --verbose
This will build all packages in order of dependencies. If there are build errors, verbose options is required to view error details.
-
npm run test
This will run tests in all packages.
If you are changing package versions or adding/removing any package dependencies, run> rush update --purge --recheck --full or npm run rupdate before building. Please check-in any files that change under common\ folder.