From fb47bb669905778428501c1f3c7332a0f23aa62d Mon Sep 17 00:00:00 2001 From: Wanjohi Date: Sun, 2 Mar 2025 01:47:00 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9C=20fix:=20Remove=20old.sst.conf?= =?UTF-8?q?ig.ts=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- old.sst.config.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 old.sst.config.ts diff --git a/old.sst.config.ts b/old.sst.config.ts deleted file mode 100644 index 71bc2c45..00000000 --- a/old.sst.config.ts +++ /dev/null @@ -1,29 +0,0 @@ -/// -import { readdirSync } from "fs"; -export default $config({ - app(input) { - return { - name: "nestri", - removal: input?.stage === "production" ? "retain" : "remove", - home: "cloudflare", - providers: { - cloudflare: "5.37.1", - docker: "4.5.5", - "@pulumi/command": "1.0.1", - random: "4.16.8", - aws: "6.67.0", - tls: "5.1.0", - command: "0.0.1-testwindows.signing", - awsx: "2.21.0", - }, - }; - }, - async run() { - const outputs = {}; - for (const value of readdirSync("./infra/")) { - const result = await import("./infra/" + value); - if (result.outputs) Object.assign(outputs, result.outputs); - } - return outputs; - }, -}); 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 2/2] =?UTF-8?q?=F0=9F=90=9C=20fix(www):=20Error=20`Missing?= =?UTF-8?q?=20"./400.css"=20specifier=20in=20"@fontsource/geist-mono"`=20(?= =?UTF-8?q?#201)?= 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",