Skip to content

Commit 3eae4b7

Browse files
authored
Merge pull request #8 from devmaxxx/chore/license-and-metadata
Add MIT license and update package metadata
2 parents 78ace75 + 37dc705 commit 3eae4b7

3 files changed

Lines changed: 41 additions & 5 deletions

File tree

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021-present Maksym Synenko
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,4 +377,4 @@ The demo is the example app built with `VITE_DEMO=1`. GitHub Pages serves static
377377
378378
## License
379379
380-
MIT © [arenuzzz](https://github.com/arenuzzz)
380+
[MIT](LICENSE) © Maksym Synenko

‎package.json‎

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"name": "react-clear-browser-cache",
33
"version": "1.0.0",
4-
"author": "arenuzzz",
5-
"description": "Library for clearing browser cache after react app updates",
4+
"author": {
5+
"name": "Maksym Synenko",
6+
"url": "https://devmaxxx.github.io/"
7+
},
8+
"description": "Detect new deploys of a React app, clear Cache Storage and reload, or ask the user first. Recovers from missing lazy chunks.",
69
"license": "MIT",
7-
"repository": "devmaxxx/react-clear-browser-cache",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/devmaxxx/react-clear-browser-cache.git"
13+
},
14+
"homepage": "https://devmaxxx.github.io/react-clear-browser-cache/",
15+
"bugs": "https://github.com/devmaxxx/react-clear-browser-cache/issues",
816
"type": "commonjs",
917
"sideEffects": false,
1018
"main": "./dist/index.cjs",
@@ -38,7 +46,14 @@
3846
"browser cache",
3947
"clear cache",
4048
"refresh cache",
41-
"react"
49+
"react",
50+
"cache-busting",
51+
"chunk-load-error",
52+
"deploy",
53+
"reload",
54+
"next.js",
55+
"vite",
56+
"webpack"
4257
],
4358
"packageManager": "pnpm@10.23.0",
4459
"scripts": {

0 commit comments

Comments
 (0)