Commit graph

252 commits

Author SHA1 Message Date
Remco Haszing
44e5c7b6b5
Merge pull request #134 from Nivl/ml/update-monaco-0.30
Update monaco to 0.30
2021-11-09 21:52:19 +01:00
Melvin Laplanche
f3decc20dd
Update monaco to 0.30 2021-11-09 10:43:15 -08:00
Remco Haszing
7fd3bc973b
Merge pull request #133 from remcohaszing/faq
Add FAQ entry in readme
2021-11-09 08:55:39 +01:00
Remco Haszing
eb0ce6dd0a
Merge pull request #130 from remcohaszing/specify-lockfile-version
Use lockfile version 3
2021-11-09 08:55:23 +01:00
Remco Haszing
fc405ef1b2
Add FAQ entry in readme
Closes #118
Closes #119
Closes #121
2021-11-07 15:00:01 +01:00
Remco Haszing
1b5fa06cc9
Use lockfile version 3
This saves half of the `package-lock.json` file.
2021-11-07 13:58:42 +01:00
Remco Haszing
4e30f4cf16
Merge pull request #123 from remcohaszing/demo-source-map
Enable source maps for the demo
2021-10-06 09:09:27 +02:00
Remco Haszing
8d75a459ee
Enable source maps for the demo 2021-10-02 16:20:32 +02:00
Remco Haszing
0f2e5536bf
Merge pull request #114 from remcohaszing/remove-hover-content-checks
Remove checks for hover content
2021-10-02 16:16:00 +02:00
Remco Haszing
9987fbc7d5
Merge pull request #113 from remcohaszing/constant-language-id
Extract languageId into constants
2021-10-02 16:15:47 +02:00
Remco Haszing
4affa0963c
Merge pull request #112 from remcohaszing/demo-dispose-old-model
Dispose the old model before switching in demo
2021-10-02 16:15:41 +02:00
Remco Haszing
da51564fbb
Remove checks for hover content
The hover implementation of the YAML language service always returns
`MarkupContent`.
2021-09-17 16:33:13 +02:00
Remco Haszing
7313780510
Extract languageId into constants
It was defined once, but it was passed into various functions. This
added unnecessary complexity.

It is now defined in a constants file, which is imported where
necessary.
2021-09-17 16:21:27 +02:00
Remco Haszing
3a0b164c51
Dispose the old model before switching in demo
This prevents errors.
2021-09-17 16:02:53 +02:00
Remco Haszing
979ed62d6f
3.2.1 2021-09-15 21:59:27 +02:00
Remco Haszing
65e91a1d43
Merge pull request #109 from patrickshipe/restore-options-updates
Restore ability to change options after loading
2021-09-15 21:52:57 +02:00
Remco Haszing
7bf8137107
Merge pull request #110 from patrickshipe/prevent-null-model-crash
Fix crashes from null model
2021-09-15 21:52:35 +02:00
Patrick Shipe
2bece31f56 Fix crashes from null model 2021-09-15 08:59:40 -06:00
Patrick Shipe
7a96d822b1 Restore ability to change options after loading 2021-09-14 13:37:14 -06:00
Remco Haszing
8d278d3d19
Merge pull request #101 from remcohaszing/stylistic-fixes
Apply various stylistic fixes
2021-09-06 12:11:42 +02:00
Remco Haszing
3d037a15a6
3.2.0 2021-09-06 10:05:52 +02:00
Remco Haszing
96abaa5bce
Merge pull request #103 from medihack/custom-tags
Add custom tags option
2021-09-06 10:04:58 +02:00
Kai Schlamp
04ba90907b
Fix ESLint issues 2021-09-05 10:39:30 +02:00
Kai Schlamp
9506aef618 Add custom tags option 2021-09-04 13:50:57 +00:00
Remco Haszing
9739d143d3
Apply various stylistic fixes
- ESLint config `remcohaszing/typechecking` is extended.
- Various previously disabled ESLint rules have now been enabled.
- Various `any` types have been fixed.
- Removed useless type check of diagnostic code.
- The diagnostics adapter listener has been turned into an actual map.
2021-09-02 22:11:00 +02:00
Remco Haszing
3541f69831
Merge pull request #100 from remcohaszing/update-dependencies
Update dependencies
2021-09-02 21:59:19 +02:00
Remco Haszing
5445cd8437
Widen webpack version range 2021-09-02 21:49:57 +02:00
Remco Haszing
99dcdff6fe
Update dependencies
All caret ranges are now defined as `^x.0.0`.

