From fa566496596ea1cc87544ffa19fa81c6127d8919 Mon Sep 17 00:00:00 2001 From: cf2013 Date: Sat, 21 Oct 2023 12:39:01 -0600 Subject: [PATCH] sync with frontend owner --- astro.config.mjs | 17 +++++++++-------- package.json | 25 ++++++------------------- 2 files changed, 15 insertions(+), 27 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index d4b4ffa..8140cc7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,11 +1,12 @@ -import { defineConfig } from 'astro/config'; -import compress from 'astro-compress'; -import mdx from '@astrojs/mdx'; -import tailwind from '@astrojs/tailwind'; - -import react from "@astrojs/react"; +import { defineConfig } from 'astro/config' +import mdx from '@astrojs/mdx' +import tailwind from '@astrojs/tailwind' +import compress from 'astro-compress' // https://astro.build/config export default defineConfig({ - integrations: [compress(), mdx(), tailwind(), react()] -}); \ No newline at end of file + compressHTML: true, + integrations: [mdx(), tailwind({ + applyBaseStyles: false, + }), compress()], +}) diff --git a/package.json b/package.json index 0ad6707..be3666d 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,9 @@ { "name": "accessible-astro-starter", "description": "An Accessible Starter Theme for Astro including several accessiblity features and tools to help you build faster.", - "version": "2.0.4", + "version": "3.0.0", "author": "Mark Teekman", "homepage": "https://accessible-astro.netlify.app/", - "engines": { - "node": ">=18.14.1" - }, - "platform": { - "apiRuntime": "node:18" - }, "scripts": { "dev": "astro dev", "start": "astro dev", @@ -17,13 +11,14 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/mdx": "^0.19.7", - "@astrojs/partytown": "^1.0.3", + "@astrojs/mdx": "^1.0.2", + "@astrojs/partytown": "^2.0.0", "@astrojs/tailwind": "^5.0.0", "@typescript-eslint/eslint-plugin": "^5.50.0", "@typescript-eslint/parser": "^5.50.0", - "accessible-astro-components": "^2.1.0", - "astro": "^3.0.5", + "accessible-astro-components": "^2.2.0", + "astro": "^3.0.10", + "astro-compress": "^2.0.6", "astro-icon": "^0.7.3", "eslint": "^8.33.0", "eslint-plugin-astro": "^0.23.0", @@ -34,13 +29,5 @@ "sass": "^1.49.9", "svgo": "^2.8.0", "tailwindcss": "^3.2.7" - }, - "dependencies": { - "@astrojs/react": "^3.0.0", - "@types/react": "^18.2.11", - "@types/react-dom": "^18.2.4", - "astro-compress": "^2.0.15", - "react": "^18.2.0", - "react-dom": "^18.2.0" } }