Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Commit 5d01e92

Browse files
committed
feat(root): update prettier to typescript
feat(dash): hello world
1 parent 083edff commit 5d01e92

6 files changed

Lines changed: 26 additions & 31 deletions

File tree

.prettierrc

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width" />
6-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7-
<meta name="generator" content={Astro.generator} />
8-
<title>Astro Basics</title>
9-
</head>
10-
<body>
11-
<slot />
12-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width" />
6+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7+
<meta name="generator" content={Astro.generator} />
8+
<title>SMC Dashboard</title>
9+
</head>
10+
<body>
11+
<slot />
12+
</body>
1313
</html>
14-
15-
<style>
16-
html,
17-
body {
18-
margin: 0;
19-
width: 100%;
20-
height: 100%;
21-
}
22-
</style>
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
2-
import Welcome from '../components/Welcome.astro';
3-
import Layout from '../layouts/Layout.astro';
4-
5-
// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
6-
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
2+
import Layout from "../layouts/Layout.astro"
73
---
84

95
<Layout>
10-
<Welcome />
6+
<h1>Hello, World!</h1>
117
</Layout>

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
packages:
22
- "apps/*"
3+
- "packages/*"

prettier.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { type Config } from "prettier"
2+
3+
const config: Config = {
4+
trailingComma: "none",
5+
useTabs: false,
6+
tabWidth: 2,
7+
semi: false,
8+
plugins: ["prettier-plugin-astro"]
9+
}
10+
11+
export default config

0 commit comments

Comments
 (0)