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

Update tsconfig.json #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

juliancwirko
Copy link

@juliancwirko juliancwirko commented Jun 11, 2023

The package can't be used appropriately with the current package.json paths to the lib directory and current tsconfig.json file setup.

The solution would be the changes in tsconfig.json:

  1. remove tests from the lib output; we don't need them, do we?
  2. This will flatten the lib directory to match paths defined in the package.json

As additional improvements (not added here):

  1. there is an npm audit error that can be fixed by running npm audit fix. The package-lock.json will need to be pushed then. I wanted to avoid touching the package-lock here.

I saw that it is used like: @multiversx/sdk-transaction-decoder/lib/src/transaction.decoder, so it will probably be a breaking change (sort of, breaking by fixing ;)), but I think it would be worth fixing that

The package can't be used appropriately with the current package.json paths to the lib directory and tsconfig.json file setup. 

The solution would be the changes in tsconfig.json:
1. remove tests from the `lib` output; we don't need them, do we?
2. This will flatten the lib directory to match paths defined in the package.json

As additional improvements (not added here):
1. there is an npm audit error that can be fixed by running `npm audit fix`. The package-lock.json will need to be pushed then. I wanted to avoid touching the package-lock here.
@rahultrivedi1800
Copy link

This requires merging. Important modification.

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