chore: change the readme for supporting viewing on gitea.
This commit is contained in:
parent
9dd118bbdb
commit
69339858a5
4
.github/ISSUE_TEMPLATE/1-bug-report.md
vendored
4
.github/ISSUE_TEMPLATE/1-bug-report.md
vendored
@ -5,11 +5,11 @@ about: Create a report to help us improve
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Thank you for reporting a possible bug in bookhunter.
|
Thank you for reporting a possible bug in bookstairs.
|
||||||
|
|
||||||
Please fill in as much of the template below as you can.
|
Please fill in as much of the template below as you can.
|
||||||
|
|
||||||
Version: output of `bookhunter version`
|
Version: output of `bookstairs version`
|
||||||
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
|
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
|
||||||
|
|
||||||
If possible, please provide code that demonstrates the problem, keeping it as
|
If possible, please provide code that demonstrates the problem, keeping it as
|
||||||
|
2
.github/ISSUE_TEMPLATE/2-feature-request.md
vendored
2
.github/ISSUE_TEMPLATE/2-feature-request.md
vendored
@ -5,7 +5,7 @@ about: Suggest an idea for this project
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Thank you for suggesting an idea to make bookhunter better.
|
Thank you for suggesting an idea to make bookstairs better.
|
||||||
|
|
||||||
Please fill in as much of the template below as you're able.
|
Please fill in as much of the template below as you're able.
|
||||||
-->
|
-->
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
![BookStairs Poster](docs/images/github-poster.png#gh-light-mode-only)
|
<picture>
|
||||||
![BookStairs Poster](docs/images/github-poster-dark.png#gh-dark-mode-only)
|
<source media="(prefers-color-scheme: dark)" srcset="docs/images/github-poster-dark.png">
|
||||||
|
<img alt="BookStairs Poster" src="docs/images/github-poster.png">
|
||||||
|
</picture>
|
||||||
|
|
||||||
[![LICENSE](https://img.shields.io/github/license/bookstairs/bookstairs)](https://github.com/bookstairs/bookstairs/blob/master/LICENSE)
|
[![LICENSE](https://img.shields.io/github/license/bookstairs/bookstairs)](https://github.com/bookstairs/bookstairs/blob/master/LICENSE)
|
||||||
[![contribution](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](CONTRIBUTING.md)
|
[![contribution](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](CONTRIBUTING.md)
|
||||||
|
2527
web/package-lock.json
generated
2527
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -17,6 +17,8 @@
|
|||||||
"@biomejs/biome": "^1.8.3",
|
"@biomejs/biome": "^1.8.3",
|
||||||
"@rsbuild/core": "1.0.1-rc.4",
|
"@rsbuild/core": "1.0.1-rc.4",
|
||||||
"@rsbuild/plugin-react": "1.0.1-rc.4",
|
"@rsbuild/plugin-react": "1.0.1-rc.4",
|
||||||
|
"@rsbuild/plugin-svgr": "^1.0.1-rc.4",
|
||||||
|
"@rsbuild/plugin-type-check": "^1.0.1-rc.4",
|
||||||
"@types/node": "^22.5.4",
|
"@types/node": "^22.5.4",
|
||||||
"@types/react": "^18.3.5",
|
"@types/react": "^18.3.5",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import { defineConfig } from '@rsbuild/core';
|
import { defineConfig } from '@rsbuild/core';
|
||||||
import { pluginReact } from '@rsbuild/plugin-react';
|
import { pluginReact } from '@rsbuild/plugin-react';
|
||||||
|
import { pluginSvgr } from '@rsbuild/plugin-svgr';
|
||||||
|
import { pluginTypeCheck } from '@rsbuild/plugin-type-check';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [pluginReact()],
|
plugins: [pluginReact(), pluginSvgr(), pluginTypeCheck()],
|
||||||
});
|
});
|
||||||
|
10
web/src/env.d.ts
vendored
10
web/src/env.d.ts
vendored
@ -1 +1,11 @@
|
|||||||
/// <reference types="@rsbuild/core/types" />
|
/// <reference types="@rsbuild/core/types" />
|
||||||
|
|
||||||
|
// Add types for svgr plugin.
|
||||||
|
declare module '*.svg' {
|
||||||
|
const content: string;
|
||||||
|
export default content;
|
||||||
|
}
|
||||||
|
declare module '*.svg?react' {
|
||||||
|
const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
||||||
|
export default ReactComponent;
|
||||||
|
}
|
||||||
|
@ -13,5 +13,6 @@
|
|||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"allowImportingTsExtensions": true
|
"allowImportingTsExtensions": true
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"],
|
||||||
|
"exclude": ["**/node_modules"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user