@lvce-editor/renderer-process 30.78.0 → 30.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,8 +4,18 @@ Set `preloadWorkers` in the HTML `Config` JSON to select workers to create early
4
4
 
5
5
  ```json
6
6
  {
7
- "preloadWorkers": ["rendererWorker", "editorWorker", "syntaxHighlightingWorker", "extensionManagementWorker", "fileSystemWorker"]
7
+ "preloadWorkers": [
8
+ "rendererWorker",
9
+ "editorWorker",
10
+ "syntaxHighlightingWorker",
11
+ "extensionManagementWorker",
12
+ "fileSystemWorker",
13
+ "activityBarWorker",
14
+ "mainAreaWorker",
15
+ "statusBarWorker",
16
+ "iconThemeWorker"
17
+ ]
8
18
  }
9
19
  ```
10
20
 
11
- These five workers are the default when the field is absent or is not an array. An empty array disables optional preloading. Renderer Worker always starts because it bootstraps the application. Unknown IDs are ignored and duplicates are created once. Omitted workers remain available on demand. Precreated workers use the existing port handoff, so initialization still runs through their normal parent worker. Worker URLs can be overridden with `workerUrls` in the same config.
21
+ These nine workers are the default when the field is absent or is not an array. An empty array disables optional preloading. Renderer Worker always starts because it bootstraps the application. Unknown IDs are ignored and duplicates are created once. Omitted workers remain available on demand. Precreated workers use the existing port handoff, so initialization still runs through their normal parent worker. Worker URLs can be overridden with `workerUrls` in the same config.
@@ -5260,11 +5260,15 @@ const hydrate$1 = async () => {
5260
5260
  return success(undefined);
5261
5261
  };
5262
5262
 
5263
- const defaultPreloadWorkers = ['rendererWorker', 'editorWorker', 'syntaxHighlightingWorker', 'extensionManagementWorker', 'fileSystemWorker'];
5263
+ const defaultPreloadWorkers = ['rendererWorker', 'editorWorker', 'syntaxHighlightingWorker', 'extensionManagementWorker', 'fileSystemWorker', 'activityBarWorker', 'mainAreaWorker', 'statusBarWorker', 'iconThemeWorker'];
5264
5264
  const additionalWorkerFns = {
5265
+ activityBarWorker: () => preloadWorker('Activity Bar Worker', 'activity-bar-worker', 'activityBarWorkerMain.js', 'develop.activityBarWorkerPath'),
5265
5266
  editorWorker: hydrate$2,
5266
5267
  extensionManagementWorker: () => preloadWorker('Extension Management Worker', 'extension-management-worker', 'extensionManagementWorkerMain.js', 'develop.extensionManagementWorkerPath'),
5267
5268
  fileSystemWorker: () => preloadWorker('File System Worker', 'file-system-worker', 'fileSystemWorkerMain.js', 'develop.fileSystemWorkerPath'),
5269
+ iconThemeWorker: () => preloadWorker('Icon Theme Worker', 'icon-theme-worker', 'iconThemeWorkerMain.js', 'develop.iconThemeWorkerPath'),
5270
+ mainAreaWorker: () => preloadWorker('Main Area Worker', 'main-area-worker', 'mainAreaWorkerMain.js', 'develop.mainAreaWorkerPath'),
5271
+ statusBarWorker: () => preloadWorker('Status Bar Worker', 'status-bar-worker', 'statusBarWorkerMain.js', 'develop.statusBarWorkerPath'),
5268
5272
  syntaxHighlightingWorker: hydrate$1
5269
5273
  };
5270
5274
  const launchWorkers = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.78.0",
3
+ "version": "30.80.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"