DEV Community

Discussion on: How To Display App Version in Angular

 
zmrfzn profile image
Zameer Fouzan

On your build pipeline, you could write a custom script that can extract necessary information from package.json and add it to new JSON file e.g. versionInfo.json.
Have the same file checked-in for local dev usage.
You can securely copy this and use this.

Thread Thread
 
halfist profile image
Halfist

Excuse me, but copy what? Did you paste a code snippet I can't see?