Skip to content

Commit 1825e58

Browse files
committed
A few random fixes
1 parent b17b963 commit 1825e58

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

cors-proxy/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "git-strata-cors-proxy",
33
"private": true,
44
"type": "module",
5+
"packageManager": "pnpm@10.29.2",
56
"scripts": {
7+
"preinstall": "node -e \"if(!/pnpm/.test(process.env.npm_config_user_agent))throw new Error('Use pnpm to install dependencies')\"",
68
"dev": "wrangler dev",
79
"deploy": "wrangler deploy",
810
"test": "vitest run"

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "0.0.1",
44
"private": true,
55
"type": "module",
6+
"packageManager": "pnpm@10.29.2",
67
"scripts": {
8+
"preinstall": "node -e \"if(!/pnpm/.test(process.env.npm_config_user_agent))throw new Error('Use pnpm to install dependencies')\"",
79
"dev": "vite dev",
810
"build": "vite build",
911
"preview": "vite preview",

pnpm-workspace.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/app.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,6 @@ body::before {
838838
text-decoration-skip-ink: none;
839839
}
840840

841-
842841
/* Stratigraphy tooltip */
843842
.strat-tooltip {
844843
position: absolute;

src/lib/components/CacheManager.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<button
6868
onclick={() => (expanded = !expanded)}
6969
aria-expanded={expanded}
70-
class="flex items-center gap-2 text-[var(--color-text-tertiary)] transition-colors
70+
class="flex cursor-pointer items-center gap-2 text-[var(--color-text-tertiary)] transition-colors
7171
hover:text-[var(--color-text-secondary)]"
7272
style="font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; transition-duration: var(--duration-fast);"
7373
>

src/routes/+page.svelte

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { browser } from '$app/environment';
33
import { goto } from '$app/navigation';
44
import { resolve } from '$app/paths';
5-
import { page } from '$app/stores';
5+
import { page } from '$app/state';
66
import { env } from '$env/dynamic/public';
77
import { parseRepoUrl } from '$lib/url';
88
import { formatBytes, getResult, saveResult } from '$lib/cache';
@@ -81,7 +81,7 @@
8181
// Read ?repo= from URL on initial load
8282
const initialRepo = $derived.by(() => {
8383
if (!browser) return '';
84-
return $page.url.searchParams.get('repo') ?? '';
84+
return page.url.searchParams.get('repo') ?? '';
8585
});
8686
8787
let hasAutoStarted = $state(false);
@@ -557,10 +557,9 @@
557557
</p>
558558
<hr class="strat-tooltip-divider" />
559559
<p>
560-
<strong>Stra<span class="text-[var(--color-accent)]">git</span>raphy</strong> is the study of how your repo's layers (<em
561-
>strati</em
562-
>) went from <code>git init</code> to whatever it is now. Unlike real stratigraphy, it takes
563-
seconds instead of millennia.
560+
<strong>Stra<span class="text-[var(--color-accent)]">git</span>raphy</strong> is the
561+
study of how your repo's layers (<em>strati</em>) went from <code>git init</code> to whatever
562+
it is now. Unlike real stratigraphy, it takes seconds instead of millennia.
564563
</p>
565564
</div>
566565
{/if}

tests/languages.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
isInTestDir,
99
countRustInlineTestLines,
1010
countZigInlineTestLines
11-
} from '../src/lib/languages';
11+
} from '$lib/languages';
1212

1313
describe('getLanguageByExtension', () => {
1414
it('maps .ts to TypeScript', () => {

0 commit comments

Comments
 (0)