Commit graph

174 commits

Author SHA1 Message Date
Henning Dieterichs
8589305d82
Adopt monaco-editor 0.25.0. 2021-06-11 12:39:31 +02:00
Alex Dima
3517c361e6
3.1.0 2021-05-12 18:49:06 +02:00
Alex Dima
6a8411c30e
Update version matrix 2021-05-12 18:48:54 +02:00
Alexandru Dima
21839da687
Merge pull request #147 from k15a/use-compiler-webpack
Use compiler.webpack if available
2021-05-12 18:34:19 +02:00
Alex Dima
7462aef57b
Merge remote-tracking branch 'origin/main' into pr/k15a/147 2021-05-12 18:29:47 +02:00
Alexandru Dima
a4f5b5248c
Merge pull request #145 from sangmokh/global-api-option
Add globalAPI option to expose the editor API through a global monaco object
2021-05-12 18:22:57 +02:00
Alexandru Dima
02d506ac84
Merge pull request #148 from microsoft/dependabot/npm_and_yarn/postcss-8.2.15
Bump postcss from 8.2.7 to 8.2.15
2021-05-12 18:20:26 +02:00
dependabot[bot]
f611ddcdaf
Bump postcss from 8.2.7 to 8.2.15
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.7 to 8.2.15.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.7...8.2.15)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 00:21:46 +00:00
Konstantin Pschera
3e40369a31 Use compiler.webpack if available
This will use compiler.webpack if it is available.
Otherwise, it will fall back to require webpack lazily.
This will make the plugin compatible with NextJS 10.

Closes https://github.com/microsoft/monaco-editor-webpack-plugin/issues/141
2021-05-07 17:27:49 +02:00
Sangmok Han
2469cdddc3 Add globalAPI option to expose the editor API through a global monaco object 2021-05-06 10:05:43 -07:00
Alex Dima
c124699f22
Add SECURITY.md 2021-03-10 15:08:56 +01:00
Alexandru Dima
a6953225a9
3.0.1 2021-03-08 11:10:42 +01:00
Alexandru Dima
9bb8895475
Fixes #142 2021-03-08 11:10:18 +01:00
Alexandru Dima
470711442d
Document that the plugin works fine with 0.23.x 2021-03-05 16:50:59 +01:00
Alexandru Dima
2c0b52559b
update deps 2021-03-05 16:50:21 +01:00
Alexandru Dima
830839bd5a
Update README.md 2021-02-01 11:05:29 +01:00
Alexandru Dima
f82adbf877
3.0.0 2021-01-29 01:04:20 +01:00
Alexandru Dima
9b5e8d1910
Update dependencies 2021-01-29 01:04:14 +01:00
Alexandru Dima
e76a5b5bbb
Adopt latest monaco-editor 2021-01-29 01:01:22 +01:00
Alexandru Dima
4dfad91ee8
2.1.0 2020-12-24 21:04:48 +01:00
Alexandru Dima
6222e3fdb9
Add support for webpack 5 (fixes #124) 2020-12-24 15:11:04 +01:00
Alex Dima
271fd7dcab
2.0.0 2020-09-21 11:51:36 +02:00
Alex Dima
1a0f0274a0
adopt latest monaco-editor 2020-09-21 11:51:11 +02:00
Alex Dima
f0d9391a9c
1.9.1 2020-09-18 22:50:41 +02:00
Alex Dima
07621e127b
Fixes microsoft/monaco-editor#2110 2020-09-18 22:50:26 +02:00
Alexandru Dima
7443e5ef84
Merge pull request #122 from gavinxgu/pr/custom_language_entry
feat: custom language support and absolute entry fallback
2020-09-18 21:23:55 +02:00
Alex Dima
2a73aeb3a6
Small tweaks 2020-09-18 21:23:26 +02:00
Alexandru Dima
30b94b3806
Merge pull request #116 from pwinston/readme-add-require
Add require('path') to README
2020-09-18 21:10:57 +02:00
Alex Dima
8f71c6b9a6
update deps 2020-09-07 14:31:02 +02:00
guxiang
577cfae1cf feat: custom language support and absolute entry fallback 2020-08-14 04:00:08 +08:00
Philip Winston
7d61f37314 Add require path to README 2020-05-14 08:20:30 -04:00
Alexandru Dima
0c36fc7eb7
Merge pull request #105 from KevLeong/fix/monaco_path
fix: monaco path by cwd
2020-03-10 10:13:09 +01:00
Alex Dima
2ea08783c2
Fall back to looking in node_modules folder in cwd 2020-03-10 10:11:59 +01:00
lianghang
849d676919 fix: monaco path by cwd 2020-03-08 15:08:20 +08:00
Alexandru Dima
8cd0490d1e
Merge pull request #102 from xoob/patch-1
Fix invalid regex in getWorkerUrl
2020-03-02 14:53:23 +01:00
Alex Brausewetter
88eef5d7d2
Fix invalid regex in getWorkerUrl
Fixes a typo introduced in #101 where the rendered regex was not escaped correctly.

```
$ npm run test
ERROR in ../node_modules/monaco-editor/esm/vs/editor/editor.api.js (include-loader!../node_modules/monaco-editor/esm/vs/editor/editor.api.js) 9:15
Module parse failed: Invalid regular expression: /^((http:)|(https:)|(file:)|(/: Unterminated group (9:15)
File was processed with these loaders:
 * ../out/loaders/include.js
You may need an additional loader to handle the result of these loaders.
|           var pathPrefix = typeof __webpack_public_path__ === 'string' ? __webpack_public_path__ : "";
|           var result = (pathPrefix ? stripTrailingSlash(pathPrefix) + '/' : '') + paths[label];
>           if (/^((http:)|(https:)|(file:)|(//))/.test(result)) {
|             var currentUrl = String(window.location);
|             var currentOrigin = currentUrl.substr(0, currentUrl.length - window.location.hash.length - window.location.search.length - window.location.pathname.length);
 @ ./index.js 2:0-77 4:0-13
```

Tested on local.
2020-02-28 14:36:16 +01:00
Alexandru Dima
9548c68804
Merge pull request #101 from caohuilin/fix-worker-url
Fix getWorkerUrl Regex
2020-02-21 00:00:46 +01:00
caohuilin
0625d2630b fix getWorkerUrl regex 2020-02-20 19:58:39 +08:00
Alex Dima
8617e98da3
1.9.0 2020-02-13 10:06:47 +01:00
Alex Dima
9251a98a55
Update version matrix 2020-02-13 10:06:35 +01:00
Alex Dima
67177e284b
Fix #98: ^ works on minor, so use explicit minor versions 2020-02-13 10:05:46 +01:00
Alex Dima
88e57802f2
Update deps, add version matrix 2020-02-11 08:43:20 +01:00
Alexandru Dima
8805903bf0
1.8.2 2020-01-06 16:15:57 +01:00
Alexandru Dima
77c3f5bcb3
Adopt latest editor version (new restructuredtext language) 2020-01-06 16:15:45 +01:00
Alexandru Dima
de7d5bb2d6
Prefer https 2020-01-06 16:14:11 +01:00
Alexandru Dima
7bde413e17
Fixes #90: Add rule for .ttf file 2020-01-06 13:58:53 +01:00
Alex Dima
b665c1b566
1.8.1 2019-12-21 15:19:55 +01:00
Alex Dima
7eda0d0948
Fixes #89 2019-12-21 15:18:14 +01:00
Alex Dima
25ac8dca69
1.8.0 2019-12-20 22:05:01 +01:00
Alex Dima
eaacb00bb4
Handle .ttf 2019-12-20 22:04:54 +01:00