lint/typecheck fixes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { expect, test } from "vitest"
|
||||
import { PruneNullishValues, pruneNullishValues } from "./prune-nullish-values"
|
||||
import type { PruneNullishValues } from "./prune-nullish-values"
|
||||
import { pruneNullishValues } from "./prune-nullish-values"
|
||||
|
||||
test("pruneNullishValues", () => {
|
||||
type InputType = {
|
||||
@@ -14,6 +15,7 @@ test("pruneNullishValues", () => {
|
||||
|
||||
const input: InputType = {
|
||||
a: "a",
|
||||
// eslint-disable-next-line unicorn/no-null
|
||||
b: null,
|
||||
c: undefined,
|
||||
d: {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable import/no-unused-modules */
|
||||
export type MaybePromise<T> = T | Promise<T>
|
||||
|
||||
export type ValueOf<Type> = Type extends ReadonlyArray<infer Value>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { setTimeout } from "timers/promises"
|
||||
import { setTimeout } from "node:timers/promises"
|
||||
|
||||
const maxTime = 1000
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
"type-fest": "^2.12.2",
|
||||
"typescript": "^4.6.3",
|
||||
"vite": "^2.9.5",
|
||||
"vitest": "^0.9.4"
|
||||
"vitest": "^0.10.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"esbuild": "latest"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import packageJson from "reacord/package.json"
|
||||
import type {
|
||||
LinksFunction,
|
||||
LoaderFunction,
|
||||
@@ -13,6 +12,7 @@ import {
|
||||
ScrollRestoration,
|
||||
useLoaderData,
|
||||
} from "@remix-run/react"
|
||||
import packageJson from "reacord/package.json"
|
||||
import bannerUrl from "~/assets/banner.png"
|
||||
import faviconUrl from "~/assets/favicon.png"
|
||||
import { GuideLinksProvider } from "~/modules/navigation/guide-links-context"
|
||||
@@ -77,6 +77,7 @@ export default function App() {
|
||||
return (
|
||||
<html lang="en" className="bg-slate-900 text-slate-100">
|
||||
<head>
|
||||
{/* eslint-disable-next-line unicorn/text-encoding-identifier-case */}
|
||||
<meta charSet="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<Meta />
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"typecheck": "tsc --noEmit && tsc --project cypress/tsconfig.json --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@headlessui/react": "^1.5.0",
|
||||
"@headlessui/react": "^1.6.0",
|
||||
"@heroicons/react": "^1.0.6",
|
||||
"@reach/rect": "^0.17.0",
|
||||
"@remix-run/node": "^1.4.1",
|
||||
@@ -33,13 +33,13 @@
|
||||
"@remix-run/node": "^1.4.1",
|
||||
"@testing-library/cypress": "^8.0.2",
|
||||
"@types/node": "*",
|
||||
"@types/react": "^18.0.6",
|
||||
"@types/react": "^18.0.7",
|
||||
"@types/react-dom": "^18.0.2",
|
||||
"@types/tailwindcss": "^3.0.10",
|
||||
"@types/wait-on": "^5.3.1",
|
||||
"autoprefixer": "^10.4.4",
|
||||
"autoprefixer": "^10.4.5",
|
||||
"concurrently": "^7.1.0",
|
||||
"cypress": "^9.5.4",
|
||||
"cypress": "^9.6.0",
|
||||
"execa": "^6.1.0",
|
||||
"postcss": "^8.4.12",
|
||||
"rehype-prism-plus": "^1.3.2",
|
||||
|
||||
1587
pnpm-lock.yaml
generated
1587
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user