From a2dba84fb08297dee04c0f0043a1ff9e9a056c87 Mon Sep 17 00:00:00 2001 From: Zed Date: Tue, 7 Jul 2026 15:00:18 +0200 Subject: [PATCH] Rename application to Skori --- index.html | 29 ++++++++++++---------- package.json | 2 +- src/pages/Home.tsx | 2 +- src/pages/Settings.tsx | 6 ++--- vite.config.ts | 55 +++++++++++++++++++++--------------------- 5 files changed, 49 insertions(+), 45 deletions(-) diff --git a/index.html b/index.html index 35e8441..fa46007 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,19 @@ - - - - - - - - Board Score - - -
- - + + + + + + + + Skori + + +
+ + diff --git a/package.json b/package.json index d4ea29d..c96dc10 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "board-score", + "name": "skori", "private": true, "version": "1.0.0", "type": "module", diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 77e942c..3c991ec 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -50,7 +50,7 @@ export default function Home() {

- Board Score + Skori

diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 7c8e448..3374ee9 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -27,7 +27,7 @@ export default function Settings() { const url = URL.createObjectURL(blob); const a = document.createElement("a"); a.href = url; - a.download = `boardscore-backup-${new Date().toISOString().split("T")[0]}.json`; + a.download = `skori-backup-${new Date().toISOString().split("T")[0]}.json`; a.click(); URL.revokeObjectURL(url); } catch (e) { @@ -77,7 +77,7 @@ export default function Settings() { const url = URL.createObjectURL(blob); const a = document.createElement("a"); a.href = url; - a.download = `boardscore-historique-${new Date().toISOString().split("T")[0]}.csv`; + a.download = `skori-historique-${new Date().toISOString().split("T")[0]}.csv`; a.click(); URL.revokeObjectURL(url); } catch (e) { @@ -196,7 +196,7 @@ export default function Settings() {
- Board Score v1.0.0 + Skori v1.0.0
); diff --git a/vite.config.ts b/vite.config.ts index 9db7fbe..2d6afa2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,45 +1,46 @@ -import { defineConfig } from 'vite'; -import react from '@vitejs/plugin-react'; -import { VitePWA } from 'vite-plugin-pwa'; -import path from 'path'; +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import { VitePWA } from "vite-plugin-pwa"; +import path from "path"; export default defineConfig({ plugins: [ react(), VitePWA({ - registerType: 'autoUpdate', - includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'mask-icon.svg'], + registerType: "autoUpdate", + includeAssets: ["favicon.ico", "apple-touch-icon.png", "mask-icon.svg"], manifest: { - name: 'Board Score', - short_name: 'BoardScore', - description: 'Application Web de gestion des scores pour jeux de société', - theme_color: '#ffffff', - background_color: '#ffffff', - display: 'standalone', + name: "Skori", + short_name: "Skori", + description: + "Application Web de gestion des scores pour jeux de société", + theme_color: "#ffffff", + background_color: "#ffffff", + display: "standalone", icons: [ { - src: 'pwa-192x192.png', - sizes: '192x192', - type: 'image/png' + src: "pwa-192x192.png", + sizes: "192x192", + type: "image/png", }, { - src: 'pwa-512x512.png', - sizes: '512x512', - type: 'image/png' + src: "pwa-512x512.png", + sizes: "512x512", + type: "image/png", }, { - src: 'pwa-512x512.png', - sizes: '512x512', - type: 'image/png', - purpose: 'any maskable' - } - ] - } - }) + src: "pwa-512x512.png", + sizes: "512x512", + type: "image/png", + purpose: "any maskable", + }, + ], + }, + }), ], resolve: { alias: { - '@': path.resolve(__dirname, './src'), + "@": path.resolve(__dirname, "./src"), }, }, });