1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

build: update to Node.js v24.0.0, pnpm v10, Tailwind CSS v4

This commit is contained in:
2025-05-11 16:59:11 +02:00
parent cec70161f7
commit 69af1bccc3
43 changed files with 3941 additions and 3664 deletions

View File

@ -109,11 +109,11 @@ const transaction = charge(user, subscription)
```typescript
interface Car {
carModel: string
carColor: "red" | "blue" | "yellow"
carModel: string
carColor: "red" | "blue" | "yellow"
}
const printCar = (car: Car): void => {
console.log(`${car.carModel} (${car.carColor})`)
console.log(`${car.carModel} (${car.carColor})`)
}
```
@ -121,11 +121,11 @@ const printCar = (car: Car): void => {
```typescript
interface Car {
model: string
color: "red" | "blue" | "yellow"
model: string
color: "red" | "blue" | "yellow"
}
const printCar = (car: Car): void => {
console.log(`${car.model} (${car.color})`)
console.log(`${car.model} (${car.color})`)
}
```
@ -174,13 +174,13 @@ import fs from "node:fs"
import path from "node:path"
const createFile = async (
name: string,
isTemporary: boolean = false,
name: string,
isTemporary: boolean = false,
): Promise<void> => {
if (isTemporary) {
return await fs.promises.writeFile(path.join("temporary", name), "")
}
return await fs.promises.writeFile(name, "")
if (isTemporary) {
return await fs.promises.writeFile(path.join("temporary", name), "")
}
return await fs.promises.writeFile(name, "")
}
```
@ -193,11 +193,11 @@ import fs from "node:fs"
import path from "node:path"
const createFile = async (name: string): Promise<void> => {
await fs.promises.writeFile(name, "")
await fs.promises.writeFile(name, "")
}
const createTemporaryFile = async (name: string): Promise<void> => {
await createFile(path.join("temporary", name))
await createFile(path.join("temporary", name))
}
```