Because of how we are building our SDK now with the ES Module addition in #477 it has caused importing the package.json file to be a bit more tricky given that it no longer exists one directory up. Instead we just generate a version file post-build and during the npm version call and we pull the version from that file. The file is written, and sources the version from, the package.json file.
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Description
Because of how we are building our SDK now with the ES Module addition in #477 it has caused importing the package.json file to be a bit more tricky given that it no longer exists one directory up. Instead we just generate a version file post-build and during the
npm version
call and we pull the version from that file. The file is written, and sources the version from, the package.json file.License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.