chore: strip the comments this branch added

Removes every comment introduced on this branch: website/ in full, pages.yml
in full, and only the blocks added to ci.yml and release.yml — their
pre-existing comments are untouched.

Two directives survive because they are load-bearing rather than prose: the
triple-slash vite/client reference, and nothing else.

Two comments were carrying behaviour that the code did not state, so the
code now states it. useCopy's rejection handler clears the copied flag
instead of sitting empty, and writeTheme returns whether the write actually
landed instead of swallowing the failure in a bare catch. isExternal drops
its regex for two startsWith calls, which reads the same and no longer
hides a `//` inside a literal.
This commit is contained in:
Michel de Graaf
2026-07-25 01:29:55 +02:00
parent ba92e75fd3
commit c2dd227cee
45 changed files with 20 additions and 518 deletions
-11
View File
@@ -5,11 +5,6 @@ import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
/*
* Read the version out of the workspace manifest rather than keeping a copy in
* TypeScript. release-plz bumps Cargo.toml; a hand-written constant here would
* silently advertise the previous release forever.
*/
const cargoToml = readFileSync(
fileURLToPath(new URL('../Cargo.toml', import.meta.url)),
'utf8',
@@ -19,10 +14,6 @@ if (versionMatch?.[1] === undefined)
throw new Error('could not read version from ../Cargo.toml')
const VERSION = `v${versionMatch[1]}`
// Project sites are served from https://<user>.github.io/<repo>/, so every
// asset URL needs that prefix baked in at build time.
// hardcoded. Point a custom domain at the site and this becomes '/'
// — one edit here plus the matching `basename` in src/main.tsx.
const BASE = '/soulseek-rs/'
export default defineConfig({
@@ -37,8 +28,6 @@ export default defineConfig({
},
},
build: {
// Small site; a warning at the default 500 kB would be noise. A jump past
// this means something heavy got imported by accident.
chunkSizeWarningLimit: 600,
},
})