A small ESLint issue was fixed, which was reported by the updates ESLint
configuration.
2021-09-02 15:39:23 +02:00
Remco Haszing
f101c2fc1d
Merge pull request #99 from remcohaszing/remove-disposables
Remove logic for unloading the language
2021-09-02 09:21:56 +02:00
Remco Haszing
26173cdbad
Remove logic for unloading the language
It’s not supported in `monaco-editor` nor is it planned.

See https://github.com/microsoft/monaco-editor/issues/2642
2021-09-01 21:23:26 +02:00
Remco Haszing
b4ffefc00f
Merge pull request #97 from remcohaszing/schemastore-example
Let demo users select a schema from schema store
2021-08-29 12:53:08 +02:00
Remco Haszing
3361bfe233
Let demo users select a schema from schema store 2021-08-28 11:44:04 +02:00
Remco Haszing
24b116419d
Merge pull request #96 from remcohaszing/fix-publish
Fix publishing
2021-08-27 08:22:30 +02:00
Remco Haszing
307ae10623
Fix publishing
Add the `actions/checkout` action before publishing.
2021-08-26 17:27:58 +02:00
Remco Haszing
28928ca314
3.1.0 2021-08-26 17:24:30 +02:00
Remco Haszing
888ac94808
Merge pull request #94 from remcohaszing/breadcrumbs
Add editor breadcrumbs to demo
2021-08-26 17:23:48 +02:00
Remco Haszing
67d9aecfb6
Add editor breadcrumbs to demo
This uses some untyped and undocumented monaco APIs.

Closes #41
2021-08-25 20:05:49 +02:00
Remco Haszing
b79134d080
Merge pull request #93 from remcohaszing/support-json-links
Resolve JSON pointers as links
2021-08-25 20:02:31 +02:00
Remco Haszing
cf4b843ce5
Merge branch 'main' into support-json-links 2021-08-25 19:23:42 +02:00
Remco Haszing
74803276b6
Merge pull request #91 from remcohaszing/webpack-to-demo
Rename webpack example to demo
2021-08-25 18:53:05 +02:00
Remco Haszing
020c123830
Merge pull request #89 from remcohaszing/automate-publishing
Automate publishing to npm
2021-08-25 18:42:04 +02:00
Remco Haszing
c99e1c3db6
Merge pull request #90 from remcohaszing/no-unnecessary-promises
Use type-fest Promisable for worker return types
2021-08-25 18:41:14 +02:00
Remco Haszing
0da9f2cdfd
Resolve JSON pointers as links 2021-08-25 17:39:53 +02:00
Remco Haszing
109332e5e7
Rename webpack example to demo
It has grown significantly. I plan to add more minimal demos for Webpack
and probably some other bundlers.
2021-08-23 17:28:13 +02:00
Remco Haszing
a95fdc4463
Use type-fest Promisable for worker return types
Monaco turns the synchronous return values into promises anyway.
2021-08-23 17:19:36 +02:00
Remco Haszing
d1c499b224
Automate publishing to npm
Also the `lint` job has been split into `eslint` and `prettier`.

Closes #6
2021-08-23 17:15:07 +02:00
Remco Haszing
13a21cba5d
Merge pull request #88 from remcohaszing/update-yaml-language-server
Update yaml-language-server to 0.22.0
2021-08-23 17:03:25 +02:00
Remco Haszing
1f476ad558
Bump js-yaml
This needs to be in sync with `yaml-language-server`.
2021-08-23 16:18:45 +02:00
Remco Haszing
2228054e58
Update yaml-language-server to 0.22.0 2021-08-21 23:19:37 +02:00
Remco Haszing
ecd189685e
Merge pull request #86 from remcohaszing/example-typescript
Show problems panel in example
2021-08-21 21:34:24 +02:00