Skip to content

Commit 6a19302

Browse files
committed
update dependencies and setup pnpm
1 parent 85e690c commit 6a19302

File tree

7 files changed

+329
-375
lines changed

7 files changed

+329
-375
lines changed

README.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,2 @@
1-
# Astro Starter Kit: Basics
1+
# umdalecs portfolio
22

3-
```sh
4-
npm create astro@latest -- --template basics
5-
```
6-
7-
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
8-
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics)
9-
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json)
10-
11-
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
12-
13-
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554)
14-
15-
## 🚀 Project Structure
16-
17-
Inside of your Astro project, you'll see the following folders and files:
18-
19-
```text
20-
/
21-
├── public/
22-
│ └── favicon.svg
23-
├── src/
24-
│ ├── layouts/
25-
│ │ └── Layout.astro
26-
│ └── pages/
27-
│ └── index.astro
28-
└── package.json
29-
```
30-
31-
To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/).
32-
33-
## 🧞 Commands
34-
35-
All commands are run from the root of the project, from a terminal:
36-
37-
| Command | Action |
38-
| :------------------------ | :----------------------------------------------- |
39-
| `npm install` | Installs dependencies |
40-
| `npm run dev` | Starts local dev server at `localhost:4321` |
41-
| `npm run build` | Build your production site to `./dist/` |
42-
| `npm run preview` | Preview your build locally, before deploying |
43-
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
44-
| `npm run astro -- --help` | Get help using the Astro CLI |
45-
46-
## 👀 Want to learn more?
47-
48-
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
"astro": "astro"
1010
},
1111
"dependencies": {
12-
"@tailwindcss/vite": "^4.1.8",
13-
"astro": "^5.8.1",
14-
"tailwindcss": "^4.1.8"
15-
}
12+
"@tailwindcss/vite": "^4.1.11",
13+
"astro": "^5.10.2",
14+
"tailwindcss": "^4.1.11"
15+
},
16+
"packageManager": "[email protected]+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184"
1617
}

pnpm-lock.yaml

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

src/assets/astro.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/assets/background.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/layouts/Layout.astro

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1+
---
2+
type Props = {
3+
title: string;
4+
};
5+
6+
const { title } = Astro.props;
7+
---
8+
19
<!doctype html>
210
<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>Alejandro Flores</title>
9-
</head>
10-
<body>
11-
<slot />
12-
</body>
11+
<head>
12+
<meta charset="UTF-8" />
13+
<meta name="viewport" content="width=device-width" />
14+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
15+
<meta name="generator" content={Astro.generator} />
16+
<title>{title}</title>
17+
</head>
18+
<body>
19+
<slot />
20+
</body>
1321
</html>

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import Layout from '../layouts/Layout.astro';
33
import '../styles/global.css'
44
---
55

6-
<Layout>
6+
<Layout title="Alejandro Flores">
77
<h1 class="text-3xl">Hello from astro</h1>
88
</Layout>

0 commit comments

Comments
 (0)