diff --git a/contribute/developer-guide.md b/contribute/developer-guide.md index ee3a4e6096d..911463b0b7f 100644 --- a/contribute/developer-guide.md +++ b/contribute/developer-guide.md @@ -48,7 +48,7 @@ Grafana consists of two components; the _frontend_, and the _backend_. Before we can build the frontend assets, we need to install the dependencies: ``` -yarn install --pure-lockfile +yarn install --immutable ``` After the command has finished, we can start building our source code: diff --git a/packages/grafana-toolkit/README.md b/packages/grafana-toolkit/README.md index a63160458f2..cd9938616ea 100644 --- a/packages/grafana-toolkit/README.md +++ b/packages/grafana-toolkit/README.md @@ -309,7 +309,7 @@ You can contribute to grafana-toolkit by helping develop it or by debugging it. Typically plugins should be developed using the `@grafana/toolkit` installed from npm. However, when working on the toolkit, you might want to use the local version. Follow the steps below to develop with a local version: 1. Clone [Grafana repository](https://github.com/grafana/grafana). -2. Navigate to the directory you have cloned Grafana repo to and then run `yarn install --pure-lockfile`. +2. Navigate to the directory you have cloned Grafana repo to and then run `yarn install --immutable`. 3. Navigate to `/packages/grafana-toolkit` and then run `yarn link`. 4. Navigate to the directory where your plugin code is and then run `npx grafana-toolkit plugin:dev --yarnlink`. This adds all dependencies required by grafana-toolkit to your project, as well as link your local grafana-toolkit version to be used by the plugin.