me
/
ethanreece.com
Archived
1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Ethan Reece 78d93888a0
Modify README.md 2023-08-19 15:21:22 -05:00
Ethan Reece 212dd183a1
Update packages 2023-08-19 15:18:26 -05:00
4 changed files with 902 additions and 915 deletions

View File

@ -1,3 +1,3 @@
[tools] [tools]
node = 'lts' node = "lts"
pnpm = 'latest' pnpm = "latest"

View File

@ -1,54 +1,3 @@
# Astro Starter Kit: Basics # ethanreece.com - my personal website
``` To run, clone the repository, run `rtx install`, and run `pnpm i` to configure the project, which is configured to be opened in VSCodium.
npm create astro@latest -- --template basics
```
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json)
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
![basics](https://user-images.githubusercontent.com/4677417/186188965-73453154-fdec-4d6b-9c34-cb35c248ae5b.png)
## 🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
```
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── Card.astro
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
```
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the `public/` directory.
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## 👀 Want to learn more?
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

View File

@ -12,35 +12,35 @@
"dependencies": { "dependencies": {
"@astrojs/mdx": "^0.19.7", "@astrojs/mdx": "^0.19.7",
"@astrojs/partytown": "^1.2.3", "@astrojs/partytown": "^1.2.3",
"@astrojs/prefetch": "^0.2.3", "@astrojs/prefetch": "^0.3.0",
"@astrojs/sitemap": "^1.3.3", "@astrojs/sitemap": "^2.0.2",
"@astrojs/tailwind": "^4.0.0", "@astrojs/tailwind": "^4.0.0",
"@fontsource-variable/jetbrains-mono": "^5.0.5", "@fontsource-variable/jetbrains-mono": "^5.0.9",
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.9",
"astro": "^2.8.0", "astro": "^2.10.12",
"astro-auto-import": "^0.3.0", "astro-auto-import": "^0.3.1",
"astro-compress": "^1.1.50", "astro-compress": "^2.0.14",
"astro-imagetools": "^0.8.1", "astro-imagetools": "^0.9.0",
"astro-navbar": "^2.0.1", "astro-navbar": "^2.0.1",
"astro-robots-txt": "^0.5.0", "astro-robots-txt": "^0.5.0",
"astro-seo": "^0.7.4", "astro-seo": "^0.7.5",
"rehype-external-links": "^2.1.0", "rehype-external-links": "^2.1.0",
"sharp": "^0.32.1", "sharp": "^0.32.5",
"tailwind-bootstrap-grid": "^5.0.1", "tailwind-bootstrap-grid": "^5.0.1",
"tailwindcss-hero-patterns": "^0.1.2" "tailwindcss-hero-patterns": "^0.1.2"
}, },
"devDependencies": { "devDependencies": {
"@iconify-json/fa-brands": "^1.1.4", "@iconify-json/fa-brands": "^1.1.5",
"@iconify-json/heroicons": "^1.1.11", "@iconify-json/heroicons": "^1.1.12",
"@iconify-json/simple-icons": "^1.1.59", "@iconify-json/simple-icons": "^1.1.66",
"@typescript-eslint/parser": "^5.61.0", "@typescript-eslint/parser": "^6.4.0",
"astro-icon": "1.0.0-next.2", "astro-icon": "1.0.0-next.2",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.15",
"concurrently": "^8.2.0", "concurrently": "^8.2.0",
"cssnano": "^6.0.1", "cssnano": "^6.0.1",
"eslint": "^8.44.0", "eslint": "^8.47.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-astro": "^0.27.2", "eslint-plugin-astro": "^0.28.0",
"eslint-plugin-json": "^3.1.0", "eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsonc": "^2.9.0", "eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
@ -48,10 +48,10 @@
"eslint-plugin-tailwindcss": "^3.13.0", "eslint-plugin-tailwindcss": "^3.13.0",
"eslint-plugin-unused-imports": "^3.0.0", "eslint-plugin-unused-imports": "^3.0.0",
"find-up": "^6.3.0", "find-up": "^6.3.0",
"prettier": "^2.8.8", "prettier": "^3.0.2",
"prettier-plugin-astro": "^0.10.0", "prettier-plugin-astro": "^0.11.1",
"prettier-plugin-sort-imports": "^1.7.2", "prettier-plugin-sort-imports": "^1.7.2",
"prettier-plugin-tailwindcss": "^0.3.0", "prettier-plugin-tailwindcss": "^0.5.3",
"tailwindcss": "^3.3.2" "tailwindcss": "^3.3.3"
} }
} }

File diff suppressed because it is too large Load Diff