Skip to content

Commit a45bce2

Browse files
committed
2 parents b7fe63f + 6f21150 commit a45bce2

File tree

4 files changed

+24
-17
lines changed

4 files changed

+24
-17
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "bun"
3+
# testing npm because bun doesnt work for some reason?
4+
- package-ecosystem: "npm"
45
directory: "/"
56
schedule:
67
interval: "weekly"

bun.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

embed.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,18 @@ import puppeteer from "puppeteer";
1313
await page.setViewport({ width: 1920, height: 1080 });
1414

1515
await page.screenshot({
16-
path: path.resolve(__dirname, "./public/screenshot_home.png"),
16+
path: path.resolve(
17+
__dirname,
18+
"./public/screenshot_home.png",
19+
) as `${string}.png`,
1720
});
1821

1922
await page.goto("http://localhost:8010/convert");
2023
await page.screenshot({
21-
path: path.resolve(__dirname, "./public/screenshot_convert.png"),
24+
path: path.resolve(
25+
__dirname,
26+
"./public/screenshot_convert.png",
27+
) as `${string}.png`,
2228
});
2329

2430
await browser.close();

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@million/lint": "^1.0.14",
1616
"bun-types": "^1.1.39",
1717
"jszip": "^3.10.1",
18-
"next": "15.2.4",
18+
"next": "15.4.6",
1919
"puppeteer": "^24.4.0",
2020
"react": "^19.0.0",
2121
"react-dom": "^19.0.0",
@@ -26,15 +26,15 @@
2626
"devDependencies": {
2727
"@eslint/eslintrc": "^3",
2828
"@types/bun": "^1.1.14",
29-
"@types/node": "^22",
29+
"@types/node": "^24",
3030
"@types/react": "^19",
3131
"@types/react-dom": "^19",
3232
"@types/sql.js": "^1.4.9",
3333
"@typescript-eslint/eslint-plugin": "7.2.0",
3434
"@typescript-eslint/parser": "7.2.0",
3535
"concurrently": "^9.1.2",
3636
"eslint": "^8.57.0",
37-
"eslint-config-next": "15.1.0",
37+
"eslint-config-next": "15.4.6",
3838
"eslint-config-prettier": "^8.2.0",
3939
"eslint-plugin-import": "^2.26.0",
4040
"eslint-plugin-jsx-a11y": "^6.4.1",

0 commit comments

Comments
 (0)