Skip to content

Commit

Permalink
Merge pull request #802 from IgorKowalczyk/renovate/major-astro-monorepo
Browse files Browse the repository at this point in the history
Update dependency astro to v5
  • Loading branch information
IgorKowalczyk authored Dec 8, 2024
2 parents 8547104 + a75c036 commit 2df95f9
Show file tree
Hide file tree
Showing 17 changed files with 2,320 additions and 1,103 deletions.
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,5 +1,5 @@
// 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`
import { defineConfig } from "astro/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

0 comments on commit 2df95f9

Please sign in to comment.