Skip to content

Commit 3929351

Browse files
committed
fix conflict
2 parents 0006681 + b9c3a1d commit 3929351

File tree

702 files changed

+71011
-41075
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

702 files changed

+71011
-41075
lines changed

.coderabbit.yaml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
language: en-GB
2+
3+
reviews:
4+
profile: chill
5+
# Keep the high-level summary enabled (default), but place it in the
6+
# walkthrough comment instead of relying on PR description updates.
7+
high_level_summary_in_walkthrough: true
8+
review_status: true
9+
review_details: false
10+
changed_files_summary: true
11+
sequence_diagrams: true
12+
estimate_code_review_effort: false
13+
assess_linked_issues: true
14+
related_issues: true
15+
related_prs: true
16+
suggested_labels: false
17+
suggested_reviewers: true
18+
in_progress_fortune: false
19+
poem: false
20+
21+
slop_detection:
22+
enabled: true
23+
label: '007'
24+
25+
auto_review:
26+
auto_pause_after_reviewed_commits: 5
27+
labels:
28+
- '!release'
29+
ignore_title_keywords:
30+
- 'WIP'
31+
- '[skip-review]'
32+
- 'chore(release)'
33+
ignore_usernames:
34+
- 'renovate[bot]'
35+
- 'dependabot[bot]'
36+
- 'github-actions[bot]'
37+
38+
# Built-in PR metadata/content checks. Modes are: off, warning, error.
39+
pre_merge_checks:
40+
docstrings:
41+
mode: off
42+
title:
43+
mode: error
44+
description:
45+
mode: warning
46+
issue_assessment:
47+
mode: warning
48+
49+
tools:
50+
gitleaks:
51+
enabled: true
52+
osvScanner:
53+
enabled: true
54+
actionlint:
55+
enabled: true
56+
yamllint:
57+
enabled: true
58+
shellcheck:
59+
enabled: true
60+
dotenvLint:
61+
enabled: true
62+
63+
# Disable tools redundant with our own CI
64+
eslint:
65+
enabled: false
66+
biome:
67+
enabled: false
68+
oxc:
69+
enabled: false
70+
markdownlint:
71+
enabled: false
72+
languagetool:
73+
enabled: false
74+
github-checks:
75+
enabled: false
76+
77+
# Security-related, but not a good fit for this repo
78+
checkov:
79+
enabled: false
80+
trivy:
81+
enabled: false
82+
opengrep:
83+
enabled: false

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#secure password, can use openssl rand -hex 32
22
NUXT_SESSION_PASSWORD=""
33

4-
#HMAC secret for image proxy URL signing, can use openssl rand -hex 32
4+
#HMAC secret for image-proxy and OG image URL signing, can use openssl rand -hex 32
55
NUXT_IMAGE_PROXY_SECRET=""

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "\U0001F41E Bug report"
22
description: Create a report to help us improve npmx
3+
type: bug
4+
labels: ['pending triage']
35
body:
46
- type: markdown
57
attributes:

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: '🚀 Feature request'
22
description: Suggest a feature that will improve npmx
3+
type: feature
34
labels: ['pending triage']
45
body:
56
- type: markdown

.github/workflows/autofix.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,21 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

23-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
23+
- uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
2424
with:
2525
node-version: lts/*
26-
27-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
28-
name: 🟧 Install pnpm
29-
with:
3026
cache: true
3127

32-
- name: 📦 Install dependencies
33-
run: pnpm install
34-
3528
- name: 🎨 Check for non-RTL/non-a11y CSS classes
36-
run: pnpm lint:css
29+
run: vp run lint:css
3730

3831
- name: 🌐 Compare translations
39-
run: pnpm i18n:check
32+
run: vp run i18n:check
4033

4134
- name: 🌍 Update lunaria data
42-
run: pnpm build:lunaria
35+
run: vp run build:lunaria
4336

4437
- name: 🔠 Fix lint errors
45-
run: pnpm lint:fix
38+
run: vp run lint:fix
4639

4740
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27

.github/workflows/chromatic.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: chromatic
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
chromatic:
18+
name: 📚 Chromatic
19+
runs-on: ubuntu-24.04-arm
20+
21+
steps:
22+
- name: ☑️ Checkout
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
with:
25+
fetch-depth: 0
26+
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
27+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
28+
29+
- uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
30+
with:
31+
node-version: lts/*
32+
cache: true
33+
34+
- name: 🟧 Install pnpm globally
35+
run: vp install -g pnpm
36+
37+
- name: 🧪 Run Chromatic Visual and Accessibility Tests
38+
uses: chromaui/action@f191a0224b10e1a38b2091cefb7b7a2337009116 # v16.0.0
39+
env:
40+
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
41+
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
42+
CHROMATIC_SLUG: ${{ github.repository }}

0 commit comments

Comments
 (0)