From b9c895bb219c71611e290de963625889b33eba5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 10:04:39 +0000 Subject: [PATCH 1/2] build(deps-dev): bump prettier from 2.2.1 to 2.7.1 Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.7.1. - [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/2.2.1...2.7.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2f4dbce1c..7f215f0d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6593,9 +6593,9 @@ prelude-ls@~1.1.2: integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= prettier@^2.1.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" - integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== + version "2.7.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" From 73350956e5c4d0bb61e1278f4f4495ffa9751696 Mon Sep 17 00:00:00 2001 From: keshigomu Date: Wed, 28 Sep 2022 16:47:14 +0900 Subject: [PATCH 2/2] do yarn lint-fix --- .../src/expressions/VRMExpressionMaterialColorType.ts | 3 ++- .../src/firstPerson/VRMFirstPersonMeshAnnotationType.ts | 3 ++- packages/three-vrm-core/src/humanoid/VRMHumanBones.ts | 5 +++-- packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts | 4 +--- .../src/MToonMaterialOutlineWidthMode.ts | 3 ++- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts b/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts index 6bf9697ae..733e39941 100644 --- a/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts +++ b/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts @@ -9,7 +9,8 @@ export const VRMExpressionMaterialColorType = { OutlineColor: 'outlineColor', } as const; -export type VRMExpressionMaterialColorType = typeof VRMExpressionMaterialColorType[keyof typeof VRMExpressionMaterialColorType]; +export type VRMExpressionMaterialColorType = + typeof VRMExpressionMaterialColorType[keyof typeof VRMExpressionMaterialColorType]; export const v0ExpressionMaterialColorMap: { [key: string]: VRMExpressionMaterialColorType | undefined } = { _Color: VRMExpressionMaterialColorType.Color, diff --git a/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts b/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts index 98f898233..d2748e1e7 100644 --- a/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts +++ b/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts @@ -7,4 +7,5 @@ export const VRMFirstPersonMeshAnnotationType = { FirstPersonOnly: 'firstPersonOnly', } as const; -export type VRMFirstPersonMeshAnnotationType = typeof VRMFirstPersonMeshAnnotationType[keyof typeof VRMFirstPersonMeshAnnotationType]; +export type VRMFirstPersonMeshAnnotationType = + typeof VRMFirstPersonMeshAnnotationType[keyof typeof VRMFirstPersonMeshAnnotationType]; diff --git a/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts b/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts index 6f2d0b473..ec2eec301 100644 --- a/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts +++ b/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts @@ -5,5 +5,6 @@ import type { VRMRequiredHumanBoneName } from './VRMRequiredHumanBoneName'; /** * A map from {@link VRMHumanBoneName} to {@link VRMHumanBone}. */ -export type VRMHumanBones = { [name in VRMHumanBoneName]?: VRMHumanBone } & - { [name in VRMRequiredHumanBoneName]: VRMHumanBone }; +export type VRMHumanBones = { [name in VRMHumanBoneName]?: VRMHumanBone } & { + [name in VRMRequiredHumanBoneName]: VRMHumanBone; +}; diff --git a/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts b/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts index eb31407d6..44c56d1e2 100644 --- a/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts +++ b/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts @@ -11,9 +11,7 @@ const _quatA = new THREE.Quaternion(); * A class represents the normalized Rig of a VRM. */ export class VRMHumanoidRig extends VRMRig { - protected static _setupTransforms( - modelRig: VRMRig, - ): { + protected static _setupTransforms(modelRig: VRMRig): { rigBones: VRMHumanBones; root: THREE.Object3D; parentWorldRotations: { [boneName in VRMHumanBoneName]?: THREE.Quaternion }; diff --git a/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts b/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts index 98d9ed411..b1272e786 100644 --- a/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts +++ b/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts @@ -6,4 +6,5 @@ export const MToonMaterialOutlineWidthMode = { ScreenCoordinates: 'screenCoordinates', } as const; -export type MToonMaterialOutlineWidthMode = typeof MToonMaterialOutlineWidthMode[keyof typeof MToonMaterialOutlineWidthMode]; +export type MToonMaterialOutlineWidthMode = + typeof MToonMaterialOutlineWidthMode[keyof typeof MToonMaterialOutlineWidthMode];