updated to astro v4

This commit is contained in:
somrat sorkar
2023-12-13 09:53:47 +06:00
parent e96cc9d7ed
commit 94358b9b8e
5 changed files with 23 additions and 24 deletions
+15 -15
View File
@@ -1,6 +1,6 @@
{
"name": "astroplate",
"version": "2.5.0",
"version": "3.0.0",
"description": "Astro and Tailwindcss boilerplate",
"author": "zeon.studio",
"license": "MIT",
@@ -14,21 +14,21 @@
"remove-darkmode": "node scripts/removeDarkmode.js && yarn format"
},
"dependencies": {
"@astrojs/mdx": "^1.1.5",
"@astrojs/react": "^3.0.6",
"@astrojs/rss": "^3.0.0",
"@astrojs/mdx": "^2.0.1",
"@astrojs/react": "^3.0.7",
"@astrojs/rss": "^4.0.1",
"@astrojs/sitemap": "^3.0.3",
"@astrojs/tailwind": "^5.0.2",
"astro": "^3.6.4",
"astro-auto-import": "^0.4.1",
"@astrojs/tailwind": "^5.0.3",
"astro": "^4.0.4",
"astro-auto-import": "^0.4.2",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"disqus-react": "^1.1.5",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
"marked": "^11.0.0",
"marked": "^11.1.0",
"prettier-plugin-astro": "^0.12.2",
"prettier-plugin-tailwindcss": "^0.5.7",
"prettier-plugin-tailwindcss": "^0.5.9",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
@@ -43,18 +43,18 @@
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/marked": "^5.0.2",
"@types/node": "20.10.2",
"@types/react": "18.2.41",
"@types/node": "20.10.4",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.17",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"postcss": "^8.4.32",
"prettier": "^3.1.0",
"prettier": "^3.1.1",
"prettier-plugin-astro": "^0.12.2",
"prettier-plugin-tailwindcss": "^0.5.7",
"prettier-plugin-tailwindcss": "^0.5.9",
"sass": "^1.69.5",
"tailwindcss": "^3.3.5",
"tailwindcss": "^3.3.6",
"tailwind-bootstrap-grid": "^5.1.0",
"typescript": "5.3.2"
"typescript": "5.3.3"
}
}
+5 -5
View File
@@ -10,8 +10,8 @@
</h2>
<p align=center>
<a href="https://github.com/withastro/astro/releases/tag/astro%403.6.0" alt="Contributors">
<img src="https://img.shields.io/static/v1?label=ASTRO&message=3.6&color=000&logo=astro" />
<a href="https://github.com/withastro/astro/releases/tag/astro%404.0.0" alt="Contributors">
<img src="https://img.shields.io/static/v1?label=ASTRO&message=4.0&color=000&logo=astro" />
</a>
<a href="https://github.com/zeon-studio/astroplate/blob/main/LICENSE">
@@ -65,9 +65,9 @@
### 📦 Dependencies
- astro 2.3+
- node v18+
- npm v9.5+
- astro 4.0+
- node v20.10+
- npm v10.2+
- tailwind v3.3+
### 👉 Install Dependencies
+2 -2
View File
@@ -34,8 +34,8 @@
"url": "/categories"
},
{
"name": "Search",
"url": "/search"
"name": "Tags",
"url": "/tags"
},
{
"name": "404 Page",
-1
View File
@@ -104,7 +104,6 @@ Some text to show that the reference links can follow later.
<a class="nav-link" href="about/">About</a>
</li>
</ul>
`}
```
---
+1 -1
View File
@@ -18,7 +18,7 @@ const Button = ({
rel={`noopener noreferrer ${
rel ? (rel === "follow" ? "" : rel) : "nofollow"
}`}
className={`btn mb-4 me-4 hover:text-white hover:no-underline ${
className={`btn mb-4 me-4 hover:text-white dark:hover:text-black hover:no-underline ${
style === "outline" ? "btn-outline-primary" : "btn-primary"
}`}
>