fix: removeDarkmode script updated for ESM

This commit is contained in:
Al Murad Uzzaman
2025-11-20 10:09:11 +06:00
parent 8cd72d878a
commit c648d5f4b9
3 changed files with 15 additions and 15 deletions
+12 -12
View File
@@ -1,6 +1,6 @@
{
"name": "astroplate",
"version": "5.8.0",
"version": "5.8.1",
"description": "Astro and Tailwindcss boilerplate",
"author": "zeon.studio",
"license": "MIT",
@@ -17,19 +17,19 @@
},
"dependencies": {
"@astrojs/check": "0.9.5",
"@astrojs/mdx": "4.3.9",
"@astrojs/react": "4.4.1",
"@astrojs/mdx": "4.3.11",
"@astrojs/react": "4.4.2",
"@astrojs/sitemap": "3.6.0",
"@digi4care/astro-google-tagmanager": "^1.6.0",
"@justinribeiro/lite-youtube": "^1.9.0",
"astro": "5.15.3",
"astro": "5.15.9",
"astro-auto-import": "^0.4.5",
"astro-font": "^1.1.0",
"date-fns": "^4.1.0",
"disqus-react": "^1.1.7",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
"marked": "^16.4.1",
"marked": "^17.0.0",
"prop-types": "^15.8.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
@@ -37,21 +37,21 @@
"remark-collapse": "^0.1.2",
"remark-toc": "^9.0.0",
"swiper": "^12.0.3",
"vite": "^7.1.12"
"vite": "^7.2.2"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.16",
"@types/node": "24.10.0",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"@tailwindcss/vite": "^4.1.17",
"@types/node": "24.10.1",
"@types/react": "19.2.6",
"@types/react-dom": "19.2.3",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.7.1",
"sharp": "0.34.4",
"tailwindcss": "^4.1.16",
"sharp": "0.34.5",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3"
}
}
+1 -1
View File
@@ -10,7 +10,7 @@
</h2>
<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"/>
</a>
+2 -2
View File
@@ -1,5 +1,5 @@
const fs = require("fs");
const path = require("path");
import fs from "node:fs";
import path from "node:path";
(function () {
const rootDirs = ["src/pages", "src/hooks", "src/layouts", "src/styles"];