🎨 Format code and fix typescript shit

This commit is contained in:
Paillat
2025-08-28 12:04:12 +02:00
parent 7b2a9754c5
commit 8613569a0a
5 changed files with 15 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
name: CI
on:
push:
branches: [ "master", "dev" ]
branches: ['master', 'dev']
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
tags: ['v*.*.*']
pull_request:
branches: ["master", "dev"]
branches: ['master', 'dev']
release:
types: [created]

View File

@@ -11,17 +11,17 @@ jobs:
check: [format, lint, typecheck, build]
include:
- check: format
name: "Format Check"
command: "pnpm prettier --check ."
name: 'Format Check'
command: 'pnpm prettier --check .'
- check: lint
name: "Lint Check"
command: "pnpm eslint ."
name: 'Lint Check'
command: 'pnpm eslint .'
- check: typecheck
name: "Type Check"
command: "pnpm check"
name: 'Type Check'
command: 'pnpm check'
- check: build
name: "Build Check"
command: "pnpm build"
name: 'Build Check'
command: 'pnpm build'
name: ${{ matrix.name }}
steps:

View File

@@ -1,4 +1,5 @@
<script lang="ts">
// @ts-ignore
import GithubCalendar from 'github-calendar';
import { onMount } from 'svelte';

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { GitHubCalendar } from '$lib';
import { GitHubCalendar } from 'svelte-github-calendar';
</script>
<GitHubCalendar username="Paillat-dev" class="w-full h-auto" />