Skip to content

Commit

Permalink
Upgrade to astro 3 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
solomonhawk committed Oct 19, 2023
1 parent 73cde53 commit d9e2fe7
Show file tree
Hide file tree
Showing 37 changed files with 7,324 additions and 4,832 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SHOW_DRAFTS=true
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ module.exports = {
es6: true,
},
extends: [
'plugin:prettier/recommended',
'plugin:astro/recommended',
'plugin:astro/jsx-a11y-strict',
'plugin:prettier/recommended',
],
plugins: ['simple-import-sort'],
rules: {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Github Pages Astro CI
on:
pull_request:
push:
branches: [ main ]
branches: [main]
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
Expand Down
16 changes: 14 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
.DS_Store
node_modules

# Generated files
dist
.DS_Store
.astro/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

tmp
# environment variables
.env
.env.local
.env.production
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.astro
src/content/posts/*
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Any static assets, like images, can be placed in the `public/` directory.
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/` |
Expand Down
4 changes: 1 addition & 3 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export default defineConfig({
prefetch(),
sitemap(),
tailwind({
config: {
applyBaseStyles: false,
},
applyBaseStyles: false,
}),
partytown({
config: {
Expand Down
Loading

0 comments on commit d9e2fe7

Please sign in to comment.