Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
e9096af0a3 | |||
1b559f08dd | |||
afdafa9dc3 | |||
6eabaf6fa9 | |||
![]() |
aae9848697 | ||
5df7a892c4 | |||
0116cd68cd | |||
50b9267d17 | |||
68207a7d95 | |||
993bb45d0d | |||
e0d539a8a3 |
5 changed files with 517 additions and 487 deletions
|
@ -39,6 +39,7 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: '**/yarn.lock'
|
cache-dependency-path: '**/yarn.lock'
|
||||||
|
@ -49,9 +50,6 @@ jobs:
|
||||||
~/node_modules
|
~/node_modules
|
||||||
~/.cache/ms-playwright
|
~/.cache/ms-playwright
|
||||||
key: ${{ runner.os }}-pio-playwright-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-pio-playwright-${{ hashFiles('**/yarn.lock') }}
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '>=3.10'
|
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: dateAndTime
|
id: dateAndTime
|
||||||
run: echo "dateAndTime=$(date +'%Y-%m-%d-%H:%M')" >> $GITHUB_OUTPUT
|
run: echo "dateAndTime=$(date +'%Y-%m-%d-%H:%M')" >> $GITHUB_OUTPUT
|
||||||
|
@ -120,7 +118,7 @@ jobs:
|
||||||
output/littlefs.bin
|
output/littlefs.bin
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
uses: https://code.forgejo.org/actions/forgejo-release@v2.5.1
|
uses: https://code.forgejo.org/actions/forgejo-release@v2.5.3
|
||||||
with:
|
with:
|
||||||
url: 'https://git.btclock.dev/'
|
url: 'https://git.btclock.dev/'
|
||||||
repo: '${{ github.repository }}'
|
repo: '${{ github.repository }}'
|
||||||
|
|
|
@ -69,6 +69,5 @@
|
||||||
"es5-ext": ">=0.10.64",
|
"es5-ext": ">=0.10.64",
|
||||||
"ws": ">=8.18.0",
|
"ws": ">=8.18.0",
|
||||||
"micromatch": ">=4.0.8"
|
"micromatch": ">=4.0.8"
|
||||||
},
|
}
|
||||||
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,30 +1,17 @@
|
||||||
diff --git a/node_modules/@sveltejs/kit/src/exports/vite/index.js b/node_modules/@sveltejs/kit/src/exports/vite/index.js
|
diff --git a/node_modules/@sveltejs/kit/src/exports/vite/index.js b/node_modules/@sveltejs/kit/src/exports/vite/index.js
|
||||||
index 21bc3d4..eef2db3 100644
|
index ddbe746..1d926a4 100644
|
||||||
--- a/node_modules/@sveltejs/kit/src/exports/vite/index.js
|
--- a/node_modules/@sveltejs/kit/src/exports/vite/index.js
|
||||||
+++ b/node_modules/@sveltejs/kit/src/exports/vite/index.js
|
+++ b/node_modules/@sveltejs/kit/src/exports/vite/index.js
|
||||||
@@ -648,9 +648,9 @@ async function kit({ svelte_config }) {
|
@@ -658,9 +658,9 @@ async function kit({ svelte_config }) {
|
||||||
output: {
|
output: {
|
||||||
format: inline ? 'iife' : 'esm',
|
format: inline ? 'iife' : 'esm',
|
||||||
name: `__sveltekit_${version_hash}.app`,
|
name: `__sveltekit_${version_hash}.app`,
|
||||||
- entryFileNames: ssr ? '[name].js' : `${prefix}/[name].[hash].${ext}`,
|
- entryFileNames: ssr ? '[name].js' : `${prefix}/[name].[hash].${ext}`,
|
||||||
- chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[name].[hash].${ext}`,
|
- chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[hash].${ext}`,
|
||||||
- assetFileNames: `${prefix}/assets/[name].[hash][extname]`,
|
- assetFileNames: `${prefix}/assets/[name].[hash][extname]`,
|
||||||
+ entryFileNames: ssr ? '[name].js' : `${prefix}/[hash].${ext}`,
|
+ entryFileNames: ssr ? '[name].js' : `${prefix}/[hash].${ext}`,
|
||||||
+ chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[hash].${ext}`,
|
+ chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/c[hash].${ext}`,
|
||||||
+ assetFileNames: `${prefix}/assets/[hash][extname]`,
|
+ assetFileNames: `${prefix}/a[hash][extname]`,
|
||||||
hoistTransitiveImports: false,
|
hoistTransitiveImports: false,
|
||||||
sourcemapIgnoreList,
|
sourcemapIgnoreList,
|
||||||
manualChunks: split ? undefined : () => 'bundle',
|
manualChunks: split ? undefined : () => 'bundle',
|
||||||
@@ -665,9 +665,9 @@ async function kit({ svelte_config }) {
|
|
||||||
worker: {
|
|
||||||
rollupOptions: {
|
|
||||||
output: {
|
|
||||||
- entryFileNames: `${prefix}/workers/[name]-[hash].js`,
|
|
||||||
- chunkFileNames: `${prefix}/workers/chunks/[name]-[hash].js`,
|
|
||||||
- assetFileNames: `${prefix}/workers/assets/[name]-[hash][extname]`,
|
|
||||||
+ entryFileNames: `${prefix}/workers/[hash].js`,
|
|
||||||
+ chunkFileNames: `${prefix}/workers/chunks/[hash].js`,
|
|
||||||
+ assetFileNames: `${prefix}/workers/assets/[hash][extname]`,
|
|
||||||
hoistTransitiveImports: false
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -190,12 +190,14 @@
|
||||||
size={$uiSettings.inputSize}
|
size={$uiSettings.inputSize}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SettingsSwitch
|
{#if $settings.hasLightLevel}
|
||||||
id="flOffWhenDark"
|
<SettingsSwitch
|
||||||
bind:checked={$settings.flOffWhenDark}
|
id="flOffWhenDark"
|
||||||
label={$_('section.settings.flOffWhenDark')}
|
bind:checked={$settings.flOffWhenDark}
|
||||||
size={$uiSettings.inputSize}
|
label={$_('section.settings.flOffWhenDark')}
|
||||||
/>
|
size={$uiSettings.inputSize}
|
||||||
|
/>
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</Row>
|
</Row>
|
||||||
</ToggleHeader>
|
</ToggleHeader>
|
||||||
|
|
Loading…
Add table
Reference in a new issue