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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support TS5 extends array #45

Conversation

shun-shobon
Copy link
Contributor

Supports Multiple Configuration Files in extends, supported in TS 5.0.
types-fest does not yet support multiple files, but I have created a PR and will soon. 馃槈

fix #44

@privatenumber
Copy link
Owner

Can you add tests?

@shun-shobon
Copy link
Contributor Author

shun-shobon commented Mar 17, 2023

I added a test and upgraded TypeScript to 5.0 for testing. But it is causing a type error at the test because types-fest is not compatible with TS5.0.

"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": false,
"editor.formatOnPaste": false
Copy link
Owner

Choose a reason for hiding this comment

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

Revert

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 eliminated this change from the commit tree.

@@ -25,7 +25,7 @@ function resolveFromPackageJsonPath(packageJsonPath: string) {
);
}

export function resolveExtends(
export function resolveExtendsPath(
Copy link
Owner

Choose a reason for hiding this comment

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

Revert

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 changed it because its name conflicted with the new function created. I don't have any idea of new naming of the function. Can you help it?

@shun-shobon shun-shobon force-pushed the feature/support-multiple-extends branch from 63c77fd to 5dfd2c0 Compare March 18, 2023 14:48
@privatenumber
Copy link
Owner

Will release after sindresorhus/type-fest#580

@shun-shobon
Copy link
Contributor Author

OK. Thank you for reviewing and refactoring!

@privatenumber privatenumber changed the title feat: Support multiple configuration files in extends feat: support TS5 extends array Mar 26, 2023
@privatenumber privatenumber merged commit c88b05a into privatenumber:develop Mar 26, 2023
2 of 3 checks passed
@privatenumber
Copy link
Owner

馃帀 This PR is included in version 4.5.0 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for TS v5's multiple config extensions
3 participants