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

chore(dependencies): clean and fix the template dependencies #16

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

Conversation

harish-aka-shivi
Copy link
Collaborator

@harish-aka-shivi harish-aka-shivi commented Feb 3, 2020

Description

  • Make changes to dependencies in the template.json
  • Remove unused dependencies in the package.json
  • Automate the dependencies management in the template.json
  • Remove the prop-types errors.

Check List

If not relevant to pull request, check off as complete

  • All tests passing
  • Docs updated with any changes or examples if applicable
  • Added tests to ensure new feature(s) work properly

Relevant Issues

#15

This commit also fixes the prop types error
@harish-aka-shivi harish-aka-shivi changed the title [WIP] chore(dependencies): clean and fix the template dependencies chore(dependencies): clean and fix the template dependencies Feb 4, 2020
@@ -0,0 +1,33 @@
const fs = require('fs');
Copy link
Owner

Choose a reason for hiding this comment

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

I think it would be great if we could just move this down into the template folder. If we need to for testing we can have a whole other repo or an examples folder.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should we move all the files in the template folder or just this one?
We can copy all the files, still make it easy to work in this repo itself but that would need some change in the scripts.
If we continue with the current setup, I think npmignore can help us and we can ignore all the files in root directory except template.json and template (which are the only things required by CRA).
Interesting idea of making another repo for development, but won't it make working with the project difficult because, for every change, the developer would need to change code in two repositories.
I will write the documentation explaining the structure of code which can make it easy to get started with.

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