Skip to content

Commit 0299ae2

Browse files
committed
feat: update import paths to use absolute references and upgrade TypeScript version to 6.0.2
1 parent e190f93 commit 0299ae2

16 files changed

Lines changed: 17 additions & 18 deletions

File tree

bun.lockb

0 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"remark-gfm": "^4.0.1",
6161
"remark-smartypants": "^3.0.2",
6262
"ts-essentials": "^10.0.4",
63-
"typescript": "^5.9.3",
63+
"typescript": "^6.0.2",
6464
"unist-util-visit": "^5.0.0",
6565
"unocss": "^66.6.7",
6666
"vite-tsconfig-paths": "^6.1.1",

src/components/app/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import classNames from "classnames";
22
import { useState } from "preact/hooks";
33

4-
import useScrollTrigger from "hooks/useScrollTrigger";
4+
import useScrollTrigger from "~/hooks/useScrollTrigger";
55

66
import Logo from "./Logo";
77
import ThemeToggle from "./ThemeToggle";

src/components/app/blog/Posts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import classNames from "classnames";
22

3-
import { type Frontmatter } from "types/frontmatter";
3+
import { type Frontmatter } from "~/types/frontmatter";
44

55
import { toDisplayDate } from "./utils";
66

src/components/app/portfolio/PortfolioShowcase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type PortfolioFrontmatter } from "types/frontmatter";
1+
import { type PortfolioFrontmatter } from "~/types/frontmatter";
22
import { getTechBadgeStyle } from "~/components/portfolio/technologyColors";
33
import Github from "~/components/icons/Github";
44
import Next from "~/components/icons/Next";

src/components/portfolio/PortfolioMedia.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type PortfolioFrontmatter } from "types/frontmatter";
1+
import { type PortfolioFrontmatter } from "~/types/frontmatter";
22
import { useState } from "preact/hooks";
33
import Slider from "~/components/portfolio/Slider/Slider";
44

src/components/portfolio/TechnologiesUsed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type PortfolioTechnology } from "types/frontmatter";
1+
import { type PortfolioTechnology } from "~/types/frontmatter";
22
import type { JSX } from "preact";
33
import { useState } from "preact/hooks";
44
import {

src/components/portfolio/WhatIDid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type PortfolioFrontmatter } from "types/frontmatter";
1+
import { type PortfolioFrontmatter } from "~/types/frontmatter";
22

33
type Props = Pick<PortfolioFrontmatter, "whatIDid">;
44

src/layouts/blog.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import "styles/globals.css";
2+
import "~/styles/globals.css";
33
44
import AppLayout from "~/components/app/AppLayout";
55
import BlogEntry from "~/components/app/blog/BlogEntry";

src/layouts/default.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import "styles/globals.css";
2+
import "~/styles/globals.css";
33
44
import AppLayout from "~/components/app/AppLayout";
55
import Head from "~/layouts/components/Head.astro";

0 commit comments

Comments
 (0)