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

chore(atomic): fix tsconfig resolution for the e2e folders #4462

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

alexprudhomme
Copy link
Contributor

https://coveord.atlassian.net/browse/KIT-3604

In order to fix this problem, we have to tell the TS server to use "moduleResolution":"Bundler" & "module": "ES2022" for the e2e/ folders. They are currently excluded in the atomic root tsconfig which is why we get the error here.
image

This is the solution I came up with, we would now have a tsconfig for the IDE, a tsconfig for the stencil compilation, a tsconfig for the storybook compilation and a tsconfig for playwright eslint rules 😅 . If anyone has a better idea I am very open to it.

Copy link

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 235.9 235.9 0
commerce 339.1 339.1 0
search 409.5 409.5 0
insight 395.4 395.4 0
recommendation 248.5 248.5 0
ssr 403.5 403.5 0
ssr-commerce 351.4 351.4 0

SSR Progress

Use case SSR (#) CSR (#) Progress (%)
search 39 44 89
recommendation 0 4 0
case-assist 0 6 0
insight 0 27 0
commerce 0 15 0
Detailed logs search : buildInteractiveResult
search : buildInteractiveInstantResult
search : buildInteractiveRecentResult
search : buildInteractiveCitation
search : buildGeneratedAnswer
recommendation : missing SSR support
case-assist : missing SSR support
insight : missing SSR support
commerce : missing SSR support

@alexprudhomme alexprudhomme enabled auto-merge (squash) September 25, 2024 14:48
@alexprudhomme alexprudhomme merged commit 2a037ff into master Sep 25, 2024
112 checks passed
@alexprudhomme alexprudhomme deleted the KIT-3604 branch September 25, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants