diff --git a/docs/scripts/register.js b/docs/scripts/register.js index edba03d0f..f03aa3eb6 100644 --- a/docs/scripts/register.js +++ b/docs/scripts/register.js @@ -1,8 +1,7 @@ import Chart from 'chart.js/auto'; -import autocolors from 'chartjs-plugin-autocolors'; import plugin from '../../dist/chartjs-plugin-annotation.esm.js'; -Chart.register(plugin, autocolors); +Chart.register(plugin); Chart.register({ id: 'version', diff --git a/package-lock.json b/package-lock.json index 0987e7694..3be55ba5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ "@typescript-eslint/parser": "^5.4.0", "babel-loader": "^8.3.0", "chart.js": "^4.0.1", - "chartjs-plugin-autocolors": "^0.0.5", "chartjs-test-utils": "^0.5.0", "concurrently": "^7.0.0", "cross-env": "^7.0.3", @@ -5716,12 +5715,6 @@ "pnpm": "^7.0.0" } }, - "node_modules/chartjs-plugin-autocolors": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/chartjs-plugin-autocolors/-/chartjs-plugin-autocolors-0.0.5.tgz", - "integrity": "sha512-yxDDqykc4wv2g+c0lEW6JN2G5hfcQF2vp6auLiKq9znJZMjGT5Bhl2SmPsqhgCjy/C240OkjrwHIK72nZXrqAA==", - "dev": true - }, "node_modules/chartjs-test-utils": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/chartjs-test-utils/-/chartjs-test-utils-0.5.0.tgz", @@ -24012,12 +24005,6 @@ "integrity": "sha512-5/8/9eBivwBZK81mKvmIwTb2Pmw4D/5h1RK9fBWZLLZ8mCJ+kfYNmV9rMrGoa5Hgy2/wVDBMLSUDudul2/9ihA==", "dev": true }, - "chartjs-plugin-autocolors": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/chartjs-plugin-autocolors/-/chartjs-plugin-autocolors-0.0.5.tgz", - "integrity": "sha512-yxDDqykc4wv2g+c0lEW6JN2G5hfcQF2vp6auLiKq9znJZMjGT5Bhl2SmPsqhgCjy/C240OkjrwHIK72nZXrqAA==", - "dev": true - }, "chartjs-test-utils": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/chartjs-test-utils/-/chartjs-test-utils-0.5.0.tgz", diff --git a/package.json b/package.json index f7b8c1298..fb48c6229 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "@typescript-eslint/parser": "^5.4.0", "babel-loader": "^8.3.0", "chart.js": "^4.0.1", - "chartjs-plugin-autocolors": "^0.0.5", "chartjs-test-utils": "^0.5.0", "concurrently": "^7.0.0", "cross-env": "^7.0.3",