@oliasoft-open-source/charts-library 5.17.0 → 5.18.0

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.
Files changed (1) hide show
  1. package/package.json +28 -28
package/package.json CHANGED
@@ -1,42 +1,24 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/charts-library",
3
- "version": "5.17.0",
3
+ "version": "5.18.0",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
6
6
  "bugs": {
7
7
  "url": "https://gitlab.com/oliasoft-open-source/charts-library/issues"
8
8
  },
9
+ "license": "MIT",
10
+ "author": "Oliasoft AS and contributors",
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "git+https://gitlab.com/oliasoft-open-source/charts-library.git"
12
14
  },
13
- "license": "MIT",
14
- "author": "Oliasoft AS and contributors",
15
+ "files": [
16
+ "dist/**/*"
17
+ ],
15
18
  "type": "module",
16
19
  "main": "./dist/index.js",
17
20
  "module": "./dist/index.js",
18
21
  "types": "./dist/index.d.ts",
19
- "files": [
20
- "dist/**/*"
21
- ],
22
- "devEngines": {
23
- "packageManager": {
24
- "name": "pnpm",
25
- "version": "11.3.0",
26
- "onFail": "download"
27
- },
28
- "runtime": {
29
- "name": "node",
30
- "version": "26.3.0",
31
- "onFail": "download"
32
- }
33
- },
34
- "lint-staged": {
35
- "*.{ts,tsx,js,jsx}": "oxlint -c .oxlintrc.json --fix",
36
- "*.{ts,tsx,js,jsx,json,css,less}": [
37
- "prettier --write"
38
- ]
39
- },
40
22
  "dependencies": {
41
23
  "@fontsource/noto-sans": "^5.2.7",
42
24
  "chart.js": "^4.4.9",
@@ -79,8 +61,8 @@
79
61
  "less": "^4.3.0",
80
62
  "lint-staged": "^15.5.2",
81
63
  "normalize.css": "^8.0.1",
64
+ "oxfmt": "^0.61.0",
82
65
  "oxlint": "^1.17.0",
83
- "prettier": "3.5.3",
84
66
  "react": "^18.2.0",
85
67
  "react-dom": "^18.2.0",
86
68
  "storybook": "^10.4.0",
@@ -101,6 +83,24 @@
101
83
  "react": "^18",
102
84
  "react-dom": "^18"
103
85
  },
86
+ "lint-staged": {
87
+ "*": [
88
+ "oxlint -c .oxlintrc.json --fix",
89
+ "oxfmt"
90
+ ]
91
+ },
92
+ "devEngines": {
93
+ "packageManager": {
94
+ "name": "pnpm",
95
+ "version": "11.3.0",
96
+ "onFail": "download"
97
+ },
98
+ "runtime": {
99
+ "name": "node",
100
+ "version": "26.3.0",
101
+ "onFail": "download"
102
+ }
103
+ },
104
104
  "scripts": {
105
105
  "build:package": "tsc && vite build",
106
106
  "build:storybook": "storybook build --quiet --output-dir ./public",
@@ -108,10 +108,10 @@
108
108
  "dev:storybook": "storybook dev -p 6006",
109
109
  "lint:check": "oxlint -c .oxlintrc.json .",
110
110
  "lint:fix": "oxlint -c .oxlintrc.json --fix .",
111
- "prettier:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,less}\"",
112
- "prettier:fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,less}\"",
111
+ "format:check": "oxfmt --check",
112
+ "format:fix": "oxfmt",
113
113
  "preview:storybook": "pnpm exec http-server ./public -o -p 9005 -c-1",
114
- "test": "pnpm run prettier:check && pnpm run lint:check && pnpm run test:unit",
114
+ "test": "pnpm run format:check && pnpm run lint:check && pnpm run test:unit",
115
115
  "test:stories:types": "tsc -p tsconfig.stories.json",
116
116
  "test:unit": "vitest run",
117
117
  "test:unit:coverage": "vitest run --coverage"