Skip to content

Commit 2dc011e

Browse files
committed
wip: add api-extractor.json to each pkg
1 parent 25b13a6 commit 2dc011e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3813
-1769
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/packages/*/ts*/
77
/packages/*/types
88
/packages/*/temp
9+
tsdoc-metadata.json

api-extractor.base.json

Lines changed: 456 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3+
"extends": "../../api-extractor.base.json"
4+
}

packages/three-vrm-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"main": "lib/three-vrm-core.js",
1414
"module": "lib/three-vrm-core.module.js",
15-
"types": "types/index.d.ts",
15+
"types": "lib/index.d.ts",
1616
"typesVersions": {
1717
"<3.9": {
1818
"*": [
@@ -32,7 +32,7 @@
3232
"build": "yarn build-dev && yarn build-prod && yarn build-types",
3333
"build-dev": "cross-env NODE_ENV=development rollup -c",
3434
"build-prod": "cross-env NODE_ENV=production rollup -c",
35-
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
35+
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && api-extractor run --local && downlevel-dts types ts3.4/types && rimraf types",
3636
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
3737
"test": "jest",
3838
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",

packages/three-vrm-core/src/lookAt/VRMLookAt.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ export class VRMLookAt {
7373
return this._yaw;
7474
}
7575

76-
/**
77-
* Its current angle around Y axis, in degree.
78-
*/
7976
public set yaw(value: number) {
8077
this._yaw = value;
8178
this._needsUpdate = true;
@@ -93,16 +90,13 @@ export class VRMLookAt {
9390
return this._pitch;
9491
}
9592

96-
/**
97-
* Its current angle around X axis, in degree.
98-
*/
9993
public set pitch(value: number) {
10094
this._pitch = value;
10195
this._needsUpdate = true;
10296
}
10397

10498
/**
105-
* Specifies that angles need to be applied to its [@link applier].
99+
* Specifies that angles need to be applied to its {@link applier}.
106100
*/
107101
protected _needsUpdate: boolean;
108102

0 commit comments

Comments
 (0)