Skip to content

Commit

Permalink
chore(angular): proxies file is ignored by prettier (#28379)
Browse files Browse the repository at this point in the history
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

Prettier is configured to ignore the `proxies.ts` file in the `src`
directory only. This means it is adjusting whitespace/commas/etc on the
`proxies.ts` file in the `standalone` directory which we do not want
because we will always get diffs whenever `npm run build` is run in
`core`.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Updated prettier config to ignore all `proxies.ts` files in the
`angular` package
- Re-generated the proxies file

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
  • Loading branch information
liamdebeasi authored Oct 18, 2023
1 parent 6b7d288 commit 068d003
Show file tree
Hide file tree
Showing 2 changed files with 283 additions and 565 deletions.
2 changes: 1 addition & 1 deletion packages/angular/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dist
scripts
test
src/directives/proxies.ts
proxies.ts
src/directives/proxies-list.ts
src/directives/angular-component-lib/utils.ts
Loading

0 comments on commit 068d003

Please sign in to comment.