microsoft / microsoft/AdaptiveCards
[JS] Update all package dependency to latest major version
Open
Nobody has claimed this yet.
Area-Renderers
Task
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Platforms
NodeJS
SDK Version
0
Application Name
n/a
Problem Description
Some packages are outdated.
D:\repo\AdaptiveCards\source\nodejs>npm outdated
Package Current Wanted Latest Location
@types/jest 23.3.14 23.3.14 27.0.2 root
@types/node 10.17.60 10.17.60 16.10.3 root
@types/react 16.14.16 16.14.16 17.0.27 root
@types/react-dom 16.9.14 16.9.14 17.0.9 root
@typescript-eslint/eslint-plugin 2.34.0 2.34.0 4.33.0 root
@typescript-eslint/parser 2.34.0 2.34.0 4.33.0 root
clean-webpack-plugin 1.0.1 1.0.1 4.0.0 root
copy-webpack-plugin 6.4.1 6.4.1 9.0.1 root
css-loader 2.1.1 2.1.1 6.3.0 root
eslint 6.8.0 6.8.0 7.32.0 root
html-webpack-plugin 3.2.0 3.2.0 5.3.2 root
jest 26.6.3 26.6.3 27.2.5 root
mini-css-extract-plugin 0.5.0 0.5.0 2.4.2 root
monaco-editor-webpack-plugin 1.9.1 1.9.1 5.0.0 root
react 16.14.0 16.14.0 17.0.2 root
react-dom 16.14.0 16.14.0 17.0.2 root
rimraf 2.7.1 2.7.1 3.0.2 root
style-loader 0.23.1 0.23.1 3.3.0 root
ts-jest 26.5.6 26.5.6 27.0.5 root
ts-loader 7.0.5 7.0.5 9.2.6 root
webpack 5.56.1 5.58.1 5.58.1 root
webpack-cli 3.3.12 3.3.12 4.9.0 root
Possible solution:
npx lerna exec -- npx npm-check-updates -u
build errors should be resolved for npx lerna run build and npx lerna run release
Screenshots
No response
Card JSON
n/a
Sample Code Language
No response
Sample Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in source/nodejs by running npm outdated and reviewing the package definitions that control the listed dependencies. Use the proposed lerna commands as a starting point, then run npx lerna run build and npx lerna run release. Done means the packages are updated to current major versions and both commands complete without build errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs, react, typescript, webpack
- Domain
- build-system, release
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100