From 468d717714b997085aa89f5f1c50e186ae92181b Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Mon, 3 Mar 2025 00:54:12 +0100 Subject: [PATCH] Cleanup --- .forgejo/workflows/build.yaml | 2 +- package.json | 13 ++++++++++--- pnpm-lock.yaml | 6 +++--- uno.config.ts | 7 +++++-- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index c52b116..7167da1 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -31,4 +31,4 @@ jobs: context: "." file: "./Containerfile" push: true - tags: "git.moritzruth.de/moritzruth/twenty-one:latest" + tags: "git.moritzruth.de/${{ github.repository }}:latest" diff --git a/package.json b/package.json index 62cf8c6..1307624 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,13 @@ "scripts": { "start": "NODE_ENV=production tsx ./backend/main.ts", "build": "vite build", - "dev:ui": "vite", - "dev:server": "NODE_ENV=development tsx watch --clear-screen=false ./backend/main.ts" + "dev:frontend": "vite", + "dev:backend": "NODE_ENV=development tsx watch --clear-screen=false ./backend/main.ts" }, "devDependencies": { "@iconify-json/ph": "^1.2.2", "@types/express": "^5.0.0", + "@types/cookie-parser": "^1.4.8", "@types/lodash-es": "^4.17.12", "@types/node": "^22.13.8", "@types/ws": "^8.5.14", @@ -27,7 +28,6 @@ "@headlessui/vue": "^1.7.23", "@trpc/client": "^10.45.2", "@trpc/server": "^10.45.2", - "@types/cookie-parser": "^1.4.8", "@unocss/preset-wind3": "66.1.0-beta.3", "@vueuse/core": "^12.7.0", "@vueuse/integrations": "^12.7.0", @@ -51,5 +51,12 @@ }, "engines": { "node": "22" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "@parcel/watcher", + "bufferutil", + "esbuild" + ] } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9955b1d..0460f53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,9 +23,6 @@ importers: '@trpc/server': specifier: ^10.45.2 version: 10.45.2 - '@types/cookie-parser': - specifier: ^1.4.8 - version: 1.4.8(@types/express@5.0.0) '@unocss/preset-wind3': specifier: 66.1.0-beta.3 version: 66.1.0-beta.3 @@ -90,6 +87,9 @@ importers: '@iconify-json/ph': specifier: ^1.2.2 version: 1.2.2 + '@types/cookie-parser': + specifier: ^1.4.8 + version: 1.4.8(@types/express@5.0.0) '@types/express': specifier: ^5.0.0 version: 5.0.0 diff --git a/uno.config.ts b/uno.config.ts index 3678186..4bddaaa 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -1,4 +1,4 @@ -import { defineConfig } from "unocss" +import { defineConfig, transformerDirectives } from "unocss" import { presetWind, colors } from "@unocss/preset-wind3" export default defineConfig({ @@ -25,5 +25,8 @@ export default defineConfig({ green: colors.green, blue: colors.indigo, } - } + }, + transformers: [ + transformerDirectives() + ] })