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
Remco Haszing
1c532f6815
Update husky and lint-staged
2021-03-25 17:40:43 +01:00
Remco Haszing
26317d314a
Replace .npmignore with package.json files
...
This is inclusive instead of exclusive, which is more manageable.
2021-03-25 17:40:24 +01:00
Remco Haszing
a5a49756be
Remove unused dependencies
...
Jest, eslint, and typescript-tslint-plugin were installed, but never used. Node
types were used for timers, but this is incorrect, as this code is supposed to
run in the browser.
2021-03-25 17:40:16 +01:00
Remco Haszing
7f49a21a56
Revert "Fix types for languages.yaml namespaces"
...
This reverts commit e784f842c3 .
2021-03-25 17:07:47 +01:00
Yazan Aabed
8d3e1626f3
Merge pull request #38 from remcohaszing/fix-languages.yaml-types
...
Fix types for languages.yaml namespaces
2020-12-15 14:12:45 +01:00
Remco Haszing
e784f842c3
Fix types for languages.yaml namespaces
...
`monaco-editor` no longer uses a global `monaco` namespace.
2020-12-09 10:07:15 +01:00
Yazan Aabed
36e4f908e7
Merge pull request #34 from apisim/esm-yaml-lang-srvr-n-fix-tech-debt
...
Use the new yaml-language-server v0.11.0 ESM and UMD Modules and address tech debt
2020-10-03 12:09:04 +02:00
apimastery
0889a43871
version-bump monaco-editor
2020-10-01 20:30:27 -05:00
apimastery
ba85acba70
version-bump yaml-language-server,monaco-editor,monaco-editor-core,monaco-languages
2020-09-25 18:39:35 -05:00
apimastery
6ba5b6d180
use yaml-language-server's ESM and UMD modules; fix formatting
2020-09-20 21:24:30 -05:00
apimastery
5b6cae33b2
use yaml-language-server's ESM and UMD modules; fix formatting
2020-09-20 21:23:48 -05:00
apimastery
4dd5405431
Move tsconfig-s to the root of the project and update them
2020-09-20 19:20:19 -05:00
Yazan Aabed
3fb057d250
Merge pull request #30 from pengx17/update-resolve-skip
...
Update resolveSkip setting
2020-08-21 21:26:58 +02:00
Himanshu Kapoor
660155eec5
Update resolveSkip settings
...
Include 'prettier/standalone', 'prettier/parser-yaml' as per the fillers
2020-08-20 17:01:59 +05:30
Himanshu Kapoor
d7bbebe8fc
v2.5.0
2020-08-20 15:24:36 +05:30
Himanshu Kapoor
5134cc99bd
Add examples and patches to npmignore
2020-08-20 15:20:07 +05:30
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
Himanshu Kapoor
6fc193342f
v2.4.1
2020-07-17 14:32:42 +05:30
Peng Xiao
d6b09443d0
Merge pull request #23 from fleon/master
...
Remove usage of monaco.Promise
2020-07-15 15:15:01 +08:00
Himanshu Kapoor
cf610df47e
Remove usage of monaco.Promise
...
It was removed in Monaco 16.0
2020-07-02 14:46:45 +05:30
Peng Xiao
761143e077
Merge pull request #19 from jmurret/master
...
fixing broken tests - adding missing dependency request-light
2020-02-27 16:11:55 +08:00
John Murret
588bbd4132
fixing broken tests - adding missing dependency request-light
2020-02-26 23:50:19 -07:00
Peng Xiao
c9ea76feeb
Merge pull request #18 from kristenmills/react-example
...
Add React demos
2020-02-24 09:49:05 +08:00
Kristen Mills
bd61f1f040
Add React demos
2020-02-22 14:47:19 -08:00
Peng Xiao
73189a1ab4
feat: bump version
2020-02-11 15:43:12 +08:00
Peng Xiao
d64a8d5538
Merge pull request #14 from kristenmills/update-ls
...
Update to the latest version of Yaml language server and support ESM
2020-01-30 11:58:27 +08:00
Peng Xiao
1b31f48186
fix: enable prettier formatter for umd ( #2 )
2020-01-29 12:15:37 -08:00