From 9f7cb2c0265d1c3adcf58652a43355dbc7f73378 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 17 Nov 2024 04:21:10 +0100 Subject: chore: Add website auto build using github pages --- web/package.json | 36 +++++++++++++++++++----------------- web/pnpm-lock.yaml | 13 +++++-------- web/src/pages/texture-packs.astro | 1 - 3 files changed, 24 insertions(+), 26 deletions(-) (limited to 'web') diff --git a/web/package.json b/web/package.json index bcad1c7..0cf9347 100644 --- a/web/package.json +++ b/web/package.json @@ -1,19 +1,21 @@ { - "name": "", - "type": "module", - "version": "0.0.1", - "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro check && astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "@astrojs/check": "^0.9.4", - "@astrojs/tailwind": "^5.1.2", - "astro": "^4.16.13", - "tailwindcss": "^3.4.15", - "typescript": "^5.6.3" - } + "packageManager": "pnpm@9.3.0", + "name": "", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro check && astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/check": "^0.9.4", + "@astrojs/tailwind": "^5.1.2", + "astro": "^4.16.13", + "sharp": "^0.33.5", + "tailwindcss": "^3.4.15", + "typescript": "^5.6.3" + } } diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index 3e96a35..eb1b894 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -17,6 +17,9 @@ importers: astro: specifier: ^4.16.13 version: 4.16.13(rollup@4.27.2)(typescript@5.6.3) + sharp: + specifier: ^0.33.5 + version: 0.33.5 tailwindcss: specifier: ^3.4.15 version: 3.4.15 @@ -2943,13 +2946,11 @@ snapshots: dependencies: color-name: 1.1.4 simple-swizzle: 0.2.2 - optional: true color@4.2.3: dependencies: color-convert: 2.0.1 color-string: 1.9.1 - optional: true comma-separated-tokens@2.0.3: {} @@ -2979,8 +2980,7 @@ snapshots: dequal@2.0.3: {} - detect-libc@2.0.3: - optional: true + detect-libc@2.0.3: {} deterministic-object-hash@2.0.2: dependencies: @@ -3248,8 +3248,7 @@ snapshots: import-meta-resolve@4.1.0: {} - is-arrayish@0.3.2: - optional: true + is-arrayish@0.3.2: {} is-binary-path@2.1.0: dependencies: @@ -4062,7 +4061,6 @@ snapshots: '@img/sharp-wasm32': 0.33.5 '@img/sharp-win32-ia32': 0.33.5 '@img/sharp-win32-x64': 0.33.5 - optional: true shebang-command@2.0.0: dependencies: @@ -4084,7 +4082,6 @@ snapshots: simple-swizzle@0.2.2: dependencies: is-arrayish: 0.3.2 - optional: true sisteransi@1.0.5: {} diff --git a/web/src/pages/texture-packs.astro b/web/src/pages/texture-packs.astro index 77d8a37..ee511f9 100644 --- a/web/src/pages/texture-packs.astro +++ b/web/src/pages/texture-packs.astro @@ -1,7 +1,6 @@ --- import Base from "../layouts/Base.astro"; import NavBar from "../components/NavBar.astro"; -import Content from "../layouts/Content.astro"; --- -- cgit