Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpayne02 committed May 12, 2024
1 parent c3f3566 commit 6d1a17c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
11 changes: 4 additions & 7 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ import remarkUnwrapImages from 'remark-unwrap-images'
import arraybuffer from 'vite-plugin-arraybuffer'
import { remarkReadingTime } from './src/lib/remark-reading-time'
import { expressiveCodeOptions } from './src/site.config'
import { AstroIntegration } from 'astro'

// https://astro.build/config
export default defineConfig({
site: 'https://mikepayne.me',
integrations: [
expressiveCode(expressiveCodeOptions),
tailwind({
applyBaseStyles: false
}) as AstroIntegration,
sitemap(),
pagefind() as AstroIntegration,
mdx() as AstroIntegration,
pagefind(),
mdx(),
icon(),
react()
react(),
tailwind({ applyBaseStyles: false })
],
vite: {
// @ts-ignore
Expand Down
Binary file modified bun.lockb
Binary file not shown.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "portfolio",
"version": "1.0.6",
"type": "module",
"scripts": {
"dev": "wrangler types && astro dev",
"start": "wrangler types && astro dev",
Expand Down Expand Up @@ -36,7 +37,7 @@
},
"devDependencies": {
"@astrojs/react": "^3.3.2",
"@astrojs/ts-plugin": "^1.6.1",
"@astrojs/ts-plugin": "^1.7.0",
"@cloudflare/workers-types": "^4.20240423.0",
"@dotenvx/dotenvx": "^0.37.1",
"@iconify-json/fa6-brands": "^1.1.19",
Expand Down Expand Up @@ -77,4 +78,4 @@
"vite-plugin-arraybuffer": "^0.0.7",
"wrangler": "^3.53.0"
}
}
}
1 change: 0 additions & 1 deletion prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @type {import("prettier").Config} */
module.exports = {
// i am just using the standard config, change if you need something else
...require('prettier-config-standard'),
pluginSearchDirs: [__dirname],
plugins: ['prettier-plugin-astro', 'prettier-plugin-tailwindcss'],
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"name": "@astrojs/ts-plugin"
}
],
"verbatimModuleSyntax": true,
"jsx": "react-jsx",
"jsxImportSource": "react"
},
Expand Down

0 comments on commit 6d1a17c

Please sign in to comment.