Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prettierignore only aws-models #1119

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Apr 27, 2020

Issue #, if available:
Fixes #1115

Description of changes:

  • codegen/* was added to .prettierignore in chore(deps-dev): bump prettier to v2 with .prettierrc #1083 as the checked-in code from codegen folder should not be prettified.
  • This impacted prettification of temporary code which is stored in codegen/sdk-codegen/build/smithyprojections/sdk-codegen folder

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr
Copy link
Member Author

trivikr commented Apr 27, 2020

Verified that generated clients are prettified:

$ yarn generate-clients -g codegen/sdk-codegen/aws-models/iam.2010-05-08.json
...

$ git status
On branch prettier-ignore-only-models
Your branch is up to date with 'origin/prettier-ignore-only-models'.

nothing to commit, working tree clean

@trivikr trivikr merged commit c325e8b into aws:master Apr 27, 2020
@trivikr trivikr deleted the prettier-ignore-only-models branch April 27, 2020 19:55
@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • CodeBuild project: sdk-staging-test
  • Commit ID: b3fdb3a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@lock
Copy link

lock bot commented May 5, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] yarn generate-clients doesn't prettify code
3 participants