Skip to content

Commit

Permalink
feat: migrate from Monaco to CodeMirror (#945)
Browse files Browse the repository at this point in the history
* feat: migrate from Monaco to CodeMirror

Signed-off-by: Oleksii Orel <oorel@redhat.com>
  • Loading branch information
olexii4 authored Oct 10, 2023
1 parent 1966f74 commit 7486131
Show file tree
Hide file tree
Showing 43 changed files with 278 additions and 11,631 deletions.
1 change: 1 addition & 0 deletions .deps/EXCLUDED/prod.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This file lists dependencies that do not need CQs or auto-detection does not wor
| `@patternfly/react-core@4.276.11` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/@patternfly/react-core/4.276.11] |
| `@patternfly/react-icons@4.93.7` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/@patternfly/react-icons/4.93.7] |
| `blueimp-md5@2.19.0` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/-/blueimp-md5/2.19.0] |
| `codemirror@5.65.15` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/-/codemirror/5.65.15] |
| `fast-uri@2.2.0` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/-/fast-uri/2.2.0] |
| `fastify@4.21.0` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/-/fastify/4.21.0] |
| `real-require@0.2.0` | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/-/real-require/0.2.0] |
78 changes: 39 additions & 39 deletions .deps/dev.md

Large diffs are not rendered by default.

