chore: update versions and start migration

This commit is contained in:
Filipe Medeiros 2023-12-03 12:49:46 +01:00
parent 2afb053c56
commit 4b2cd6d1e5
Signed by: filipe
GPG key ID: 9533BD5467CC1E78
3 changed files with 433 additions and 418 deletions

View file

@ -14,17 +14,16 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/tailwind": "^5.0.2", "@astrojs/tailwind": "^5.0.2",
"@portabletext/react": "^3.0.11", "@sanity/client": "^6.9.1",
"@sanity/client": "^6.7.0",
"@sanity/image-url": "^1.0.2", "@sanity/image-url": "^1.0.2",
"astro": "^3.3.2", "astro": "^3.6.4",
"astro-portabletext": "^0.9.6" "astro-portabletext": "^0.9.6"
}, },
"devDependencies": { "devDependencies": {
"@portabletext/types": "^2.0.8", "@portabletext/types": "^2.0.8",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"groq": "^3.18.1", "groq": "^3.20.2",
"postcss": "^8.4.31", "postcss": "^8.4.32",
"tailwindcss": "^3.3.3" "tailwindcss": "^3.3.5"
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,11 @@
// 1. Import utilities from `astro:content`
import { defineCollection } from 'astro:content';
// 2. Define your collection(s)
const blogCollection = defineCollection({
/* ... */
});
// 3. Export a single `collections` object to register your collection(s)
// This key should match your collection directory name in "src/content"
export const collections = {
blog: blogCollection,
};