Initial commit

This commit is contained in:
2026-06-11 02:31:09 +00:00
commit 9a2dc3c2cf
6706 changed files with 440580 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
const chartjs = require('../dist/chart.cjs');
const {Chart, registerables} = chartjs;
Chart.register(...registerables);
module.exports = Object.assign(Chart, chartjs);
+4
View File
@@ -0,0 +1,4 @@
import {Chart} from '../dist/types.js';
export * from '../dist/types.js';
export default Chart;
+6
View File
@@ -0,0 +1,6 @@
import {Chart, registerables} from '../dist/chart.js';
Chart.register(...registerables);
export * from '../dist/chart.js';
export default Chart;
+14
View File
@@ -0,0 +1,14 @@
{
"name": "chart.js-auto",
"private": true,
"description": "Auto registering package. Exists to support bundlers without exports support such as webpack 4.",
"type": "module",
"main": "./auto.cjs",
"module": "./auto.js",
"exports": {
"types": "./auto.d.ts",
"import": "./auto.js",
"require": "./auto.cjs"
},
"types": "./auto.d.ts"
}