mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
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:
committed by
David Lechner
parent
5924ded76a
commit
35cef50e44
+2
-2
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user