Skip to content

Commit

Permalink
chore(deps): update dependency tsbb to v4 #67
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 7, 2023
1 parent 17992b2 commit a73c6fe
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"homepage": "https://uiwjs.github.io/react-clock",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"scripts": {
"prepare": "npm run build",
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"watch": "tsbb watch",
"build": "tsbb build && npm run css:build && npm run css:build:dist",
"watch": "tsbb watch src/*.tsx --use-babel",
"build": "tsbb build src/*.tsx --use-babel && npm run css:build && npm run css:build:dist",
"bundle": "ncc build src/index.tsx --target web --filename clock",
"bundle:watch": "ncc watch src/index.tsx --target web --filename clock",
"bundle:min": "ncc build src/index.tsx --target web --filename clock --minify",
Expand Down Expand Up @@ -41,15 +42,15 @@
"@kkt/scope-plugin-options": "^7.4.9",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@uiw/react-markdown-preview": "~3.5.0",
"@uiw/react-markdown-preview": "^4.1.10",
"@uiw/react-github-corners": "^1.5.15",
"@uiw/react-shields": "^1.1.3",
"@uiw/reset.css": "^1.0.6",
"compile-less-cli": "^1.8.14",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"kkt": "^7.4.9",
"tsbb": "~3.7.0"
"tsbb": "^4.1.4"
},
"eslintConfig": {
"extends": [
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"lib": [
"dom",
"dom.iterable",
Expand All @@ -12,8 +14,7 @@
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"outDir": "cjs",
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
Expand All @@ -22,7 +23,6 @@
"noEmit": true
},
"include": [
"website",
".kktrc.ts"
"src"
]
}
2 changes: 1 addition & 1 deletion website/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const App: React.FC = () => {
</p>
<Example />
</header>
<MarkdownPreview className="App-markdown" source={MDStr.replace(/([\s\S]*)<!--dividing-->/, '')} />
<MarkdownPreview className="App-markdown" wrapperElement={{ "data-color-mode": "light" }} source={MDStr.replace(/([\s\S]*)<!--dividing-->/, '')} />
<div className="App-footer">
<Github user="uiwjs" repo="react-clock">
<Github.Social type="forks" href="https://github.com/uiwjs/react-clock" />
Expand Down
9 changes: 9 additions & 0 deletions website/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig",
"include": ["./"],
"compilerOptions": {
"baseUrl": ".",
"emitDeclarationOnly": true,
"noEmit": false
}
}

0 comments on commit a73c6fe

Please sign in to comment.