Skip to content

Commit

Permalink
Merge pull request #993 from pixiv/dependabot/npm_and_yarn/prettier-2…
Browse files Browse the repository at this point in the history
….7.1

build(deps-dev): bump prettier from 2.2.1 to 2.7.1
  • Loading branch information
ke456-png authored Sep 28, 2022
2 parents 594567d + 7335095 commit 3fbe142
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
5 changes: 3 additions & 2 deletions packages/three-vrm-core/src/humanoid/VRMHumanBones.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
4 changes: 1 addition & 3 deletions packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const _boneWorldPos = new THREE.Vector3();
* 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 };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3fbe142

Please sign in to comment.