Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
- name: Cache Node.js modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- name: Extract version
id: extract_version
run: |
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
- name: Cache Node.js modules
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"npm.packageManager": "yarn",
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs",
"files.eol": "\n",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
Expand Down
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ packageExtensions:
dependencies:
eslint-import-resolver-node: "*"

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ a new scale type `hierarchical`.

The `hierarchical` axis scale has the following styling options

see [IHierarchicalScaleOptions](https://www.sgratzl/com/chartjs-plugin-hierarchical/api/interfaces/interface.IHierarchicalScaleOptions.html)
see [IHierarchicalScaleOptions](https://www.sgratzl/com/chartjs-plugin-hierarchical/api/interfaces/IHierarchicalScaleOptions.html)

## Data structure

see [ILabelNode](https://www.sgratzl/com/chartjs-plugin-hierarchical/api/interfaces/interface.ILabelNode.html) and [IValueNode](https://www.sgratzl/com/chartjs-plugin-hierarchical/api/interfaces/interface.IValueNode.html)
see [ILabelNode](https://www.sgratzl/com/chartjs-plugin-hierarchical/api/interfaces/ILabelNode.html) and [IValueNode](https://www.sgratzl/com/chartjs-plugin-hierarchical/api/interfaces/IValueNode.html)

### ESM and Tree Shaking

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ and [CodePen](https://codepen.io/sgratzl/pen/KKdryvg)

### Data Structure

see [ILabelNode](/api/interfaces/interface.ILabelNode.html) and [IValueNode](/api/interfaces/interface.IValueNode.html)
see [ILabelNode](/api/interfaces/ILabelNode.html) and [IValueNode](/api/interfaces/IValueNode.html)

### Styling

see [IHierarchicalScaleOptions](/api/interfaces/interface.IHierarchicalScaleOptions.html)
see [IHierarchicalScaleOptions](/api/interfaces/IHierarchicalScaleOptions.html)
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chartjs-plugin-hierarchical",
"description": "Chart.js module for hierarchical categories",
"version": "4.3.5",
"version": "4.3.6",
"author": {
"name": "Samuel Gratzl",
"email": "[email protected]",
Expand Down Expand Up @@ -56,52 +56,52 @@
"@chiogen/rollup-plugin-terser": "^7.1.3",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^29.5.6",
"@types/jest-image-snapshot": "^6.2.2",
"@types/node": "^20.8.7",
"@types/seedrandom": "^3.0.7",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@yarnpkg/sdks": "^2.7.1",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.11",
"@types/jest-image-snapshot": "^6.4.0",
"@types/node": "^20.11.5",
"@types/seedrandom": "^3.0.8",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@yarnpkg/sdks": "^3.1.0",
"canvas": "^2.11.2",
"canvas-5-polyfill": "^0.1.5",
"chart.js": "^4.4.0",
"chart.js": "^4.4.1",
"d3-scale": "^4.0.2",
"d3-scale-chromatic": "^3.0.0",
"eslint": "^8.51.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-image-snapshot": "^6.2.0",
"prettier": "^3.0.3",
"jest-image-snapshot": "^6.4.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"rollup": "^4.1.4",
"rollup": "^4.9.6",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-dts": "^6.1.0",
"seedrandom": "^3.0.5",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.2",
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^4.0.0-next.16",
"typedoc-vitepress-theme": "^1.0.0-next.3",
"typescript": "^5.2.2",
"vitepress": "^1.0.0-rc.22",
"vue": "^3.3.4",
"vue-chartjs": "^5.2.0"
"typedoc-vitepress-theme": "^1.0.0-next.7",
"typescript": "^5.3.3",
"vitepress": "^1.0.0-rc.39",
"vue": "^3.4.15",
"vue-chartjs": "^5.3.0"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0"
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0"
},
"scripts": {
"clean": "rimraf --glob build node_modules \"*.tgz\" \"*.tsbuildinfo\"",
Expand All @@ -124,5 +124,5 @@
"docs:build": "yarn run docs:api && vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"packageManager": "yarn@3.6.4"
"packageManager": "yarn@4.0.2"
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"noEmit": true,
"paths": {
"@": ["./src"],
"*": ["*", "node_modules/*"]
}
"*": ["*", "node_modules/*"],
},
},
"include": ["src/**/*.ts", "src/**/*.tsx", "docs/**/*.tsx"]
"include": ["src/**/*.ts", "src/**/*.tsx", "docs/**/*.tsx"],
}
Loading