mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 08:10:11 +01:00
1.8 KiB
1.8 KiB
Maintaining
(For maintainers)
Updating TypeScript
- change typescript's version in
package.json. - execute
npm install . - execute
npm run import-typescript - adopt new APIs
Shipping a new monaco-editor npm module
- update
package.jsonand bump"version"as necessary - update
package.jsonand edit"vscode"to point to the vscode repo commit that should be shipped atmonaco-editor-core(bothmonaco-editor-coreandmonaco-editorwill be published under the same version defined inpackage.json). - write entry in
CHANGELOG.md- API Changes / Breaking Changes / New and noteworthy
- Thank you (use this tool)
- trigger a build using
Publish to npmand type false when asked "is nightly?" - if the publish succeeded, run
git tag 0.x.yandgit push origin 0.x.y - edit
package.jsonand update the"monaco-editor-core"dev dependency. - run
npm install
8. Publish new webpack plugin
- TBD
- https://github.com/microsoft/monaco-editor/tree/main/webpack-plugin
npm install .npm run import-editor- if there are no changes generated after the script:
- update the peer dependency in
package.jsonand use the||format e.g."monaco-editor": "0.27.x || 0.28.x" - update the version matrix in the README.md and add the new editor version to the plugin's current major version
- use
npm version minor - publish using
npm publish
- update the peer dependency in
- if there are any changes generated after the script:
- update the peer dependency in
package.jsone.g."monaco-editor": "0.29.x" - update the version matrix in the README.md and add a new row with the new major version
- use
npm version major - publish using
npm publish
- update the peer dependency in
- remember to push tags upstream