Skip to content

Commit 7f37572

Browse files
authored
Merge pull request #18 from sgratzl/release/v3.7.0
Release v3.7.0
2 parents 2fdbbdf + 3739740 commit 7f37572

28 files changed

+2791
-1598
lines changed

.eslintrc.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
const pkg = require('./package.json');
55

66
module.exports = {
7-
plugins: ['@typescript-eslint', 'prettier'],
7+
plugins: [
8+
// '@typescript-eslint',
9+
'prettier',
10+
],
811
extends: [
9-
'airbnb-typescript',
12+
// 'airbnb-typescript',
1013
'react-app',
11-
'plugin:@typescript-eslint/recommended',
14+
// 'plugin:@typescript-eslint/recommended',
1215
'plugin:prettier/recommended',
1316
'prettier',
1417
],
Lines changed: 150 additions & 150 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ packageExtensions:
33
dependencies:
44
eslint-import-resolver-node: "*"
55

6-
yarnPath: .yarn/releases/yarn-3.1.0.cjs
6+
yarnPath: .yarn/releases/yarn-3.1.1.cjs

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ The ESM build of the library supports tree shaking thus having no side effects.
8383
Variant A:
8484

8585
```js
86-
import Chart from 'chart.js';
87-
import { BoxPlotController } from '@sgratzl/chartjs-chart-boxplot';
86+
import Chart, { LinearScale, CategoryScale } from 'chart.js';
87+
import { BoxPlotController, BoxAndWiskers } from '@sgratzl/chartjs-chart-boxplot';
8888

8989
// register controller in chart.js and ensure the defaults are set
90-
Chart.register(BoxPlotController);
90+
Chart.register(BoxPlotController, BoxAndWiskers, LinearScale, CategoryScale);
9191
...
9292

9393
new Chart(ctx, {

package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sgratzl/chartjs-chart-boxplot",
33
"description": "Chart.js module for charting boxplots and violin charts",
4-
"version": "3.6.0",
4+
"version": "3.7.0",
55
"publishConfig": {
66
"access": "public"
77
},
@@ -50,52 +50,52 @@
5050
"src/**/*.tsx"
5151
],
5252
"peerDependencies": {
53-
"chart.js": "^3.6.0"
53+
"chart.js": "^3.7.0"
5454
},
5555
"browserslist": [
5656
"Firefox ESR",
5757
"last 2 Chrome versions",
5858
"last 2 Firefox versions"
5959
],
6060
"dependencies": {
61-
"@sgratzl/boxplots": "^1.2.2"
61+
"@sgratzl/boxplots": "^1.3.0"
6262
},
6363
"devDependencies": {
6464
"@rollup/plugin-commonjs": "^21.0.1",
65-
"@rollup/plugin-node-resolve": "^13.0.6",
66-
"@rollup/plugin-replace": "^3.0.0",
65+
"@rollup/plugin-node-resolve": "^13.1.3",
66+
"@rollup/plugin-replace": "^3.0.1",
6767
"@rollup/plugin-typescript": "^8.3.0",
68-
"@types/jest": "^27.0.2",
68+
"@types/jest": "^27.4.0",
6969
"@types/jest-image-snapshot": "^4.3.1",
70-
"@types/node": "^16.11.6",
71-
"@typescript-eslint/eslint-plugin": "^5.3.0",
72-
"@typescript-eslint/parser": "^5.3.0",
70+
"@types/node": "^17.0.16",
71+
"@typescript-eslint/eslint-plugin": "^5.11.0",
72+
"@typescript-eslint/parser": "^5.11.0",
7373
"@yarnpkg/sdks": "^2.5.0",
74-
"canvas": "^2.8.0",
74+
"canvas": "^2.9.0",
7575
"canvas-5-polyfill": "^0.1.5",
76-
"chart.js": "^3.6.0",
77-
"eslint": "^8.1.0",
78-
"eslint-config-airbnb-typescript": "^14.0.1",
76+
"chart.js": "^3.7.0",
77+
"eslint": "^8.8.0",
78+
"eslint-config-airbnb-typescript": "^16.1.0",
7979
"eslint-config-prettier": "^8.3.0",
80-
"eslint-config-react-app": "^6.0.0",
80+
"eslint-config-react-app": "^7.0.0",
8181
"eslint-plugin-flowtype": "^8.0.3",
82-
"eslint-plugin-import": "^2.25.2",
83-
"eslint-plugin-jsx-a11y": "^6.4.1",
82+
"eslint-plugin-import": "^2.25.4",
83+
"eslint-plugin-jsx-a11y": "^6.5.1",
8484
"eslint-plugin-prettier": "^4.0.0",
85-
"eslint-plugin-react": "^7.26.1",
86-
"eslint-plugin-react-hooks": "^4.2.0",
87-
"jest": "^27.3.1",
85+
"eslint-plugin-react": "^7.28.0",
86+
"eslint-plugin-react-hooks": "^4.3.0",
87+
"jest": "^27.5.1",
8888
"jest-image-snapshot": "^4.5.1",
89-
"prettier": "^2.4.1",
89+
"prettier": "^2.5.1",
9090
"rimraf": "^3.0.2",
91-
"rollup": "^2.59.0",
91+
"rollup": "^2.67.1",
9292
"rollup-plugin-cleanup": "^3.2.1",
93-
"rollup-plugin-dts": "^4.0.0",
93+
"rollup-plugin-dts": "^4.1.0",
9494
"rollup-plugin-terser": "^7.0.2",
95-
"ts-jest": "^27.0.7",
95+
"ts-jest": "^27.1.3",
9696
"tslib": "^2.3.1",
97-
"typedoc": "^0.22.7",
98-
"typescript": "^4.4.4"
97+
"typedoc": "^0.22.11",
98+
"typescript": "^4.5.5"
9999
},
100100
"scripts": {
101101
"clean": "rimraf build docs node_modules \"*.tgz\" \"*.tsbuildinfo\"",
@@ -116,9 +116,9 @@
116116
"prepare": "yarn run build"
117117
},
118118
"dependenciesMeta": {
119-
"chart.js@3.6.0": {
119+
"chart.js@3.7.0": {
120120
"unplugged": true
121121
}
122122
},
123-
"packageManager": "[email protected].0"
123+
"packageManager": "[email protected].1"
124124
}

samples/animation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>Box Plot Chart</title>
5-
<script src="https://unpkg.com/chart.js@3.6.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.0/dist/chart.js"></script>
66
<script src="../build/index.umd.js"></script>
77
</head>
88

samples/datalimits.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>Box Plot Chart</title>
5-
<script src="https://unpkg.com/chart.js@3.6.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.0/dist/chart.js"></script>
66
<script src="../build/index.umd.js"></script>
77
<script src="https://unpkg.com/d3-random@latest/dist/d3-random.min.js"></script>
88
<script src="./utils.js"></script>

samples/datastructures.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>Box Plot Chart</title>
5-
<script src="https://unpkg.com/chart.js@3.6.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.0/dist/chart.js"></script>
66
<script src="../build/index.umd.js"></script>
77
<script src="https://unpkg.com/d3-random@latest/dist/d3-random.min.js"></script>
88
<script src="./utils.js"></script>

samples/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>Box Plot Chart</title>
5-
<script src="https://unpkg.com/chart.js@3.6.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.0/dist/chart.js"></script>
66
<script src="../build/index.umd.js"></script>
77
<script src="https://unpkg.com/d3-random@latest/dist/d3-random.min.js"></script>
88
<script src="./utils.js"></script>

samples/default_esm.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<script type="importmap-shim">
1212
{
1313
"imports": {
14-
"chart.js": "https://unpkg.com/chart.js@3.6.0?module",
15-
"chart.js/helpers": "https://unpkg.com/chart.js@3.6.0/helpers/helpers.esm.js?module",
14+
"chart.js": "https://unpkg.com/chart.js@3.7.0?module",
15+
"chart.js/helpers": "https://unpkg.com/chart.js@3.7.0/helpers/helpers.esm.js?module",
1616
"@sgratzl/boxplots": "https://unpkg.com/@sgratzl/boxplots?module",
1717
"@sgratzl/chartjs-chart-boxplot": "../build/index.js"
1818
}

0 commit comments

Comments
 (0)