Frontmatter
| id | 3534 |
| title | buildScripts/adjustVersion |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Oct 6, 2022, 3:49 PM |
| updatedAt | Nov 12, 2022, 1:51 PM |
| githubUrl | https://github.com/neomjs/neo/issues/3534 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 12, 2022, 1:51 PM |

create a small script which grabs the neo version inside the package.json and then adds it into the default config and the service worker. afterwards the SW can check if an app with a new framework version connects and if so purge the cache.
this helps with e.g. the online examples => deploying a new version can cause errors in case you get outdated split chunks.
the script should get added into build-all.