(For maintainers only)
Make sure every unassigned issue is labeled properly:
- Trigger an rc-build
- Go to https://github.com/microsoft/vscode/tree/release/1.89 (use latest VS Code version instead of .89!) and copy the id of the latest commit
- Go to https://dev.azure.com/monacotools/Monaco/_build?definitionId=421 and click on "Run pipeline"
- Use the copied commit id for
The VS Code commit id.
- Use
rc
forThe prerelease version.
- Use the copied commit id for
- Wait until pipeline completes
- Compare Last Stable With Nightly
- Check the metadata and verify that the last stable is on the left and the the last rc build is on the right
- Update package.json
- set
version
to lastNightly.nextStableVersion (from the compare step) - set
vscodeRef
to lastNightly.vscodeCommitId - update
devDependencies.monaco-editor-core
to lastNightly.currentVersion
- set
- Run
npm install
to update lockfile - Update CHANGELOG.md
- API Changes / Breaking Changes / New and noteworthy (use the diff from the compare step)
- Add thank you mentions (use this tool and select only the monaco-editor)
- Commit & Create PR
- Trigger build once merged. Tick the following checkboxes:
- Publish Monaco Editor Core
- Publish Monaco Editor
- 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.json
and 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.json
e.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
- change typescript's version in
package.json
. - execute
npm install .
- execute
npm run import-typescript
- adopt new APIs