Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(website/infra): lint-staged issue in website #7224

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ jobs:
run: |
cd website
pnpm install
npx @biomejs/biome check --diagnostic-level=warn
pnpm run check:ci

rust_changes:
Expand Down
10 changes: 5 additions & 5 deletions website/components/CommunityCompatibleTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import S from './PluginSupportStatusTable.module.scss';
import * as i18n from './i18n';

export enum CompatibleStatus {
NotCompatible,
PartiallyCompatible,
Alternative,
Compatible,
Included,
NotCompatible = 0,
PartiallyCompatible = 1,
Alternative = 2,
Compatible = 3,
Included = 4,
}

const SUPPORT_STATUS_LOCALIZED = {
Expand Down
6 changes: 3 additions & 3 deletions website/components/PluginSupportStatusTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { useLang } from 'rspress/runtime';
import S from './PluginSupportStatusTable.module.scss';

enum SupportStatus {
NotSupported,
PartiallySupported,
FullySupported,
NotSupported = 0,
PartiallySupported = 1,
FullySupported = 2,
}

const SUPPORT_STATUS_LOCALIZED = {
Expand Down
7 changes: 5 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"build": "rspress build",
"preview": "rspress preview",
"sort-projects-words": "node ./sortProjectWords.js",
"check:lint": "biome check --diagnostic-level=warn --write",
"check:lint-ci": "biome check --diagnostic-level=warn",
"check:format": "prettier . --write",
"check:format-ci": "prettier . --check",
"check:spell": "npx cspell",
"check:case": "npx case-police docs/**/*.{md,mdx}",
"check": "pnpm run check:format && pnpm run check:spell",
"check:ci": "pnpm run check:format-ci && pnpm run check:spell"
"check": "pnpm run check:lint && pnpm run check:format && pnpm run check:spell",
"check:ci": "pnpm run check:lint-ci && pnpm run check:format-ci && pnpm run check:spell"
},
"license": "MIT",
"packageManager": "pnpm@9.3.0",
Expand All @@ -28,6 +30,7 @@
"tailwindcss": "^3.2.7"
},
"devDependencies": {
"@biomejs/biome": "1.8.0",
"@rspress/plugin-rss": "^1.26.1",
"@rspress/shared": "^1.26.1",
"@types/node": "^18.11.18",
Expand Down
99 changes: 99 additions & 0 deletions website/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/theme/components/Benchmark/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export function Benchmark() {
href="misc/benchmark.html"
target="_blank"
className={`${styles.bottomLink} hover:text-brand transition-colors duration-300 font-medium p-2`}
rel="noreferrer"
>
👉 {t('benchmarkDetail')}
</a>
Expand Down
Loading