mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-11 18:56:06 +09:00
update packages and dependencies
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
ARG INSTALLER=yarn
|
ARG INSTALLER=yarn
|
||||||
|
|
||||||
FROM node:18-alpine AS base
|
FROM node:20-alpine AS base
|
||||||
|
|
||||||
# Install dependencies only when needed
|
# Install dependencies only when needed
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
|
|||||||
+1
-1
@@ -3,4 +3,4 @@ publish = "dist"
|
|||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
NODE_VERSION = "18"
|
NODE_VERSION = "20"
|
||||||
|
|||||||
+20
-20
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "astroplate",
|
"name": "astroplate",
|
||||||
"version": "3.2.0",
|
"version": "3.3.0",
|
||||||
"description": "Astro and Tailwindcss boilerplate",
|
"description": "Astro and Tailwindcss boilerplate",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -14,47 +14,47 @@
|
|||||||
"remove-darkmode": "node scripts/removeDarkmode.js && yarn format"
|
"remove-darkmode": "node scripts/removeDarkmode.js && yarn format"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^2.0.3",
|
"@astrojs/mdx": "^2.1.0",
|
||||||
"@astrojs/react": "^3.0.9",
|
"@astrojs/react": "^3.0.9",
|
||||||
"@astrojs/rss": "^4.0.1",
|
"@astrojs/rss": "^4.0.4",
|
||||||
"@astrojs/sitemap": "^3.0.4",
|
"@astrojs/sitemap": "^3.0.5",
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"astro": "^4.0.9",
|
"astro": "^4.2.6",
|
||||||
"astro-auto-import": "^0.4.2",
|
"astro-auto-import": "^0.4.2",
|
||||||
"astro-font": "^0.0.77",
|
"astro-font": "^0.0.77",
|
||||||
"date-fns": "^3.0.6",
|
"date-fns": "^3.3.1",
|
||||||
"disqus-react": "^1.1.5",
|
"disqus-react": "^1.1.5",
|
||||||
"github-slugger": "^2.0.0",
|
"github-slugger": "^2.0.0",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"marked": "^11.1.1",
|
"marked": "^11.2.0",
|
||||||
"prettier-plugin-astro": "^0.12.3",
|
"prettier-plugin-astro": "^0.13.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.10",
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-icons": "^4.12.0",
|
"react-icons": "^5.0.1",
|
||||||
"react-lite-youtube-embed": "^2.4.0",
|
"react-lite-youtube-embed": "^2.4.0",
|
||||||
"remark-collapse": "^0.1.2",
|
"remark-collapse": "^0.1.2",
|
||||||
"remark-toc": "^9.0.0",
|
"remark-toc": "^9.0.0",
|
||||||
"sharp": "^0.33.1",
|
"sharp": "^0.33.2",
|
||||||
"swiper": "^11.0.5"
|
"swiper": "^11.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/forms": "^0.5.7",
|
"@tailwindcss/forms": "^0.5.7",
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"@types/marked": "^5.0.2",
|
"@types/marked": "^5.0.2",
|
||||||
"@types/node": "20.10.6",
|
"@types/node": "20.11.7",
|
||||||
"@types/react": "18.2.46",
|
"@types/react": "18.2.48",
|
||||||
"@types/react-dom": "18.2.18",
|
"@types/react-dom": "18.2.18",
|
||||||
"autoprefixer": "^10.4.16",
|
"autoprefixer": "^10.4.17",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^8.56.0",
|
||||||
"postcss": "^8.4.32",
|
"postcss": "^8.4.33",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.2.4",
|
||||||
"prettier-plugin-astro": "^0.12.3",
|
"prettier-plugin-astro": "^0.13.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.10",
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
||||||
"sass": "^1.69.7",
|
"sass": "^1.70.0",
|
||||||
"tailwind-bootstrap-grid": "^5.1.0",
|
"tailwind-bootstrap-grid": "^5.1.0",
|
||||||
"tailwindcss": "^3.4.0",
|
"tailwindcss": "^3.4.1",
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p align=center>
|
<p align=center>
|
||||||
<a href="https://github.com/withastro/astro/releases/tag/astro%404.0.0" alt="Contributors">
|
<a href="https://github.com/withastro/astro/releases/tag/astro%404.2.0" alt="Contributors">
|
||||||
<img src="https://img.shields.io/static/v1?label=ASTRO&message=4.0&color=000&logo=astro" />
|
<img src="https://img.shields.io/static/v1?label=ASTRO&message=4.2&color=000&logo=astro" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="https://github.com/zeon-studio/astroplate/blob/main/LICENSE">
|
<a href="https://github.com/zeon-studio/astroplate/blob/main/LICENSE">
|
||||||
|
|||||||
@@ -6,11 +6,7 @@ import { getSinglePage } from "@/lib/contentParser.astro";
|
|||||||
import dateFormat from "@/lib/utils/dateFormat";
|
import dateFormat from "@/lib/utils/dateFormat";
|
||||||
import similarItems from "@/lib/utils/similarItems";
|
import similarItems from "@/lib/utils/similarItems";
|
||||||
import { humanize, markdownify, slugify } from "@/lib/utils/textConverter";
|
import { humanize, markdownify, slugify } from "@/lib/utils/textConverter";
|
||||||
import {
|
import { FaRegClock, FaRegFolder, FaRegUserCircle } from "react-icons/fa";
|
||||||
FaRegClock,
|
|
||||||
FaRegFolder,
|
|
||||||
FaRegUserCircle,
|
|
||||||
} from "react-icons/fa/index.js";
|
|
||||||
import ImageMod from "./components/ImageMod.astro";
|
import ImageMod from "./components/ImageMod.astro";
|
||||||
|
|
||||||
const COLLECTION_FOLDER = "blog";
|
const COLLECTION_FOLDER = "blog";
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import config from "@/config/config.json";
|
import config from "@/config/config.json";
|
||||||
import dateFormat from "@/lib/utils/dateFormat";
|
import dateFormat from "@/lib/utils/dateFormat";
|
||||||
import { humanize, plainify, slugify } from "@/lib/utils/textConverter";
|
import { humanize, plainify, slugify } from "@/lib/utils/textConverter";
|
||||||
import { FaRegFolder, FaRegUserCircle } from "react-icons/fa/index.js";
|
import { FaRegFolder, FaRegUserCircle } from "react-icons/fa";
|
||||||
import ImageMod from "./ImageMod.astro";
|
import ImageMod from "./ImageMod.astro";
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
IoLogoLinkedin,
|
IoLogoLinkedin,
|
||||||
IoLogoPinterest,
|
IoLogoPinterest,
|
||||||
IoLogoTwitter,
|
IoLogoTwitter,
|
||||||
} from "react-icons/io5/index.js";
|
} from "react-icons/io5";
|
||||||
|
|
||||||
const { base_url }: { base_url: string } = config.site;
|
const { base_url }: { base_url: string } = config.site;
|
||||||
const {
|
const {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import React, { type FC } from "react";
|
import React, { type FC } from "react";
|
||||||
import type { IconType } from "react-icons";
|
import type { IconType } from "react-icons";
|
||||||
import * as FaIcons from "react-icons/fa6/index.js";
|
import * as FaIcons from "react-icons/fa6";
|
||||||
// import * as AiIcons from "react-icons/ai/index.js";
|
// import * as AiIcons from "react-icons/ai";
|
||||||
// import * as BsIcons from "react-icons/bs/index.js";
|
// import * as BsIcons from "react-icons/bs";
|
||||||
// import * as FiIcons from "react-icons/fi/index.js";
|
// import * as FiIcons from "react-icons/fi";
|
||||||
// import * as Io5Icons from "react-icons/io5/index.js";
|
// import * as Io5Icons from "react-icons/io5";
|
||||||
// import * as RiIcons from "react-icons/ri/index.js";
|
// import * as RiIcons from "react-icons/ri";
|
||||||
// import * as TbIcons from "react-icons/tb/index.js";
|
// import * as TbIcons from "react-icons/tb";
|
||||||
// import * as TfiIcons from "react-icons/tfi/index.js";
|
// import * as TfiIcons from "react-icons/tfi";
|
||||||
|
|
||||||
type IconMap = Record<string, IconType>;
|
type IconMap = Record<string, IconType>;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import Logo from "@/components/Logo.astro";
|
|||||||
import ThemeSwitcher from "@/components/ThemeSwitcher.astro";
|
import ThemeSwitcher from "@/components/ThemeSwitcher.astro";
|
||||||
import config from "@/config/config.json";
|
import config from "@/config/config.json";
|
||||||
import menu from "@/config/menu.json";
|
import menu from "@/config/menu.json";
|
||||||
import { IoSearch } from "react-icons/io5/index.js";
|
import { IoSearch } from "react-icons/io5";
|
||||||
|
|
||||||
export interface ChildNavigationLink {
|
export interface ChildNavigationLink {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import CallToAction from "@/partials/CallToAction.astro";
|
|||||||
import Testimonial from "@/partials/Testimonial.astro";
|
import Testimonial from "@/partials/Testimonial.astro";
|
||||||
import type { Button, Feature } from "@/types";
|
import type { Button, Feature } from "@/types";
|
||||||
import { getEntry } from "astro:content";
|
import { getEntry } from "astro:content";
|
||||||
import { FaCheck } from "react-icons/fa/index.js";
|
import { FaCheck } from "react-icons/fa";
|
||||||
|
|
||||||
interface Homepage {
|
interface Homepage {
|
||||||
banner: {
|
banner: {
|
||||||
|
|||||||
Reference in New Issue
Block a user