39 changes: 8 additions & 31 deletions .deps/prod.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
| [`@devfile/api@2.2.1-alpha-1667236163`](https://github.com/devfile/api.git) | Apache-2.0 | clearlydefined |
| `@eclipse-che/api@7.72.0` | EPL-2.0 | ecd.che |
| [`@eclipse-che/che-devworkspace-generator@7.75.0-next-bbd66d3`](git+https://github.com/eclipse-che/che-devfile-registry.git) | EPL-2.0 | ecd.che |
| [`@eclipse-che/common@7.75.0-next`](https://github.com/eclipse-che/che-dashboard) | EPL-2.0 | ecd.che |
| [`@eclipse-che/dashboard-backend@7.75.0-next`](https://github.com/eclipse-che/che-dashboard) | EPL-2.0 | ecd.che |
| [`@eclipse-che/dashboard-frontend@7.75.0-next`](git://github.com/eclipse/che-dashboard.git) | EPL-2.0 | ecd.che |
| [`@eclipse-che/common@7.76.0-next`](https://github.com/eclipse-che/che-dashboard) | EPL-2.0 | ecd.che |
| [`@eclipse-che/dashboard-backend@7.76.0-next`](https://github.com/eclipse-che/che-dashboard) | EPL-2.0 | ecd.che |
| [`@eclipse-che/dashboard-frontend@7.76.0-next`](git://github.com/eclipse/che-dashboard.git) | EPL-2.0 | ecd.che |
| [`@eclipse-che/devfile-converter@0.0.1-ff55f9a`](git+https://github.com/che-incubator/devfile-converter.git) | EPL-2.0 | ecd.che |
| [`@fastify/accept-negotiator@1.1.0`](git+https://github.com/fastify/accept-negotiator.git) | MIT | clearlydefined |
| [`@fastify/ajv-compiler@3.5.0`](git+https://github.com/fastify/ajv-compiler.git) | MIT | clearlydefined |
Expand Down Expand Up @@ -50,11 +50,10 @@
| [`@types/react@18.2.20`](https://github.com/DefinitelyTyped/DefinitelyTyped.git) | MIT | #8234 |
| [`@types/request@2.48.8`](https://github.com/DefinitelyTyped/DefinitelyTyped.git) | MIT | clearlydefined |
| [`@types/scheduler@0.16.3`](https://github.com/DefinitelyTyped/DefinitelyTyped.git) | MIT | #7582 |
| [`@types/tough-cookie@4.0.2`](https://github.com/DefinitelyTyped/DefinitelyTyped.git) | MIT | clearlydefined |
| [`@types/tough-cookie@4.0.2`](https://github.com/DefinitelyTyped/DefinitelyTyped.git) | MIT | #10798 |
| [`@types/ws@8.5.5`](https://github.com/DefinitelyTyped/DefinitelyTyped.git) | MIT | #6016 |
| [`abort-controller@3.0.0`](git+https://github.com/mysticatea/abort-controller.git) | MIT | #7592 |
| [`abstract-logging@2.0.1`](git+https://github.com/jsumners/abstract-logging.git) | MIT | clearlydefined |
| [`agent-base@4.3.0`](git://github.com/TooTallNate/node-agent-base.git) | MIT | clearlydefined |
| [`ajv-formats@2.1.1`](git+https://github.com/ajv-validator/ajv-formats.git) | MIT | clearlydefined |
| [`ajv@8.12.0`](https://github.com/ajv-validator/ajv.git) | MIT | #6025 |
| [`ansi-regex@2.1.1`](https://github.com/chalk/ansi-regex.git) | MIT | #5896 |
Expand Down Expand Up @@ -107,6 +106,7 @@
| [`chalk@2.4.2`](https://github.com/chalk/chalk.git) | MIT | clearlydefined |
| [`chownr@2.0.0`](git://github.com/isaacs/chownr.git) | ISC | clearlydefined |
| [`cipher-base@1.0.4`](git+https://github.com/crypto-browserify/cipher-base.git) | MIT | clearlydefined |
| [`codemirror@5.65.15`](https://github.com/codemirror/CodeMirror.git) | MIT | (clearlydefined)[https://clearlydefined.io/definitions/npm/npmjs/-/codemirror/5.65.15] |
| [`color-convert@1.9.3`](https://github.com/Qix-/color-convert.git) | MIT | clearlydefined |
| [`color-name@1.1.3`](git@github.com:dfcreative/color-name.git) | MIT | clearlydefined |
| [`combined-stream@1.0.8`](git://github.com/felixge/node-combined-stream.git) | MIT | clearlydefined |
Expand Down Expand Up @@ -141,11 +141,8 @@
| [`elliptic@6.5.4`](git@github.com:indutny/elliptic) | MIT | [CQ23022](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=23022) |
| [`end-of-stream@1.4.4`](git://github.com/mafintosh/end-of-stream.git) | MIT | clearlydefined |
| [`entities@4.5.0`](git://github.com/fb55/entities.git) | BSD-2-Clause | #7910 |
| [`es6-promise@4.2.8`](git://github.com/stefanpenner/es6-promise.git) | MIT | #2898 |
| [`es6-promisify@5.0.0`](https://github.com/digitaldesignlabs/es6-promisify.git) | MIT | clearlydefined |
| [`escape-html@1.0.3`](https://github.com/component/escape-html.git) | MIT | clearlydefined |
| [`escape-string-regexp@1.0.5`](https://github.com/sindresorhus/escape-string-regexp.git) | MIT | clearlydefined |
| [`esprima@4.0.1`](https://github.com/jquery/esprima.git) | BSD-2-Clause | #995 |
| [`esutils@2.0.3`](http://github.com/estools/esutils.git) | BSD-2-Clause | #120 |
| [`event-target-shim@5.0.1`](https://github.com/mysticatea/event-target-shim.git) | MIT | #7578 |
| [`events@3.3.0`](git://github.com/Gozala/events.git) | MIT | clearlydefined |
Expand All @@ -166,7 +163,7 @@
| [`file-selector@0.1.19`](https://github.com/react-dropzone/file-selector.git) | MIT | [CQ22350](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22350) |
| [`find-my-way@7.6.2`](git+https://github.com/delvedor/find-my-way.git) | MIT | clearlydefined |
| [`focus-trap@6.9.2`](git+https://github.com/focus-trap/focus-trap.git) | MIT | clearlydefined |
| [`follow-redirects@1.15.2`](git@github.com:follow-redirects/follow-redirects.git) | MIT | clearlydefined |
| [`follow-redirects@1.15.2`](git@github.com:follow-redirects/follow-redirects.git) | MIT | #10782 |
| [`forever-agent@0.6.1`](https://github.com/mikeal/forever-agent) | Apache-2.0 | clearlydefined |
| [`form-data@2.5.1`](git://github.com/form-data/form-data.git) | MIT | clearlydefined |
| [`forwarded@0.2.0`](https://github.com/jshttp/forwarded.git) | MIT | clearlydefined |
Expand All @@ -176,7 +173,6 @@
| [`function-bind@1.1.1`](git://github.com/Raynos/function-bind.git) | MIT | clearlydefined |
| [`get-intrinsic@1.2.1`](git+https://github.com/ljharb/get-intrinsic.git) | MIT | #8453 |
| [`getpass@0.1.7`](https://github.com/arekinath/node-getpass.git) | MIT | clearlydefined |
| [`glob-to-regexp@0.3.0`](https://github.com/fitzgen/glob-to-regexp.git) | BSD | #1140 |
| [`glob@8.1.0`](git://github.com/isaacs/node-glob.git) | ISC | #7145 |
| [`globals@9.18.0`](https://github.com/sindresorhus/globals.git) | MIT | clearlydefined |
| [`graceful-fs@4.2.11`](https://github.com/isaacs/node-graceful-fs) | ISC | #7413 |
Expand All @@ -187,7 +183,7 @@
| [`has-flag@3.0.0`](https://github.com/sindresorhus/has-flag.git) | MIT | clearlydefined |
| [`has-proto@1.0.1`](git+https://github.com/inspect-js/has-proto.git) | MIT | #6175 |
| [`has-symbols@1.0.3`](git://github.com/inspect-js/has-symbols.git) | MIT | clearlydefined |
| [`has@1.0.3`](git://github.com/tarruda/has.git) | MIT | clearlydefined |
| [`has@1.0.3`](git://github.com/tarruda/has.git) | MIT | #10930 |
| [`hash-base@3.1.0`](https://github.com/crypto-browserify/hash-base.git) | MIT | clearlydefined |
| [`hash.js@1.1.7`](git@github.com:indutny/hash.js) | MIT | #1044 |
| [`history@4.10.1`](https://github.com/ReactTraining/history.git) | MIT | clearlydefined |
Expand All @@ -196,9 +192,7 @@
| [`home-or-tmp@2.0.0`](https://github.com/sindresorhus/home-or-tmp.git) | MIT | clearlydefined |
| [`htmlparser2@8.0.2`](git://github.com/fb55/htmlparser2.git) | MIT | clearlydefined |
| [`http-errors@2.0.0`](https://github.com/jshttp/http-errors.git) | MIT | clearlydefined |
| [`http-proxy-agent@2.1.0`](git://github.com/TooTallNate/node-http-proxy-agent.git) | MIT | clearlydefined |
| [`http-signature@1.2.0`](git://github.com/joyent/node-http-signature.git) | MIT | #2732 |
| [`https-proxy-agent@2.2.4`](git://github.com/TooTallNate/node-https-proxy-agent.git) | MIT | clearlydefined |
| `https@1.0.0` | ISC | clearlydefined |
| [`ieee754@1.2.1`](git://github.com/feross/ieee754.git) | BSD-3-Clause | clearlydefined |
| [`immutable@4.3.2`](git://github.com/immutable-js/immutable-js.git) | MIT | #7353 |
Expand Down Expand Up @@ -250,11 +244,8 @@
| [`minizlib@2.1.2`](git+https://github.com/isaacs/minizlib.git) | MIT | clearlydefined |
| [`mkdirp@1.0.4`](https://github.com/isaacs/node-mkdirp.git) | MIT | clearlydefined |
| [`mnemonist@0.39.5`](git+https://github.com/yomguithereal/mnemonist.git) | MIT | clearlydefined |
| [`monaco-editor-core@0.20.0`](https://github.com/Microsoft/vscode) | MIT | clearlydefined |
| [`monaco-languageclient@0.13.0`](https://github.com/TypeFox/monaco-languageclient.git) | MIT | clearlydefined |
| [`monaco-languages@1.10.0`](https://github.com/Microsoft/monaco-languages) | MIT | clearlydefined |
| [`mri@1.1.4`](https://github.com/lukeed/mri.git) | MIT | clearlydefined |
| [`ms@2.0.0`](https://github.com/zeit/ms.git) | MIT | clearlydefined |
| [`ms@2.1.2`](https://github.com/zeit/ms.git) | MIT | #5895 |
| [`multi-ini@2.3.2`](git://github.com/evangelion1204/multi-ini.git) | MIT | clearlydefined |
| [`nanoid@3.3.6`](https://github.com/ai/nanoid.git) | MIT | #7571 |
| [`node-fetch@2.6.12`](https://github.com/bitinn/node-fetch.git) | MIT | #6954 |
Expand Down Expand Up @@ -283,7 +274,6 @@
| [`pino@8.15.0`](git+https://github.com/pinojs/pino.git) | MIT | clearlydefined |
| [`popper.js@1.16.1`](git+https://github.com/FezVrasta/popper.js.git) | MIT | [CQ22353](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22353) |
| [`postcss@8.4.28`](https://github.com/postcss/postcss.git) | MIT | #3545 |
| [`prettier@2.0.5`](https://github.com/prettier/prettier.git) | MIT | #1523 |
| [`private@0.1.8`](git://github.com/benjamn/private.git) | MIT | clearlydefined |
| [`process-warning@2.2.0`](git+https://github.com/fastify/process-warning.git) | MIT | clearlydefined |
| [`process@0.11.10`](git://github.com/shtylman/node-process.git) | MIT | [CQ23452](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=23452) |
Expand Down Expand Up @@ -320,7 +310,6 @@
| [`reflect-metadata@0.1.13`](https://github.com/rbuckton/reflect-metadata.git) | Apache-2.0 | clearlydefined |
| [`regenerator-runtime@0.14.0`](https://github.com/facebook/regenerator/tree/main/packages/runtime) | MIT | #9897 |
| [`repeating@2.0.1`](https://github.com/sindresorhus/repeating.git) | MIT | clearlydefined |
| [`request-light@0.2.5`](https://github.com/microsoft/node-request-light) | MIT | clearlydefined |
| [`request@2.88.2`](https://github.com/request/request.git) | Apache-2.0 | #997 |
| [`require-from-string@2.0.2`](https://github.com/floatdrop/require-from-string.git) | MIT | clearlydefined |
| [`reselect@4.1.8`](https://github.com/reduxjs/reselect.git) | MIT | clearlydefined |
Expand Down Expand Up @@ -352,7 +341,6 @@
| [`source-map-support@0.4.18`](https://github.com/evanw/node-source-map-support) | MIT | clearlydefined |
| [`source-map@0.5.7`](http://github.com/mozilla/source-map.git) | BSD-3-Clause | #2400 |
| [`split2@4.2.0`](https://github.com/mcollina/split2.git) | ISC | clearlydefined |
| [`sprintf-js@1.0.3`](https://github.com/alexei/sprintf.js.git) | BSD-3-Clause | #949 |
| [`sshpk@1.17.0`](git+https://github.com/joyent/node-sshpk.git) | MIT | clearlydefined |
| [`statuses@2.0.1`](https://github.com/jshttp/statuses.git) | MIT | clearlydefined |
| [`stream-browserify@3.0.0`](git://github.com/browserify/stream-browserify.git) | MIT | clearlydefined |
Expand Down Expand Up @@ -388,22 +376,11 @@
| [`uuid@3.4.0`](https://github.com/uuidjs/uuid.git) | MIT | #2733 |
| [`value-equal@1.0.1`](https://github.com/mjackson/value-equal.git) | MIT | clearlydefined |
| [`verror@1.10.0`](git://github.com/davepacheco/node-verror.git) | MIT | clearlydefined |
| [`vscode-json-languageservice@3.11.0`](https://github.com/Microsoft/vscode-json-languageservice) | MIT | clearlydefined |
| [`vscode-jsonrpc@5.0.1`](https://github.com/Microsoft/vscode-languageserver-node.git) | MIT | clearlydefined |
| [`vscode-languageclient@6.1.4`](https://github.com/Microsoft/vscode-languageserver-node.git) | MIT | [CQ22358](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22358) |
| [`vscode-languageserver-protocol@3.17.3`](https://github.com/Microsoft/vscode-languageserver-node.git) | MIT | #4965 |
| [`vscode-languageserver-textdocument@1.0.8`](https://github.com/Microsoft/vscode-languageserver-node.git) | MIT | #2677 |
| [`vscode-languageserver-types@3.17.3`](https://github.com/Microsoft/vscode-languageserver-node.git) | MIT | #2564 |
| [`vscode-languageserver@5.2.1`](https://github.com/Microsoft/vscode-languageserver-node.git) | MIT | clearlydefined |
| [`vscode-nls@4.1.2`](https://github.com/Microsoft/vscode-nls.git) | MIT | clearlydefined |
| [`vscode-uri@2.1.2`](git+https://github.com/Microsoft/vscode-uri.git) | MIT | clearlydefined |
| [`warning@4.0.3`](https://github.com/BerkeleyTrue/warning.git) | MIT | [CQ22359](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22359) |
| [`webidl-conversions@3.0.1`](https://github.com/jsdom/webidl-conversions.git) | BSD-2-Clause | clearlydefined |
| [`whatwg-url@5.0.0`](https://github.com/jsdom/whatwg-url.git) | MIT | clearlydefined |
| [`wrappy@1.0.2`](https://github.com/npm/wrappy) | ISC | clearlydefined |
| [`ws@8.13.0`](https://github.com/websockets/ws.git) | MIT | #7453 |
| [`yallist@4.0.0`](git+https://github.com/isaacs/yallist.git) | ISC | clearlydefined |
| [`yaml-language-server-parser@0.1.1`](https://github.com/redhat-developer/yaml-ast-parser.git) | Apache-2.0 | clearlydefined |
| [`yaml-language-server@0.13.0`](https://github.com/redhat-developer/yaml-language-server.git) | MIT | clearlydefined |
| [`yaml@2.3.1`](https://github.com/eemeli/yaml.git) | ISC | #9019 |
| [`yocto-queue@0.1.0`](https://github.com/sindresorhus/yocto-queue.git) | MIT | clearlydefined |
3 changes: 0 additions & 3 deletions packages/dashboard-backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { registerSwagger } from './plugins/swagger';
import { registerWebSocket } from './plugins/webSocket';
import { registerClusterConfigRoute } from './routes/api/clusterConfig';
import { registerClusterInfoRoute } from './routes/api/clusterInfo';
import { registerDevfileSchemaRoute } from './routes/api/devfileSchema';
import { registerDevworkspaceResourcesRoute } from './routes/api/devworkspaceResources';
import { registerDevworkspacesRoutes } from './routes/api/devworkspaces';
import { registerDevWorkspaceTemplates } from './routes/api/devworkspaceTemplates';
Expand Down Expand Up @@ -107,8 +106,6 @@ export default async function buildApp(server: FastifyInstance): Promise<void> {

registerYamlResolverRoute(server);

registerDevfileSchemaRoute(server);

registerDevworkspaceResourcesRoute(server);

registerPersonalAccessTokenRoutes(server);
Expand Down
Loading

0 comments on commit 7486131

Please sign in to comment.