mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 13:31:07 +01:00
681 B
681 B
Steps to publish a new version of monaco-editor-core
Generate monaco.d.ts
- Generate
.d.tsfiles from our modules - kill
gulp watchif you have it running SET VSCODE_BUILD_DECLARATION_FILES=1- run
gulp watch node build/lib/api- validate that the file is generated ok and that everything compiles
Bump version
- increase version in
build/monaco/package.json
Generate npm contents for monaco-editor-core
- Be sure to have all changes committed and pushed to the remote
- (the generated files contain the HEAD sha and that should be available on the remote)
- run gulp editor-distro
Publish
cd out-monaco-editor-corenpm publish