i don't know what i did here

This commit is contained in:
MapleLeaf
2021-12-29 15:39:26 -06:00
parent 2ff496c46b
commit 78607b7589
4 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import type { LoaderFunction } from "remix" import type { LoaderFunction } from "remix"
import { useLoaderData } from "remix" import { useLoaderData } from "remix"
import type { DocsJson } from "~/load-docs.server" import type { DocsJson } from "~/docs.server"
import { loadDocs } from "~/load-docs.server" import { loadDocs } from "~/docs.server"
export const loader: LoaderFunction = () => loadDocs() export const loader: LoaderFunction = () => loadDocs()

View File

@@ -4,8 +4,8 @@
"description": "", "description": "",
"license": "", "license": "",
"scripts": { "scripts": {
"prepare": "remix setup node && pnpm build", "prepare": "remix setup node && typedoc",
"dev": "concurrently 'typedoc' 'remix dev'", "dev": "concurrently 'remix dev' 'typedoc'",
"build": "typedoc && remix build", "build": "typedoc && remix build",
"start": "remix-serve build" "start": "remix-serve build"
}, },
@@ -23,6 +23,7 @@
"devDependencies": { "devDependencies": {
"@itsmapleleaf/configs": "^1.1.2", "@itsmapleleaf/configs": "^1.1.2",
"@remix-run/dev": "^1.1.1", "@remix-run/dev": "^1.1.1",
"@types/node": "*",
"@types/react": "^17.0.24", "@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9", "@types/react-dom": "^17.0.9",
"concurrently": "^6.5.1", "concurrently": "^6.5.1",

2
pnpm-lock.yaml generated
View File

@@ -38,6 +38,7 @@ importers:
'@remix-run/dev': ^1.1.1 '@remix-run/dev': ^1.1.1
'@remix-run/react': ^1.1.1 '@remix-run/react': ^1.1.1
'@remix-run/serve': ^1.1.1 '@remix-run/serve': ^1.1.1
'@types/node': '*'
'@types/react': ^17.0.24 '@types/react': ^17.0.24
'@types/react-dom': ^17.0.9 '@types/react-dom': ^17.0.9
autoprefixer: ^10.4.1 autoprefixer: ^10.4.1
@@ -64,6 +65,7 @@ importers:
devDependencies: devDependencies:
'@itsmapleleaf/configs': 1.1.2 '@itsmapleleaf/configs': 1.1.2
'@remix-run/dev': 1.1.1 '@remix-run/dev': 1.1.1
'@types/node': 17.0.5
'@types/react': 17.0.38 '@types/react': 17.0.38
'@types/react-dom': 17.0.11 '@types/react-dom': 17.0.11
concurrently: 6.5.1 concurrently: 6.5.1