chore(custom-widgets): fix formatting and dependency order
This commit is contained in:
1 parent
19aa92ec25
commit
505032bd21
20 files changed
+630
-1502
No files matched your search
@@ -158,7 +158,8 @@ manifest with paths to already packed archives:
|
||||
"widgets": [
|
||||
{ "key": "clock", "archive": "clock/dist/widget.homarr-widget.json" },
|
||||
{
|
||||
"key": "servers", "archive": "beszel/dist/widget.homarr-widget.json",
|
||||
"key": "servers",
|
||||
"archive": "beszel/dist/widget.homarr-widget.json",
|
||||
"connections": { "beszel": "monitor" }
|
||||
}
|
||||
]
|
||||
|
||||
@@ -143,10 +143,10 @@ trailing slashes when Homarr or Docusaurus starts.
|
||||
|
||||
## Trusted widget packages
|
||||
|
||||
| Variable | Purpose | Default |
|
||||
| --- | --- | --- |
|
||||
| `CUSTOM_WIDGET_PACKAGE_PATH` | Persistent build and runtime artifact cache. Activated browser/server artifacts and their source are also retained in the database. | `/appdata/custom-widgets` in production; `./appdata/custom-widgets` in development |
|
||||
| `CUSTOM_WIDGET_MAX_SERVER_PROCESSES` | Maximum active trusted widget server artifacts per Homarr process, from 1 to 128. Source-free packages do not start a server process. | `16` |
|
||||
| Variable | Purpose | Default |
|
||||
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
||||
| `CUSTOM_WIDGET_PACKAGE_PATH` | Persistent build and runtime artifact cache. Activated browser/server artifacts and their source are also retained in the database. | `/appdata/custom-widgets` in production; `./appdata/custom-widgets` in development |
|
||||
| `CUSTOM_WIDGET_MAX_SERVER_PROCESSES` | Maximum active trusted widget server artifacts per Homarr process, from 1 to 128. Source-free packages do not start a server process. | `16` |
|
||||
|
||||
Each replica materializes an authorized installed artifact from the database into its own cache. Dashboard requests do
|
||||
not install npm dependencies. Package dependencies are resolved and bundled when an owner previews or activates a new
|
||||
|
||||
@@ -20,6 +20,7 @@ Each task exposes:
|
||||

|
||||
|
||||
Disabling a task stops scheduled runs but does not prevent a manual run.
|
||||
|
||||
## Widget history collectors
|
||||
|
||||
Trusted widget installations can opt into background sampling from their **Activation & boards** workspace tab.
|
||||
|
||||
Reference in new issue
Block a user