Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

Next => feature/apollo #367

Closed
wants to merge 33 commits into from
Closed

Next => feature/apollo #367

wants to merge 33 commits into from

Conversation

strues
Copy link
Collaborator

@strues strues commented Feb 21, 2017

Brings feature/apollo up to date with the next branch.

ctrlplusb and others added 30 commits January 13, 2017 07:18
update broken feature/flow link in docs
* Updated CSP for nonce backwards compatibility

* Documented

* Updates comments
   - `SERVER_PORT` to `PORT`
   - `SERVER_HOST` to `HOST`
   - `CLIENT_DEVSERVER_PORT` to `CLIENT_DEV_PORT`
 - Replaces `code-split-component` with `react-async-component`
 - Renames the `nodeBundlesIncludeNodeModuleFileTypes` config property to `nodeExternalsFileTypeWhitelist`
 - Refactors the server and serviceworker offline page generation. We now use a set of React components (`ServerHTML` and `HTML`) to manage our HTML in a uniform fashion.
 - Refactors how we resolve environment specific configuration values. `NODE_ENV` is reserved for specifying a `development` or `production` build now. Use `CONF_ENV` to specify a target environment if you would like to resolve an environment specific .env file.
 - Refactors the client configuration filter rule to be contained within the main configuration and moves the configuration object creation into the server middleware.
 - Renames the `safeGetConfig` to `config`, and made it a default export.
 - Removes the `cross-env` library.

 - All server/client/shared code all use the shared config helper.
 - Updated dependencies, including to the latest Webpack official 2 release.

 - New babel plugins to optimise React production build performance.
 - Adds new icon sets.

 - Chrome favicon request issue.
 - Cleans up the package scripts.
 - Service worker would fail if a subfolder was added to the public folder.
…sary. Everything internal (tooling/docs) has been moved to an "internal" folder. The rest lives at root.

The configuration has been given a massive once over too.  I really disliked how there were multiple ways the config values were being read throughout the project.  Everything has been changed now to use a config helper that lives in the '<projectroot>/config/' folder.  All things config lives in that folder now too.
Removes CONF_ENV and refactors environment variable resolution to use NODE_ENV again.
@ctrlplusb
Copy link
Owner

Booyah! Thanks bro! I'll review this in the next few days.

@ctrlplusb
Copy link
Owner

Sorry, those next few days have gone by and am swamped still. Feel confident you have done a great job here though.

Lets wait for next to settle before doing a final big merge and release. 😀

@Aetherall
Copy link

Aetherall commented Jun 11, 2017

Hey @ctrlplusb ! How does the job going ? :)

When can we expect to see this PR merged?

Cant wait to get the update ! You're doing an awesome job ;)

@strues
Copy link
Collaborator Author

strues commented Jun 23, 2017

This will need some work to merge. I'll pull down the Redux branch and fix it up this afternoon.

@strues strues mentioned this pull request Jul 12, 2017
3 tasks
@strues
Copy link
Collaborator Author

strues commented Jul 12, 2017 via email

@strues
Copy link
Collaborator Author

strues commented Jul 12, 2017

Closing this in favor of #469 which is essentially finished.

@strues strues closed this Jul 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants