You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,47 @@ Then in [`perses`](https://github.com/perses/perses) repository:
23
23
2. Start the backend: `./scripts/api_backend_dev.sh`
24
24
3. Login percli to the backend `percli login http://localhost:8080`
25
25
4. Start the plugin development server: `percli plugin start /path/to/the/plugin/dir`
26
+
27
+
### Working with Snapshots
28
+
29
+
This will allow you to use the updates from perses core in your plugin so you can test the changes.
30
+
31
+
1. In perses/perses create a [snapshot](https://github.com/perses/perses/blob/30758a963337564ab58c78646a1134e51d74e146/RELEASE.md?plain=1#L109-L146). Snapshots will be released in npm:
2. Copy the name of your snapshot, for example `v0.0.0-snapshot-panel-actions-520389b`.
39
+
40
+
3. In perses/plugin, navigate to the plugin you are changing and install the snapshot npm packages, this should be installed as "dependencies" NOT "peerDependencies" for example:
0 commit comments