Skip to content

Commit e3be15f

Browse files
authored
Merge pull request #47 from sgratzl/release/v4.0.0
Release v4.0.0
2 parents 1c58a7b + 3862c32 commit e3be15f

32 files changed

+950
-891
lines changed
Lines changed: 280 additions & 274 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.2.4.cjs
6+
yarnPath: .yarn/releases/yarn-3.3.0.cjs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ npm install --save chart.js @sgratzl/chartjs-chart-boxplot
2727

2828
## Usage
2929

30-
see [Samples](https://github.com/sgratzl/chartjs-chart-box-and-violin-plot/tree/master/samples) on Github
30+
see [Samples](https://github.com/sgratzl/chartjs-chart-box-and-violin-plot/tree/main/samples) on Github
3131

3232
and [![Open in CodePen][codepen]](https://codepen.io/sgratzl/pen/QxoLoY)
3333

jest.config.cjs

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

jest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
testEnvironment: 'jsdom',
3+
preset: 'ts-jest/presets/js-with-ts-esm',
4+
rootDir: './src',
5+
testRegex: '((\\.|/)(test|spec))\\.[jt]sx?$',
6+
};

package.json

Lines changed: 23 additions & 17 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": "4.0.0-alpha",
4+
"version": "4.0.0",
55
"publishConfig": {
66
"access": "public"
77
},
@@ -61,61 +61,62 @@
6161
"src/**/*.tsx"
6262
],
6363
"peerDependencies": {
64-
"chart.js": "^3.9.1"
64+
"chart.js": "^4.0.1"
6565
},
6666
"browserslist": [
6767
"Firefox ESR",
6868
"last 2 Chrome versions",
6969
"last 2 Firefox versions"
7070
],
7171
"dependencies": {
72+
"@kurkle/color": "^0.2.1",
7273
"@sgratzl/boxplots": "^1.3.0"
7374
},
7475
"devDependencies": {
75-
"@chiogen/rollup-plugin-terser": "^7.0.2",
76+
"@chiogen/rollup-plugin-terser": "^7.1.3",
7677
"@rollup/plugin-commonjs": "^23.0.2",
7778
"@rollup/plugin-node-resolve": "^15.0.1",
7879
"@rollup/plugin-replace": "^5.0.1",
7980
"@rollup/plugin-typescript": "^9.0.2",
80-
"@types/jest": "^29.2.2",
81+
"@types/jest": "^29.2.3",
8182
"@types/jest-image-snapshot": "^5.1.0",
8283
"@types/node": "^18.11.9",
83-
"@typescript-eslint/eslint-plugin": "^5.42.0",
84-
"@typescript-eslint/parser": "^5.42.0",
84+
"@typescript-eslint/eslint-plugin": "^5.44.0",
85+
"@typescript-eslint/parser": "^5.44.0",
8586
"@yarnpkg/sdks": "^2.6.3",
8687
"canvas": "^2.10.2",
8788
"canvas-5-polyfill": "^0.1.5",
88-
"chart.js": "^3.9.1",
89-
"eslint": "^8.27.0",
89+
"chart.js": "^4.0.1",
90+
"eslint": "^8.28.0",
9091
"eslint-config-airbnb-typescript": "^17.0.0",
9192
"eslint-config-prettier": "^8.5.0",
9293
"eslint-config-react-app": "^7.0.1",
9394
"eslint-plugin-flowtype": "^8.0.3",
9495
"eslint-plugin-import": "^2.26.0",
9596
"eslint-plugin-jsx-a11y": "^6.6.1",
9697
"eslint-plugin-prettier": "^4.2.1",
97-
"eslint-plugin-react": "^7.31.10",
98+
"eslint-plugin-react": "^7.31.11",
9899
"eslint-plugin-react-hooks": "^4.6.0",
99-
"jest": "^29.2.2",
100-
"jest-environment-jsdom": "^29.2.2",
100+
"jest": "^29.3.1",
101+
"jest-environment-jsdom": "^29.3.1",
101102
"jest-image-snapshot": "^6.0.0",
102-
"prettier": "^2.7.1",
103+
"prettier": "^2.8.0",
103104
"rimraf": "^3.0.2",
104-
"rollup": "^3.2.5",
105+
"rollup": "^3.4.0",
105106
"rollup-plugin-cleanup": "^3.2.1",
106107
"rollup-plugin-dts": "^5.0.0",
107108
"ts-jest": "^29.0.3",
108109
"tslib": "^2.4.1",
109-
"typedoc": "^0.23.20",
110-
"typescript": "^4.8.4"
110+
"typedoc": "^0.23.21",
111+
"typescript": "^4.9.3"
111112
},
112113
"scripts": {
113114
"clean": "rimraf build docs node_modules \"*.tgz\" \"*.tsbuildinfo\"",
114115
"compile": "tsc -b tsconfig.c.json",
115116
"start": "yarn run watch",
116117
"watch": "rollup -c -w",
117118
"build": "rollup -c",
118-
"test": "jest --passWithNoTests --detectOpenHandles --forceExit",
119+
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --passWithNoTests --detectOpenHandles --forceExit",
119120
"test:watch": "yarn run test --watch",
120121
"test:coverage": "yarn run test --coverage",
121122
"samples": "yarn tsc samples/type_test.ts",
@@ -128,5 +129,10 @@
128129
"docs": "typedoc src/index.ts",
129130
"prepare": "yarn run build"
130131
},
131-
"packageManager": "[email protected]"
132+
"packageManager": "[email protected]",
133+
"dependenciesMeta": {
134+
135+
"unplugged": true
136+
}
137+
}
132138
}

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

samples/boxplot_and_violin.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.9.1/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@4.0.1"></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.9.1/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@4.0.1"></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.9.1/dist/chart.js"></script>
5+
<script src="https://unpkg.com/chart.js@4.0.1"></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)