Open romaricpascal opened 3 months ago
Name | Link |
---|---|
Latest commit | b3f610642c68c6f9cdfee255bf2b4effc711514a |
Latest deploy log | https://app.netlify.com/sites/govuk-frontend-docs-preview/deploys/65f9850485bd14000841b80d |
Deploy Preview | https://deploy-preview-428--govuk-frontend-docs-preview.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | 94cd498d9b7c69cf62c605c7b70e2b98b4594337 |
Latest deploy log | https://app.netlify.com/sites/govuk-frontend-docs-preview/deploys/65f9853223b7cd0008bdfb1f |
Deploy Preview | https://deploy-preview-428--govuk-frontend-docs-preview.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | e2d9a4708f2b5f98430cd95a3afd6e60cf47e5c0 |
Latest deploy log | https://app.netlify.com/sites/govuk-frontend-docs-preview/deploys/65f985440b01f700080ab8e9 |
Deploy Preview | https://deploy-preview-428--govuk-frontend-docs-preview.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Projects using a monorepo to group multiple packages in a single repository will likely have
govuk-frontend
as a dependency of one of the repository's packages rather than at the root of their repository.If they'd use the commands we provide as is, they'd end up installing
govuk-frontend
in the rootpackage.json
, while the one in the package actually usinggovuk-frontend
remains in their old version. This means the project wouldn't effectively be upgraded.There are many tools to manage a monorepo, evolving at their own pace. I don't think its our responsibility to provide the exact command to use for each of them, however I think adding a little warning would save people some headaches.
A couple of toughts behind the choices:
installing-with-npm
page as it could be a valid decision to installgovuk-frontend
at the root of your monorepo, depending how you manage your repository.