Skip to content

Commit fb54aa1

Browse files
authored
Merge pull request #13 from shadcn-nuxt-ui/chore/prelaunch-security-hardening
chore(security): harden repo defaults and disclosure policy
2 parents 3a3e947 + f97a781 commit fb54aa1

4 files changed

Lines changed: 25 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: ci
22
on: push
3+
permissions:
4+
contents: read
35
jobs:
46
ci:
57
runs-on: ${{ matrix.os }}
@@ -21,6 +23,8 @@ jobs:
2123
run: pnpm install
2224
- name: Build registry artifacts
2325
run: pnpm run registry:build
26+
- name: Generate static output
27+
run: pnpm run generate
2428
- name: Lint
2529
run: pnpm run lint
2630
- name: Typecheck

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,10 @@ logs
2020
.DS_Store
2121
.fleet
2222
.idea
23+
.playwright-cli/
24+
.claude/settings.local.json
2325

2426
# Local env files
2527
.env
2628
.env.*
2729
!.env.example
28-
29-
.dmux/worktrees/task-response/.data
30-
.dmux/worktrees/task-request/.data
31-
.dmux/worktrees/task-15-3/.data
32-
.dmux/worktrees/task-15-5/.data
33-
.dmux/worktrees/task-17-1/.data
34-
.dmux/worktrees/task-17-3/.data

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This project aims to make shadcn-vue easier to use in Nuxt by providing:
1111
## What this repository includes
1212

1313
- **Docs site** (Nuxt 4 + Nuxt Content)
14-
- **shadcn-vue registry output** under `public/r/*.json`
14+
- **shadcn-vue registry builder** (`pnpm registry:build`)
1515
- **Template and component documentation** under `content/docs`
1616

1717
## Use the registry
@@ -50,3 +50,8 @@ pnpm registry:build
5050
```
5151

5252
This command generates distributable registry JSON files in `public/r/`.
53+
`public/r/` is generated at build time and is not committed to git.
54+
55+
## Security
56+
57+
For vulnerability reporting and support policy, see `SECURITY.md`.

SECURITY.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@
22

33
## Supported Versions
44

5-
Use this section to tell people about which versions of your project are
6-
currently being supported with security updates.
5+
Security fixes are applied to the latest version on the `main` branch.
76

87
| Version | Supported |
98
| ------- | ------------------ |
10-
| 5.1.x | :white_check_mark: |
11-
| 5.0.x | :x: |
12-
| 4.0.x | :white_check_mark: |
13-
| < 4.0 | :x: |
9+
| main | :white_check_mark: |
10+
| others | :x: |
1411

1512
## Reporting a Vulnerability
1613

17-
Use this section to tell people how to report a vulnerability.
14+
Please use GitHub Private Vulnerability Reporting for this repository:
1815

19-
Tell them where to go, how often they can expect to get an update on a
20-
reported vulnerability, what to expect if the vulnerability is accepted or
21-
declined, etc.
16+
- https://github.com/shadcn-nuxt-ui/docs/security/advisories/new
17+
18+
If private reporting is unavailable for your account, open a security issue without exploit details and ask maintainers to continue in a private channel.
19+
20+
We aim to:
21+
22+
- acknowledge reports within 72 hours,
23+
- provide an initial assessment within 7 days,
24+
- coordinate disclosure after a fix is available.

0 commit comments

Comments
 (0)