From 321dda60d9337a979e9142b2822668ed21e27830 Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Sun, 2 Mar 2025 14:54:20 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9C=20fix(www):=20Error=20`Missing=20"?= =?UTF-8?q?./400.css"=20specifier=20in=20"@fontsource/geist-mono"`=20(#201?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Attempts to fix the build issue (again) where the non-variable fonts from font-source are throwing `Missing "./*00.css" specifier in "@fontsource/geist-*` while building or developing locally... like damn! ## Related Issues ## Type of Change - [x] Bug fix (non-breaking change) - [ ] New feature (non-breaking change) - [ ] Breaking change (fix or feature that changes existing functionality) - [ ] Documentation update - [ ] Other (please describe): ## Checklist - [x] I have updated relevant documentation - [x] My code follows the project's coding style - [ ] My changes generate no new warnings/errors --- apps/www/package.json | 4 ++-- infra/api.ts | 2 +- infra/bus.ts | 23 +++++++++++++---------- packages/ui/package.json | 4 ++-- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/apps/www/package.json b/apps/www/package.json index 3ec9d758..9e96d5c3 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -35,10 +35,10 @@ "@builder.io/qwik": "^1.8.0", "@builder.io/qwik-city": "^1.8.0", "@builder.io/qwik-react": "0.5.0", - "@fontsource/bricolage-grotesque": "^5.0.7", + "@fontsource-variable/bricolage-grotesque": "^5.0.1", "@fontsource/geist-mono": "^5.1.0", "@fontsource/geist-sans": "^5.1.0", - "@fontsource/mona-sans": "^5.0.1", + "@fontsource-variable/mona-sans": "^5.0.1", "@modular-forms/qwik": "^0.29.0", "@nestri/input": "*", "@nestri/libmoq": "*", diff --git a/infra/api.ts b/infra/api.ts index 649fb2f8..3d5cf275 100644 --- a/infra/api.ts +++ b/infra/api.ts @@ -1,8 +1,8 @@ import { bus } from "./bus"; -import { database } from "./database"; import { domain } from "./dns"; import { email } from "./email"; import { secret } from "./secret"; +import { database } from "./database"; sst.Linkable.wrap(random.RandomString, (resource) => ({ properties: { diff --git a/infra/bus.ts b/infra/bus.ts index 43a47f98..cbc44fde 100644 --- a/infra/bus.ts +++ b/infra/bus.ts @@ -5,13 +5,16 @@ import { allSecrets } from "./secret"; export const bus = new sst.aws.Bus("Bus"); bus.subscribe("Event", { - handler: "./packages/functions/src/event/event.handler", - link: [database, email, ...allSecrets], - timeout: "5 minutes", - permissions: [ - { - actions: ["ses:SendEmail"], - resources: ["*"], - }, - ], - }); \ No newline at end of file + handler: "./packages/functions/src/event/event.handler", + link: [ + database, + email, + ...allSecrets], + timeout: "5 minutes", + permissions: [ + { + actions: ["ses:SendEmail"], + resources: ["*"], + }, + ], +}); \ No newline at end of file diff --git a/packages/ui/package.json b/packages/ui/package.json index 14aff031..307e673f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -25,10 +25,10 @@ "@builder.io/qwik-city": "^1.8.0", "@builder.io/qwik-react": "0.5.0", "@fluejs/noscroll": "^1.0.0", - "@fontsource/bricolage-grotesque": "^5.0.7", + "@fontsource-variable/bricolage-grotesque": "^5.0.1", "@fontsource/geist-mono": "^5.1.0", "@fontsource/geist-sans": "^5.1.0", - "@fontsource/mona-sans": "^5.0.1", + "@fontsource-variable/mona-sans": "^5.0.1", "@modular-forms/qwik": "^0.29.0", "@nestri/core": "*", "@qwik-ui/headless": "^0.6.4",