Skip to content

Commit

Permalink
chore: Package update and format code
Browse files Browse the repository at this point in the history
  • Loading branch information
mwskwong committed Feb 5, 2025
1 parent 21df422 commit 841ce5a
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 33 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Welcome to the source code of [mwskwong.com](https://mwskwong.com). You can see

```js
navigator.clipboard.writeText(
`canary_${new Date().toISOString().replaceAll(":", "-")}`
`canary_${new Date().toISOString().replaceAll(":", "-")}`,
);
```

Expand Down
2 changes: 1 addition & 1 deletion drizzle.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "dotenv/config";

import { defineConfig } from "drizzle-kit";

const drizzleConfig = defineConfig({
Expand Down
58 changes: 29 additions & 29 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"clsx": "^2.1.1",
"contentful": "^11.4.4",
"contentful": "^11.4.5",
"dedent": "^1.5.3",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.39.1",
Expand Down
3 changes: 2 additions & 1 deletion src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const robots = () =>
({
rules: {
userAgent: "*",
disallow: process.env.VERCEL_ENV === "production" ? routes.params.pathname : "/",
disallow:
process.env.VERCEL_ENV === "production" ? routes.params.pathname : "/",
},
sitemap: `${siteUrl}/sitemap.xml`,
}) satisfies MetadataRoute.Robots;
Expand Down

0 comments on commit 841ce5a

Please sign in to comment.