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

AHOYAPPS-13 react app boilerplate #1

Merged
merged 16 commits into from
Oct 21, 2019

Conversation

timmydoza
Copy link
Contributor

@timmydoza timmydoza commented Oct 18, 2019

https://issues.corp.twilio.com/browse/AHOYAPPS-13

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

@timmydoza timmydoza self-assigned this Oct 18, 2019
@timmydoza timmydoza changed the title Ahoyapps 13 react app boilerplate AHOYAPPS-13 react app boilerplate Oct 18, 2019
Copy link
Collaborator

@manjeshbhargav manjeshbhargav left a comment

Choose a reason for hiding this comment

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

@timmydoza Great start! I have a few questions and suggestions.

.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@@ -0,0 +1,15379 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

@timmydoza I don't think we should commit this file unless we are creating a release/RC tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The NPM docs state that package-lock.json is intended to be committed into source repositories. I think it would be useful to know that the exact same set of dependencies is used between all developers and deployments. Why do you think it should not be committed?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@timmydoza Because I think if we commit only during creating RC tags, then we can make sure that dependencies are frequently updated. If an RC passes QA, then the release and the particular package-lock.json can be rolled out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree that we should make sure that dependencies are frequently updated. I think we should leave package-lock.json in the repo, and then run npm update when we create an RC tag to update package-lock.json. The lock file could be useful in development so I think we should keep it around.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I can see benefit both sides. However, I'm leaning more towards committing it to reduce the risk of us breaking if one of the dependencies have a breaking change. One compromise is to lock to major and minor versions.

tsconfig.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@timmydoza timmydoza merged commit 3994063 into development Oct 21, 2019
@timmydoza timmydoza deleted the AHOYAPPS-13-react-app-boilerplate branch October 21, 2019 23:11
timmydoza pushed a commit that referenced this pull request Mar 6, 2020
* initial create-react-app commit

* remove support for PWAs

* Remove CRA boilerplate from app

* Use twilio favicon

* Add prettier and format repo

* Add title back to readme

* Remove more PWA stuff from index.html

* circleci placeholder config

* clean up gitignore

* Apply new tsconfig rules

* Add prettierrc file

* Add sections to readme.md

* Apply new prettier rules

* Add linting script to package.json
timmydoza pushed a commit that referenced this pull request Sep 30, 2020
uriasn pushed a commit to Mastermind-com/twilio-video-app-react that referenced this pull request Oct 6, 2020
* initial create-react-app commit

* remove support for PWAs

* Remove CRA boilerplate from app

* Use twilio favicon

* Add prettier and format repo

* Add title back to readme

* Remove more PWA stuff from index.html

* circleci placeholder config

* clean up gitignore

* Apply new tsconfig rules

* Add prettierrc file

* Add sections to readme.md

* Apply new prettier rules

* Add linting script to package.json
uriasn pushed a commit to Mastermind-com/twilio-video-app-react that referenced this pull request Oct 6, 2020
* initial create-react-app commit

* remove support for PWAs

* Remove CRA boilerplate from app

* Use twilio favicon

* Add prettier and format repo

* Add title back to readme

* Remove more PWA stuff from index.html

* circleci placeholder config

* clean up gitignore

* Apply new tsconfig rules

* Add prettierrc file

* Add sections to readme.md

* Apply new prettier rules

* Add linting script to package.json
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.

4 participants