mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
Update astro
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
import node from "@astrojs/node";
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
import react from "@astrojs/react";
|
||||
import mdx from "@astrojs/mdx";
|
||||
@@ -8,6 +9,10 @@ import sitemap from "@astrojs/sitemap";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
adapter: node({
|
||||
mode: "standalone",
|
||||
}),
|
||||
site: "https://timmypidashev.dev",
|
||||
build: {
|
||||
// Enable build-time optimizations
|
||||
|
||||
@@ -3,26 +3,33 @@
|
||||
"version": "v1.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev --host",
|
||||
"dev": "npx prisma generate && astro dev --host",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/react": "^4.2.0",
|
||||
"@astrojs/tailwind": "^5.1.5",
|
||||
"@astrojs/react": "^4.2.1",
|
||||
"@astrojs/tailwind": "^6.0.0",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@types/react": "^18.3.18",
|
||||
"@types/react-dom": "^18.3.5",
|
||||
"astro": "^5.2.1",
|
||||
"astro": "^5.4.2",
|
||||
"prisma": "^6.3.1",
|
||||
"tailwindcss": "^3.4.17"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^4.0.8",
|
||||
"@astrojs/mdx": "^4.1.0",
|
||||
"@astrojs/node": "^9.1.2",
|
||||
"@astrojs/rss": "^4.0.11",
|
||||
"@astrojs/sitemap": "^3.2.1",
|
||||
"@oslojs/crypto": "^1.0.1",
|
||||
"@oslojs/encoding": "^1.1.0",
|
||||
"@pilcrowjs/object-parser": "^0.0.4",
|
||||
"@prisma/client": "^6.3.1",
|
||||
"@react-hook/intersection-observer": "^3.1.2",
|
||||
"@react-three/drei": "^9.121.4",
|
||||
"@react-three/fiber": "^8.17.14",
|
||||
"arctic": "^3.2.4",
|
||||
"lucide-react": "^0.468.0",
|
||||
"marked": "^15.0.6",
|
||||
"react": "^18.3.1",
|
||||
@@ -32,6 +39,7 @@
|
||||
"rehype-pretty-code": "^0.14.0",
|
||||
"rehype-slug": "^6.0.0",
|
||||
"schema-dts": "^1.1.2",
|
||||
"sha2": "link:@oslojs/crypto/sha2",
|
||||
"three": "^0.172.0",
|
||||
"typewriter-effect": "^2.21.0"
|
||||
}
|
||||
|
||||
775
src/pnpm-lock.yaml
generated
775
src/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
7
src/src/env.d.ts
vendored
7
src/src/env.d.ts
vendored
@@ -1,2 +1,9 @@
|
||||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client" />
|
||||
|
||||
declare namespace App {
|
||||
interface Locals {
|
||||
user: import("./lib/user").User | null;
|
||||
session: import("./lib/session").Session | null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
---
|
||||
export const prerender = false;
|
||||
|
||||
import "@/style/globals.css"
|
||||
|
||||
import IndexLayout from "@/layouts/index.astro";
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
---
|
||||
export const prerender = true;
|
||||
|
||||
import { getCollection } from "astro:content";
|
||||
import ContentLayout from "@/layouts/content.astro";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user