From da7d6b3c1c7d6171f87554748cc28b793d1e4498 Mon Sep 17 00:00:00 2001 From: Sivert Date: Sat, 11 Nov 2023 23:50:02 +0100 Subject: [PATCH] Fix navbar build --- dev/package.json | 4 ++-- dev/src/navbar.json | 4 ++-- tsconfig.json | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dev/package.json b/dev/package.json index ad929ab..6d2ddbf 100644 --- a/dev/package.json +++ b/dev/package.json @@ -3,8 +3,8 @@ "version": "0.2.0", "private": true, "scripts": { - "dev": "next dev", - "build": "next build", + "dev": "npm run navbar && next dev", + "build": "npm run navbar && next build", "start": "next start", "lint": "next lint", "navbar": "node --experimental-modules GenerateNavbar.mjs" diff --git a/dev/src/navbar.json b/dev/src/navbar.json index 1d8775c..ebf6e4e 100644 --- a/dev/src/navbar.json +++ b/dev/src/navbar.json @@ -3,12 +3,12 @@ "badges": "/components/badges/", "icons_only": "/components/buttons/icons_only/", "buttons": "/components/buttons/", - "colors": "/components/colors/", "regular": "/components/buttons/regular/", "with_icon": "/components/buttons/with_icon/", + "colors": "/components/colors/", "inputs": "/components/inputs/", "modals": "/components/modals/", "components": "/components/", "servercards": "/components/servercards/", "app": "/" -} +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 896cf32..adca721 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,6 @@ "noImplicitThis": true, "noImplicitAny": true, "strictNullChecks": true, - "suppressImplicitAnyIndexErrors": true, "noUnusedLocals": true, "noUnusedParameters": true, "allowSyntheticDefaultImports": true,