fix website build

This commit is contained in:
itsMapleLeaf
2023-03-12 15:01:12 -05:00
parent 3969e6471f
commit d35659f6f6
6 changed files with 27 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
{
"extends": "../../tsconfig.base.json"
"extends": "../../tsconfig.base.json",
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"]
}

View File

@@ -20,7 +20,7 @@
"@fontsource/jetbrains-mono": "^4.5.12",
"@fontsource/rubik": "^4.5.14",
"@headlessui/react": "^1.6.6",
"@heroicons/react": "^1.0.6",
"@heroicons/react": "^2.0.16",
"@reach/rect": "^0.17.0",
"@remix-run/node": "^1.6.5",
"@remix-run/react": "^1.6.5",

View File

@@ -1,5 +1,5 @@
---
import { HeartIcon } from "@heroicons/react/solid"
import { HeartIcon } from "@heroicons/react/20/solid"
import ExternalLink from "./external-link.astro"
---

View File

@@ -1,10 +1,10 @@
---
import { MenuIcon } from "@heroicons/react/outline"
import {
CodeIcon,
ArrowTopRightOnSquareIcon,
CodeBracketIcon,
DocumentTextIcon,
ExternalLinkIcon,
} from "@heroicons/react/solid"
} from "@heroicons/react/20/solid"
import { Bars3Icon } from "@heroicons/react/24/outline"
import AppLogo from "./app-logo.astro"
import ExternalLink from "./external-link.astro"
import MenuItem from "./menu-item.astro"
@@ -20,13 +20,13 @@ const links = [
{
href: "/api/",
label: "API Reference",
icon: CodeIcon,
icon: CodeBracketIcon,
component: "a",
},
{
href: "https://github.com/itsMapleLeaf/reacord",
label: "GitHub",
icon: ExternalLinkIcon,
icon: ArrowTopRightOnSquareIcon,
component: ExternalLink,
},
]
@@ -53,7 +53,7 @@ const links = [
<Menu>
<Fragment slot="button">
<MenuIcon className="w-6" />
<Bars3Icon className="w-6" />
<span class="sr-only">Menu</span>
</Fragment>
{

View File

@@ -8,5 +8,16 @@
"~/*": ["./src/*"]
}
},
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs", "**/*.astro"]
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs", "**/*.astro"],
"exclude": [
"**/node_modules/**",
"**/coverage/**",
"**/build/**",
"**/dist/**",
"**/.cache/**",
"**/api/_build/**",
"**/public/**",
"**/cypress/**",
"app"
]
}

8
pnpm-lock.yaml generated
View File

@@ -91,7 +91,7 @@ importers:
'@fontsource/jetbrains-mono': ^4.5.12
'@fontsource/rubik': ^4.5.14
'@headlessui/react': ^1.6.6
'@heroicons/react': ^1.0.6
'@heroicons/react': ^2.0.16
'@reach/rect': ^0.17.0
'@remix-run/dev': ^1.6.5
'@remix-run/node': ^1.6.5
@@ -131,7 +131,7 @@ importers:
'@fontsource/jetbrains-mono': 4.5.12
'@fontsource/rubik': 4.5.14
'@headlessui/react': 1.6.6_biqbaboplfbrettd7655fr4n2y
'@heroicons/react': 1.0.6_react@18.2.0
'@heroicons/react': 2.0.16_react@18.2.0
'@reach/rect': 0.17.0_biqbaboplfbrettd7655fr4n2y
'@remix-run/node': 1.6.5_biqbaboplfbrettd7655fr4n2y
'@remix-run/react': 1.6.5_biqbaboplfbrettd7655fr4n2y
@@ -2117,8 +2117,8 @@ packages:
react-dom: 18.2.0_react@18.2.0
dev: false
/@heroicons/react/1.0.6_react@18.2.0:
resolution: {integrity: sha512-JJCXydOFWMDpCP4q13iEplA503MQO3xLoZiKum+955ZCtHINWnx26CUxVxxFQu/uLb4LW3ge15ZpzIkXKkJ8oQ==}
/@heroicons/react/2.0.16_react@18.2.0:
resolution: {integrity: sha512-x89rFxH3SRdYaA+JCXwfe+RkE1SFTo9GcOkZettHer71Y3T7V+ogKmfw5CjTazgS3d0ClJ7p1NA+SP7VQLQcLw==}
peerDependencies:
react: '>= 16'
dependencies: