-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
[1.0] Refactor data layer #818
Conversation
* new node schema w/ "content digest" required instead of ad hoc "hash" key * New cache module for typegen plugins to cache their data * Save and restore node data state
@KyleAMathews I already move |
Indeed! I'll merge that branch in a bit. |
Deploy preview ready! Built with commit 863e9ac |
Deploy preview ready! Built with commit 863e9ac |
…re truely running from HEAD
…port with webpack
I'm going to just merge this and work on the remaining TODOs on subsequent PRs. |
And as of a18ee33 we're now actually building the websites from the latest code. |
We do a Babel build of all src code and then copy the packages into the website overwriting what was installed from npm. It uses |
* Refactor data layer * new node schema w/ "content digest" required instead of ad hoc "hash" key * New cache module for typegen plugins to cache their data * Save and restore node data state * rename 'parser' plugins to 'transformer' * Update tests + add basic tests for gatsby-transformer-json * Add simple tests for yaml transformation * Add a test for transformer-sharp * Rename function * Add test for transformer-remark * Build and copy over built src to websites when building them so they're truely running from HEAD * Require the HTML component from the new src directory * Make imports relative + remove gatsby-helpers * Move fonts from the static directory to the src directory since we import with webpack * Correct path
TODOs
.intermediate-representation
to.cache
.cache