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

Some update for more powerful #6

Merged
merged 10 commits into from
Apr 7, 2019
Merged

Some update for more powerful #6

merged 10 commits into from
Apr 7, 2019

Conversation

TseHang
Copy link
Contributor

@TseHang TseHang commented Apr 3, 2019

Update some packages, and add some useful functions I used in PhotoRoom.

  • debug mode yarn start:debug

  • prettier

  • fix dataloaderMiddleware in many-to-many

  • add production command yarn start:runtime

  • add S3Service

  • upgrade packages, such as [email protected], typescript, tslint...

    • replace some InputType to ArgsType see
    • remove useContainer see
    • add typings folder for adding custom types for ts-node see
  • update README

@TseHang TseHang changed the title Improve Update for more powerful Apr 3, 2019
@TseHang TseHang changed the title Update for more powerful Some update for more powerful Apr 3, 2019
@TseHang TseHang requested a review from chihsuan April 3, 2019 15:23
package.json Outdated
@@ -5,52 +5,76 @@
"main": "src/app.ts",
"scripts": {
"start": "ts-node -r tsconfig-paths/register src/app.ts --type-check",
"start:debug": "yarn start --debug",
"start:runtime": "TS_NODE_PROJECT=tsconfig.runtime.json node -r tsconfig-paths/register -r source-map-support/register build/app",
Copy link
Member

@chihsuan chihsuan Apr 3, 2019

Choose a reason for hiding this comment

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

Change the name from runtime to prod would be more intuitive. e.g yarn start:prod and tsconfig.prod.json. And note that we should use the pm2 for the production.

Copy link
Contributor Author

@TseHang TseHang Apr 7, 2019

Choose a reason for hiding this comment

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

sure, just add README.md.
Please review and give me some feedback~~if any not understand. 😀

Copy link
Member

@chihsuan chihsuan left a comment

Choose a reason for hiding this comment

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

Please remember to write the README.md (as clear as possible) for this boilerplate. Otherwise, it will become no one but only you know how to use this properly.

@chihsuan chihsuan merged commit 3fd92de into master Apr 7, 2019
@TseHang TseHang mentioned this pull request Aug 28, 2019
@TseHang TseHang deleted the improve/env branch April 10, 2020 05:58
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