Skip to content

Commit

Permalink
chore: remove obsolete files in package.json (#57)
Browse files Browse the repository at this point in the history
Remove obsolete `README` and `LICENSE` files in the `package.json`.

See [docs.npmjs.com](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#files) for further information.
  • Loading branch information
mheob committed Sep 22, 2022
1 parent b8fcaaf commit 7a39ce7
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .changeset/selfish-apples-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
release:
check:
name: Check
runs-on: ubuntu-latest
steps:
Expand Down
21 changes: 21 additions & 0 deletions packages/check-package-manager/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License Copyright (c) 2022 Alexander Böhm

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
(including the next paragraph) 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.
4 changes: 1 addition & 3 deletions packages/check-package-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
},
"files": [
"bin",
"dist",
"LICENSE",
"README.md"
"dist"
],
"scripts": {
"build": "tsc",
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
}
},
"files": [
"dist",
"LICENSE",
"README.md"
"dist"
],
"scripts": {
"build": "tsc",
Expand Down
4 changes: 1 addition & 3 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
"dist"
],
"scripts": {
"build": "tsc",
Expand Down
4 changes: 1 addition & 3 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
"commonjs.json",
"esm.json",
"nextjs.json",
"react.json",
"LICENSE",
"README.md"
"react.json"
],
"scripts": {
"sort-package-json": "pnpm dlx sort-package-json"
Expand Down

0 comments on commit 7a39ce7

Please sign in to comment.