mirror of
https://github.com/10h30/astroplate.git
synced 2026-06-05 15:08:00 +09:00
fix: removeDarkmode script updated for ESM
This commit is contained in:
+12
-12
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "astroplate",
|
"name": "astroplate",
|
||||||
"version": "5.8.0",
|
"version": "5.8.1",
|
||||||
"description": "Astro and Tailwindcss boilerplate",
|
"description": "Astro and Tailwindcss boilerplate",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -17,19 +17,19 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "0.9.5",
|
"@astrojs/check": "0.9.5",
|
||||||
"@astrojs/mdx": "4.3.9",
|
"@astrojs/mdx": "4.3.11",
|
||||||
"@astrojs/react": "4.4.1",
|
"@astrojs/react": "4.4.2",
|
||||||
"@astrojs/sitemap": "3.6.0",
|
"@astrojs/sitemap": "3.6.0",
|
||||||
"@digi4care/astro-google-tagmanager": "^1.6.0",
|
"@digi4care/astro-google-tagmanager": "^1.6.0",
|
||||||
"@justinribeiro/lite-youtube": "^1.9.0",
|
"@justinribeiro/lite-youtube": "^1.9.0",
|
||||||
"astro": "5.15.3",
|
"astro": "5.15.9",
|
||||||
"astro-auto-import": "^0.4.5",
|
"astro-auto-import": "^0.4.5",
|
||||||
"astro-font": "^1.1.0",
|
"astro-font": "^1.1.0",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"disqus-react": "^1.1.7",
|
"disqus-react": "^1.1.7",
|
||||||
"github-slugger": "^2.0.0",
|
"github-slugger": "^2.0.0",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"marked": "^16.4.1",
|
"marked": "^17.0.0",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"react": "^19.2.0",
|
"react": "^19.2.0",
|
||||||
"react-dom": "^19.2.0",
|
"react-dom": "^19.2.0",
|
||||||
@@ -37,21 +37,21 @@
|
|||||||
"remark-collapse": "^0.1.2",
|
"remark-collapse": "^0.1.2",
|
||||||
"remark-toc": "^9.0.0",
|
"remark-toc": "^9.0.0",
|
||||||
"swiper": "^12.0.3",
|
"swiper": "^12.0.3",
|
||||||
"vite": "^7.1.12"
|
"vite": "^7.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/forms": "^0.5.10",
|
"@tailwindcss/forms": "^0.5.10",
|
||||||
"@tailwindcss/typography": "^0.5.19",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@tailwindcss/vite": "^4.1.16",
|
"@tailwindcss/vite": "^4.1.17",
|
||||||
"@types/node": "24.10.0",
|
"@types/node": "24.10.1",
|
||||||
"@types/react": "19.2.2",
|
"@types/react": "19.2.6",
|
||||||
"@types/react-dom": "19.2.2",
|
"@types/react-dom": "19.2.3",
|
||||||
"eslint": "^9.39.1",
|
"eslint": "^9.39.1",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"prettier-plugin-astro": "^0.14.1",
|
"prettier-plugin-astro": "^0.14.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.7.1",
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
||||||
"sharp": "0.34.4",
|
"sharp": "0.34.5",
|
||||||
"tailwindcss": "^4.1.16",
|
"tailwindcss": "^4.1.17",
|
||||||
"typescript": "^5.9.3"
|
"typescript": "^5.9.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p align=center>
|
<p align=center>
|
||||||
<a href="https://github.com/withastro/astro/releases/tag/astro%405.15.3">
|
<a href="https://github.com/withastro/astro/releases/tag/astro%405.15.9">
|
||||||
<img src="https://img.shields.io/static/v1?label=ASTRO&message=5.15&color=000&logo=astro" alt="Astro Version 5.15"/>
|
<img src="https://img.shields.io/static/v1?label=ASTRO&message=5.15&color=000&logo=astro" alt="Astro Version 5.15"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const fs = require("fs");
|
import fs from "node:fs";
|
||||||
const path = require("path");
|
import path from "node:path";
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
const rootDirs = ["src/pages", "src/hooks", "src/layouts", "src/styles"];
|
const rootDirs = ["src/pages", "src/hooks", "src/layouts", "src/styles"];
|
||||||
|
|||||||
Reference in New Issue
Block a user