Skip to content

Commit 2c9d6eb

Browse files
committed
chore: update dependencies and fix import paths
- Updated @docusaurus/core and related packages to version 3.10.1 in package.json. - Modified HomepageFeatures component to include line breaks for better formatting. - Adjusted import path for HomepageFeatures in index.tsx for consistency. - Revised tsconfig.json to avoid deprecated 'baseUrl' option and updated compiler options for improved compatibility.
1 parent c28464c commit 2c9d6eb

7 files changed

Lines changed: 753 additions & 538 deletions

File tree

blog/2024-09-02-welcome/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ tags: [google play store, android, obtainium]
1111

1212
Google Play Store is a great platform to distribute Android apps. However, the recurring effort to keep the changing regulatory requirement up to date is not worth it for me. I have decided to let my dev profile fade away and focus on other things.
1313

14+
<!-- truncate -->
15+
1416
![1725277366437](image/index/1725277366437.png)
1517

1618
## App store entries today that will be removed

docusaurus.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ const config: Config = {
1919
projectName: 'codeuctivity.github.io', // Usually your repo name.
2020

2121
onBrokenLinks: 'throw',
22-
onBrokenMarkdownLinks: 'warn',
22+
23+
markdown: {
24+
hooks: {
25+
onBrokenMarkdownLinks: 'warn',
26+
},
27+
},
2328

2429
// Even if you don't use internationalization, you can use this field to set
2530
// useful metadata like html lang. For example, if your site is Chinese, you

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"typecheck": "tsc"
1616
},
1717
"dependencies": {
18-
"@docusaurus/core": "^3.7.0",
18+
"@docusaurus/core": "^3.10.1",
1919
"@docusaurus/preset-classic": "^3.10.1",
2020
"@mdx-js/react": "^3.1.1",
2121
"clsx": "^2.1.1",
@@ -24,9 +24,9 @@
2424
"react-dom": "^19.2.7"
2525
},
2626
"devDependencies": {
27-
"@docusaurus/module-type-aliases": "^3.10.0",
27+
"@docusaurus/module-type-aliases": "^3.10.1",
2828
"@docusaurus/tsconfig": "^3.10.1",
29-
"@docusaurus/types": "^3.9.2",
29+
"@docusaurus/types": "^3.10.1",
3030
"@playwright/test": "^1.61.0",
3131
"@types/node": "^26.0.0",
3232
"typescript": "~6.0.3"

src/components/HomepageFeatures/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const FeatureList: FeatureItem[] = [
8888
src="https://img.shields.io/nuget/v/Codeuctivity.SkiaSharpCompare.svg"
8989
alt="Codeuctivity.SkiaSharpCompare"
9090
/>
91-
</a>
91+
</a><br></br>
9292
Sanitize filenames<br></br>
9393
<a href="https://www.nuget.org/packages/Codeuctivity.SanitizeFilename/">
9494
Covering edge cases, Ntfs, Ext4, and more{" "}

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import clsx from 'clsx';
22
import Link from '@docusaurus/Link';
33
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
44
import Layout from '@theme/Layout';
5-
import HomepageFeatures from '@site/src/components/HomepageFeatures';
5+
import HomepageFeatures from '../components/HomepageFeatures';
66
import Heading from '@theme/Heading';
77

88
import styles from './index.module.css';

tsconfig.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
// This file is not used in compilation. It is here just for a nice editor experience.
3-
"extends": "@docusaurus/tsconfig",
3+
// Not extending @docusaurus/tsconfig to avoid inheriting deprecated 'baseUrl' option
4+
"$schema": "https://json.schemastore.org/tsconfig",
45
"compilerOptions": {
5-
"baseUrl": "."
6+
"allowJs": true,
7+
"esModuleInterop": true,
8+
"jsx": "preserve",
9+
"target": "ES2022",
10+
"lib": ["ES2022", "DOM"],
11+
"moduleResolution": "bundler",
12+
"module": "esnext",
13+
"noEmit": true,
14+
"skipLibCheck": true
615
}
716
}

0 commit comments

Comments
 (0)