kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

chore(deps): update prettier #2113

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@theguild/prettier-config 2.0.1 -> 2.0.2 age adoption passing confidence
prettier (source) 3.0.2 -> 3.1.0 age adoption passing confidence

Release Notes

the-guild-org/shared-config (@​theguild/prettier-config) ### [`v2.0.2`](https://togithub.com/the-guild-org/shared-config/blob/HEAD/packages/prettier-config/CHANGELOG.md#202) [Compare Source](https://togithub.com/the-guild-org/shared-config/compare/@theguild/prettier-config@2.0.1...@theguild/prettier-config@2.0.2) ##### Patch Changes - [#​260](https://togithub.com/the-guild-org/shared-config/pull/260) [`95ac66a`](https://togithub.com/the-guild-org/shared-config/commit/95ac66a4a20e8500705fae81bc435449185f1332) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.1.0` ↗︎](https://www.npmjs.com/package/@​ianvs/prettier-plugin-sort-imports/v/4.1.0) (from `4.0.2`, in `dependencies`) - [#​288](https://togithub.com/the-guild-org/shared-config/pull/288) [`dcf502e`](https://togithub.com/the-guild-org/shared-config/commit/dcf502e8fc51afbe82545a7f34715e29788de88d) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.1.1` ↗︎](https://www.npmjs.com/package/@​ianvs/prettier-plugin-sort-imports/v/4.1.1) (from `4.1.0`, in `dependencies`)
prettier/prettier (prettier) ### [`v3.1.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) 🔗 [Release Notes](https://prettier.io/blog/2023/11/13/3.1.0.html) ### [`v3.0.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) [diff](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) ##### Add `preferUnplugged: true` to `package.json` ([#​15169](https://togithub.com/prettier/prettier/pull/15169) by [@​fisker](https://togithub.com/fisker) and [@​so1ve](https://togithub.com/so1ve)) Prettier v3 uses dynamic imports, user [will need to unplug Prettier](https://togithub.com/yarnpkg/berry/pull/5411#issuecomment-1523502224) when Yarn's PnP mode is enabled, add [`preferUnplugged: true`](https://yarnpkg.com/configuration/manifest#preferUnplugged) to `package.json`, so Yarn will install Prettier as unplug by default. ##### Support shared config that forbids `require()` ([#​15233](https://togithub.com/prettier/prettier/pull/15233) by [@​fisker](https://togithub.com/fisker)) If an external shared config package is used, and the package `exports` don't have `require` or `default` export. In Prettier 3.0.2 Prettier fails when attempt to `require()` the package, and throws an error. ```text Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /package.json ``` ##### Allow argument of `require()` to break ([#​15256](https://togithub.com/prettier/prettier/pull/15256) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); // Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..")); // Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); ``` ##### Do not print trailing commas in arrow function type parameter lists in `ts` code blocks ([#​15286](https://togithub.com/prettier/prettier/pull/15286) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ````md ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```` ##### Support TypeScript 5.2 `using` / `await using` declaration ([#​15321](https://togithub.com/prettier/prettier/pull/15321) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for the upcoming Explicit Resource Management feature in ECMAScript. [`using` / `await using` declaration](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management) ```tsx { using foo = new Foo(); await using bar = new Bar(); } ```

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



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

changeset-bot[bot] commented 10 months ago

⚠️ No Changeset found

Latest commit: 1df15d615de32dfdc2df8682465d4ac758a37c69

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 10 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://33cb83f6.apollo-angular.pages.dev](https://33cb83f6.apollo-angular.pages.dev)
github-actions[bot] commented 10 months ago

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets): Package Version Info
apollo-angular 6.0.0-alpha-20231122070903-1df15d61 npm ↗︎ unpkg ↗︎