Skip to content

Commit b9c4ad9

Browse files
committed
chore: init astro project
1 parent 03eeffe commit b9c4ad9

File tree

7 files changed

+1187
-213
lines changed

7 files changed

+1187
-213
lines changed

apps/astro-app/astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { defineConfig } from 'astro/config';
2+
3+
// https://astro.build/config
4+
export default defineConfig({});

apps/astro-app/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "astro-app",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"dev": "astro dev",
8+
"start": "astro dev",
9+
"build": "astro build",
10+
"preview": "astro preview"
11+
},
12+
"keywords": [],
13+
"author": "",
14+
"license": "ISC",
15+
"dependencies": {
16+
"astro": "^2.10.12"
17+
}
18+
}

apps/astro-app/public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Example: Allow all bots to scan and index your site.
2+
# Full syntax: https://developers.google.com/search/docs/advanced/robots/create-robots-txt
3+
User-agent: *
4+
Allow: /

apps/astro-app/src/env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="astro/client" />

apps/astro-app/src/pages/index.astro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
// Welcome to Astro! Everything between these triple-dash code fences
3+
// is your "component frontmatter". It never runs in the browser.
4+
console.log('This runs in your terminal, not the browser!');
5+
---
6+
<!-- Below is your "component template." It's just HTML, but with
7+
some magic sprinkled in to help you build great templates. -->
8+
<html>
9+
<body>
10+
<h1>Hello, World!</h1>
11+
</body>
12+
</html>
13+
<style>
14+
h1 {
15+
color: orange;
16+
}
17+
</style>

apps/astro-app/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "astro/tsconfigs/strictest"
3+
}

0 commit comments

Comments
 (0)