-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
add ts declaration for package and check node version on initial star… #2124
Conversation
…t and move the gitnore to rool level
I added a unit test for this code. |
Thanks @JerryWu1234 for the contribution! I've added some comments |
@@ -0,0 +1,667 @@ | |||
declare namespace PackageJsonTypes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was copied from https://www.npmjs.com/package/type-fest. Shall we just add this as a dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had done it to install this library before.
But there is a lot of code we didn't use it.
if we need to get more declarations from this library, we can change to that library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in spite of it not being important, it will waste our time installing dependency when it’s the first time to contribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
Your welcome |
…t and move the gitnore to rool level
fix #2094
three points
3.Move the .gitignore file to the root level, move the code to the create-toolpad-app folder, and remove the redundant code.