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

Create fake for npm, which is required to test the tsci init #74

Open
imrishabh18 opened this issue Feb 14, 2025 · 1 comment
Open

Create fake for npm, which is required to test the tsci init #74

imrishabh18 opened this issue Feb 14, 2025 · 1 comment

Comments

@imrishabh18
Copy link
Member

imrishabh18 commented Feb 14, 2025

The packages @tscircuit/core are downloaded on initialisation @types/react

@seveibar
Copy link
Contributor

haha this is a good idea- i like it a lot!!!

I think we would want to have these dependencies "preloaded" into the fake. Because of how simple the npm registry is, this fake is almost just a file server.

An alternative approach to "preloading" is to have the fake look at the local node_modules in order to serve the packages. This is more complex but removes the preloading process

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

No branches or pull requests

2 participants