Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency astro to v5 #802

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,7 @@ dist
.tern-port

# Vercel output directory
.vercel
.vercel

# Astro build output
.astro
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://astro.build/config
import deno from "@astrojs/deno";
import deno from "@deno/astro-adapter";
import tailwind from "@astrojs/tailwind";

Check warning on line 3 in astro.config.ts

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

`@astrojs/tailwind` import should occur before import of `@deno/astro-adapter`

Check warning on line 3 in astro.config.ts

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

`@astrojs/tailwind` import should occur before import of `@deno/astro-adapter`
import { defineConfig } from "astro/config";

// https://astro.build/config
Expand Down
12 changes: 7 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import eslintConfig from "@igorkowalczyk/eslint-config/flat";
import eslintConfig from "@igorkowalczyk/eslint-config";
import eslintPluginAstro from "eslint-plugin-astro";

export default [
{
ignores: ["dist/"],
},
...eslintConfig,
// prettier
...eslintConfig.base,
...eslintConfig.node,
...eslintConfig.typescript,
...eslintConfig.tailwindcss,
...eslintConfig.astro,
...eslintPluginAstro.configs["flat/recommended"],
];
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "deno run --allow-net --allow-read --unstable --allow-env ./dist/server/entry.mjs",
"format": "prettier . --write --ignore-unknown --cache --plugin=prettier-plugin-astro --plugin=prettier-plugin-tailwindcss",
"preview": "deno run --allow-net --allow-read --allow-env ./dist/server/entry.mjs",
"format": "prettier . --write --ignore-unknown --cache --plugin=prettier-plugin-astro",
"format:check": "prettier . --check --cache",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
Expand All @@ -33,19 +33,21 @@
},
"homepage": "https://github-views.deno.dev/",
"dependencies": {
"@astrojs/deno": "5.0.1",
"@astrojs/tailwind": "5.1.3",
"@deno/astro-adapter": "0.1.5",
"@igorkowalczyk/is-browser": "5.0.4",
"astro": "4.16.17",
"@types/canvas-confetti": "1.6.4",
"astro": "5.0.3",
"badgen": "3.2.3",
"canvas-confetti": "1.9.3",
"mini-svg-data-uri": "1.4.4",
"sharp": "0.33.5",
"tailwindcss": "3.4.16",
"tailwindcss-text-fill": "0.2.0"
},
"devDependencies": {
"@igorkowalczyk/eslint-config": "2.2.0",
"@igorkowalczyk/prettier-config": "2.2.0",
"@igorkowalczyk/eslint-config": "3.0.0-beta.16",
"@igorkowalczyk/prettier-config": "3.0.0-beta.16",
"@tailwindcss/forms": "0.5.9",
"@typescript-eslint/eslint-plugin": "8.17.0",
"@typescript-eslint/parser": "8.17.0",
Expand All @@ -56,5 +58,6 @@
"prettier": "3.4.2",
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-tailwindcss": "0.6.9"
}
},
"packageManager": "[email protected]"
}
Loading
Loading