mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove refs to --pure-lockfile (#40345)
This commit is contained in:
@@ -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:
|
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:
|
After the command has finished, we can start building our source code:
|
||||||
|
|||||||
@@ -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:
|
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).
|
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 `<GRAFANA_DIR>/packages/grafana-toolkit` and then run `yarn link`.
|
3. Navigate to `<GRAFANA_DIR>/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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user