Commit graph

10 commits

Author SHA1 Message Date
Remco Haszing
f327e73f66
Bump dependencies 2021-07-17 14:20:08 +02:00
Remco Haszing
668b53af11
Remove React from examples
`react-monaco-editor` has a dependency on `monaco-editor@*`. This makes it
annoying to manage the exact version of `monaco-editor` that’s being used.
2021-07-17 13:41:43 +02:00
Remco Haszing
67e2accd3b
Remove UMD support
It was already broken.

Also the npm ecosystem is moving towards ESM only. This package should be a
part of that.
2021-07-17 13:22:05 +02:00
Remco Haszing
ec4de1f50c
Convert from yarn to npm
Npm 7 also supports workspaces, but doesn’t require the workspace root to be
private. This means the examples can be workspaces within the project, so the
entire project can be handled as one mono repository with a single lock file and
`node_modules` directory.

Also the readme has been updated with usage instructions.
2021-04-28 17:47:00 +02:00
Remco Haszing
5a0de63544
Synchronize yarn lockfiles 2021-04-14 20:09:42 +02:00
Remco Haszing
c4a95e2dd5
Replace monaco namespace with monaco-editor imports
This is a preparation for `monaco-editor@^0.22.0`. In this version the global
`monaco` object was removed for ESM users.

A choice was made to use `monaco-editor` imports, because this probably has
best compatibility for most users. If users want to use `monaco-editor-core`,
they will have to create an alias in their own build process.
2021-04-13 21:18:18 +02:00
Remco Haszing
5fd08c73ed
Update prettier to match yaml-language-server
Since both yaml-language-server and prettier are included in the bundle, their
versions should match for best compatibility. Also code has been formatted using
the updated prettier.
2021-04-13 20:17:12 +02:00
Remco Haszing
04907bd623
Apply prettier on all committed files 2021-03-25 17:59:58 +01:00
Himanshu Kapoor
fa72f5d6be
WIP: Dependency upgrades (#27)
* Update dependencies and remove language server

Dependency upgrades:
- monaco-editor 0.16.2 -> 0.20.0
- monaco-editor-core 0.16.1 -> 0.20.0
- monaco-languages 1.6.0 -> 1.10.0
- monaco-plugin-helpers 1.0.2 -> 1.0.3

Remove dependencies that are also dependencies of yaml-language-server

Remove all code from
- src/languageservice
- src/yaml-ast-parser-custom-tags
- test

* Update paths and deps in react examples

* fix: 🐛 fix package (#29)

Co-authored-by: DMY <147dmy@gmail.com>
2020-08-20 15:12:43 +05:30
Kristen Mills
bd61f1f040
Add React demos 2020-02-22 14:47:19 -08:00