Commit graph

76 commits

Author SHA1 Message Date
Remco Haszing
e353080621
Publish feature and language type definitions
According to the examples, this is part of the public interface.
However, type definitions were missing for these files.

Closes #2450
2023-02-28 10:34:47 +01:00
Henning Dieterichs
d98d3600ef
Bundles typescriptServices.js with tsc, thus getting rid of -amd.js.
This means that `npm run watch` is enough to run the monaco playground.
2023-02-22 18:08:04 +01:00
Henning Dieterichs
5ccfdf7c02
Restructures out and release folders.
out/amd -> out/languages/amd-tsc
out/release -> out/languages/bundled
release -> out/monaco-editor
2023-02-22 17:39:35 +01:00
Henning Dieterichs
abe6f22474
Fixes CI failure. 2023-02-10 11:32:21 +01:00
Henning Dieterichs
376d2872d1
Don't generate unneeded monaco.d.ts.txt. 2023-02-10 11:02:25 +01:00
Henning Dieterichs
10577a0641
Rewrites website 2023-02-10 10:56:53 +01:00
Jake Bailey
ddbd09d044 Also remove 'this' regex 2022-10-11 11:02:24 -07:00
Jake Bailey
416b686d69 Remove regex replacements from import-typescript 2022-10-10 21:51:43 -07:00
Jake Bailey
d63c89d832 Use typescript.js as source for typescriptServices 2022-10-10 21:50:50 -07:00
Remco Haszing
d1b144b37b
Fix MonacoEnvironment types
Some attempts were made in the past to fix it, but they don’t actually
work, as they don’t override the global Window interface.

Fixes #2958
2022-06-09 14:08:39 +02: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
eed1e1cf27
Fix script for esbuild sample which cannot import .ts files 2022-02-05 00:23:00 +01:00
Henning Dieterichs
4bf3b49c41
Convert build scripts to JavaScript. 2022-02-03 15:25:24 +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
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
Alex Dima
1134d5e82b
ESM: Do not append the .js suffix to imports if it's already there 2022-01-26 09:08:30 +01:00
Alex Dima
9fac3918b2
Adopt the new editor/contrib layering rules in the esm metadata generation 2022-01-24 12:37:22 +01:00
Alex Dima
3aebbb1c42
Fail the build when there is a TS compilation error 2022-01-10 09:07:34 +01:00
Alex Dima
a8878c8cfe
Fix #2843 2021-12-20 15:41:33 +01:00
Alexandru Dima
ad4a942460
Fixes #2815: Remove require reference in typescriptServices 2021-12-14 16:55:59 +01:00
Alex Dima
0abbb2be7d
Ship a metadata in the esm folder which can help the webpack plugin 2021-12-09 23:55:04 +01:00
Alex Dima
776353f3e3
Remove unused script 2021-12-08 14:04:58 +01:00
Alex Dima
233ecd49b1
Fix paths for running the website from source (#2807) 2021-12-08 14:04:09 +01:00
Alex Dima
6b2f528d9f
Create generated directory if necessary (fixes #2807) 2021-12-08 13:52:31 +01:00
Alex Dima
1f9655af22
Read the latest published version from npm, do not rely on package.json (fixes #2800) 2021-12-03 17:15:37 +01:00
Alex Dima
37f12e39a3
Add check that there are samples for each language 2021-11-17 22:55:39 +01:00
Alex Dima
bbaa2d846d
Do not check in generated samples file 2021-11-17 16:30:11 +01:00
Alex Dima
91c9c0cec3
Ignore generated files 2021-11-17 16:28:37 +01:00
Alex Dima
979d6a1b26
Do not duplicate samples 2021-11-17 16:22:31 +01:00
Alex Dima
cad7e90951
Move typedoc files to /website/typedoc 2021-11-16 22:35:42 +01:00
Alex Dima
d9013a86c4
Move website files to /website/ 2021-11-16 22:32:27 +01:00
Alex Dima
430d8e6e17
Move test pages to /test/manual/ 2021-11-16 22:25:24 +01:00
Alex Dima
207f0cf42a
Move website task out of gulp 2021-11-16 21:51:45 +01:00
Alex Dima
240b684846
Move simpleserver script off of gulp 2021-11-16 20:55:19 +01:00
Alexandru Dima
a06e20f8fe
Merge pull request #2776 from microsoft/alex/release-script
Move release script off of `gulp`
2021-11-16 20:11:36 +01:00
Alex Dima
cf27b4665e
Move release script off of gulp 2021-11-16 20:04:55 +01:00
Orta
1b8bf663ae Expose full ts object to global ts 2021-11-16 14:43:02 +00:00
Alex Dima
68d7a125ad
Run prettier after importing editor in webpack-plugin 2021-11-16 10:19:16 +01:00
Alex Dima
e1481e0174
small tweaks 2021-11-16 10:18:57 +01:00
Alex Dima
ed1ee25b7b
Update all dependencies 2021-11-16 09:23:03 +01:00
Alex Dima
7286264340
Move script to /build/ 2021-11-15 23:07:46 +01:00
Alex Dima
e8dabe034a
Add pre-commit hooks 2021-11-15 11:13:52 +01:00
Alex Dima
edb439d4f6
Run prettier 2021-11-15 09:37:13 +01:00
Alex Dima
c3ac455fd2
Remove unused functions 2021-11-13 20:41:24 +01:00
Alex Dima
0f7286cf55
Move basic languages sources to /src/ 2021-11-13 20:29:32 +01:00
Alex Dima
d5e3af3744
Move out remaining files from monaco-typescript 2021-11-13 20:15:46 +01:00