Explore removing unused d3 packages from package.json
!16677 (merged) removed the last chart based on d3 from the gitlab project (as far as I could tell), and left only the activity calendar depending on the d3-*
packages.
Let's explore removing unused d3 packages from the package.json of gitlab-org/gitlab
.
activity_calendar.js
still depends on 2 packages:
import { scaleLinear, scaleThreshold } from 'd3-scale';
import { select } from 'd3-selection';
So we could possibly remove the following:
"d3-array": "^1.2.1",
"d3-axis": "^1.0.8",
"d3-brush": "^1.0.4",
"d3-ease": "^1.0.3",
"d3-shape": "^1.2.0",
"d3-time": "^1.0.8",
"d3-time-format": "^2.1.1",
"d3-transition": "^1.1.1",
Edited by Miguel Rincon