This PR updates the scripts in the packages/design-tokens/package.json file to make the scripts work better with our GitHub Actions CI environment.
The scripts work the same with the exception of the prepare-npm-package script, which now includes an additional step to copy the latest package.json version field into the dist/package.json file that gets distributed on npm. This requires jq to be installed on a developer's machine when running locally, but our GitHub Actions workflow file to publish new design token packages already includes a step to install jq.
This PR updates the scripts in the
packages/design-tokens/package.json
file to make the scripts work better with our GitHub Actions CI environment.The scripts work the same with the exception of the
prepare-npm-package
script, which now includes an additional step to copy the latestpackage.json
version field into thedist/package.json
file that gets distributed on npm. This requiresjq
to be installed on a developer's machine when running locally, but our GitHub Actions workflow file to publish new design token packages already includes a step to installjq
.