Skip to content

Commit

Permalink
chore!: remove downlevel-dts
Browse files Browse the repository at this point in the history
  • Loading branch information
yue4u committed Sep 29, 2023
1 parent 0243521 commit 2b34689
Show file tree
Hide file tree
Showing 90 changed files with 56 additions and 189 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/packages/*/docs
/packages/*/lib
/packages/*/ts*/
/packages/*/types
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"cross-env": "^7.0.2",
"downlevel-dts": "^0.11.0",
"eslint": "^7.12.1",
"eslint-config-mdcs": "^5.0.0",
"eslint-config-prettier": "^8.3.0",
Expand Down
1 change: 1 addition & 0 deletions packages/three-vrm-core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
9 changes: 1 addition & 8 deletions packages/three-vrm-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm-core.js",
"module": "lib/three-vrm-core.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"test": "jest",
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm-materials-hdr-emissive-multiplier.js",
"module": "lib/three-vrm-materials-hdr-emissive-multiplier.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-examples": "eslint \"examples/**/*.{ts,tsx,js,html}\" --rule \"padded-blocks: error\"",
Expand Down
1 change: 1 addition & 0 deletions packages/three-vrm-materials-mtoon/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
9 changes: 1 addition & 8 deletions packages/three-vrm-materials-mtoon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm-materials-mtoon.js",
"module": "lib/three-vrm-materials-mtoon.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-examples": "eslint \"examples/**/*.{ts,tsx,js,html}\" --rule \"padded-blocks: error\"",
Expand Down
1 change: 1 addition & 0 deletions packages/three-vrm-materials-v0compat/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
9 changes: 1 addition & 8 deletions packages/three-vrm-materials-v0compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm-materials-v0compat.js",
"module": "lib/three-vrm-materials-v0compat.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --project ./tsconfig.build-types.json && downlevel-dts types ts3.4/types",
"build-types": "tsc --project ./tsconfig.build-types.json",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write"
Expand Down
1 change: 1 addition & 0 deletions packages/three-vrm-node-constraint/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
9 changes: 1 addition & 8 deletions packages/three-vrm-node-constraint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm-node-constraint.js",
"module": "lib/three-vrm-node-constraint.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --project ./tsconfig.build-types.json && downlevel-dts types ts3.4/types",
"build-types": "tsc --project ./tsconfig.build-types.json",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"test": "jest",
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
Expand Down
1 change: 1 addition & 0 deletions packages/three-vrm-springbone/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
9 changes: 1 addition & 8 deletions packages/three-vrm-springbone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm-springbone.js",
"module": "lib/three-vrm-springbone.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"test": "jest",
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
Expand Down
1 change: 1 addition & 0 deletions packages/three-vrm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
types/
9 changes: 1 addition & 8 deletions packages/three-vrm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"main": "lib/three-vrm.js",
"module": "lib/three-vrm.module.js",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
Expand All @@ -33,7 +26,7 @@
"build": "yarn build-dev && yarn build-prod && yarn build-types",
"build-dev": "cross-env NODE_ENV=development rollup -c",
"build-prod": "cross-env NODE_ENV=production rollup -c",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"test": "echo There is no test for three-vrm",
"lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
Expand Down
19 changes: 5 additions & 14 deletions packages/types-vrm-0.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,26 @@
"license": "MIT",
"author": "pixiv",
"files": [
"/ts*/",
"/types/",
"LICENSE"
],
"main": "",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
"directory": "packages/types-vrm-0.0"
},
"scripts": {
"version": "yarn all",
"all": "yarn lint && yarn clean && yarn build && yarn docs",
"all": "yarn lint && yarn clean && yarn docs",
"clean": "rimraf docs/ ts*/ types/",
"build": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write"
"docs": "typedoc --entryPoints ./types/index.d.ts --out docs",
"lint": "eslint \"types/**/*.{ts,tsx}\" && prettier \"types/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"types/**/*.{ts,tsx}\" --fix && prettier \"types/**/*.{ts,tsx}\" --write"
},
"lint-staged": {
"./src/**/*.{ts,tsx}": [
"./types/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
Expand Down
2 changes: 1 addition & 1 deletion packages/types-vrm-0.0/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../tsconfig.json",
"include": [
"./src"
"./types"
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,26 @@
"license": "MIT",
"author": "pixiv",
"files": [
"/ts*/",
"/types/",
"LICENSE"
],
"main": "",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
"directory": "packages/types-vrmc-materials-hdr-emissive-multiplier-1.0"
},
"scripts": {
"version": "yarn all",
"all": "yarn lint && yarn clean && yarn build && yarn docs",
"all": "yarn lint && yarn clean && yarn docs",
"clean": "rimraf docs/ ts*/ types/",
"build": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write"
"docs": "typedoc --entryPoints ./types/index.d.ts --out docs",
"lint": "eslint \"types/**/*.{ts,tsx}\" && prettier \"types/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"types/**/*.{ts,tsx}\" --fix && prettier \"types/**/*.{ts,tsx}\" --write"
},
"lint-staged": {
"./src/**/*.{ts,tsx}": [
"./types/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../tsconfig.json",
"include": [
"./src"
"./types"
]
}
21 changes: 6 additions & 15 deletions packages/types-vrmc-materials-mtoon-1.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,26 @@
"license": "MIT",
"author": "pixiv",
"files": [
"/ts*/",
"/types/",
"LICENSE"
],
"main": "",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
"directory": "packages/types-vrmc-materials-mtoon-1.0"
},
"scripts": {
"version": "yarn all",
"all": "yarn lint && yarn clean && yarn build && yarn docs",
"clean": "rimraf docs/ ts*/ types/",
"build": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write"
"all": "yarn lint && yarn clean && yarn docs",
"clean": "rimraf docs/",
"docs": "typedoc --entryPoints ./types/index.d.ts --out docs",
"lint": "eslint \"types/**/*.{ts,tsx}\" && prettier \"types/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"types/**/*.{ts,tsx}\" --fix && prettier \"types/**/*.{ts,tsx}\" --write"
},
"lint-staged": {
"./src/**/*.{ts,tsx}": [
"./types/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
Expand Down
2 changes: 1 addition & 1 deletion packages/types-vrmc-materials-mtoon-1.0/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../tsconfig.json",
"include": [
"./src"
"./types"
]
}
21 changes: 6 additions & 15 deletions packages/types-vrmc-node-constraint-1.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,26 @@
"license": "MIT",
"author": "pixiv",
"files": [
"/ts*/",
"/types/",
"LICENSE"
],
"main": "",
"types": "types/index.d.ts",
"typesVersions": {
"<3.9": {
"*": [
"ts3.4/*"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/pixiv/three-vrm.git",
"directory": "packages/types-vrmc-node-constraint-1.0"
},
"scripts": {
"version": "yarn all",
"all": "yarn lint && yarn clean && yarn build && yarn docs",
"clean": "rimraf docs/ ts*/ types/",
"build": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
"docs": "typedoc --entryPoints ./src/index.ts --out docs",
"lint": "eslint \"src/**/*.{ts,tsx}\" && prettier \"src/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write"
"all": "yarn lint && yarn clean && yarn docs",
"clean": "rimraf docs/",
"docs": "typedoc --entryPoints ./types/index.d.ts --out docs",
"lint": "eslint \"types/**/*.{ts,tsx}\" && prettier \"types/**/*.{ts,tsx}\" --check",
"lint-fix": "eslint \"types/**/*.{ts,tsx}\" --fix && prettier \"types/**/*.{ts,tsx}\" --write"
},
"lint-staged": {
"./src/**/*.{ts,tsx}": [
"./types/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
Expand Down
2 changes: 1 addition & 1 deletion packages/types-vrmc-node-constraint-1.0/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../tsconfig.json",
"include": [
"./src"
"./types"
]
}
Loading

0 comments on commit 2b34689

Please sign in to comment.