Remco Haszing
f5fc412497
Merge pull request #70 from remcohaszing/demo-metadata
...
Update metadata
2021-08-09 21:42:47 +02:00
Remco Haszing
11030e5599
Update metadata
...
- Add links to https://monaco-editor.js.org
- Add netlify badge to the readme
- Add YAML icon to the demo
2021-08-09 20:49:00 +02:00
Remco Haszing
249771b770
Merge pull request #69 from remcohaszing/optimize-example
...
Optimize the example
2021-08-09 08:29:41 +02:00
Remco Haszing
72d77fdc33
Optimize the example
2021-08-07 13:40:56 +02:00
Remco Haszing
ee45815857
Merge pull request #68 from remcohaszing/update-example
...
Update the example
2021-08-07 13:14:33 +02:00
Remco Haszing
4bbdb7e5b1
Update the example
...
It looks somewhat nice now.
2021-08-07 10:50:50 +02:00
Remco Haszing
92b103ee8d
Fix command for netlify
2021-08-07 09:33:29 +02:00
Remco Haszing
b6195b1563
Add .nvmrc
2021-08-07 09:31:34 +02:00
Remco Haszing
9962474f4d
Configure netlify
2021-08-07 09:28:19 +02:00
Remco Haszing
cff2665b7c
Merge pull request #67 from remcohaszing/service-worker-to-web-worker
...
Service worker to web worker
2021-08-05 19:08:54 +02:00
Remco Haszing
3094ebef91
Merge pull request #65 from remcohaszing/webpack-5
...
Update dependencies
2021-08-05 18:44:19 +02:00
Remco Haszing
6271f31cd3
Merge pull request #66 from remcohaszing/remove-vscode-settings
...
Remove .vscode folder
2021-08-05 18:44:03 +02:00
Remco Haszing
e4c13afe52
Change service worker to web worker in readme
...
They are different things. Monaco uses web workers.
2021-08-05 18:42:54 +02:00
Remco Haszing
e95737f7a2
Remove .vscode folder
...
Contributors should be able to use their own preferences.
2021-08-05 18:37:23 +02:00
Remco Haszing
13c46f5de6
Update dependencies
...
Most notably update to Webpack 5. Webpack 5 supports web workers without
the need of a loader, so the `webpack-worker-loader` example has been
removed.
2021-08-05 18:33:58 +02:00
Remco Haszing
c1310d88ff
Merge pull request #64 from remcohaszing/update-metadata
...
Update documentation
2021-07-31 16:51:20 +02:00
Remco Haszing
2ea154af85
Update documentation
...
- Update repository links
- Restructure the readme
- Add contributing document
- Update credits
2021-07-31 16:15:45 +02:00
Remco Haszing
090302534a
3.0.0
2021-07-18 15:01:19 +02:00
Remco Haszing
bd831b1e03
Merge pull request #61 from remcohaszing/expose-set-diagnostics-options
...
Expose setDiagnosticsOptions in monaco-yaml
2021-07-18 15:01:04 +02:00
Remco Haszing
7174aff026
Expose setDiagnosticsOptions in monaco-yaml
...
This removes the need to explain certain statements and imports need to
happen in a specific order. Users can now just use:
```ts
import { setDiagnosticsOptions } from 'monaco-yaml';
setDiagnosticsOptions({});
```
2021-07-18 14:58:42 +02:00
Remco Haszing
9436e1f034
Merge pull request #60 from remcohaszing/enhance-types
...
Add missing diagnostics options in types
2021-07-18 14:44:40 +02:00
Remco Haszing
7a6fcf0c64
Add missing diagnostics options in types
...
Also JSON schemas have been typed to be more specific using
`@types/json-schema`.
2021-07-18 14:20:41 +02:00
Remco Haszing
ce58d4b6d7
Merge pull request #59 from remcohaszing/simplify-webpack-example-structures
...
Use a more minimal webpack config for examples
2021-07-18 13:35:58 +02:00
Remco Haszing
249de5dc34
Use a more minimal webpack config for examples
2021-07-18 13:29:54 +02:00
Remco Haszing
b276fd26d1
Merge pull request #58 from remcohaszing/eslint
...
Introduce ESLint
2021-07-17 17:18:23 +02:00
Remco Haszing
ac7b6fe307
Introduce ESLint
...
The ESLint preset `eslint-config-remcohaszing` is used.
2021-07-17 17:12:17 +02:00
Remco Haszing
9a107bf7cc
Merge pull request #57 from remcohaszing/bump-dependencies
...
Bump dependencies
2021-07-17 14:24:41 +02:00
Remco Haszing
f327e73f66
Bump dependencies
2021-07-17 14:20:08 +02:00
Remco Haszing
872423db4b
Merge pull request #46 from remcohaszing/remove-react
...
Remove react
2021-07-17 13:45:18 +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
296968c33f
Merge pull request #56 from remcohaszing/remove-umd
...
Remove UMD support
2021-07-17 13:24:21 +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
bb3d8bd941
Merge pull request #49 from remcohaszing/npm
...
Convert from yarn to npm
2021-07-17 13:08:55 +02:00
Remco Haszing
c12db2ef5b
Merge pull request #48 from remcohaszing/monaco-imports
...
Replace monaco namespace with monaco-editor imports
2021-07-17 12:46:06 +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
52c457a196
Use monaco-editor/esm/vs/editor/editor.api
...
This doesn’t enforce users to pull in all of monaco-editor.
2021-04-22 20:00:34 +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
0e0555455c
Replace Thenable with PromiseLike
...
`Thenable` is a deprecated alias of the TypeScript builtin `PromiseLike`.
2021-04-13 21:18:18 +02:00
Himanshu Kapoor
4e00c72636
Merge pull request #47 from remcohaszing/fix-dependencies
...
Fix dependencies
2021-04-13 21:07:09 +02:00
Remco Haszing
09e2418046
Fix js-yaml dependency
2021-04-13 20:17:12 +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
3762a98af0
Fix dependencies
...
This package includes `yaml-language-server` in its build. This means it’s not a
runtime dependency, but it belongs in `devDependencies`.
The runtime bundle does depend on the dependencies specified in `resolveSkip` in
`scripts/bundle-esm.js`. These packages have been added as direct dependencies
instead.
2021-04-13 20:17:12 +02:00
Himanshu Kapoor
3da78b4f01
Merge pull request #45 from remcohaszing/fixes-and-cleanups
...
Fixes and cleanups
2021-04-13 19:07:01 +02:00
Remco Haszing
1b173c35a9
Move build script into prepare
...
This is needed for the examples to work.
2021-03-30 21:30:02 +02:00
Remco Haszing
9f10ccc9f9
Gitignore built packages
2021-03-25 18:01:10 +01:00
Remco Haszing
c8d9e1cc58
Upgrade TypeScript
2021-03-25 18:00:50 +01:00
Remco Haszing
04907bd623
Apply prettier on all committed files
2021-03-25 17:59:58 +01:00
Remco Haszing
97106b71c9
Add GitHub workflow
...
2 jobs have been specified:
- `pack` makes sure the package can be built.
- `lint` checks the code using Prettier.
2021-03-25 17:55:23 +01:00
Remco Haszing
f4130f38a3
Move yarn prepare script to prepack
...
No need to rebuild the package on every `yarn install`, but it should be built
before packing.
2021-03-25 17:52:58 +01:00