beatrizsmerino / beatrizsmerino/angular-setup
feat(package): add `author` metadata as `JSON` object to `package.json`
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# feat(package): add `author` metadata as `JSON` object to `package.json`
| β±οΈ Estimate | π Priority | π Size | π
Start | π
End |
| --- | --- | --- | --- | --- |
| 1h | P2 | XS | 02-03-2026 | 02-03-2026 |
## πΈ Screenshots
| Current | Expected |
| :---: | :---: |
| N/A β This change has no visual impact. | N/A β This change has no visual impact. |
## π Summary
- Add `author` field to `package.json` as a JSON object with `name`, `email` and `url` properties
- Use structured metadata instead of a plain string value
## π‘ Why this change?
- A JSON object allows tools and registries to parse each field independently
- Follows the npm recommended object format for `author` metadata
## β Benefits
- The `name`, `email` and `url` are individually accessible by npm, bundlers and documentation generators
- Follows the npm recommended object format for `author` metadata
## π Steps
### Phase 1: Add author field
- [x] Add `author` field to `package.json`:
```diff
{
"name": "angular-setup",
"version": "0.0.0",
+ "author": {
+ "name": "Beatriz SopeΓ±a Merino",
+ "email": "beatrizsmerino@gmail.com",
+ "url": "https://github.com/beatrizsmerino"
+ },
"license": "MIT",
...
}
```
## π§ͺ Tests
- [x] Verify `package.json` is valid:
```bash
npm install
```
## π References
### Files to modify
- `package.json`
### Documentation
- https://docs.npmjs.com/cli/v10/configuring-npm/package-json#people-fields-author-contributors
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.