Uploaded image for project: 'Teiid Tools'
  1. Teiid Tools
  2. TEIIDTOOLS-983

UI package build error after adding vscode and monaco editor modules to syndesis ui

    Details

    • Sprint:
      DV Sprint 62

      Description

      replacing the code-mirror text editor with the vscode based monaco-editor via TEIIDTOOLS-917 (PR-8193) broke the UI package build and in particular the App.spect.tsx test.

      Spent some time trying to mock the ui.js and not having much luck.

      My understanding of the issue is that the because of nature of the syndesis ui app structure the web page will load associated node_modules, of which, the monaco-editor related modules and dependencies are being loaded even though they aren't needed for the main page.

      In addition there's a ui-doc OOM error, which was fixed on local build by reducing the TerserPlugin parallel: 2 value to 1 in the syndesis package craco.config.js

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  blafond Barry LaFond
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: