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

build(deps-dev): bump prettier from 2.2.1 to 2.7.1 #993

Merged
merged 2 commits into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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 };
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