Open pablo-mayrgundter opened 2 years ago
Version is now hardcoded in 4 places, which must be kept in sync manually. This should be centralized.
tool/package.json lib/package.json lib/src/version.js
Preferred approach currently is similar to https://github.com/bldrs-ai/Share/blob/main/src/utils/version.mjs, probably just modify this code to modify the string in a list of files.
Alternately, could import package.json but this isn't backwards compatible with node 14, which is still in our support set.
import package.json
Version is now hardcoded in 4 places, which must be kept in sync manually. This should be centralized.
Preferred approach currently is similar to https://github.com/bldrs-ai/Share/blob/main/src/utils/version.mjs, probably just modify this code to modify the string in a list of files.
Alternately, could
import package.json
but this isn't backwards compatible with node 14, which is still in our support set.