Skip to content

Commit e3f55d4

Browse files
fergusbissetclaude
andcommitted
Remove personal references and update package scope
- Updated dependabot.yml to comment out personal assignees - Updated SECURITY.md with NHSDigital repo URLs and new package name - Updated copilot-instructions.md with npm/GitHub Packages install options - Updated vite.multi.config.ts external reference to @NHSDigital scope - Updated MIGRATION-PLAN.md to remove personal references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 34eda00 commit e3f55d4

File tree

5 files changed

+25
-18
lines changed

5 files changed

+25
-18
lines changed

.github/copilot-instructions.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,21 @@ Use React Testing Library query priority:
199199

200200
## Distribution and Dependencies
201201

202-
### GitHub Packages Setup
203-
The package is published to GitHub Packages. To install:
202+
### Package Installation
203+
The package is published to npm and GitHub Packages. To install:
204+
205+
**From npm (public registry):**
206+
```bash
207+
npm install @nhsdigital/fdp-design-system
208+
```
209+
210+
**From GitHub Packages:**
204211
1. Create `.npmrc` with:
205212
```
206-
@fergusbisset:registry=https://npm.pkg.github.com
213+
@nhsdigital:registry=https://npm.pkg.github.com
207214
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
208215
```
209-
2. Verify setup: `npm whoami --registry=https://npm.pkg.github.com`
216+
2. Install: `npm install @nhsdigital/fdp-design-system`
210217

211218
### Key Dependencies
212219
- **React 19** and TypeScript

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ updates:
2424
dependency-type: "production"
2525
update-types:
2626
- "patch"
27-
# Assign PRs to maintainer
28-
assignees:
29-
- "fergusbisset"
27+
# Assign PRs to maintainers
28+
# assignees:
29+
# - "your-github-username"
3030
# Increase pull request limit for security updates
3131
# Security updates are always created separately
3232
versioning-strategy: increase
@@ -42,5 +42,5 @@ updates:
4242
labels:
4343
- "dependencies"
4444
- "github-actions"
45-
assignees:
46-
- "fergusbisset"
45+
# assignees:
46+
# - "your-github-username"

MIGRATION-PLAN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Migration Plan: NHS FDP Design System to NHSDigital GitHub
22

3-
This document outlines the step-by-step process to migrate from `fergusbisset/nhs-fdp-design-system` to `NHSDigital/fdp-react-design-system` with npm public registry publishing.
3+
This document outlines the step-by-step process to migrate from the original repository to `NHSDigital/fdp-react-design-system` with npm public registry publishing.
44

55
## Overview
66

77
| Item | From | To |
88
|------|------|-----|
9-
| **Repository** | `github.com/fergusbisset/nhs-fdp-design-system` | `github.com/NHSDigital/fdp-react-design-system` |
9+
| **Repository** | Original repository | `github.com/NHSDigital/fdp-react-design-system` |
1010
| **Package Name** | `@nhsdigital/fdp-design-system` | `@nhsdigital/fdp-design-system` |
1111
| **Registry** | GitHub Packages | npm public registry |
12-
| **Author** | Fergus Bisset | FDP Product Design Team |
12+
| **Author** | Original author | FDP Product Design Team |
1313

1414
---
1515

@@ -276,7 +276,7 @@ git push -u origin main
276276
## Phase 8: Post-Migration Tasks
277277

278278
### Step 8.1: Archive old repository
279-
- Add deprecation notice to `fergusbisset/nhs-fdp-design-system`
279+
- Add deprecation notice to original repository
280280
- Point users to new repository
281281

282282
### Step 8.2: First npm publish

SECURITY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ We take security vulnerabilities seriously. If you discover a security vulnerabi
2121
Instead, please report vulnerabilities through one of the following methods:
2222

2323
1. **GitHub Security Advisories** (Preferred):
24-
- Navigate to the [Security Advisories](https://github.com/fergusbisset/nhs-fdp-design-system/security/advisories) page
24+
- Navigate to the [Security Advisories](https://github.com/NHSDigital/fdp-react-design-system/security/advisories) page
2525
- Click "Report a vulnerability"
2626
- Fill in the details of the vulnerability
2727

@@ -69,7 +69,7 @@ npm audit
6969
npm update
7070

7171
# Update to latest version
72-
npm install @fergusbisset/nhs-fdp-design-system@latest
72+
npm install @nhsdigital/fdp-design-system@latest
7373
```
7474

7575
### 2. Content Security Policy (CSP)
@@ -186,7 +186,7 @@ When we release a security fix:
186186

187187
This security policy applies to:
188188

189-
- ✅ The `@fergusbisset/nhs-fdp-design-system` package
189+
- ✅ The `@nhsdigital/fdp-design-system` package
190190
- ✅ All components in the design system
191191
- ✅ Build tools and scripts that ship with the package
192192
- ✅ Documentation and example code
@@ -197,7 +197,7 @@ This security policy applies to:
197197

198198
For security-related questions that are not vulnerability reports:
199199

200-
- Open a [GitHub Discussion](https://github.com/fergusbisset/nhs-fdp-design-system/discussions)
200+
- Open a [GitHub Discussion](https://github.com/NHSDigital/fdp-react-design-system/discussions)
201201
- Tag your discussion with "security"
202202

203203
## Acknowledgments

config/vite.multi.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default defineConfig({
4343
'react/jsx-runtime',
4444
'react/jsx-dev-runtime',
4545
// Leave behaviours dynamic import unresolved during library build; it resolves in consumer apps
46-
'@fergusbisset/nhs-fdp-design-system/behaviours'
46+
'@nhsdigital/fdp-design-system/behaviours'
4747
],
4848
output: { globals: { react: 'React', 'react-dom': 'ReactDOM' } }
4949
},

0 commit comments

Comments
 (0)