Skip to content

Commit

Permalink
chore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-ub committed Oct 5, 2024
1 parent 0d3ae2c commit 6980d45
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"playground:build": "nr -C playground build"
},
"peerDependencies": {
"@iconify/json": "^2.2.256",
"@unocss/reset": "^0.63.2",
"astro": "^4.15.0",
"unocss": "^0.63.2"
Expand Down
4 changes: 2 additions & 2 deletions playground/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import mdx from '@astrojs/mdx'

// @ts-check
import { defineConfig } from 'astro/config'
import AntfuMeIntegration from 'astro-vitesse'

import vitesse from 'astro-vitesse'
import UnoCSS from 'unocss/astro'

// https://astro.build/config
export default defineConfig({
integrations: [mdx(), AntfuMeIntegration(), UnoCSS()],
integrations: [mdx(), UnoCSS(), vitesse()],
vite: {
ssr: {
external: ['astro-vitesse'],
Expand Down
5 changes: 3 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"@astrojs/mdx": "^3.1.7",
"astro": "^4.15.11",
"astro-vitesse": "workspace:*",
"typescript": "^5.6.2"
"typescript": "^5.6.2",
"unocss": "^0.63.3"
},
"devDependencies": {
"@iconify/json": "^2.2.256",
"@unocss/reset": "^0.63.2"
"@unocss/reset": "^0.63.3"
}
}
76 changes: 75 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function AntfuMeIntegration(): AstroIntegration {
hooks: {
'astro:config:setup': async ({ injectRoute, updateConfig }) => {
injectRoute({
pattern: '/[...page]',
pattern: '[...page]',
entrypoint: 'astro-vitesse/routes/[...page].astro',
})

Expand Down

0 comments on commit 6980d45

Please sign in to comment.