Added package repo statistic extraction script

This commit is contained in:
2025-10-06 17:51:52 -04:00
parent 2edf37044f
commit c4855bb3e3
9 changed files with 17032 additions and 35 deletions

View File

@@ -1,24 +1,9 @@
import './style.css'
import typescriptLogo from './typescript.svg'
import viteLogo from '/vite.svg'
import { setupCounter } from './counter.ts'
import Reveal from 'reveal.js'
import Markdown from 'reveal.js/plugin/markdown/markdown.esm.js'
import RevealHighlight from 'reveal.js/plugin/highlight/highlight.esm.js'
document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
<div>
<a href="https://vite.dev" target="_blank">
<img src="${viteLogo}" class="logo" alt="Vite logo" />
</a>
<a href="https://www.typescriptlang.org/" target="_blank">
<img src="${typescriptLogo}" class="logo vanilla" alt="TypeScript logo" />
</a>
<h1>Vite + TypeScript</h1>
<div class="card">
<button id="counter" type="button"></button>
</div>
<p class="read-the-docs">
Click on the Vite and TypeScript logos to learn more
</p>
</div>
`
let deck = new Reveal({
plugins: [Markdown, RevealHighlight],
})
setupCounter(document.querySelector<HTMLButtonElement>('#counter')!)
deck.initialize()