-
-
Notifications
You must be signed in to change notification settings - Fork 837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Chart.js 3.0 support #754
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Need to add
sideEffects: false
into package.json https://github.com/reactchartjs/react-chartjs-2/blob/master/package.json#L15 - Please add size-limit to test tree-shaking https://github.com/reactchartjs/react-chartjs-2/blob/master/.size-limit#L11
566848b
to
f51c995
Compare
.github/workflows/checks.yml
Outdated
- name: Install dependencies | ||
run: pnpm install | ||
- name: Check size | ||
uses: andresz1/size-limit-action@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
skip_step: install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: Install dependencies | |
run: pnpm install | |
- name: Check size | |
uses: andresz1/size-limit-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
skip_step: install | |
- name: Check size | |
uses: andresz1/size-limit-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |
code from master has pnpm support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thabarbados look at the suggestion carefully
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dangreen sorry, fixed
bfd495c
to
ceec67b
Compare
BREAKING CHANGE: upgrade to Chart.js 3.0
Great to see progress regarding Chartjs3 support! Do you have an ETA for a new release? |
@aarbakkeinnovation 1-3 weeks |
Fix or Enhancement?
Add Chart.js 3.0 support
Environment