Closed
Description
Describe the bug
- CodeGen reformats package.json after prettier is run
- Prettier is run before copying to clients folder
aws-sdk-js-v3/scripts/generate-clients/index.js
Lines 25 to 26 in 6c0af9c
- In chore: copy package.json properly #900, the package.json was reformatted using JSON.stringify
- This is not an issue right now, as codegen is manually run and lint-staged runs prettier on package.json on precommit. But this will become an issue when codegen is run in release scripts.
To Reproduce (observed behavior)
Run yarn generate-clients -m models
, and notice that it updates all package.json files
Expected behavior
The codegen should emit prettified code