Skip to content
This repository was archived by the owner on Jan 25, 2020. It is now read-only.

Commit b308a68

Browse files
committed
Upgrade to webpack 4 and use react-scripts over custom configs
1 parent a6d1299 commit b308a68

31 files changed

Lines changed: 6074 additions & 4090 deletions

β€Ž.envβ€Ž

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#this is the base config, do NOT edit this with your local changes. do that in .env.local, which shouldn't be tracked by git
2-
PUBLIC_URL=https://boilermake.org
3-
BM_REACT_APP_API_BASE_URL=https://api.stage.boilermake.org/v1
4-
BM_REACT_APP_GOOGLE_ANALYTICS_ID=UA-00000000-1
5-
BM_REACT_APP_DEBUG_MODE=true
6-
BM_REACT_APP_GITHUB_CLIENT_ID=
7-
BM_REACT_APP_ALLOW_SIGNUPS=false
2+
REACT_APP_API_BASE_URL=https://api.stage.boilermake.org/v1
3+
REACT_APP_GOOGLE_ANALYTICS_ID=UA-00000000-1
4+
REACT_APP_DEBUG_MODE=true
5+
REACT_APP_GITHUB_CLIENT_ID=
6+
REACT_APP_ALLOW_SIGNUPS=false

β€Ž.env.developmentβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#this is the base config, do NOT edit this with your local changes. do that in .env.local, which shouldn't be tracked by git
2+
REACT_APP_API_BASE_URL=https://api.stage.boilermake.org/v1
3+
REACT_APP_GOOGLE_ANALYTICS_ID=UA-00000000-1
4+
REACT_APP_DEBUG_MODE=true
5+
REACT_APP_GITHUB_CLIENT_ID=
6+
REACT_APP_ALLOW_SIGNUPS=false

β€Ž.travis.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
cache: yarn
33
node_js:
4-
- 6
4+
- 10
55
install:
66
- pip install --user awscli
77
- yarn
@@ -31,4 +31,4 @@ after_deploy:
3131
# Allow `awscli` to make requests to CloudFront.
3232
- aws configure set preview.cloudfront true
3333
# Invalidate every object in the targeted distribution.
34-
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/*"
34+
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/*"

β€Žconfig/env.jsβ€Ž

Lines changed: 0 additions & 69 deletions
This file was deleted.

β€Žconfig/jest/cssTransform.jsβ€Ž

Lines changed: 0 additions & 14 deletions
This file was deleted.

β€Žconfig/jest/fileTransform.jsβ€Ž

Lines changed: 0 additions & 12 deletions
This file was deleted.

β€Žconfig/paths.jsβ€Ž

Lines changed: 0 additions & 77 deletions
This file was deleted.

β€Žconfig/polyfills.jsβ€Ž

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
Β (0)