Commit Graph

156 Commits (e76a5b5bbbcad095320db8f9368163d28cb22a2e)
 

Author SHA1 Message Date
Alexandru Dima e76a5b5bbb
Adopt latest `monaco-editor` 4 years ago
Alexandru Dima 4dfad91ee8
2.1.0 4 years ago
Alexandru Dima 6222e3fdb9
Add support for webpack 5 (fixes #124) 4 years ago
Alex Dima 271fd7dcab
2.0.0 5 years ago
Alex Dima 1a0f0274a0
adopt latest `monaco-editor` 5 years ago
Alex Dima f0d9391a9c
1.9.1 5 years ago
Alex Dima 07621e127b
Fixes microsoft/monaco-editor#2110 5 years ago
Alexandru Dima 7443e5ef84
Merge pull request #122 from gavinxgu/pr/custom_language_entry
feat: custom language support and absolute entry fallback
5 years ago
Alex Dima 2a73aeb3a6
Small tweaks 5 years ago
Alexandru Dima 30b94b3806
Merge pull request #116 from pwinston/readme-add-require
Add require('path') to README
5 years ago
Alex Dima 8f71c6b9a6
update deps 5 years ago
guxiang 577cfae1cf feat: custom language support and absolute entry fallback 5 years ago
Philip Winston 7d61f37314 Add require path to README 5 years ago
Alexandru Dima 0c36fc7eb7
Merge pull request #105 from KevLeong/fix/monaco_path
fix: monaco path by cwd
5 years ago
Alex Dima 2ea08783c2
Fall back to looking in node_modules folder in cwd 5 years ago
lianghang 849d676919 fix: monaco path by cwd 5 years ago
Alexandru Dima 8cd0490d1e
Merge pull request #102 from xoob/patch-1
Fix invalid regex in getWorkerUrl
5 years ago
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.
5 years ago
Alexandru Dima 9548c68804
Merge pull request #101 from caohuilin/fix-worker-url
Fix getWorkerUrl Regex
5 years ago
caohuilin 0625d2630b fix getWorkerUrl regex 5 years ago
Alex Dima 8617e98da3
1.9.0 5 years ago
Alex Dima 9251a98a55
Update version matrix 5 years ago
Alex Dima 67177e284b
Fix #98: `^` works on minor, so use explicit minor versions 5 years ago
Alex Dima 88e57802f2
Update deps, add version matrix 5 years ago
Alexandru Dima 8805903bf0
1.8.2 5 years ago
Alexandru Dima 77c3f5bcb3
Adopt latest editor version (new restructuredtext language) 5 years ago
Alexandru Dima de7d5bb2d6
Prefer https 5 years ago
Alexandru Dima 7bde413e17
Fixes #90: Add rule for .ttf file 5 years ago
Alex Dima b665c1b566
1.8.1 5 years ago
Alex Dima 7eda0d0948
Fixes #89 5 years ago
Alex Dima 25ac8dca69
1.8.0 5 years ago
Alex Dima eaacb00bb4
Handle .ttf 5 years ago
Alex Dima 98a8d5a06a
Update to latest monaco-editor-core 5 years ago
Alex Dima 4ec9d1e432
Also generate README default values 5 years ago
Alex Dima 00036c08f3
Stronger typing for the options 5 years ago
Alex Dima bad4bcfe35
Minor tweaks 5 years ago
Alex Dima 6a5c30039f
Also generate features.ts from the monaco-editor npm module 5 years ago
Alexandru Dima 10a995c595
Add import editor script 5 years ago
Alexandru Dima f94e9a43f3
Reduce peerDependency requirement 5 years ago
Alexandru Dima 1caefef64b
Update deps 5 years ago
Alexandru Dima 802217b877
Fixes #42: Handle cross origin web workers automatically 5 years ago
Alexandru Dima f6223d69e6
Remove worker:undefined 5 years ago
Alexandru Dima 78aceedb37
Add bot integration 5 years ago
Alexandru Dima 53f4ab5b0f
Remove unused fallback field 5 years ago
Alexandru Dima 33b130172d
Simplify code 5 years ago
Alexandru Dima 0bd24b523b
Convert to TypeScript 5 years ago
Alexandru Dima e032f77fb9
Add support for dynamic filenames (#83)
Add support for dynamic filenames
5 years ago
Alexandru Dima d71d21ec6f
Merge remote-tracking branch 'origin/master' into pr/jimmydief/83 5 years ago
Alexandru Dima dfa3f22cc6
Add support for plugin-specific public path (#81)
Add support for plugin-specific public path
5 years ago
Alexandru Dima da92d8fcc8
Merge remote-tracking branch 'origin/master' into pr/jimmydief/81 5 years ago