@oliasoft-open-source/charts-library 2.10.0 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +39 -34
- package/release-notes.md +5 -0
package/package.json
CHANGED
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "React Chart Library (based on Chart.js and react-chart-js-2)",
|
|
5
|
+
"homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://gitlab.com/oliasoft-open-source/charts-library/issues"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://gitlab.com/oliasoft-open-source/charts-library.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Oliasoft AS and contributors",
|
|
5
15
|
"main": "index.js",
|
|
6
16
|
"scripts": {
|
|
7
17
|
"build": "yarn run build:storybook",
|
|
8
18
|
"build:storybook": "build-storybook --quiet --output-dir ./public",
|
|
9
19
|
"dev:storybook": "start-storybook -p 6006",
|
|
10
|
-
"preview:storybook": " http-server ./public -o -p 9002 -c-1",
|
|
11
|
-
"test": "yarn run prettier:check && yarn run lint:check && yarn run test:unit",
|
|
12
|
-
"test:unit": "jest",
|
|
13
20
|
"lint:check": "eslint \"**/*.{js,jsx}\"",
|
|
14
21
|
"lint:fix": "eslint --fix \"**/*.{js,jsx}\"",
|
|
22
|
+
"prepare": "husky install",
|
|
15
23
|
"prettier:check": "prettier --check \"**/*.{js,jsx,json,css,less}\"",
|
|
16
24
|
"prettier:fix": "prettier --write \"**/*.{js,jsx,json,css,less}\"",
|
|
17
|
-
"
|
|
25
|
+
"preview:storybook": " http-server ./public -o -p 9002 -c-1",
|
|
26
|
+
"test": "yarn run prettier:check && yarn run lint:check && yarn run test:unit",
|
|
27
|
+
"test:unit": "jest"
|
|
18
28
|
},
|
|
19
29
|
"lint-staged": {
|
|
20
30
|
"*.js": "eslint --cache --fix",
|
|
@@ -22,21 +32,24 @@
|
|
|
22
32
|
"prettier --write"
|
|
23
33
|
]
|
|
24
34
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"chart.js": "^3.9.1",
|
|
37
|
+
"chartjs-plugin-annotation": "^1.4.0",
|
|
38
|
+
"chartjs-plugin-datalabels": "^2.1.0",
|
|
39
|
+
"chartjs-plugin-zoom": "^1.2.1",
|
|
40
|
+
"classnames": "^2.3.1",
|
|
41
|
+
"fraction.js": "^4.2.0",
|
|
42
|
+
"less-vars-to-js": "^1.3.0",
|
|
43
|
+
"react-base64-downloader": "^2.1.7",
|
|
44
|
+
"react-chartjs-2": "^4.3.1"
|
|
33
45
|
},
|
|
34
|
-
"homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
|
|
35
46
|
"devDependencies": {
|
|
36
47
|
"@babel/core": "^7.18.13",
|
|
37
48
|
"@babel/eslint-parser": "^7.18.9",
|
|
38
49
|
"@babel/preset-env": "^7.18.10",
|
|
39
50
|
"@babel/preset-react": "^7.18.6",
|
|
51
|
+
"@oliasoft-open-source/react-ui-library": "^3",
|
|
52
|
+
"@oliasoft-open-source/units": "^2",
|
|
40
53
|
"@storybook/addon-actions": "^6.5.10",
|
|
41
54
|
"@storybook/addon-docs": "^6.5.10",
|
|
42
55
|
"@storybook/addon-links": "^6.5.10",
|
|
@@ -62,6 +75,7 @@
|
|
|
62
75
|
"html-webpack-plugin": "^5.5.0",
|
|
63
76
|
"http-server": "^14.1.1",
|
|
64
77
|
"husky": "^8.0.1",
|
|
78
|
+
"immer": "^9",
|
|
65
79
|
"jest": "^29.0.1",
|
|
66
80
|
"jest-transform-stub": "^2.0.0",
|
|
67
81
|
"less": "^4.1.3",
|
|
@@ -69,8 +83,10 @@
|
|
|
69
83
|
"lint-staged": "^13.0.3",
|
|
70
84
|
"mini-css-extract-plugin": "^2.6.1",
|
|
71
85
|
"prettier": "2.7.1",
|
|
72
|
-
"
|
|
73
|
-
"react
|
|
86
|
+
"prop-types": "^15",
|
|
87
|
+
"react": "^17",
|
|
88
|
+
"react-dom": "^17",
|
|
89
|
+
"react-icons": "^4",
|
|
74
90
|
"storybook-dark-mode": "^1.1.0",
|
|
75
91
|
"terser-webpack-plugin": "^5.3.6",
|
|
76
92
|
"webpack": "^5.74.0",
|
|
@@ -79,23 +95,12 @@
|
|
|
79
95
|
"webpack-merge": "^5.8.0"
|
|
80
96
|
},
|
|
81
97
|
"peerDependencies": {
|
|
82
|
-
"react": "^
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"chartjs-plugin-annotation": "^1.4.0",
|
|
90
|
-
"chartjs-plugin-datalabels": "^2.1.0",
|
|
91
|
-
"chartjs-plugin-zoom": "^1.2.1",
|
|
92
|
-
"classnames": "^2.3.1",
|
|
93
|
-
"fraction.js": "^4.2.0",
|
|
94
|
-
"immer": "^9.0.17",
|
|
95
|
-
"less-vars-to-js": "^1.3.0",
|
|
96
|
-
"prop-types": "^15.8.1",
|
|
97
|
-
"react-base64-downloader": "^2.1.7",
|
|
98
|
-
"react-chartjs-2": "^4.3.1",
|
|
99
|
-
"react-icons": "^4.4.0"
|
|
98
|
+
"@oliasoft-open-source/react-ui-library": "^3",
|
|
99
|
+
"@oliasoft-open-source/units": "^2",
|
|
100
|
+
"immer": "^9",
|
|
101
|
+
"prop-types": "^15",
|
|
102
|
+
"react": "^17",
|
|
103
|
+
"react-dom": "^17",
|
|
104
|
+
"react-icons": "^4"
|
|
100
105
|
}
|
|
101
106
|
}
|
package/release-notes.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Charts Library Release Notes
|
|
2
2
|
|
|
3
|
+
## 2.10.1
|
|
4
|
+
|
|
5
|
+
- Use `peerDependencies` for common versions of shared packages like `units` and `react-ui-library` so reduce double
|
|
6
|
+
installs and conflicting versions in parent apps ([OW-10974](https://oliasoft.atlassian.net/browse/OW-10974))
|
|
7
|
+
|
|
3
8
|
## 2.10.0
|
|
4
9
|
|
|
5
10
|
- Switch to standard `round()` function from units repo [OW-10972](https://oliasoft.atlassian.net/browse/OW-10972)
|