Skip to content

Commit 8f8b3a6

Browse files
committed
pnpm up nuxt@^4
1 parent 94d1198 commit 8f8b3a6

8 files changed

Lines changed: 145 additions & 481 deletions

File tree

assets/css/tailwind.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ code {
2222
font-family: Mafins;
2323
src: url('/fonts/Mafins.otf');
2424
}
25-
@font-face {
26-
font-family: Milk and Honey;
27-
src: url('/fonts/Milk And Honey.otf');
28-
}
2925
}
3026

3127
@layer utilities {

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
"@nuxt/content": "^3.8.2",
1414
"@nuxtjs/tailwindcss": "^6.14.0",
1515
"@tailwindcss/typography": "^0.5.16",
16+
"better-sqlite3": "^12.4.1",
1617
"feed": "^4.2.2",
17-
"nuxt": "3.20.1",
18-
"nuxt-headlessui": "^1.2.0",
18+
"nuxt": "^4.2.1",
19+
"nuxt-headlessui": "^1.2.1",
1920
"prettier": "^3.5.3",
2021
"prettier-plugin-tailwindcss": "^0.6.11",
2122
"sitemap": "^8.0.0",

pages/playground/french/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const search = ref("");
124124
const suggestions = ref([]);
125125
126126
const { data: conjugations } = await useFetch(
127-
"/1000_french_conjugations.json",
127+
"/api/french-conjugations",
128128
{
129129
transform: (value) => {
130130
return value as Conjugation[];

pnpm-lock.yaml

Lines changed: 131 additions & 473 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { join } from 'node:path';
2+
import { readFile } from 'node:fs/promises';
3+
4+
export default defineEventHandler(async () => {
5+
const filePath = join(process.cwd(), 'public', '1000_french_conjugations.json');
6+
const raw = await readFile(filePath, 'utf-8');
7+
return JSON.parse(raw);
8+
});

server/routes/atom.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Feed } from 'feed';
2+
import { queryCollection } from '#imports';
23

34
const BASE_URL = "https://cmpadden.github.io"
45
const AUTHOR_NAME = "Colton Padden"

server/routes/sitemap.xml.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { SitemapStream, streamToPromise } from 'sitemap';
2+
import { queryCollection } from '#imports';
23

34
export default defineEventHandler(async (event) => {
45
const articles = await queryCollection(event, 'content').all();

tailwind.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export default {
2121
body: ["Graphik", "sans-serif"],
2222
mono: ["Inconsolata", "monospace"],
2323
fantasy: ["fantasy"],
24-
milk: ["Milk and Honey"],
2524
mafins: ["Mafins"],
2625
},
2726
borderWidth: {

0 commit comments

Comments
 (0)