Skip to content

Commit

Permalink
feat(dependencies): bump Kiwi dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybacon committed Jul 28, 2024
1 parent 165f34a commit 113eddf
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NEXT_TELEMETRY_DISABLED=1
SCRYFALL_MOCKS=1
SCRYFALL_DEBUG=1
1 change: 0 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
NEXT_TELEMETRY_DISABLED=1
SCRYFALL_MOCKS=0
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:scryfall": "pnpm run scryfall",
"dev": "concurrently 'pnpm:dev:*' --names --prefix-colors auto",
"dev:next": "next dev",
"dev:scryfall": "SCRYFALL_DEBUG=1 pnpm run scryfall",
"dev:scryfall": "pnpm run scryfall",
"lint": "pnpm run '/^lint:\\w+$/'",
"lint:code": "eslint",
"lint:format": "pnpm run '/^lint:format:\\w+$/'",
Expand All @@ -30,7 +30,7 @@
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@fontsource/libre-baskerville": "5.0.13",
"@korumite/kiwi": "2.11.0",
"@korumite/kiwi": "2.12.0",
"@mdi/js": "7.4.47",
"@mdi/react": "1.6.1",
"@mui/material": "5.15.18",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/pages/[category]/[chapter].tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { type ParsedUrlQuery } from 'querystring';
import { Card, CardContent } from '@mui/material';
import { type GetStaticPaths, type GetStaticProps, type NextPage } from 'next';

Expand Down Expand Up @@ -31,7 +30,7 @@ export const getStaticPaths: GetStaticPaths = () => ({
paths: CHAPTERS.ROUTES.map((route) => ({ params: route })),
});

type Query = ParsedUrlQuery & {
type Query = {
category: string;
chapter: string;
};
Expand Down
5 changes: 2 additions & 3 deletions src/pages/articles/[year]/[month]/[day]/[article].tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { type ParsedUrlQuery } from 'querystring';
import { Card, CardContent, Divider } from '@mui/material';
import { type GetStaticPaths, type GetStaticProps, type NextPage } from 'next';

Expand Down Expand Up @@ -26,7 +25,7 @@ const Page: NextPage<Props> = ({ article, footer, menu }) => (
<Banner
banner={article.banner}
footer={[
`Reading time: ${article.minutes.toFixed(0)} minutes`,
`Reading time: ${article.minutes} minutes`,
`By ${article.matter.authors}`,
]}
title={article.matter.title}
Expand All @@ -47,7 +46,7 @@ export const getStaticPaths: GetStaticPaths = () => ({
paths: ARTICLES.ROUTES.map((route) => ({ params: route })),
});

type Query = ParsedUrlQuery & {
type Query = {
article: string;
day: string;
month: string;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/sandbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { phyrexian } from '@/fonts/fonts';
import { getMenu } from '@/tools/markdown/getMenu';
import { type MenuEntry } from '@/tools/markdown/types';

// NOTE Flavor text from "Dark Ritual" Urza's Saga
// NOTE Flavor text from "Dark Ritual" in "Urza's Saga"
const DEFAULT_INPUT = `From void evolved Phyrexia.
Great Yawgmoth, Father of Machines, saw its perfection.
Thus the Grand Evolution began.`;
Expand Down

0 comments on commit 113eddf

Please sign in to comment.