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: convert index.ts file extension to .tsx during cloning #49

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

Conversation

kom-senapati
Copy link
Contributor

/claim #48
Closes #48

@Anshgrover23
Copy link
Contributor

No need to approve, @DrSensor, as I have already requested a review from seve.

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably should close this and someone should fix the backend

const fullPath = path.join(dirPath, filePath)
let fullPath = path.join(dirPath, filePath)
if (filePath === "index.ts")
fullPath = fullPath.replace(".ts", ".tsx")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can't modify the files from the cloud (think of how many problems this would cause with version control), this issue is with the registry api storing package content in index.ts instead of index.tsx CC @imrishabh18

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.

tsci clone package should rename index.ts to index.tsx
4 participants