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(deps): update dependency prettier to v2.8.5 #7865

Merged
merged 2 commits into from
Mar 20, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 2.8.4 -> 2.8.5 age adoption passing confidence

Release Notes

prettier/prettier

v2.8.5

Compare Source

diff

Support TypeScript 5.0 (#​14391 by @​fisker, #​13819 by @​fisker, @​sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

  • const modifiers for type parameters
  • export type * declarations
Add missing parentheses for decorator (#​14393 by @​fisker)
// Input
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}

// Prettier 2.8.4
class Person {
  @​myDecoratorArray[0]
  greet() {}
}

// Prettier 2.8.5
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}
Add parentheses for TypeofTypeAnnotation to improve readability (#​14458 by @​fisker)
// Input
type A = (typeof node.children)[];

// Prettier 2.8.4
type A = typeof node.children[];

// Prettier 2.8.5
type A = (typeof node.children)[];
Support max_line_length=off when parsing .editorconfig (#​14516 by @​josephfrazier)

If an .editorconfig file is in your project and it sets max_line_length=off for the file you're formatting,
it will be interpreted as a printWidth of Infinity rather than being ignored
(which previously resulted in the default printWidth of 80 being applied, if not overridden by Prettier-specific configuration).

<!-- Input -->
<div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/>

<!-- Prettier 2.8.4 -->
<div
  className="HelloWorld"
  title={`You are visitor number ${num}`}
  onMouseOver={onMouseOver}
/>;

<!-- Prettier 2.8.5 -->
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />;

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the release:chore This PR is a chore (means nothing for users) label Mar 20, 2023
@replay-io
Copy link

replay-io bot commented Mar 20, 2023

16 replays were recorded for 41292f9.

image 0 Failed
image 16 Passed
    requireAuth graphql checks
          ```
          locator.waitFor: Target closed
          =========================== logs ===========================
          waiting for locator('.rw-form-error-title').locator('text=You don\'t have permission to do that') to be visible
          ============================================================
          ```
        </ol>
      </details>
      <li><a href=https://app.replay.io/recording/158fbbfb-cdec-408d-a2e9-aad8dd71c44a>useAuth hook, auth redirects checks</a></li>
      <li><a href=https://app.replay.io/recording/45267dec-bf48-41ae-b957-830f0e2351f2>Check that a specific blog post is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/19fc6aed-33c8-4014-af35-c66bf4d837fb>Check that about is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/ac977683-519a-4f8d-9cde-8201fea234c1>Check that homepage is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/4c3b7d1d-51f3-43d4-be1f-1739ec60ab4b>Check that meta-tags are rendering the correct dynamic data</a></li>
      <li><a href=https://app.replay.io/recording/95a3f1a6-bdba-4a46-afc5-a2d93d8e039e>Check that you can navigate from home page to specific blog post</a></li>
      <li><a href=https://app.replay.io/recording/32f06c15-c710-40d9-877d-380ac73bd239>Waterfall prerendering (nested cells)</a></li>
      <li><a href=https://app.replay.io/recording/86931464-5918-415c-9d7e-92a2518453e1>RBAC: Admin user should be able to delete contacts</a></li>
      <li><a href=https://app.replay.io/recording/2210d8ce-75aa-497e-bbaa-348cb6b2d25e>RBAC: Should not be able to delete contact as non-admin user</a></li>
      <li><a href=https://app.replay.io/recording/f8f0fa3e-ba61-442d-b5ec-4c706f5ebfd8>Smoke test with dev server</a></li>
      <li><a href=https://app.replay.io/recording/d380d317-d86d-46a1-ae4b-852b6a76ca65>Smoke test with rw serve</a></li>
      <li><a href=https://app.replay.io/recording/9f048336-6dc5-4757-9d58-410348c2c553>Loads Cell mocks when Cell is nested in another story</a></li>
      <li><a href=https://app.replay.io/recording/3c8751a1-a079-4d1d-85bb-30582812034a>Loads Cell Stories</a></li>
      <li><a href=https://app.replay.io/recording/84f33010-37d4-4692-945e-a5511dd57146>Loads MDX Stories</a></li>
      <li><a href=https://app.replay.io/recording/1766c0ae-4275-4cb2-b3a5-be8b28d0bb05>Mocks current user, and updates UI while dev server is running</a></li>
      

View test run on Replay ↗︎

@renovate renovate bot force-pushed the renovate/prettier-2.x branch 2 times, most recently from 18dc0a5 to 60edf70 Compare March 20, 2023 12:19
@renovate renovate bot force-pushed the renovate/prettier-2.x branch 2 times, most recently from aeb4e54 to 52ddd25 Compare March 20, 2023 14:42
@jtoar jtoar merged commit 2bfb4aa into main Mar 20, 2023
@jtoar jtoar deleted the renovate/prettier-2.x branch March 20, 2023 15:54
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Mar 20, 2023
@thedavidprice thedavidprice modified the milestones: next-release, v4.4.0 Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants