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

[FEAT]: dev mode #6

Open
1 task done
mahaoming opened this issue Sep 21, 2022 · 3 comments
Open
1 task done

[FEAT]: dev mode #6

mahaoming opened this issue Sep 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@mahaoming
Copy link

Is there an existing feature request for this?

  • I have searched the existing feature requests

Description

how to use dev

"dev": "tsc -w ./config/tsconfig.esm.json",

Is that right?

Additional Information

No response

@mahaoming mahaoming added the enhancement New feature or request label Sep 21, 2022
@clarkio
Copy link
Collaborator

clarkio commented May 31, 2023

Hi @mahaoming, thanks for opening up this issue and asking about this. It's a good question that I think depends on the type of package you're building. I say this because you could use packages in different ways, such as a dependency in a project or as a CLI tool. With that in mind, a dev script would vary based on what you need the output to be and how you'll use it while developing.

I haven't personally had a lot of experience building CLI tool packages, and I have had more experience building standard packages. In that case, my development workflow would typically result in me running npm link in the directory of the package I'm building, and then, in a separate project I want to test it out in, running npm link <name-of-the-package>.

Does that help a bit? If not, let me know some more specifics on what you're looking to do, and I'll do my best to help.

@clarkio
Copy link
Collaborator

clarkio commented Aug 17, 2023

@mahaoming any chance you've had a moment to review my response yet? Let me know if you have further details to share or if we can close out this issue. Thanks

@clarkio
Copy link
Collaborator

clarkio commented Jan 27, 2025

Hey @mahaoming checking one more time before closing the issue. Have you had a chance to review my prior response and see if that helps? Let me know when you do please. The issue will be automatically closed if no further response is found in 2 weeks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants