(wiki) chart data

This commit is contained in:
Maciej Jur 2023-06-08 00:28:54 +02:00
parent 941ad25ca8
commit a22fed7728
3 changed files with 13 additions and 10 deletions

View file

@ -4,23 +4,23 @@ import Chart from "chart.js/auto";
const data = {
labels: ["June"],
labels: ["April", "May", "June"],
datasets: [
{
label: "Markdown",
data: [2455],
data: [2173, 2430, 2455],
},
{
label: "SCSS",
data: [1138],
data: [910, 1116, 1138],
},
{
label: "TypeScript",
data: [1011],
data: [242, 517, 1011],
},
{
label: "Astro",
data: [946]
data: [535, 845, 946]
}
]
};

View file

@ -4,11 +4,8 @@ title: Wiki home page
---
import ProjectSizeChart from '@assets/wiki/ProjectSizeChart';
## Project size
Below is a chart for lines of code by extension inside the repository for this website.
The following chart displays the number of lines of code categorized by file extension within the repository of this website.
<ProjectSizeChart client:load />

6
tools/cloc.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
cloc \
--force-lang="agda",astro \
--exclude-dir=node_modules,dist \
.