From 37dc7056944c511ae65c11e738a0d7784e86b4d7 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 17 Oct 2026 00:28:44 +0200 Subject: [PATCH] chore: add MIT license and update package author and links --- LICENSE | 21 +++++++++++++++++++++ README.md | 2 +- package.json | 23 +++++++++++++++++++---- 3 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..344ec1b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-present Maksym Synenko + +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. diff --git a/README.md b/README.md index 9914246..1d24474 100644 --- a/README.md +++ b/README.md @@ -377,4 +377,4 @@ The demo is the example app built with `VITE_DEMO=1`. GitHub Pages serves static ## License -MIT © [arenuzzz](https://github.com/arenuzzz) +[MIT](LICENSE) © Maksym Synenko diff --git a/package.json b/package.json index 5c69137..c70eaa3 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,18 @@ { "name": "react-clear-browser-cache", "version": "1.0.0", - "author": "arenuzzz", - "description": "Library for clearing browser cache after react app updates", + "author": { + "name": "Maksym Synenko", + "url": "https://devmaxxx.github.io/" + }, + "description": "Detect new deploys of a React app, clear Cache Storage and reload, or ask the user first. Recovers from missing lazy chunks.", "license": "MIT", - "repository": "devmaxxx/react-clear-browser-cache", + "repository": { + "type": "git", + "url": "git+https://github.com/devmaxxx/react-clear-browser-cache.git" + }, + "homepage": "https://devmaxxx.github.io/react-clear-browser-cache/", + "bugs": "https://github.com/devmaxxx/react-clear-browser-cache/issues", "type": "commonjs", "sideEffects": false, "main": "./dist/index.cjs", @@ -38,7 +46,14 @@ "browser cache", "clear cache", "refresh cache", - "react" + "react", + "cache-busting", + "chunk-load-error", + "deploy", + "reload", + "next.js", + "vite", + "webpack" ], "packageManager": "pnpm@10.23.0", "scripts": {