Skip to content

Commit ae87abf

Browse files
authored
Merge pull request #213 from otoyo/0.10.0
Update version 0.10.0
2 parents cb4c64d + 6045ea4 commit ae87abf

File tree

8 files changed

+12320
-7956
lines changed

8 files changed

+12320
-7956
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# build output
22
dist/
33
.output/
4+
.astro/
5+
.nx/
46

57
# dependencies
68
node_modules/

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig } from 'astro/config';
2+
import icon from 'astro-icon';
23
import { CUSTOM_DOMAIN, BASE_PATH } from './src/server-constants';
34
import CoverImageDownloader from './src/integrations/cover-image-downloader';
45
import CustomIconDownloader from './src/integrations/custom-icon-downloader';
@@ -36,6 +37,7 @@ export default defineConfig({
3637
site: getSite(),
3738
base: BASE_PATH,
3839
integrations: [
40+
icon(),
3941
CoverImageDownloader(),
4042
CustomIconDownloader(),
4143
FeaturedImageDownloader(),

package-lock.json

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

package.json

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "astro-notion-blog",
33
"type": "module",
4-
"version": "0.6.3",
4+
"version": "0.10.0",
55
"private": true,
66
"scripts": {
77
"dev": "astro dev",
@@ -17,43 +17,44 @@
1717
"_fetch-notion-blocks": "node scripts/retrieve-block-children.cjs"
1818
},
1919
"dependencies": {
20-
"@astrojs/react": "^3.0.3",
21-
"@astrojs/rss": "^3.0.0",
22-
"@notionhq/client": "^2.2.5",
23-
"@supercharge/promise-pool": "^2.4.0",
24-
"astro": "^3.3.1",
25-
"astro-icon": "^0.8.1",
20+
"@astrojs/react": "^4.1.2",
21+
"@astrojs/rss": "^4.0.11",
22+
"@iconify-json/octicon": "^1.2.2",
23+
"@notionhq/client": "^2.2.15",
24+
"@supercharge/promise-pool": "^3.2.0",
25+
"astro": "^5.1.3",
26+
"astro-icon": "^1.1.5",
2627
"async-retry": "^1.3.3",
27-
"axios": "^1.4.0",
28-
"exif-be-gone": "^1.3.2",
29-
"katex": "^0.16.7",
30-
"mermaid": "^10.1.0",
31-
"metascraper": "^5.34.4",
32-
"metascraper-description": "^5.34.4",
33-
"metascraper-image": "^5.34.4",
34-
"metascraper-title": "^5.34.4",
28+
"axios": "^1.7.9",
29+
"exif-be-gone": "^1.5.1",
30+
"katex": "^0.16.19",
31+
"mermaid": "^11.4.1",
32+
"metascraper": "^5.45.28",
33+
"metascraper-description": "^5.45.28",
34+
"metascraper-image": "^5.45.28",
35+
"metascraper-title": "^5.45.28",
3536
"prismjs": "^1.29.0",
36-
"react": "^18.2.0",
37-
"react-dom": "^18.2.0",
38-
"sharp": "^0.32.4"
37+
"react": "^19.0.0",
38+
"react-dom": "^19.0.0",
39+
"sharp": "^0.33.5"
3940
},
4041
"devDependencies": {
41-
"@nrwl/nx-cloud": "^15.0.2",
42-
"@types/async-retry": "^1.4.5",
42+
"@nrwl/nx-cloud": "^19.1.0",
43+
"@types/async-retry": "^1.4.9",
4344
"@types/js-base64": "^3.3.1",
4445
"@types/katex": "^0.16.7",
45-
"@types/metascraper": "^5.14.1",
46-
"@types/metascraper-description": "^5.14.1",
47-
"@types/metascraper-image": "^5.14.0",
48-
"@types/metascraper-title": "^5.14.0",
49-
"@types/prismjs": "^1.26.3",
50-
"@typescript-eslint/eslint-plugin": "^6.8.0",
51-
"@typescript-eslint/parser": "^6.8.0",
52-
"@typescript-eslint/typescript-estree": "^6.8.0",
46+
"@types/metascraper": "^5.14.3",
47+
"@types/metascraper-description": "^5.14.5",
48+
"@types/metascraper-image": "^5.14.5",
49+
"@types/metascraper-title": "^5.14.5",
50+
"@types/prismjs": "^1.26.5",
51+
"@typescript-eslint/eslint-plugin": "^8.19.1",
52+
"@typescript-eslint/parser": "^8.19.1",
53+
"@typescript-eslint/typescript-estree": "^8.19.1",
5354
"cli-progress": "^3.12.0",
54-
"eslint": "^8.51.0",
55-
"eslint-plugin-astro": "^0.27.0",
56-
"nx": "15.5.3"
55+
"eslint": "^9.17.0",
56+
"eslint-plugin-astro": "^1.3.1",
57+
"nx": "20.3.1"
5758
},
5859
"nx": {
5960
"targets": {

src/components/SearchButton.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { Icon } from 'astro-icon'
2+
import { Icon } from 'astro-icon/components';
33
---
44

55
<button class="search-button open-search-modal" type="button"><Icon name="octicon:search-24" /><span>Search</span></button>

src/env.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/lib/notion/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs, { createWriteStream } from 'node:fs'
22
import { pipeline } from 'node:stream/promises'
3-
import axios, { AxiosResponse } from 'axios'
3+
import axios from 'axios'
44
import sharp from 'sharp'
55
import retry from 'async-retry'
66
import ExifTransformer from 'exif-be-gone'
@@ -10,6 +10,7 @@ import {
1010
NUMBER_OF_POSTS_PER_PAGE,
1111
REQUEST_TIMEOUT_MS,
1212
} from '../../server-constants'
13+
import type { AxiosResponse } from 'axios'
1314
import type * as responses from './responses'
1415
import type * as requestParams from './request-params'
1516
import type {

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"extends": "astro/tsconfigs/strict"
2+
"extends": "astro/tsconfigs/strict",
3+
"include": [".astro/types.d.ts", "**/*"],
4+
"exclude": ["dist"]
35
}

0 commit comments

Comments
 (0)