From 48c466648946179cdadb1bd48d76ad0a9dbfaecc Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 7 Aug 2026 10:42:01 +0200 Subject: [PATCH 1/2] Update v4.8.1 release date --- CHANGELOG.md | 2 +- manifest.ts | 172 +++++++++-------------------------------- package.json | 2 +- shlink-web-client.d.ts | 2 +- 4 files changed, 38 insertions(+), 140 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dae422cc..9503e671 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org). -## [4.8.1] - 2026-08-06 +## [4.8.1] - 2026-08-07 ### Added * *Nothing* diff --git a/manifest.ts b/manifest.ts index cf6ba7eb..4cfbbe5f 100644 --- a/manifest.ts +++ b/manifest.ts @@ -1,6 +1,36 @@ import { BRAND_COLOR_LM } from '@shlinkio/shlink-frontend-kit'; import type { ManifestOptions } from 'vite-plugin-pwa'; +const iconSizes = [ + '16', + '24', + '32', + '40', + '48', + '60', + '64', + '72', + '76', + '96', + '114', + '120', + '128', + '144', + '150', + '152', + '160', + '167', + '180', + '192', + '196', + '228', + '256', + '310', + '384', + '512', + '1024', +]; + export const manifest: Partial = { short_name: 'Shlink', name: 'Shlink Web Client', @@ -8,141 +38,9 @@ export const manifest: Partial = { display: 'standalone', theme_color: BRAND_COLOR_LM, // Toolbar color background_color: BRAND_COLOR_LM, // Splash screen background color - icons: [ - { - src: './icons/icon-16x16.png', - type: 'image/png', - sizes: '16x16', - }, - { - src: './icons/icon-24x24.png', - type: 'image/png', - sizes: '24x24', - }, - { - src: './icons/icon-32x32.png', - type: 'image/png', - sizes: '32x32', - }, - { - src: './icons/icon-40x40.png', - type: 'image/png', - sizes: '40x40', - }, - { - src: './icons/icon-48x48.png', - type: 'image/png', - sizes: '48x48', - }, - { - src: './icons/icon-60x60.png', - type: 'image/png', - sizes: '60x60', - }, - { - src: './icons/icon-64x64.png', - type: 'image/png', - sizes: '64x64', - }, - { - src: './icons/icon-72x72.png', - type: 'image/png', - sizes: '72x72', - }, - { - src: './icons/icon-76x76.png', - type: 'image/png', - sizes: '76x76', - }, - { - src: './icons/icon-96x96.png', - type: 'image/png', - sizes: '96x96', - }, - { - src: './icons/icon-114x114.png', - type: 'image/png', - sizes: '114x114', - }, - { - src: './icons/icon-120x120.png', - type: 'image/png', - sizes: '120x120', - }, - { - src: './icons/icon-128x128.png', - type: 'image/png', - sizes: '128x128', - }, - { - src: './icons/icon-144x144.png', - type: 'image/png', - sizes: '144x144', - }, - { - src: './icons/icon-150x150.png', - type: 'image/png', - sizes: '150x150', - }, - { - src: './icons/icon-152x152.png', - type: 'image/png', - sizes: '152x152', - }, - { - src: './icons/icon-160x160.png', - type: 'image/png', - sizes: '160x160', - }, - { - src: './icons/icon-167x167.png', - type: 'image/png', - sizes: '167x167', - }, - { - src: './icons/icon-180x180.png', - type: 'image/png', - sizes: '180x180', - }, - { - src: './icons/icon-192x192.png', - type: 'image/png', - sizes: '192x192', - }, - { - src: './icons/icon-196x196.png', - type: 'image/png', - sizes: '196x196', - }, - { - src: './icons/icon-228x228.png', - type: 'image/png', - sizes: '228x228', - }, - { - src: './icons/icon-256x256.png', - type: 'image/png', - sizes: '256x256', - }, - { - src: './icons/icon-310x310.png', - type: 'image/png', - sizes: '310x310', - }, - { - src: './icons/icon-384x384.png', - type: 'image/png', - sizes: '384x384', - }, - { - src: './icons/icon-512x512.png', - type: 'image/png', - sizes: '512x512', - }, - { - src: './icons/icon-1024x1024.png', - type: 'image/png', - sizes: '1024x1024', - }, - ], + icons: iconSizes.map((size) => ({ + src: `./icons/icon-${size}x${size}.png`, + type: 'image/png', + sizes: `${size}x${size}`, + })), }; diff --git a/package.json b/package.json index 31b20c6f..f1ea2e66 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "cs:fix": "node --run lint:fix && node --run format", "lint": "oxlint src test config/test ./*.config.ts", "lint:fix": "node --run lint -- --fix", - "format": "oxfmt src test config/test ./*.config.ts", + "format": "oxfmt src test config/test ./*.ts", "format:check": "node --run format -- --check", "types": "tsc", "start": "vite serve --host=0.0.0.0", diff --git a/shlink-web-client.d.ts b/shlink-web-client.d.ts index 6d8ad4a0..03299405 100644 --- a/shlink-web-client.d.ts +++ b/shlink-web-client.d.ts @@ -4,4 +4,4 @@ declare module '@json2csv/plainjs' { } } -declare module '*.png' +declare module '*.png'; From 0f102cb64c595633b02ab2d0c16843cbcf7fa947 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 7 Aug 2026 10:44:26 +0200 Subject: [PATCH 2/2] Remove no longer used definition file --- shlink-web-client.d.ts | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 shlink-web-client.d.ts diff --git a/shlink-web-client.d.ts b/shlink-web-client.d.ts deleted file mode 100644 index 03299405..00000000 --- a/shlink-web-client.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module '@json2csv/plainjs' { - export class Parser { - parse: (data: T[]) => string; - } -} - -declare module '*.png';