Add packagePath to plugin info

Provide the absolute path to the package.json file in the resolved
plugin info to simplify the logic around loading files from it.
This commit is contained in:
Hornwitser committed 2026-09-11 19:51:15 +02:00
1 parent d6dce12acc
commit 30083b96c1
8 files changed
+20 -18

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ export type PluginNodeEnvInfo = PluginDeclaration & {
* server in order for the web interface to be able to load the plugin.
*/
webStaticPath: string;
/**
* Absolute path to the package.json file for the plugin.
*/
packagePath: string;
requirePath: string;
version: string;
manifest: any;