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

ported to ts and added logs #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

FishingHacks
Copy link
Contributor

No description provided.

@RedCrafter07
Copy link
Member

I'll look over it as soon as I can, thank you for your help!

@RedCrafter07 RedCrafter07 self-requested a review August 9, 2023 07:29
Copy link
Member

@RedCrafter07 RedCrafter07 left a comment

Choose a reason for hiding this comment

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

As the pm2 web dashboard was running over JavaScript before, it's still using "node ." for startup. I think it'll be a good idea if you add a startup script to complete your TypeScript Port, with tools like tsx.
I also noticed you haven't installed the types for node. Simply run pnpm i @types/node and you should be ready to go, otherwise tools like fs don't work. (Yes, you can remove the fs package, it isn't functional, it's just there so no one else registers fs because node has it implemented)
Otherwise, great job! 👍

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