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

Fix TypeScript compiler setup #106

Merged
merged 3 commits into from
May 10, 2024
Merged

Conversation

CharlesMangwa
Copy link
Contributor

@CharlesMangwa CharlesMangwa commented May 7, 2024

Motivation 💪

This PR fixes a couple of small details that were overlooked when adding TypeScript support in #104, which led to the library v1.18.0 not being installable.

Changes 🔧

This is the outcome of trying to install v1.18.0 in a TypeScript-powered project 🔴

Screenshot 2024-05-07 at 10 24 19

This is the result after the changes suggested by this PR ✅

Screenshot 2024-05-07 at 10 57 03

The initial approach with `tsc` being run during the `prepare` phases works when packages are delivered through a package manager.

However, since the library is being installed via GitHub, that script is never run, hence the need for this change.
@eduzatoni eduzatoni merged commit ddb8130 into emartech:master May 10, 2024
1 check passed
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