@lvce-editor/file-search-worker 6.2.0 → 6.3.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
@@ -1,3 +1,12 @@
1
- # file search worker
1
+ # File Search Worker
2
2
 
3
3
  Web Worker for the file search functionality in LVCE Editor.
4
+
5
+ ## Contributing
6
+
7
+ ```sh
8
+ git clone git@github.com:lvce-editor/file-search-worker-worker.git &&
9
+ cd file-search-worker-worker &&
10
+ npm ci &&
11
+ npm test
12
+ ```
@@ -2651,18 +2651,20 @@ const KeepOpen = '';
2651
2651
 
2652
2652
  const selectPick$9 = async pick => {
2653
2653
  const id = pick.label;
2654
- await setColorTheme(/* colorThemeId */id);
2654
+ await setColorTheme(id);
2655
2655
  return {
2656
2656
  command: Hide
2657
2657
  };
2658
2658
  };
2659
2659
 
2660
+ const hideIds = ['AutoUpdater.checkForUpdates'];
2660
2661
  const shouldHide = item => {
2661
- if (item.id === 'Viewlet.openWidget' && item.args[0] === 'QuickPick') {
2662
+ if (hideIds.includes(item.id) || item.id === 'Viewlet.openWidget' && item.args[0] === 'QuickPick') {
2662
2663
  return false;
2663
2664
  }
2664
2665
  return true;
2665
2666
  };
2667
+
2666
2668
  const selectPickBuiltin = async item => {
2667
2669
  const args = item.args || [];
2668
2670
  // TODO ids should be all numbers for efficiency -> also directly can call command
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/file-search-worker",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "keywords": [
5
5
  "text-search"
6
6
  ],