Skip to content

Commit 93a2711

Browse files
committed
chore: update workspace deps and tsconfig settings fix #24
1 parent 4951190 commit 93a2711

6 files changed

Lines changed: 14 additions & 11 deletions

File tree

core/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div markdown="1">
2-
<sup align="center">Using <a href="https://wangchujiang.com/#/app" target="_blank">my app</a> is also a way to <a href="https://wangchujiang.com/#/sponsor" target="_blank">support</a> me:</sup>
2+
<sup>Using <a href="https://wangchujiang.com/#/app" target="_blank">my app</a> is also a way to <a href="https://wangchujiang.com/#/sponsor" target="_blank">support</a> me:</sup>
33
<br>
4+
<a target="_blank" href="https://jaywcjlove.github.io/maslink/?id=6766860898" title="Zipora: Zip/RAR/7Z Unarchiver"><img alt="Zipora: Zip/RAR/7Z Unarchiver" height="52" src="https://wangchujiang.com/appicon/zipora.png"></a>
45
<a target="_blank" href="https://jaywcjlove.github.io/maslink/?id=6758053530" title="Scap: Screenshot & Markup Edit for macOS"><img alt="Scap: Screenshot & Markup Edit" height="52" src="https://wangchujiang.com/appicon/scap.png"></a>
56
<a target="_blank" href="https://jaywcjlove.github.io/maslink/?id=6757317079" title="Screen Test for macOS"><img alt="Screen Test" height="52" src="https://wangchujiang.com/appicon/screen-test.png"></a>
67
<a target="_blank" href="https://jaywcjlove.github.io/maslink/?id=6755948110" title="Deskmark for macOS"><img alt="Deskmark" height="52" src="https://wangchujiang.com/appicon/deskmark.png"></a>

core/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
"extends": "../tsconfig",
33
"include": ["src"],
44
"compilerOptions": {
5+
"rootDir": "./src",
56
"outDir": "./cjs",
6-
"baseUrl": ".",
7+
"moduleResolution": "bundler",
8+
"allowJs": false,
9+
"declaration": true,
710
"noEmit": false
811
}
912
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
"lerna": "^7.1.4",
3434
"lint-staged": "^13.2.3",
3535
"prettier": "^3.0.0",
36+
"react": "~18.2.0",
37+
"react-dom": "~18.2.0",
3638
"tsbb": "^4.1.14"
3739
}
3840
}

tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"jsx": "react-jsx",
4+
"target": "esnext",
45
"lib": ["dom", "dom.iterable", "esnext"],
56
"allowJs": true,
67
"skipLibCheck": true,
@@ -12,9 +13,6 @@
1213
"moduleResolution": "node",
1314
"resolveJsonModule": true,
1415
"isolatedModules": true,
15-
"declaration": true,
16-
"baseUrl": ".",
17-
"jsx": "react-jsx",
1816
"noFallthroughCasesInSwitch": true,
1917
"noEmit": true
2018
}

www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"markdown-react-code-preview-loader": "^2.1.2"
1717
},
1818
"dependencies": {
19-
"@uiw/react-markdown-preview-example": "^1.5.3",
19+
"@uiw/react-markdown-preview-example": "^2.1.6",
2020
"@uiw/react-tabs-draggable": "1.0.1",
2121
"react": "~18.2.0",
2222
"react-dom": "~18.2.0",

www/tsconfig.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"extends": "../tsconfig",
3-
"include": ["./src"],
3+
"include": [".kktrc.ts", "src"],
44
"compilerOptions": {
5-
"baseUrl": ".",
6-
"emitDeclarationOnly": true,
7-
"noEmit": false
5+
"moduleResolution": "bundler",
6+
"noEmit": true
87
}
98
}

0 commit comments

Comments
 (0)