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

feat: typescript v5 #1406

Merged
merged 1 commit into from
May 20, 2024
Merged

feat: typescript v5 #1406

merged 1 commit into from
May 20, 2024

Conversation

yue4u
Copy link
Contributor

@yue4u yue4u commented May 17, 2024

Upgrade to typescript v5 and bump related deps (eslint, jest, typedoc, ...etc)

@@ -1,7 +1,9 @@
import * as THREE from 'three';

const encodingColorSpaceMap: Record<any, '' | 'srgb'> = {
// eslint-disable-next-line @typescript-eslint/naming-convention
Copy link
Contributor Author

@yue4u yue4u May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible to avoid this comment via tweaking eslint config but that needs some regex magic. I think it's easier to disable here.

@@ -53,6 +53,10 @@
{
"selector": "enumMember",
"format": ["PascalCase"]
},
Copy link
Contributor Author

@yue4u yue4u May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for THREE, V1MToonSchema, V0VRM ...

"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think three-vrm still does not require users to use typescript v5 yet after this PR.

Copy link
Contributor Author

@yue4u yue4u May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR to remove downlevel-dts #1302 . I think that is still valid and can be merged either before or after this PR.

@yue4u yue4u requested a review from 0b5vr May 17, 2024 06:17
@0b5vr 0b5vr added the dependencies Pull requests that update a dependency file label May 20, 2024
"cross-env": "^7.0.2",
"downlevel-dts": "^0.11.0",
"eslint": "^7.12.1",
"eslint": "8",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the version specifier intentional? eslint seems to bump minor frequently so it might be reasonable enough to do this though

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESlint v9 is out but not very well supported by plugins for now. Basically this means latest v8 and I don't think there'll be many v8 releases from now on.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure! if it's intentional it's fine

@0b5vr 0b5vr changed the base branch from dev to dev-v3 May 20, 2024 02:46
@0b5vr
Copy link
Contributor

0b5vr commented May 20, 2024

merging into dev-v3.

@0b5vr 0b5vr merged commit 5fa0d88 into dev-v3 May 20, 2024
6 checks passed
@0b5vr 0b5vr deleted the feat/typescript-v5 branch May 20, 2024 02:46
@0b5vr 0b5vr added this to the v3 milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants