We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a828af3 commit 14beaebCopy full SHA for 14beaeb
app/routes/stats/npm/index.tsx
@@ -18,6 +18,7 @@ import * as d3 from 'd3'
18
import { useCombobox } from 'downshift'
19
import { FaAngleRight, FaArrowLeft, FaSpinner } from 'react-icons/fa'
20
import { HexColorPicker } from 'react-colorful'
21
+import { getLibrary } from '~/libraries'
22
23
type NpmStats = {
24
start: string
@@ -732,7 +733,16 @@ export const Route = createFileRoute('/stats/npm/')({
732
733
})
734
)
735
.optional()
- .default([]),
736
+ .default([
737
+ {
738
+ packages: ['react'],
739
+ color: '#4da6d1',
740
+ },
741
742
+ packages: ['@tanstack/query-core', 'react-query'],
743
+ color: '#ff4500',
744
745
+ ]),
746
range: z
747
.enum([
748
'7-days',
0 commit comments