Skip to content

Commit d6001d4

Browse files
authored
Merge pull request #28 from sgratzl/release/v3.7.2
Release v3.7.2
2 parents 32fa5cf + 5146330 commit d6001d4

24 files changed

+1817
-1719
lines changed

.eslintrc.js

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

66
module.exports = {
7-
plugins: [
8-
// '@typescript-eslint',
9-
'prettier',
10-
],
11-
extends: [
12-
// 'airbnb-typescript',
13-
'react-app',
14-
// 'plugin:@typescript-eslint/recommended',
15-
'plugin:prettier/recommended',
16-
'prettier',
17-
],
7+
plugins: ['prettier'],
8+
extends: ['airbnb-typescript', 'react-app', 'plugin:prettier/recommended', 'prettier'],
189
parserOptions: {
1910
project: './tsconfig.eslint.json',
2011
},

.yarn/releases/yarn-3.1.1.cjs

Lines changed: 0 additions & 768 deletions
This file was deleted.

.yarn/releases/yarn-3.2.0.cjs

Lines changed: 785 additions & 0 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.1.cjs
6+
yarnPath: .yarn/releases/yarn-3.2.0.cjs

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module.exports = {
44
testEnvironment: 'jsdom',
5-
preset: 'ts-jest',
5+
preset: 'ts-jest/presets/js-with-ts-esm',
66
rootDir: './src',
77
testRegex: '((\\.|/)(test|spec))\\.tsx?$',
88
};

package.json

Lines changed: 34 additions & 33 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.7.1",
4+
"version": "3.7.2",
55
"publishConfig": {
66
"access": "public"
77
},
@@ -50,7 +50,7 @@
5050
"src/**/*.tsx"
5151
],
5252
"peerDependencies": {
53-
"chart.js": "^3.7.0"
53+
"chart.js": "^3.7.1"
5454
},
5555
"browserslist": [
5656
"Firefox ESR",
@@ -61,51 +61,52 @@
6161
"@sgratzl/boxplots": "^1.3.0"
6262
},
6363
"devDependencies": {
64-
"@rollup/plugin-commonjs": "^21.0.1",
65-
"@rollup/plugin-node-resolve": "^13.1.3",
66-
"@rollup/plugin-replace": "^3.0.1",
67-
"@rollup/plugin-typescript": "^8.3.0",
68-
"@types/jest": "^27.4.0",
64+
"@chiogen/rollup-plugin-terser": "^7.0.2",
65+
"@rollup/plugin-commonjs": "^22.0.0",
66+
"@rollup/plugin-node-resolve": "^13.2.1",
67+
"@rollup/plugin-replace": "^4.0.0",
68+
"@rollup/plugin-typescript": "^8.3.2",
69+
"@types/jest": "^27.4.1",
6970
"@types/jest-image-snapshot": "^4.3.1",
70-
"@types/node": "^17.0.16",
71-
"@typescript-eslint/eslint-plugin": "^5.11.0",
72-
"@typescript-eslint/parser": "^5.11.0",
73-
"@yarnpkg/sdks": "^2.5.0",
74-
"canvas": "^2.9.0",
71+
"@types/node": "^17.0.31",
72+
"@typescript-eslint/eslint-plugin": "^5.21.0",
73+
"@typescript-eslint/parser": "^5.21.0",
74+
"@yarnpkg/sdks": "^2.6.0",
75+
"canvas": "^2.9.1",
7576
"canvas-5-polyfill": "^0.1.5",
76-
"chart.js": "^3.7.0",
77-
"eslint": "^8.8.0",
78-
"eslint-config-airbnb-typescript": "^16.1.0",
79-
"eslint-config-prettier": "^8.3.0",
80-
"eslint-config-react-app": "^7.0.0",
77+
"chart.js": "^3.7.1",
78+
"eslint": "^8.14.0",
79+
"eslint-config-airbnb-typescript": "^17.0.0",
80+
"eslint-config-prettier": "^8.5.0",
81+
"eslint-config-react-app": "^7.0.1",
8182
"eslint-plugin-flowtype": "^8.0.3",
82-
"eslint-plugin-import": "^2.25.4",
83+
"eslint-plugin-import": "^2.26.0",
8384
"eslint-plugin-jsx-a11y": "^6.5.1",
8485
"eslint-plugin-prettier": "^4.0.0",
85-
"eslint-plugin-react": "^7.28.0",
86-
"eslint-plugin-react-hooks": "^4.3.0",
86+
"eslint-plugin-react": "^7.29.4",
87+
"eslint-plugin-react-hooks": "^4.5.0",
8788
"jest": "^27.5.1",
89+
"jest-environment-jsdom": "^27.5.1",
8890
"jest-image-snapshot": "^4.5.1",
89-
"prettier": "^2.5.1",
91+
"prettier": "^2.6.2",
9092
"rimraf": "^3.0.2",
91-
"rollup": "^2.67.1",
93+
"rollup": "^2.71.1",
9294
"rollup-plugin-cleanup": "^3.2.1",
93-
"rollup-plugin-dts": "^4.1.0",
94-
"rollup-plugin-terser": "^7.0.2",
95-
"ts-jest": "^27.1.3",
96-
"tslib": "^2.3.1",
97-
"typedoc": "^0.22.11",
98-
"typescript": "^4.5.5"
95+
"rollup-plugin-dts": "^4.2.1",
96+
"ts-jest": "^27.1.4",
97+
"tslib": "^2.4.0",
98+
"typedoc": "^0.22.15",
99+
"typescript": "^4.6.4"
99100
},
100101
"scripts": {
101102
"clean": "rimraf build docs node_modules \"*.tgz\" \"*.tsbuildinfo\"",
102103
"compile": "tsc -b tsconfig.c.json",
103104
"start": "yarn run watch",
104105
"watch": "rollup -c -w",
105106
"build": "rollup -c",
106-
"test": "jest --passWithNoTests",
107-
"test:watch": "jest --passWithNoTests --watch",
108-
"test:coverage": "jest --passWithNoTests --coverage",
107+
"test": "jest --passWithNoTests --detectOpenHandles --forceExit",
108+
"test:watch": "yarn run test --watch",
109+
"test:coverage": "yarn run test --coverage",
109110
"samples": "yarn tsc samples/type_test.ts",
110111
"lint": "yarn run eslint && yarn run prettier",
111112
"fix": "yarn run eslint:fix && yarn run prettier:write",
@@ -117,9 +118,9 @@
117118
"prepare": "yarn run build"
118119
},
119120
"dependenciesMeta": {
120-
"chart.js@3.7.0": {
121+
"chart.js@3.7.1": {
121122
"unplugged": true
122123
}
123124
},
124-
"packageManager": "yarn@3.1.1"
125+
"packageManager": "yarn@3.2.0"
125126
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import resolve from '@rollup/plugin-node-resolve';
33
import cleanup from 'rollup-plugin-cleanup';
44
import dts from 'rollup-plugin-dts';
55
import typescript from '@rollup/plugin-typescript';
6-
import { terser } from 'rollup-plugin-terser';
6+
import { terser } from '@chiogen/rollup-plugin-terser';
77
import replace from '@rollup/plugin-replace';
88

99
import fs from 'fs';

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.7.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.1/dist/chart.js"></script>
66
<script src="../build/index.umd.js"></script>
77
</head>
88

samples/datalimits.html

Lines changed: 5 additions & 5 deletions
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.7.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.1/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>
@@ -62,8 +62,8 @@
6262
});
6363

6464
document.getElementById('limitMinMax').onclick = () => {
65-
options.boxplot.datasets.minStats = 'min';
66-
options.boxplot.datasets.maxStats = 'max';
65+
options.minStats = 'min';
66+
options.maxStats = 'max';
6767
myBar.destroy();
6868
myBar = new Chart(ctx, {
6969
type: 'boxplot',
@@ -72,8 +72,8 @@
7272
});
7373
};
7474
document.getElementById('limitWhiskers').onclick = () => {
75-
options.boxplot.datasets.minStats = 'whiskerMin';
76-
options.boxplot.datasets.maxStats = 'whiskerMax';
75+
options.minStats = 'whiskerMin';
76+
options.maxStats = 'whiskerMax';
7777
myBar.destroy();
7878
myBar = new Chart(ctx, {
7979
type: 'boxplot',

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.7.0/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@3.7.1/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>

0 commit comments

Comments
 (0)