From 7a77a68702e947597120226e140885345a21c463 Mon Sep 17 00:00:00 2001 From: Pauline Date: Wed, 23 Aug 2023 03:39:26 -0400 Subject: web: initial astro framework --- apps/website/astro.config.ts | 4 ++++ apps/website/package.json | 16 ++++++++++++++++ apps/website/public/robots.txt | 4 ++++ apps/website/src/env.d.ts | 1 + apps/website/tsconfig.json | 3 +++ 5 files changed, 28 insertions(+) create mode 100644 apps/website/astro.config.ts create mode 100644 apps/website/package.json create mode 100644 apps/website/public/robots.txt create mode 100644 apps/website/src/env.d.ts create mode 100644 apps/website/tsconfig.json (limited to 'apps/website') diff --git a/apps/website/astro.config.ts b/apps/website/astro.config.ts new file mode 100644 index 0000000..882e651 --- /dev/null +++ b/apps/website/astro.config.ts @@ -0,0 +1,4 @@ +import { defineConfig } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({}); diff --git a/apps/website/package.json b/apps/website/package.json new file mode 100644 index 0000000..eab7226 --- /dev/null +++ b/apps/website/package.json @@ -0,0 +1,16 @@ +{ + "name": "@polyfrost/website", + "private": true, + "scripts": { + "dev": "astro dev", + "start": "astro start", + "build": "astro build", + "preview": "astro preview" + }, + "dependencies": { + "astro": "^2.10.12" + }, + "devDependencies": { + "typescript": "^5.1.6" + } +} diff --git a/apps/website/public/robots.txt b/apps/website/public/robots.txt new file mode 100644 index 0000000..f58dbcb --- /dev/null +++ b/apps/website/public/robots.txt @@ -0,0 +1,4 @@ +# Example: Allow all bots to scan and index your site. +# Full syntax: https://developers.google.com/search/docs/advanced/robots/create-robots-txt +User-agent: * +Allow: / diff --git a/apps/website/src/env.d.ts b/apps/website/src/env.d.ts new file mode 100644 index 0000000..f964fe0 --- /dev/null +++ b/apps/website/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json new file mode 100644 index 0000000..5378929 --- /dev/null +++ b/apps/website/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "astro/tsconfigs/base" +} -- cgit