editor: drop use of react-monaco-editor

The upstream package is currently broken and doesn't actually save us
any work.
This commit is contained in:
David Lechner
2022-12-01 17:08:19 -06:00
committed by David Lechner
parent 5924ded76a
commit 35cef50e44
15 changed files with 59 additions and 73 deletions
+2 -2
View File
@@ -95,7 +95,6 @@
"react-dom": "^16.13.1",
"react-dropzone": "^14.2.3",
"react-joyride": "^2.5.3",
"react-monaco-editor": "^0.50.1",
"react-popper": "^2.3.0",
"react-redux": "^8.0.5",
"react-refresh": "^0.14.0",
@@ -198,11 +197,12 @@
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.mjs"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\](?!(monaco-editor|react-monaco-editor|nanoevents)[/\\\\]).+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"[/\\\\]node_modules[/\\\\](?!(monaco-editor|nanoevents)[/\\\\]).+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"^monaco-editor$": "monaco-editor/esm/vs/editor/editor.api",
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},