{"_id":"@eeacms/volto-updatenotifier","_rev":"3-1ac4f3ea98237a201baf4c40ccb9de6b","name":"@eeacms/volto-updatenotifier","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.1":{"name":"@eeacms/volto-updatenotifier","version":"0.1.1","keywords":["volto-addon","volto","plone","react"],"author":{"name":"European Environment Agency: IDM2 A-Team"},"license":"MIT","_id":"@eeacms/volto-updatenotifier@0.1.1","maintainers":[{"name":"demarant","email":"eeacms@gmail.com"},{"name":"avoinea","email":"contact@avoinea.com"},{"name":"tiberiuichim","email":"tiberiu.ichim@eaudeweb.ro"},{"name":"zotya","email":"zoltan.szabo@eaudeweb.ro"},{"name":"alecghica","email":"alecghica@gmail.com"},{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},{"name":"razvan.miu","email":"miu.razvan28@gmail.com"},{"name":"ichimdav","email":"ichim.david@gmail.com"},{"name":"valentinab25","email":"valentina.balan@gmail.com"},{"name":"nileshgulia1","email":"nileshgulia@gmail.com"}],"homepage":"https://github.com/eea/volto-updatenotifier","bugs":{"url":"https://github.com/eea/volto-updatenotifier/issues"},"dist":{"shasum":"ae5ee68fa2fac6cf0c78cfe4ee928afb1a65bf46","tarball":"https://registry.npmjs.org/@eeacms/volto-updatenotifier/-/volto-updatenotifier-0.1.1.tgz","fileCount":13,"integrity":"sha512-0ZlMiOr5Ep0vvu+pTsOpgWmkHxsum7su8s91FZStlNIvzlKAPp0D0g1URxQuIZeStU3WPSnulMnrCHWuV/5rrw==","signatures":[{"sig":"MEQCIEym8CKZGaa2mTABvP5sPHPRSqktohEats9SQmu+FRDWAiAq8Itb4m0t4PFWrB5z2q4+AXvkcT0eJQ+bO8GLda+zoA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15704},"main":"src/index.js","addons":[],"gitHead":"e00d9a887dabdf471ce8eef6d9d4ad108af68278","scripts":{"i18n":"make i18n","lint":"make lint","test":"make test","prepare":"husky install","release":"release-it","lint:fix":"make lint-fix","prettier":"make prettier","test:fix":"make test-update","bootstrap":"npm install -g ejs; npm link ejs; node bootstrap","stylelint":"make stylelint","pre-commit":"yarn stylelint:fix && yarn prettier:fix && yarn lint:fix","cypress:run":"make cypress-run","cypress:open":"make cypress-open","prettier:fix":"make prettier-fix","release-beta":"release-it --preRelease=beta","stylelint:fix":"make stylelint-fix","release-major-beta":"release-it major --preRelease=beta","stylelint:overrides":"make stylelint-overrides"},"_npmUser":{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},"repository":{"url":"git+ssh://git@github.com/eea/volto-updatenotifier.git","type":"git"},"_npmVersion":"8.19.4","description":"Add-on to notify browser that a new frontend has been deployed","directories":{},"lint-staged":{"src/**/*.{jsx}":["make i18n"],"src/**/*.overrides":["make stylelint-fix"],"src/**/*.{css,less}":["make stylelint-fix"],"theme/**/*.overrides":["make stylelint-fix"],"theme/**/*.{css,less}":["make stylelint-fix"],"src/**/*.{js,jsx,ts,tsx,json}":["make lint-fix","make prettier-fix"]},"_nodeVersion":"16.20.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"md5":"^2.3.0","husky":"^8.0.3","dotenv":"^16.3.2","cypress":"13.1.0","lint-staged":"^14.0.1","@plone/scripts":"*","cypress-fail-fast":"^5.0.1","@cypress/code-coverage":"^3.10.0","babel-plugin-transform-class-properties":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/volto-updatenotifier_0.1.1_1773918019382_0.6889038961713441","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@eeacms/volto-updatenotifier","version":"0.1.2","keywords":["volto-addon","volto","plone","react"],"author":{"name":"European Environment Agency: IDM2 A-Team"},"license":"MIT","_id":"@eeacms/volto-updatenotifier@0.1.2","maintainers":[{"name":"demarant","email":"eeacms@gmail.com"},{"name":"avoinea","email":"contact@avoinea.com"},{"name":"tiberiuichim","email":"tiberiu.ichim@eaudeweb.ro"},{"name":"zotya","email":"zoltan.szabo@eaudeweb.ro"},{"name":"alecghica","email":"alecghica@gmail.com"},{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},{"name":"razvan.miu","email":"miu.razvan28@gmail.com"},{"name":"ichimdav","email":"ichim.david@gmail.com"},{"name":"valentinab25","email":"valentina.balan@gmail.com"},{"name":"nileshgulia1","email":"nileshgulia@gmail.com"}],"homepage":"https://github.com/eea/volto-updatenotifier","bugs":{"url":"https://github.com/eea/volto-updatenotifier/issues"},"dist":{"shasum":"97ecc80a9eb54e81d1453cd8453c0cd3618b5b88","tarball":"https://registry.npmjs.org/@eeacms/volto-updatenotifier/-/volto-updatenotifier-0.1.2.tgz","fileCount":19,"integrity":"sha512-NaBhiVJHMqcwYssDU1LLhSu6gLK/wCsONEw45oYgeAa/yJATVb0IbEWTuyeV4FUPclDwCySSop1HX6wPhdiu7g==","signatures":[{"sig":"MEQCIBFJ59kK2S8OWBehVbEQ8wFdoQIBtryK5s7iGEDuoh2+AiB09mIGLz+IodDTr1Q+LUbkX+t/RskxVXex7VyhqmgE5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43078},"main":"src/index.js","addons":[],"gitHead":"d13243b52536c60258c8f269b747f03acdfaa6eb","scripts":{"i18n":"make i18n","lint":"make lint","test":"make test","prepare":"husky install","release":"release-it","lint:fix":"make lint-fix","prettier":"make prettier","test:fix":"make test-update","bootstrap":"npm install -g ejs; npm link ejs; node bootstrap","stylelint":"make stylelint","pre-commit":"yarn stylelint:fix && yarn prettier:fix && yarn lint:fix","cypress:run":"make cypress-run","cypress:open":"make cypress-open","prettier:fix":"make prettier-fix","release-beta":"release-it --preRelease=beta","stylelint:fix":"make stylelint-fix","release-major-beta":"release-it major --preRelease=beta","stylelint:overrides":"make stylelint-overrides"},"_npmUser":{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},"repository":{"url":"git+ssh://git@github.com/eea/volto-updatenotifier.git","type":"git"},"_npmVersion":"8.19.4","description":"Add-on to notify browser that a new frontend has been deployed","directories":{},"lint-staged":{"src/**/*.{jsx}":["make i18n"],"src/**/*.overrides":["make stylelint-fix"],"src/**/*.{css,less}":["make stylelint-fix"],"theme/**/*.overrides":["make stylelint-fix"],"theme/**/*.{css,less}":["make stylelint-fix"],"src/**/*.{js,jsx,ts,tsx,json}":["make lint-fix","make prettier-fix"]},"_nodeVersion":"16.20.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"md5":"^2.3.0","husky":"^8.0.3","dotenv":"^16.3.2","cypress":"13.1.0","lint-staged":"^14.0.1","@plone/scripts":"*","cypress-fail-fast":"^5.0.1","@cypress/code-coverage":"^3.10.0","babel-plugin-transform-class-properties":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/volto-updatenotifier_0.1.2_1773991208783_0.21756558375478807","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@eeacms/volto-updatenotifier","version":"0.1.3","description":"Add-on to notify browser that a new frontend has been deployed","main":"src/index.js","author":{"name":"European Environment Agency: IDM2 A-Team"},"license":"MIT","homepage":"https://github.com/eea/volto-updatenotifier","keywords":["volto-addon","volto","plone","react"],"repository":{"type":"git","url":"git+ssh://git@github.com/eea/volto-updatenotifier.git"},"addons":[],"dependencies":{},"devDependencies":{"@cypress/code-coverage":"^3.10.0","@plone/scripts":"*","babel-plugin-transform-class-properties":"^6.24.1","cypress-fail-fast":"^5.0.1","dotenv":"^16.3.2","husky":"^8.0.3","lint-staged":"^14.0.1","md5":"^2.3.0","cypress":"13.1.0"},"lint-staged":{"src/**/*.{js,jsx,ts,tsx,json}":["make lint-fix","make prettier-fix"],"src/**/*.{jsx}":["make i18n"],"theme/**/*.{css,less}":["make stylelint-fix"],"src/**/*.{css,less}":["make stylelint-fix"],"theme/**/*.overrides":["make stylelint-fix"],"src/**/*.overrides":["make stylelint-fix"]},"scripts":{"prepare":"husky install","release":"release-it","release-major-beta":"release-it major --preRelease=beta","release-beta":"release-it --preRelease=beta","bootstrap":"npm install -g ejs; npm link ejs; node bootstrap","test":"make test","test:fix":"make test-update","pre-commit":"yarn stylelint:fix && yarn prettier:fix && yarn lint:fix","stylelint":"make stylelint","stylelint:overrides":"make stylelint-overrides","stylelint:fix":"make stylelint-fix","prettier":"make prettier","prettier:fix":"make prettier-fix","lint":"make lint","lint:fix":"make lint-fix","i18n":"make i18n","cypress:run":"make cypress-run","cypress:open":"make cypress-open"},"gitHead":"36f260a0243558aba79511c718bb5738e5ba3640","bugs":{"url":"https://github.com/eea/volto-updatenotifier/issues"},"_id":"@eeacms/volto-updatenotifier@0.1.3","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-cBGK2EXGhi7wGZHKTmgmm+AIO1P+RWmEloTNXYqDyTUFngcZs1fGPamhdBYVxunnGxlh25BOyPR7C9APKBAR8g==","shasum":"4734d97c84387913207587dae9240599936062ca","tarball":"https://registry.npmjs.org/@eeacms/volto-updatenotifier/-/volto-updatenotifier-0.1.3.tgz","fileCount":19,"unpackedSize":43390,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICr6vr6H4AI7RqdZlda22JkMUEjKrY7anbUbct87BuhgAiAwTnyZyQkOsnH+LGNctcdiGSpoBvMMzbZMahnGkM2x/Q=="}]},"_npmUser":{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},"directories":{},"maintainers":[{"name":"demarant","email":"eeacms@gmail.com"},{"name":"avoinea","email":"contact@avoinea.com"},{"name":"tiberiuichim","email":"tiberiu.ichim@eaudeweb.ro"},{"name":"zotya","email":"zoltan.szabo@eaudeweb.ro"},{"name":"alecghica","email":"alecghica@gmail.com"},{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},{"name":"razvan.miu","email":"miu.razvan28@gmail.com"},{"name":"ichimdav","email":"ichim.david@gmail.com"},{"name":"valentinab25","email":"valentina.balan@gmail.com"},{"name":"nileshgulia1","email":"nileshgulia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/volto-updatenotifier_0.1.3_1773998819517_0.27161992337508223"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-19T11:00:19.304Z","modified":"2026-03-20T09:26:59.963Z","0.1.1":"2026-03-19T11:00:19.537Z","0.1.2":"2026-03-20T07:20:08.922Z","0.1.3":"2026-03-20T09:26:59.659Z"},"bugs":{"url":"https://github.com/eea/volto-updatenotifier/issues"},"author":{"name":"European Environment Agency: IDM2 A-Team"},"license":"MIT","homepage":"https://github.com/eea/volto-updatenotifier","keywords":["volto-addon","volto","plone","react"],"repository":{"type":"git","url":"git+ssh://git@github.com/eea/volto-updatenotifier.git"},"description":"Add-on to notify browser that a new frontend has been deployed","maintainers":[{"name":"demarant","email":"eeacms@gmail.com"},{"name":"avoinea","email":"contact@avoinea.com"},{"name":"tiberiuichim","email":"tiberiu.ichim@eaudeweb.ro"},{"name":"zotya","email":"zoltan.szabo@eaudeweb.ro"},{"name":"alecghica","email":"alecghica@gmail.com"},{"name":"eea-jenkins","email":"eea-jenkins-npm@roles.eea.eionet.europa.eu"},{"name":"razvan.miu","email":"miu.razvan28@gmail.com"},{"name":"ichimdav","email":"ichim.david@gmail.com"},{"name":"valentinab25","email":"valentina.balan@gmail.com"},{"name":"nileshgulia1","email":"nileshgulia@gmail.com"}],"readme":"# @eeacms/volto-updatenotifier\n\nA Volto add-on that notifies users to reload the browser window if a new version of the frontend has been deployed.\n\n## Features\n\n- Adds an Express middleware to serve the frontend version at `/__frontend-version`.\n- Includes a React component (`UpdateNotifier`) that polls the version endpoint.\n- Displays a \"Reload window\" button when a version change is detected.\n\n## Installation\n\n1.  Install the package:\n    ```bash\n    yarn add @eeacms/volto-updatenotifier\n    ```\n\n2.  Add the add-on to your `volto.config.js`:\n    ```javascript\n    const addons = ['@eeacms/volto-updatenotifier'];\n    ```\n\n## How it works\n\n### Express Middleware\nThe add-on registers an Express middleware that serves the `version` from the project's `package.json` at the `/__frontend-version` endpoint.\n\n### UpdateNotifier Component\nThe `UpdateNotifier` component is automatically added to `appExtras`. It polls the `/__frontend-version` endpoint at a regular interval to determine if a new version has been deployed.\n\nWhen the component detects a version change compared to the initial version loaded at startup, it renders a \"Reload window\" button, prompting the user to refresh the page to get the latest updates.\n\n## Copyright and license\n\nThe Initial Owner of the Original Code is European Environment Agency (EEA).\nAll Rights Reserved.\n\nSee [LICENSE.md](https://github.com/eea/volto-updatenotifier/blob/master/LICENSE.md) for details.\n\n## Funding\n\n[European Environment Agency (EU)](http://eea.europa.eu)\n","readmeFilename":"README.md"}