Show installed component version in the client #450
Replies: 1 comment
-
The following update was added to the WC Generator. This and an update to the Additionally, there was an update to the WC-Generator/template/package.json Lines 112 to 119 in 2755e1d WC-Generator/template/package.json Line 159 in 2755e1d What is happening here?These updates do a handful of things. Leveraging semantic-release, in the remote, a build happens. This build performs a handful of actions in preparation for release. One is, after evaluating the commit message, semantic-release preps the next semver. The It's at this time that the Ideally, we can add any build step here to accomplish this feature. These updates would address the issue of version management commented in the discussion and this does not require the use of dry-run. |
Beta Was this translation helpful? Give feedback.
-
Shared Discussed in #511
Something that has come up repeatedly is that users would LOVE to know the version of the element loaded into the client and showing in the UI.
The ask is, how can we do this? An attempt to do this was made with this feature update to auro-button where the version was used as an attribute in the DOM.
That felt like a good idea at the time, but maybe we do something different like have this print in the console?
One issue that was never resolved was that the bundled version was always a release behind because the bundled version's package.json was NOT updated after the release as this is an additional commit to the repo. A possible solution is to use a dry run.
Beta Was this translation helpful? Give feedback.
All reactions