You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In decentapp-template, we'd like a package.json command like "npm run bump-version" that increments the version both in package.json and the public/app-metadata.json file.
It should increment just the last number in a version string, e.g. "1.0.1" -> "1.0.2".
You could do it different ways, but probably a Node script works fine. The convention I've used in other projects is putting these "DevOps" or non-run-time scripts under "/scripts". Then from package.json, define a command like "node ./scripts/bumpVersion.ts". If you want to use Typescript, it's okay to require v22 or higher of Node supporting type-stripping.
Activity