unblinking / recipe-report

🗃 recipe.report monorepo
https://www.recipe.report
GNU Affero General Public License v3.0
1 stars 0 forks source link

Explicitly set NODE_ENV. #56

Closed jmg1138 closed 3 years ago

jmg1138 commented 3 years ago

For development, setting it in the .env.dev file. I found that Digital Ocean doesn't set this to production, so I modified the start script to set it to production. Also moved all typescript definitions from devDependencies to dependencies, along with the typescript library which will be required for a build in production, and removed the unused heroku-ssl-redirect library since I am no longer using Heroku.

codecov[bot] commented 3 years ago

Codecov Report

Merging #56 (32fa001) into main (6163c29) will decrease coverage by 0.04%. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##            main     #56      +/-   ##
========================================
- Coverage   9.53%   9.49%   -0.05%     
========================================
  Files         32      32              
  Lines        692     695       +3     
  Branches      65      69       +4     
========================================
  Hits          66      66              
+ Misses       626     595      -31     
- Partials       0      34      +34     
Impacted Files Coverage Δ
src/recipereport.ts 0.00% <ø> (ø)
src/develop.ts 0.00% <0.00%> (ø)
src/envvarcheck.ts 0.00% <0.00%> (ø)
src/db/models/user-model.ts 2.04% <0.00%> (ø)
src/middlewares/laststop.ts 0.00% <0.00%> (ø)
src/middlewares/tokenwall.ts 0.00% <0.00%> (ø)
src/services/user-service.ts 0.00% <0.00%> (ø)
src/factories/user-factory.ts 0.00% <0.00%> (ø)
src/wrappers/password-check.ts 0.00% <0.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6163c29...32fa001. Read the comment docs.