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
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
Remco Haszing
6860281373
Merge pull request #84 from remcohaszing/async-await
...
Convert promise chains to async/await
2021-08-21 21:33:56 +02:00
Remco Haszing
8b0e02a4a6
Merge pull request #87 from remcohaszing/remove-do-resolve
...
Remove doResolve from yaml worker
2021-08-21 21:33:41 +02:00
Remco Haszing
8f6cb81147
Remove doResolve from yaml worker
...
It’s unused. It’s also not available in the latest version of
yaml-language-server.
2021-08-21 13:20:57 +02:00
Remco Haszing
3774841f7c
Show problems panel in example
...
The example was also converted to TypeScript.
2021-08-19 22:40:58 +02:00
Remco Haszing
5d059ce47c
Merge pull request #85 from remcohaszing/update-monaco
...
Update monaco-editor to 0.27.0
2021-08-19 18:47:46 +02:00
Remco Haszing
fff16c993e
Update monaco-editor to 0.27.0
...
This is only used for development. Everything still works.
2021-08-19 18:03:12 +02:00
Remco Haszing
ba395c9d23
Convert promise chains to async/await
2021-08-19 17:55:46 +02:00
Remco Haszing
57e820ed0c
Merge pull request #82 from remcohaszing/classes-to-factories
...
Convert classes to factory functions
2021-08-19 17:46:47 +02:00
Remco Haszing
40a38e2d2d
Merge pull request #83 from remcohaszing/remove-unused-filler
...
Remove os filler
2021-08-19 17:46:37 +02:00
Remco Haszing
40243d4e83
Remove os filler
...
It’s unused
2021-08-19 17:21:38 +02:00
Remco Haszing
8fa3ca4252
Convert classes to factory functions
...
TypeScript is better at inferring types when using simple functions and
objects instead of classes. As a result many type annotations have now
been removed without impacting type safety.
Some other benefits are this can be minified better and private fields
are now truly private variables.
2021-08-19 17:06:42 +02:00
Remco Haszing
bdfa1ef4e7
Merge pull request #80 from remcohaszing/tsconfig-fixes
...
Do some tsconfig cleanups
2021-08-19 08:50:55 +02:00
Remco Haszing
d4c6747667
Merge pull request #79 from remcohaszing/github-actions-tsc
...
Run type checks in GitHub workflow
2021-08-19 08:50:37 +02:00
Remco Haszing
df88461b0c
Merge pull request #78 from remcohaszing/remove-commented-code
...
Remove commented code
2021-08-19 08:50:21 +02:00
Remco Haszing
d7e5aa7744
Merge pull request #77 from remcohaszing/remove-document-range-formatting-edit-provider
...
Remove DocumentRangeFormattingEditProvider
2021-08-19 08:50:02 +02:00
Remco Haszing
d4ddc80b51
Merge pull request #81 from remcohaszing/fix-mistyped-enums
...
Fix mismatched enum types
2021-08-19 08:49:47 +02:00
Remco Haszing
fd9efe8060
Do some tsconfig cleanups
...
- `alwaysStrict` is unnecessary, because ESM is always strict.
- `noEmit` is enabled, because TypeScript isn’t used to bundle the code.
- `outDir` was removed, because TypeScrtips isn’t used to bundle the
code.
- `exclude` was removed, because it’s not necessary.
2021-08-18 21:51:29 +02:00
Remco Haszing
62998a0b38
Run type checks in GitHub workflow
2021-08-18 21:47:53 +02:00
Remco Haszing
dd64c96d59
Fix mismatched enum types
...
These enums were annotated as numbers, but they could be more specific.
2021-08-18 21:46:06 +02:00
Remco Haszing
3dc04e2150
Remove commented code
2021-08-18 16:04:56 +02:00
Remco Haszing
cdef13351a
Remove unused format option
2021-08-18 15:56:45 +02:00
Remco Haszing
288c34cd37
Remove DocumentRangeFormattingEditProvider
...
The YAML language service doesn’t support formatting ranges.
In practice this means the “Format Selection” option which does the same
as “Format Document” is no longer available in the menu that’s opened
when pressing F1.
2021-08-18 15:47:50 +02:00