4 Commits

11 changed files with 1671 additions and 1853 deletions

984
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
FROM node:21-alpine3.19 AS frontend-builder
FROM node:24-alpine3.22 AS frontend-builder
WORKDIR /build
RUN corepack enable
COPY pastabble-frontend/ .
RUN pnpm i && pnpm build
FROM rust:alpine3.19 AS builder
FROM rust:alpine3.22 AS builder
WORKDIR /build
RUN apk add --no-cache musl-dev
@ -18,7 +18,7 @@ RUN case "$(apk --print-arch)" in \
mv ./target/aarch64-unknown-linux-musl /release ;; \
esac
FROM alpine:3.19
FROM alpine:3.22
WORKDIR /app
RUN mkdir wwwroot data && \

View File

@ -1,4 +1,4 @@
segment_size: 524288
use_compression: false
version: 0.34
vQ<>
vQ<>

Binary file not shown.

View File

@ -10,20 +10,19 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tsconfig/svelte": "^5.0.2",
"autoprefixer": "^10.4.17",
"daisyui": "^4.6.1",
"postcss": "^8.4.33",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"tailwindcss": "^3.4.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^5.0.8"
"@sveltejs/vite-plugin-svelte": "^5.1.0",
"@tailwindcss/vite": "^4.1.8",
"@tsconfig/svelte": "^5.0.4",
"daisyui": "^5.0.43",
"svelte": "^5.33.14",
"svelte-check": "^4.2.1",
"tailwindcss": "^4.1.8",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^6.3.5"
},
"dependencies": {
"highlight.js": "^11.9.0",
"highlight.js": "^11.11.1",
"svelte-spa-router": "^4.0.1"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@ -1,3 +1,2 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@plugin "daisyui";

View File

@ -1,9 +1,8 @@
import './app.css'
import 'highlight.js/styles/github-dark.min.css';
import { mount } from 'svelte';
import App from './App.svelte'
const app = new App({
target: document.getElementById('app'),
})
const app = mount(App, { target: document.getElementById("app") });
export default app

View File

@ -4,6 +4,5 @@ export default {
theme: {
extend: {},
},
plugins: [require('daisyui')],
}

View File

@ -1,7 +1,8 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import tailwindcss from '@tailwindcss/vite'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()]
plugins: [svelte(), tailwindcss()],
})