These are chores that we should do before starting the cycle to reduce ripple effects if we do it in mid-cycle.
Tips:
Clean your repo before start
Remove node_modules from all folder
Never delete package-lock.json
If you mess it up, tableflip and redo
In component/package.json
Remove reference to botframework-webchat-core by hand-modifying package.json
Then, npm install (symlinks will be broken afterward)
Then, add those references back by hand-modifying package.json
This also applies for other packages with similar dependencies/symlinks
To build afterward, do tableflip to rebuild those symlinks
Applies to all releases
This list should be copied to versions in the future.
Applies to major/minor releases
Bump all dependencies to latest version
On each package.json under root and /packages/:
All NPM packages (@babel/*, jest, lerna, typescript, webpack, etc) (HIGH/DRAFT: Bump to 4.11.1-0 with latest dependencies #3594 )
Don't bump the following packages
react, react-dom, redux, redux-saga, react-film, react-scroll-to-bottom, react-say, react-dictate-button
remark and strip-markdown
Newer remark don't work under IE11
Please go to the their repos and see if this is fixed or by design
sanitize-html@1
Starting from version 2, they included nanoid deps which does not work in ES5 environment
serve
rxjs on playground
webpack@4
Starting from version 5, they dropped Node.js polyfills for browsers
microsoft-cognitiveservices-speech-sdk
Run npm audit fix to make sure everything is fixed
Test under IE11 to make sure all dependencies are working
Bump Docker image
The Docker image can be found at root docker-compose.yml and Dockerfile*.
These are chores that we should do before starting the cycle to reduce ripple effects if we do it in mid-cycle.
Tips:
node_modulesfrom all foldergit clean -fdxpackage-lock.jsoncomponent/package.jsonbotframework-webchat-coreby hand-modifyingpackage.jsonnpm install(symlinks will be broken afterward)package.jsonApplies to all releases
If on QFE branch, make sureCHANGELOG.mdand version number bump is cherry-picked tomastergit checkout mastergit cherry-pick XXX(the commitish for bumping version number andCHANGELOG.md)package.jsonto4.11.1-0npm version prepatch --no-git-tag-versionservicingPlan.json4.11.0Applies to major/minor releases
Bump all dependencies to latest version
On each
package.jsonunder root and/packages/:@babel/*,jest,lerna,typescript,webpack, etc) (HIGH/DRAFT: Bump to 4.11.1-0 with latest dependencies #3594)react,react-dom,redux,redux-saga,react-film,react-scroll-to-bottom,react-say,react-dictate-buttonremarkandstrip-markdownremarkdon't work under IE11sanitize-html@1nanoiddeps which does not work in ES5 environmentserverxjsonplaygroundwebpack@4microsoft-cognitiveservices-speech-sdknpm audit fixto make sure everything is fixedBump Docker image
3.14.159-xxxtag scheme to a more sensible87.0tag scheme4.0.0-alpha-7-prerelease-20200907is still prerelease; therefore not bumping (corinagum)