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

fix: use relative imports #795

Merged
merged 1 commit into from Nov 28, 2021
Merged

fix: use relative imports #795

merged 1 commit into from Nov 28, 2021

Conversation

ph-fritsche
Copy link
Member

What:

Fix broken import.
Fix config.

Why:

The previous configuration allowed to import per path alias which also was suggested by IDE.
But the build script does not support paths from tsconfig.json. This resulted in a broken export without any complains in CI.

How:

Split the config for src and tests. Add paths to the latter to keep the more readable imports.
For src overwrite the baseUrl setting from shared config and remove paths so that only features supported by build script are suggested by IDE and accepted by typecheck script.

Rename the remaining .js tests because somehow this tsconfig does not work per eslint. 馃し

Checklist:

  • Tests
  • Ready to be merged

@ph-fritsche ph-fritsche added this to the userEvent v14 milestone Nov 28, 2021
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 22a08c6:

Sandbox Source
userEvent-PR-template Configuration

@codecov
Copy link

codecov bot commented Nov 28, 2021

Codecov Report

Merging #795 (22a08c6) into alpha (4873895) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             alpha      #795   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           77        77           
  Lines         1568      1568           
  Branches       576       576           
=========================================
  Hits          1568      1568           
Impacted Files Coverage 螖
src/utility/upload.ts 100.00% <酶> (酶)

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 4873895...22a08c6. Read the comment docs.

@ph-fritsche ph-fritsche merged commit 4adb909 into alpha Nov 28, 2021
@ph-fritsche ph-fritsche deleted the feat-uploadinit branch November 28, 2021 10:26
@github-actions
Copy link

馃帀 This PR is included in version 14.0.0-alpha.18 馃帀

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant