beatrizsmerino / beatrizsmerino/angular-setup
feat(license): add `LICENSE` file with `MIT`
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# feat(license): add `LICENSE` file with `MIT`
| β±οΈ Estimate | π Priority | π Size | π
Start | π
End |
| --- | --- | --- | --- | --- |
| 2h | P2 | S | 02-03-2026 | 02-03-2026 |
## πΈ Screenshots
| Current | Expected |
| :---: | :---: |
| N/A β This change has no visual impact. |
|
## π Summary
- Create `LICENSE` file with `MIT` license text
- Add `license` field with value `MIT` to `package.json`
- Document the license type in the `README.md` file
## π‘ Why this change?
- Open source projects should include a `LICENSE` file to define the terms of use
- The `MIT` license is permissive and widely used for open source projects
## β Benefits
- Legal clarity for code usage and distribution
- Encourages open source collaboration
- Standard practice for public repositories
- Protects contributors and users
## π Steps
### Phase 1: Create `LICENSE` file
- [x] Create `LICENSE` file in repository root with `MIT` License text:
```text
MIT License
Copyright (c) 2026 Beatriz SopeΓ±a Merino
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
### Phase 2: Update `package.json`
- [x] Add `license` field to `package.json`:
```bash
npm pkg set license="MIT"
```
```diff
{
"name": "angular-setup",
"version": "0.0.0",
+ "license": "MIT",
...
}
```
### Phase 3: Add `License` section to `README.md`
- [x] Add `License` section at the end of `README.md`:
```markdown
## π License
This project is licensed under the `MIT` License, which allows free use, modification and distribution. See [LICENSE](LICENSE) for details.
```
## π§ͺ Tests
- [x] Verify `LICENSE` file exists in repository root
- [x] Verify `package.json` has `"license": "MIT"`
- [x] Verify `README.md` has `## π License` section
## π Notes
### License comparison
| Aspect | `MIT` | `ISC` | `UNLICENSED` |
| --- | --- | --- | --- |
| Type | Permissive | Permissive | All rights reserved |
| Length | ~170 words | ~70 words | N/A |
| `npm` default | No | Yes | No |
| GitHub option | Yes | No | No |
| Commercial use | Yes | Yes | No |
| Sublicensing | Explicitly allowed | Implicitly allowed | Not allowed |
| Recommendation | Preferred by `ISC` org | Simpler version of `MIT` | For private/client projects |
## π References
### Files to create
- `LICENSE`
### Files to modify
- `package.json`
- `README.md`
### Documentation
- https://choosealicense.com/licenses/mit/
- https://docs.npmjs.com/cli/v10/configuring-npm/package-json#license
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.