Skip to content

Conversation

holgerd77
Copy link
Member

@holgerd77 holgerd77 commented Jul 20, 2023

Closes #2900

This PR adds a post-build step to add JSON type assertion additions based on a modified version of the sed regex command from @acolytec3.

Phew, this was tricky. Together with another commit I will push after PR submission I am now confident that things work, I tested both on Ubuntu (CLI) and Mac OS (CLI + Script).

Also checked for the .js-e files being gone and the changes being applied on the JSON imports.

Open for review.

@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #2908 (de2b48f) into master (d19ee0e) will decrease coverage by 0.03%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 88.66% <ø> (ø)
blockchain 92.58% <ø> (ø)
client 88.27% <ø> (-0.03%) ⬇️
common 97.13% <ø> (ø)
ethash ∅ <ø> (∅)
evm 69.95% <ø> (ø)
rlp ∅ <ø> (?)
statemanager 85.16% <ø> (ø)
trie 90.29% <ø> (-0.28%) ⬇️
tx 95.96% <ø> (ø)
util 86.77% <ø> (ø)
vm 78.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@holgerd77
Copy link
Member Author

Superseded by #2911 (alternative solution to remove JSON imports all together), will close.

@holgerd77 holgerd77 closed this Jul 21, 2023
@holgerd77 holgerd77 deleted the post-built-type-assertion-addition branch July 21, 2023 15:01
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.

Dealing with ESM requirement for import assertions JSON imports

2 participants