The pnpm-lock.yaml file is not updated with the changes made to package.json. According to the log, there is a mismatch in the order of packages between the two files:
In the pnpm-lock.yaml file: Packages are ordered as dependencies and then devDependencies
In the package.json file: Packages are ordered as devDependencies and then dependencies