Copies the version field from package.json into manifest.json in the same directory. Used after changeset version to keep the browser extension manifest version in sync with the npm package version.
sync-manifest <dir>Where <dir> is the package directory containing both package.json and manifest.json.
sync-manifest packages/devtools-extensionReads packages/devtools-extension/package.json, extracts the version field, and writes it into packages/devtools-extension/manifest.json.
Typically wired into the changeset version workflow:
{
"scripts": {
"version": "changeset version && sync-manifest packages/devtools-extension"
}
}MIT