diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml
index a1e59a8..fe38500 100644
--- a/.forgejo/workflows/build.yaml
+++ b/.forgejo/workflows/build.yaml
@@ -81,7 +81,7 @@ jobs:
- name: Check GZipped directory size
run: |
# Set the threshold size in bytes
- THRESHOLD=410000
+ THRESHOLD=409600
# Calculate the total size of files in the directory
DIRECTORY_SIZE=$(du -b -s build_gz | awk '{print $1}')
@@ -98,7 +98,7 @@ jobs:
- name: Build LittleFS
run: |
set -e
- /tmp/mklittlefs/mklittlefs -c build_gz -s 410000 output/littlefs.bin
+ /tmp/mklittlefs/mklittlefs -c build_gz -s 409600 output/littlefs.bin
- name: Upload artifacts
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
diff --git a/package.json b/package.json
index 44cc323..9c4937d 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,6 @@
"postinstall": "patch-package",
"test": "npm run test:integration && npm run test:unit",
"test:integration": "playwright test",
- "test:screenshots": "playwright test -c playwright.screenshot.config.ts",
"test:unit": "vitest"
},
"devDependencies": {
@@ -59,7 +58,6 @@
"msgpack-es": "^0.0.5",
"nostr-tools": "^2.7.1",
"patch-package": "^8.0.0",
- "svelte-bootstrap-icons": "^3.1.1",
"svelte-i18n": "^4.0.0"
},
"resolutions": {
diff --git a/patches/@sveltejs+kit+2.8.5.patch b/patches/@sveltejs+kit+2.8.5.patch
deleted file mode 100644
index 80f5dba..0000000
--- a/patches/@sveltejs+kit+2.8.5.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/node_modules/@sveltejs/kit/src/exports/vite/index.js b/node_modules/@sveltejs/kit/src/exports/vite/index.js
-index e6521e9..f31c28b 100644
---- a/node_modules/@sveltejs/kit/src/exports/vite/index.js
-+++ b/node_modules/@sveltejs/kit/src/exports/vite/index.js
-@@ -639,9 +639,9 @@ async function kit({ svelte_config }) {
- input,
- output: {
- format: 'esm',
-- entryFileNames: ssr ? '[name].js' : `${prefix}/[name].[hash].${ext}`,
-- chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[name].[hash].${ext}`,
-- assetFileNames: `${prefix}/assets/[name].[hash][extname]`,
-+ entryFileNames: ssr ? '[name].js' : `${prefix}/[hash].${ext}`,
-+ chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[hash].${ext}`,
-+ assetFileNames: `${prefix}/assets/[hash][extname]`,
- hoistTransitiveImports: false,
- sourcemapIgnoreList
- },
diff --git a/playwright.config.ts b/playwright.config.ts
index bf148ce..d60d61c 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -10,7 +10,7 @@ const config: PlaywrightTestConfig = {
port: 4173
},
reporter: process.env.CI ? 'github' : 'list',
- testDir: 'tests/playwright',
+ testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};
diff --git a/playwright.screenshot.config.ts b/playwright.screenshot.config.ts
deleted file mode 100644
index 81264a4..0000000
--- a/playwright.screenshot.config.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import { defineConfig, devices } from '@playwright/test';
-
-export default defineConfig({
- reporter: 'html',
- use: {
- locale: 'en-GB',
- timezoneId: 'Europe/Amsterdam'
- },
- webServer: {
- command: 'npm run build && npm run preview',
- port: 4173
- },
- testDir: './tests/screenshots',
- outputDir: './test-results/screenshots',
- projects: [
- {
- name: 'MacBook Air 13 inch',
- use: {
- viewport: { width: 1440, height: 900 }
- }
- },
- {
- name: 'iPhone 14 Pro',
- use: { ...devices['iPhone 14 Pro'] }
- },
- {
- name: 'iPhone 15 Pro Landscape',
- use: { ...devices['iPhone 15 Pro Landscape'] }
- },
- {
- name: 'MacBook Pro 14 inch',
- use: {
- viewport: { width: 1512, height: 982 }
- }
- },
- {
- name: 'MacBook Pro 14 inch',
- use: {
- viewport: { width: 1512, height: 982 }
- }
- },
- {
- name: 'MacBook Pro 14 inch Firefox HiDPI',
- use: { ...devices['Desktop Firefox HiDPI'], viewport: { width: 1512, height: 982 } }
- },
- {
- name: 'MacBook Pro 14 inch Safari',
- use: { ...devices['Desktop Safari'], viewport: { width: 1512, height: 982 } }
- }
- ]
-});
diff --git a/src/components/ColorSchemeSwitcher.svelte b/src/components/ColorSchemeSwitcher.svelte
deleted file mode 100644
index 9d7e32a..0000000
--- a/src/components/ColorSchemeSwitcher.svelte
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
Loading...
{/if}