Commit graph

2778 commits

Author SHA1 Message Date
Daniel Veihelmann
3717a26fcb
FIx formatting 2022-02-23 19:36:48 +01:00
Daniel Veihelmann
f0c47e6e2d
Make Vite sample code Firefox compatible
The current sample code for "Using Vite" works fine in Chrome, but causes errors in Firefox: 

`Error: import declarations may only appear at top level of a module`

In addition to many errors logged to the console, this also causes subtle bugs in Firefox (e.g. the highlighting in the diff editor didn't work).

The problem appears to be that Firefox requires an explicit `type: module` for the web workers.

The revised implementation for Vite takes this into account and has been tested successfully in Chrome and Firefox.
2022-02-23 19:30:08 +01:00
Alexandru Dima
7826dee4ea
Merge pull request #2970 from microsoft/dependabot/npm_and_yarn/samples/follow-redirects-1.14.8
Bump follow-redirects from 1.14.7 to 1.14.8 in /samples
2022-02-14 12:37:58 +01:00
dependabot[bot]
2905d317af
Bump follow-redirects from 1.14.7 to 1.14.8 in /samples
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 11:13:46 +00:00
Henning Dieterichs
0fc0cfdab6
Merge pull request #2971 from microsoft/dependabot/npm_and_yarn/samples/browser-esm-parcel/follow-redirects-1.14.8
Bump follow-redirects from 1.14.7 to 1.14.8 in /samples/browser-esm-parcel
2022-02-14 12:12:42 +01:00
dependabot[bot]
3668ca8977
Bump follow-redirects in /samples/browser-esm-parcel
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 10:34:29 +00:00
Henning Dieterichs
36f7110813
Adopts breaking change in nightly monaco-editor-core. 2022-02-14 11:32:52 +01:00
Henning Dieterichs
0d48f9fec8
Merge pull request #2957 from philipturner/patch-2
Add `@noDerivative` modifier to Swift
2022-02-11 10:27:05 +01:00
Philip Turner
c03eee3f55
Update swift.ts 2022-02-10 06:30:18 -05:00
Alex Dima
978cfb4258
Remove esbuild smoke test check for now 2022-02-07 09:17:15 +01:00
Alexandru Dima
726cbbecbc
Merge pull request #2942 from microsoft/alex/smoke-test-esbuild
Add smoke test for packaging using esbuild
2022-02-05 00:59:51 +01:00
Alex Dima
208f9218f9
Add smoketest for esbuild packaging 2022-02-05 00:55:28 +01:00
Alex Dima
c0b99e4785
Remove CommonJS export pattern 2022-02-05 00:48:01 +01:00
Alex Dima
53feef5cf5
Update to latest 2022-02-05 00:25:05 +01:00
Alex Dima
eed1e1cf27
Fix script for esbuild sample which cannot import .ts files 2022-02-05 00:23:00 +01:00
Alex Dima
29a2735168
Prepare for 0.32.1 2022-02-04 23:59:14 +01:00
Alex Dima
aa75ddccbb
CRLF -> LF 2022-02-04 14:02:37 +01:00
Alexandru Dima
d7ac67dbf8
Merge pull request #2939 from microsoft/alex/update-dependencies
Update dependencies
2022-02-03 23:02:10 +01:00
Alex Dima
0bc9ebb914
Fix compilation problem 2022-02-03 22:47:10 +01:00
Alex Dima
d8417a5576
Update dependencies 2022-02-03 22:43:53 +01:00
Henning Dieterichs
e1570658ec
Update changelog to prepare release of 0.32.0 2022-02-03 17:00:40 +01:00
Henning Dieterichs
46f20da8c2
Update vscode commit 2022-02-03 17:00:22 +01:00
Henning Dieterichs
a64cfd6ebb
Updates dependencies 2022-02-03 16:55:33 +01:00
Henning Dieterichs
3e9f3304ce
Run import typescript 2022-02-03 16:54:15 +01:00
Henning Dieterichs
50be61163a
Updates typescript dependency 2022-02-03 16:53:49 +01:00
Henning Dieterichs
fa79ad755d
Merge pull request #2929 from ZusorCode/cjs-extension-javascript
Add .cjs extension for javascript files
2022-02-03 15:59:36 +01:00
Henning Dieterichs
c9be1b35fb
Merge pull request #2937 from microsoft/hediet/typify-build
Convert build scripts to JavaScript.
2022-02-03 15:59:14 +01:00
Henning Dieterichs
4bf3b49c41
Convert build scripts to JavaScript. 2022-02-03 15:25:24 +01:00
Henning Dieterichs
a903ac1afc
Fixes publish github action. 2022-02-03 15:01:18 +01:00
Alex Dima
84665761ff
Simplify dev-setup.js 2022-02-03 09:32:42 +01:00
Alex Dima
7138fd1ffb
Inline metadata.js in dev-setup.js 2022-02-02 23:59:13 +01:00
Alex Dima
3a6cbe0787
Avoid using metadata.js in build.js 2022-02-02 23:14:43 +01:00
Alex Dima
f1be014b8f
Remove support for running from file:// 2022-02-02 20:24:39 +01:00
Alexandru Dima
8b3ac48ea1
Merge pull request #2935 from microsoft/hediet/monaco-editor-core-filler-improvement
Don't load editor api from global API but use require directly.
2022-02-02 20:22:03 +01:00
Henning Dieterichs
69809452a8
Don't load monaco.contribution.ts twice.
Fixes #2866, #2931.
2022-02-02 20:03:20 +01:00
Henning Dieterichs
91edee5791
Moves src/{typescript,css,...} to src/language/{typescript,css,...} to align with the released paths 2022-02-02 17:12:13 +01:00
Henning Dieterichs
9eb7c18143
Don't load editor api from global API but use require directly. 2022-02-02 16:22:09 +01:00
Henning Dieterichs
a35721026f
Merge pull request #2934 from microsoft/hediet/gitattributes-normalize-line-endings
Adds .gitattributes to ensure all source files are stored as LF in git.
2022-02-02 15:31:22 +01:00
Henning Dieterichs
24f57fec21
Adds .gitattributes to ensure all source files are stored as LF in git. 2022-02-02 13:07:57 +01:00
Henning Dieterichs
4c068a7b8d
Merge pull request #2926 from popsql/bugfix-workflow-publish
Only run publish workflow on main monaco-editor repo
2022-02-02 10:46:45 +01:00
Tobias Messner
f8066b86df Add .cjs extension for javascript files 2022-01-31 20:48:57 +01:00
Matthew Peveler
259196bc1e
Merge branch 'microsoft:main' into bugfix-workflow-publish 2022-01-30 17:33:47 -05:00
Matthew Peveler
7ec6ac210f
Only run publish workflow on main monaco-editor repo
Signed-off-by: Matthew Peveler <matt@popsql.com>
2022-01-30 22:29:48 +00:00
Alex Dima
bcc7fd43aa
Add 'Needs More Info Closer' 2022-01-28 20:29:05 +01:00
Alex Dima
4268f423e8
Add locker action 2022-01-28 20:16:11 +01:00
Henning Dieterichs
ee5303f9cc
Merge pull request #2924 from philipturner/patch-1
Add @preconcurrency to Swift declaration attributes
2022-01-28 10:46:22 +01:00
Philip Turner
743073476a
Update swift.ts 2022-01-27 19:08:45 -05:00
Alex Dima
75af762db9
Fix paths when running from file:// 2022-01-27 16:56:54 +01:00
Alex Dima
8f2bc4ac98
Add support to run from source using tsc -w 2022-01-27 16:54:45 +01:00
Henning Dieterichs
22c629374e
Fixes path to template for create-an-issue action. 2022-01-27 14:17:43 +01:00