build(deps-dev): bump prettier from 3.0.3 to 3.1.0 (#2114)

* build(deps-dev): bump prettier from 3.0.3 to 3.1.0

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* auto formatting for prettier 3.1.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
dependabot[bot]
2023-11-15 22:55:10 +00:00
committed by GitHub
co-authored by David Lechner
parent c2b36ee066
commit 1a57e4396c
4 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -164,7 +164,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-total-functions": "^6.10.5",
"eslint-webpack-plugin": "^4.0.1",
"prettier": "^3.0.3"
"prettier": "^3.1.0"
},
"packageManager": "yarn@3.3.0",
"resolutions": {
+6 -6
View File
@@ -41,12 +41,12 @@ type Prev = [
type Paths<T, D extends number = 10> = [D] extends [never]
? never
: T extends object
? {
[K in keyof T]-?: K extends string | number
? `${K}` | Join<K, Paths<T[K], Prev[D]>>
: never;
}[keyof T]
: '';
? {
[K in keyof T]-?: K extends string | number
? `${K}` | Join<K, Paths<T[K], Prev[D]>>
: never;
}[keyof T]
: '';
/**
* Interface for {@link I18n} that provides strong type checking for
+3 -3
View File
@@ -180,9 +180,9 @@ const DragBetweenLine: React.FunctionComponent<
draggingPosition.linePosition === 'top'
? '0px'
: draggingPosition.targetType === 'between-items' &&
draggingPosition.linePosition === 'bottom'
? '-4px'
: '-2px',
draggingPosition.linePosition === 'bottom'
? '-4px'
: '-2px',
left: `${draggingPosition.depth * 23}px`,
height: '4px',
backgroundColor: Colors.BLUE3,
+5 -5
View File
@@ -2745,7 +2745,7 @@ __metadata:
postcss-loader: ^7.3.3
postcss-normalize: ^10.0.1
postcss-preset-env: ^9.3.0
prettier: ^3.0.3
prettier: ^3.1.0
prompts: ^2.4.2
prop-types: ^15.8.1
pyodide: 0.24.1
@@ -13701,12 +13701,12 @@ __metadata:
languageName: node
linkType: hard
"prettier@npm:^3.0.3":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
"prettier@npm:^3.1.0":
version: 3.1.0
resolution: "prettier@npm:3.1.0"
bin:
prettier: bin/prettier.cjs
checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0
checksum: 44b556bd56f74d7410974fbb2418bb4e53a894d3e7b42f6f87779f69f27a6c272fa7fc27cec0118cd11730ef3246478052e002cbd87e9a253f9cd04a56aa7d9b
languageName: node
linkType: hard