Skip to content

Commit

Permalink
[v2] WIP merge in master (#4061)
Browse files Browse the repository at this point in the history
* Revert "Update gatsby-browser.js (#3694)"

This reverts commit 644d081.

* Add 'page.layout' param to 'createPage' docs (#3717)

* Publish

 - gatsby-plugin-no-sourcemaps@1.0.0

* Add missing (official) plugins & little fixes (#3718)

* Add missing (official) plugins & little fixes

As talked about in:
#3708

Fingers crossed that I didn't mess up the alphabetical order :P
(I actually changed the order a little bit)

* Add gatsby-source-graphcms

* fix(transformer-remark): resolve htmlAst correctly (#3719)

closes #3711

* Added my new websites to showcase (#3729)

* Adjust default link header value in netlify plugin readme (#3723)

* Change "primatives" to "primitives" in GraphQL docs (#3716)

* [gatsby-transformer-remark] Reparse `raw` nodes in `htmlAst` (#3731)

Preprocessing via `gatsby-remark-*` transformations introduces `raw`
nodes into the AST. Adding this step fully enables the client to render
the AST as React components, finishing the work started in #3596.

* Publish

 - gatsby-plugin-netlify@1.0.16
 - gatsby-plugin-no-sourcemaps@1.0.1
 - gatsby-transformer-remark@1.7.30
 - gatsby@1.9.170

* fix(gatsby-link): correct dependency declaration (#3707)

* fix(gatsby-link): correct dependency declaration

The code depends on `react-router-dom`, and therefore it should be declared as a
direct dependency, not a dev one. Also, it needs `@types/react-router-dom` for
index.d.ts.

* chore(gatsby-link): declare gatsby v1 as a peer dependency

* Publish

 - gatsby-link@1.6.35
 - gatsby@1.9.171

* If someone uses a private repo git address accessed over ssh use that otherwise use normal git address (#3735)

* Publish

 - gatsby-cli@1.1.32
 - gatsby@1.9.172

* Update CONTRIBUTING.md (#3737)

incorrect usage of "it's"

* Add freeCodeCamp source (#3739)

* Add Hack Club to projects list (#3748)

* Link title not particularly accurate

* Fix link syntax (#3749)

* add basic documentation about publicURL field on File node (#3752)

* add basic documentation about copying files from File nodes to build directory

* A few copy edits

* Format

* Format

* [www] Fix link to "Adding Markdown Pages" in List docs (#3747)

* [www] Add "gatsby-plugin-fela" to list of community plugins

* Semi-Colons (#3764)

* Remove mention of not-written part 5 of the tutorial

* [www] Add ERC dEX website to showcase (#3766)

* make ComponentRenderer shouldUpdateComponent return true when props c… (#3516)

* make ComponentRenderer shouldUpdateComponent return true when props change

* use shallow compare

* remove console log

* semi-colons (#3765)

* [gatsby] Report an error when layout file is missing (#3762)

* [gatsby] Report an error when layout file is missing

* Update pages-writer.js

* format

* Publish

 - gatsby-plugin-no-sourcemaps@1.0.2
 - gatsby-plugin-typography@1.7.13
 - gatsby-source-drupal@2.0.17
 - gatsby-source-filesystem@1.5.16
 - gatsby-source-wordpress@2.0.52
 - gatsby@1.9.173

* [gatsby-plugin-netlify] create rewrite rules for pages that use matchPath (#3211)

* [gatsby-plugin-netlify] create rewrite rules for pages that use matchPath

* Update README.md

* Add a no-color option to disable the colors (#3755)

* disable boolean-negation in yargs

* add no-color option

* [www] Add gatsby-source-unsplash to list of community plugins (#3768)

* format

* Publish

 - gatsby-cli@1.1.33
 - gatsby-plugin-netlify@1.0.17
 - gatsby@1.9.174

* Add setTimeout before calling onRouteUpdate to ensure React has written to DOM before plugins run code (#3772)

* Improve errors for invalid data passed to createPage fixes #3771 (#3773)

* Fix not scrolling to top on PUSH fixes #3770 #3249 (#3775)

* [examples/using-remark]: Custom React components in Markdown files (#3732)

* Publish

 - gatsby-plugin-google-analytics@1.0.17
 - gatsby-plugin-twitter@1.0.16
 - gatsby-react-router-scroll@1.0.9
 - gatsby@1.9.175

* [www] Prevent search shortcut from breaking other input elements (#3777)

* Edits from Ben's feedback

* Logos

* Delete React_logo_wordmark.png

* Delete contentful_logo_with_tagline.png

* logos

* Added react and contentful logos

* Update index.md

* Delete React-logo.png

* Delete contentful-logo.png

* logos smaller

* updated intro

* Update index.md

* [www] Add gatsby-plugin-sentry to list of community plugins (#3788)

* [www] Add gatsby-plugin-meta-redirect to list of community plugins (#3798)

* Form currently refreshes the page on pressing enter (#3779)

* Added some notes on how the contentful source plugin interacts with contentful's content models. (#3794)

* More hot reloading fixes (#3769)

* use createPage singleton in dev-404-page

closes #3551

* write to a temp file and rename

decrease the chance of reading from an incomplete file

cc #3094 #3201

* change dev-404-page to implement createPagesStatefully

* update the jest snapshot

* Validate starterPath isn't a dot fixes #3789 (#3810)

* [gatsby] Pass location state to history (#3802)

* Pass full location object to history

* Update navigateTo param to be more precise

* Pass location to navigateTo in gatsby-link

* Update navigateTo types

* Fix issue that Gatsby can't sometimes find layout and page files on Windows (#3796)

* Fix issue with missing layouts on Windows

* Fix issue with missing pages on Windows

* Publish

 - gatsby-cli@1.1.34
 - gatsby-link@1.6.36
 - gatsby-source-contentful@1.3.35
 - gatsby@1.9.176

* Add iContract blog to readme (#3805)

* [gatsby-plugin-less] Extend less-plugin with support for `modifyVars` (#3801)

* [gatsby-plugin-less] Extend less-plugin with support for `modifyVars`

The less plugin did its job, but when I was going to use it with a
library I experienced that it was lacking the ability to modify
less-variables. This made it hard to customize less libraries.

By letting the user provide a `options` in `gatsby-config.js`, the
plugin can overwrite variables defined in the less stylesheet and hence
makes it a breeze to customize libraries.

The user has two options to include vars: either a object defined
directly in the `gatsby-config.js` or define a file which exports an
object that will be used as the options.

* Update README.md

* format

* Publish

 - gatsby-plugin-less@1.1.1
 - gatsby-source-contentful@1.3.36
 - gatsby@1.9.177

* Fix a typo in the gatsby-plugin-less README (#3815)

* Call done() from dev-404-page during production builds so build doesn't stall (#3827)

* Publish

 - gatsby-plugin-less@1.1.2
 - gatsby@1.9.178

* Update README.md (#3828)

* Added logos (#3781)

* Added logos

Not sure how to adjust the sizes here. I made them smaller on my computer but not sure if it worked

* Reduce React and Contentful logo width to 350px

* Log error in createPath (#3814)

Fix conditional to show error when path or component are missing in the createPath function

* add warning about query that is not getting executed if it's exported from file that is page/template or layout (#3786)

* Update README.md (#3821)

add module.exports to How to use

* Update README.md

* Added Hampton starter (#3826)

* [www] add search input to home page (#3662)

* Experiment adding search input to home page

* Prettier

* Comment unused imports

* Display social icons when viewport is wide enough

* Use alternate colours at Hd breakpoint on home page

* Add name of file above code snippet (#3835)

* [www] Fix typo in styleshout link (#3839)

* Add "Dona Rita" website to Showcase (incl. source) (#3838)

* check markdown images, ensure parent is File before referencing dir (#3831)

* check markdown images, ensure parent is File before referencing dir

* add check for parent

* [www] Fix typo in docs/building-apps-with-gatsby.md (#3863)

* Bump scroll-behavior dependency to fix ios swipe jank (#3866)

* Publish

 - gatsby-plugin-less@1.1.3
 - gatsby-react-router-scroll@1.0.10
 - gatsby-remark-copy-linked-files@1.5.26
 - gatsby-source-drupal@2.0.18
 - gatsby-source-filesystem@1.5.17
 - gatsby-source-wordpress@2.0.53
 - gatsby@1.9.179

* Fix positioning of search results at mobile breakpoint on homepage (#3867)

* [www] Add tutorial to awesome list (#3855)

This is the first part of a german tutorial series about Gatsby. This part is about the basic creation of a blog. In the next parts I'll cover more advanced features :)

* [www] Update Netlify URL in Starter List (#3847)

* Add gatsby-wordpress-starter (#3848)

* exclude offline plugin app shell from sitemap (#3844)

* [gatsby-source-contentful] Add support to prefer WebP images (#3832)

* Extend contentful resolutions and sizes to include webp src and srcSet

* Add new contentful fragments

* Add fragments to gatsby-image README

* Add example for using webp to use-contentful site

* Display image examples in a grid

* Update docs for adding custom JavaScript to home.js (#3869)

* Blog post headless CMS (#3846)

* Blog post headless CMS

A couple things I'm not sure about:

- Running sites offline paragraph. Check for accuracy pls!

- Better quote from Deane that anyone has in mind?

- Can cut down assessment of headless CMSs to omit obscure complaints...

* Edits to wording and sprinkling in GatsbyJS 

Please check paragraph about running sites offline in India! I feel like there's potential there but maybe I'm off base

* Update index.md

* don't try to extract queries from directories with names ending in .js(x) or .ts (#3861)

* Format

* [gatsby-source-filesystem] don't try to process same remote file multiple times, cache promises and return them on subsequent calls (#3859)

* Experimenting (#3843)

* Update README.md (#3822)

add module.exports to How to use

* Format

* Publish

 - gatsby-image@1.0.35
 - gatsby-plugin-less@1.1.4
 - gatsby-plugin-sitemap@1.2.12
 - gatsby-source-contentful@1.3.37
 - gatsby-source-drupal@2.0.19
 - gatsby-source-filesystem@1.5.18
 - gatsby-source-wordpress@2.0.54
 - gatsby-transformer-sharp@1.6.18
 - gatsby@1.9.180

* Use HTTPS over git:// when cloning starters (#3820)

`git://` (which is what `hostInfo.git(...)` gets you) uses unencrypted transport isn't recommended as a way to clone GitHub repositories (https://help.github.com/articles/which-remote-url-should-i-use/).  This change uses HTTPS instead.

* Add gatsby-transformer-screenshot (#3526)

* Add gatsby-plugin-screenshot

* Rename to gatsby-transformer-screenshot

* Rename

* Fix prepublish error

* Expand on documentation

* Run format-packages

* Use API Gateway

* Use official deployed Lambda

* Update README.md

* Format

* Publish

 - gatsby-cli@1.1.35
 - gatsby-transformer-screenshot@1.0.1
 - gatsby@1.9.181

* [gatsby-plugin-feed] Fix missing colon in Readme (#3872)

* Revert "Use HTTPS over git:// when cloning starters (#3820)" (#3876)

This reverts commit 8261ac3.

* Publish

 - gatsby-cli@1.1.36
 - gatsby-plugin-feed@1.3.17
 - gatsby@1.9.182

* use simple https to clone starters (#3875)

* Publish

 - gatsby-cli@1.1.37
 - gatsby@1.9.183

* [www] Add gatsby-starter-simple-landing (#3877)

* bigger photo

* Update index.md

* add www.aslezak.com to showcase (#3878)

* Added new blog, new author and new avatar (#3879)

* Added new blog, new author and new avatar

* Fix links

* Spelling issue corrected, wp file extension changed and quotes corrected

* format blog post

* Update index.md (#3883)

* Add community source plugin to docs (#3884)

* [www] Fix small typo (#3891)

* Document all options for gatsby-remark-images fixes #3882 (#3894)

* Document all options for gatsby-remark-images fixes #3882

* remove

* Edits to wording

* [www] Add `PostLink` component example to docs/adding-a-list-of-markdown-blog-posts/ (#3887)

* [www] Add `PostLink` component example to docs/adding-a-list-of-markdown-blog-posts/

Ref. #3886

* Add headline for `PostLink` component

* Add possessive adjective

* Make code blocks jsx

* Add anchors to h1's in docs (#3892)

* Add anchors to h1's in docs

* Manually add some anchors

* exclude Netlify CMS styles in build-css phase (#3895)

* Fix markdown table syntax in README (#3897)

* Publish

 - gatsby-plugin-netlify-cms@1.0.6
 - gatsby-remark-images@1.5.42
 - gatsby@1.9.184

* Fix typo (#3899)

* update prismjs-language-dependencies.js (#3898)

* Publish

 - gatsby-remark-embed-snippet@1.0.7
 - gatsby-remark-prismjs@1.2.13

* Update snapshots and packages and format w/ new Prettier (#3902)

* Update snapshots and packages and format w/ new Prettier

* Update snapshot in embed package

* [gatsby-transformer-remark] Add `pathPrefix` to relative links (#3823)

* [gatsby-transformer-remark] Add `pathPrefix` to relative links
Ensure markdown relative links include `pathPrefix`.
Fixes #3316

* [gatsby-transformer-remark] add minor comment to `withPathPrefix`

* [gatsby-transformer-remark] add `pathPrefix` to `cacheKey` functions

* [gatsby-transformer-remark] remove `node.url.startsWith(pathPrefix)` condition for `withPathPrefix` logic

* Use "npm-run-all" to run scripts (#3797)

* Use "npm-run-all" to run scripts

[npm-run-all](https://github.com/mysticatea/npm-run-all) is a cross-browser approach to running npm tasks in series (`-s`) or parallel (`-p`). Rather than using a platform specific method to run scripts (e.g. `&&`), npm-run-all will work on all platforms and supports using Yarn if running with Yarn. I made a guess as to whether certain scripts should be run in series or parallel but feel free to change if my choices aren't optimal.

* Add yarn.lock and fix some scripts.

* Move npm-run-all to dev dep.

* Fix bootstrap script.

* [www] Starters: Fix case according to vendor name definition (#3903)

* http://getbootstrap.com/
* http://postcss.org/
* https://sass-lang.com/
* https://bootswatch.com/

* Publish

 - gatsby-remark-embed-snippet@1.0.8
 - gatsby-remark-images@1.5.43
 - gatsby-remark-prismjs@1.2.14
 - gatsby-transformer-remark@1.7.31

* add info about org-mode transformer plugin (#3907)

I created this transformer plugin similar to the offical remark one, that parses org-mode files.

* [www] add gatsby-orga starter (#3908)

* update odayaka.net to showcase (#3909)

update odayaka.net to showcase

* [www] Add ventura-digital.de to Showcase (#3916)

* Minor edits for absolute beginners

After doing this tutorial as a complete beginner myself, I thought a couple of lines could be made even more newby-friendly.

* Update tutorial.js (#3927)

* ✨ Support filtering on linked nodes (#3691)

* ✨ Support filtering on linked nodes

The filtering is done by extracting all the related nodes using `extractFieldExample`. The example values are then cached to save some time. (As of this patch, caching is not tested automatically)

Further linking are disabled to avoid cyclic dependencies (input fields only).

TODO: Filtering on nodes linked by mappings and File

Note: If linking is done via array of IDs, only the structure of the first item is extracted. I'll be happy to add union support if someone can show me how to `$in` filter on an array of object.

Related #3613 #3190

* ✅ Test filtering on linked nodes

* Publish

 - gatsby@1.9.185

* Set default NODE_ENV for `gatsby develop` (#3928)

* Fix broken links (#3930)

* Blog Post - Jam Out Your Blog (#3911)

* Blog Post - Jam Out Your Blog

Vlad Pasculescu’s blog post on using Gatsby with Netify and Prose.io

Signed-off-by: vladpasculescu <vlad@vladpasculescu.com>

* Updated Blog Post for Edits

Edited Jam Out Blog Post for suggested moderator edits.

* Update index.md

* Publish

 - gatsby-cli@1.1.38
 - gatsby@1.9.186

* fix(dev-404-page): route to 404 fails when using plugin-remove-trailing-slashes (#3522)

* fix(dev-404-page): route to 404 fails when using plugin-remove-trailing-slashes

Fixes: #3521

* refactor(dev-404-page): use RegExp.test() as we don't need to return anything

* fix(dev-404-page): route to 404 fails when using plugin-remove-trailing-slashes

updating other occurrence of 404 page check as well

* Automatic file validation for components in src/pages (#3881)

* yarn.lock

* add page validation and fix breaking createPage action tests

* Improve error messages for invalid pages

* Field inferring changes and cleanup (#3688)

* remove not needed edge case for infering array of objects to improve code readability

* don't lose field args and resolve function when infering array (fixes date format options not available in arrays of dates)

* move infering date field to seperate file to improve code readability

* don't recreate date field definition for every date field - we can reuse same object

* create dedicated Date graphql scalar (based on string scalar) for date fields

* pass fieldName to resolver when filtering on types with custom resolvers (date type fields now rely on fieldname info being passed)

* use already constructed nextselector instead of rebuilding it again

* move infering file field to separate file to improve code readability

* create file type field object just once and reuse it

* move trying to infer Files from string paths to inferGraphQLType function where rest of value based inferring is done

* add tests for inferring File from string paths

* add tests for inferring date type from string, array of strings and filtering date fields, move date related test to seperate date test suite

* Publish

 - gatsby@1.9.187

* Return a never to be resolved promise to prevent development server from exiting early fixes #3932 (#3933)

* Publish

 - gatsby-cli@1.1.39
 - gatsby@1.9.188

* format

* Add Cardiogram to README (#3934)

* Fix code highlight in tutorial (#3935)

* small wording change

* [api-ssr-docs] Import `Helmet` not `helmet` (#3940)

* [www] Tutorial: Small wording changes for clarification (#3926)

gatsby-config.js needs to be created (before edited). Also, since the user will be changing windows to stop the process it might be useful to remind them where they were before.

* [docs] Fix small typo (#3946)

* test "exports.default" when validating page component (#3941)

* Publish

 - gatsby@1.9.189

* update environment variables docs to explain how to implement dotenv (#3944)

* [www] Add dedicated „How to File an Issue“ page (#3945)

* move „Filing an Issue“ and „Special Note on Issues“ from the „How to Contribute“ to the new „How to File an Issue“ page
* add an intro paragraph to the new page linking to the GitHub Gatsby issue tracker
* add a paragraph to the new page informing about personal support requests, pointing to Stack Overflow, Reactiflux Discord
* add link to the new page to
  * the docs sidebar’s „Contributing“ section
  * the GitHub issue template
  * the „Community“ page
  * the list of ways to contribute on the „How to Contribute“ page
* link „Triaging GitHub issues“ on the „How to Contribute“ page

* Don't check if React is imported as can import component from other page and never write JSX (#3949)

/cc @bodia-uz

* Publish

 - gatsby@1.9.190

* Add LaserTime Clinic website to Readme (#3951)

* webpack commonsChunkPlugin isframework tester fix for windows dev (#3952)

* Publish

 - gatsby@1.9.191

* type inferring - handle array of Date objects (#3955)

* inferring types: handle array of Date objects

* add tests for inferring arrays of Date objects

* Publish

 - gatsby@1.9.192

* Document how to create custom fragments (#3914)

* Document how to create custom fragments

* Fix ordering

* Add example component exporting a fragment

* Tweak language

* Update index.md (#3957)

* update showcase with Gatsby Manor (#3959)

Gatsby Manor makes themes for GatsbyJS.

* Adds new starter to docs :) (#3971)

* Fix error (#3985)

Talked to Ross Whitehouse, the author, via Medium private message to confirm the errors. Gotten permission to submit PR for the edit.

* Add note about plugin options (#3987)

* Add container as a styled div to styled-components doc (#3988)

* Add Dockerfile to start GraphiQL using www's data (#3992)

* fix: prevent invalid graphql field names from being created (#3994)

* fix: prevent invalid graphql field names from being created

Note: This will currently transform (for example) `/*` into `_` so I'm not quite sure what the best course of action is to replace that

Fixes #3487; Fixes #2925

* chore: revert yarn lock change

* test: simplify tests

* fix: dasherize after leading underscore

* feat(gatsby-plugin-google-analytics): add head option (#3995)

Add head option to configure whether scrip tag should be put in the
body (by default, same as previously) or inside of the head.
closes #2894

* Add browserAPIs and ssrAPIs to loaded plugin info (#3989)

* Add browserAPIs and ssrAPIs to loaded plugin info

* Output correct error message for each bad export

* Use lodash for Node 6 compatibility

* Publish

 - gatsby-plugin-google-analytics@1.0.18
 - gatsby@1.9.193

* add package json metadata for better display on npmjs.org (#3981)

* chore: add package json metadata (git url, issues, etc.)

* chore: update plop template

* chore: move bin/files up in package.json

* chore: fix unescaped email(s)

* Run 'fixpack' on all package.jsons

* Validate when creating a page that the page component exists (#3997)

* Validate when creating a page that the page component exists

* Don't check for component paths during testing as it breaks tests

* Publish

 - gatsby-1-config-css-modules@1.0.9
 - gatsby-cli@1.1.40
 - gatsby-dev-cli@1.2.11
 - gatsby-image@1.0.36
 - gatsby-link@1.6.37
 - gatsby-module-loader@1.0.10
 - gatsby-plugin-aphrodite@1.0.7
 - gatsby-plugin-canonical-urls@1.0.13
 - gatsby-plugin-catch-links@1.0.16
 - gatsby-plugin-coffeescript@1.4.10
 - gatsby-plugin-create-client-paths@1.0.5
 - gatsby-plugin-cxs@1.0.7
 - gatsby-plugin-emotion@1.1.12
 - gatsby-plugin-feed@1.3.18
 - gatsby-plugin-glamor@1.6.12
 - gatsby-plugin-glamorous@1.0.7
 - gatsby-plugin-google-analytics@1.0.19
 - gatsby-plugin-google-tagmanager@1.0.14
 - gatsby-plugin-jss@1.5.11
 - gatsby-plugin-less@1.1.5
 - gatsby-plugin-lodash@1.0.9
 - gatsby-plugin-manifest@1.0.14
 - gatsby-plugin-netlify-cms@1.0.7
 - gatsby-plugin-netlify@1.0.18
 - gatsby-plugin-no-sourcemaps@1.0.3
 - gatsby-plugin-nprogress@1.0.12
 - gatsby-plugin-offline@1.0.14
 - gatsby-plugin-postcss-sass@1.0.17
 - gatsby-plugin-preact@1.0.16
 - gatsby-plugin-react-css-modules@1.0.13
 - gatsby-plugin-react-helmet@2.0.5
 - gatsby-plugin-react-next@1.0.9
 - gatsby-plugin-remove-trailing-slashes@1.0.5
 - gatsby-plugin-sass@1.0.17
 - gatsby-plugin-sharp@1.6.28
 - gatsby-plugin-sitemap@1.2.13
 - gatsby-plugin-styled-components@2.0.6
 - gatsby-plugin-styled-jsx@2.0.3
 - gatsby-plugin-styletron@1.0.12
 - gatsby-plugin-stylus@1.1.15
 - gatsby-plugin-twitter@1.0.17
 - gatsby-plugin-typescript@1.4.16
 - gatsby-plugin-typography@1.7.14
 - gatsby-react-router-scroll@1.0.11
 - gatsby-remark-autolink-headers@1.4.12
 - gatsby-remark-code-repls@1.0.9
 - gatsby-remark-copy-linked-files@1.5.27
 - gatsby-remark-custom-blocks@1.0.3
 - gatsby-remark-embed-snippet@1.0.9
 - gatsby-remark-images@1.5.44
 - gatsby-remark-katex@1.0.11
 - gatsby-remark-prismjs@1.2.15
 - gatsby-remark-responsive-iframe@1.4.17
 - gatsby-remark-smartypants@1.4.11
 - gatsby-source-contentful@1.3.38
 - gatsby-source-drupal@2.0.20
 - gatsby-source-faker@1.0.2
 - gatsby-source-filesystem@1.5.19
 - gatsby-source-hacker-news@1.0.10
 - gatsby-source-lever@1.0.8
 - gatsby-source-medium@1.0.12
 - gatsby-source-mongodb@1.5.14
 - gatsby-source-wordpress-com@1.0.6
 - gatsby-source-wordpress@2.0.55
 - gatsby-transformer-csv@1.3.8
 - gatsby-transformer-documentationjs@1.4.9
 - gatsby-transformer-docx@1.0.6
 - gatsby-transformer-excel@1.0.4
 - gatsby-transformer-hjson@1.0.3
 - gatsby-transformer-javascript-static-exports@1.3.9
 - gatsby-transformer-json@1.0.15
 - gatsby-transformer-pdf@1.0.6
 - gatsby-transformer-pdfimages@1.0.5
 - gatsby-transformer-react-docgen@1.0.13
 - gatsby-transformer-remark@1.7.32
 - gatsby-transformer-screenshot@1.0.2
 - gatsby-transformer-sharp@1.6.19
 - gatsby-transformer-toml@1.1.8
 - gatsby-transformer-xml@1.0.12
 - gatsby-transformer-yaml@1.5.15
 - gatsby@1.9.194
 - graphql-skip-limit@1.0.10

* [gatsby-transformer-react-docgen] Add note on PropTypes (#4008)

* Update adding-tags-and-categories-to-blog-posts.md (#3999)

Changed per a conversation with Kyle about a better way to do this. Relates to #3976

* [gatsby-remark-katex] Upgrade remark-math to latest (#4005)

* update remark-math to latest version to fix an issue where equations surrounded by `$$` with new lines are not displayed in KaTeX' `displayMode`
* update broken spec
* add spec for display math node
* [using-remark] fix "Math Equations in Display Mode" example

* Add note about using Custom Domain with Github Pages (#4006)

* Update how-gatsby-works-with-github-pages.md

* Update how-gatsby-works-with-github-pages.md

* Update how-gatsby-works-with-github-pages.md

* [docs] Add Gatsby Manor blog post (#3968)

Show the community Gatsby Manor.

* don't use internal-only path when requiring promise polyfill (#4012)

see: zloirock/core-js#138 (comment)

* Fix tracking parent nodes when loading redux state from cache (#4013)

fixes #2929

* Publish

 - gatsby-remark-katex@1.0.12
 - gatsby-transformer-react-docgen@1.0.14
 - gatsby@1.9.195

* Add info about gatsby-plugin-sharp (#4019)

* Add info about gatsby-plugin-sharp

* Update README.md

* update contributing documentation to mention that npm run watch can be resource intensive, and suggest watching select packages at a time (#4020)

* [gatsby-image] Allow specifying HTML tag for gatsby-image wrapping elements (#4022)

* Allow specifying which html tag will be used for gatsby-image wrappers

* Update gatsby-image README.md to include new Tag prop

* Fix plugin loader checks (#4023)

* Add browser and SSR APIs to the plugin API whitelist

* Add registerServiceWorker to the list of allowed browser APIs

* Publish

 - gatsby-image@1.0.37
 - gatsby@1.9.196

* Fix tracking nodes with filtering/running sift (#4024)

* Track Node that contains inline objects/arrays instead of its parent. This doesn't break finding topmost ancestor node as we already trying to get walk along parent hierarchy.

Rename tracking functions and jsdocs to provide some basic context for these functions

* Fix tracking nodes with filtering/running sift. Before we filter nodes we create copies of nodes with appended fields added by plugins (by setFieldsOnGraphQLNodeType) if they are filtered on. These copies weren't tracked.

* fix: add info message if gatsby-config.js could have been typo'd (#4017)

* fix: add info message if gatsby-config.js could have been typo'd

* chore: move preferDefault back to where it was

* refactor: tweak error logic a bit

* chore: tweak versions for yarn.lock compat

* refactor: address PR comments

* fix: fail with error

* format

* Fix lint errors

* fix: ensure graphql key is a valid graphql key value (#4000)

* fix: ensure graphql key is a valid graphql key value

* chore: update comment

* Improve the warning for when someone includes a graphql query in a non-page component (#4026)

* Publish

 - gatsby@1.9.197

* add gatsby-transformer-javascript-frontmatter, closes #3795 (#3947)

* initial commit

* update name in package.json

* start converting example site

* fix gql error on js articles

* rename intial defined `let`

* clear out unused deps

* begin updating new layout components

* fix all HOC

* update example readme

* Format

* Update README.md

* Catch require error for hot-reloading gatsby-config.js fixes #3990 (#4039)

* Publish

 - gatsby-source-mongodb@1.5.15
 - gatsby-source-wordpress@2.0.56
 - gatsby-transformer-javascript-frontmatter@1.0.1
 - gatsby-transformer-javascript-static-exports@1.3.10
 - gatsby@1.9.198

* Don't exit on errors as during development, empty/incomplete page components are common fixes #4027 (#4040)

* Don't exit on errors as during development, empty/incomplete page components are common fixes #4027

* Fix other points of death

* Ok, do die here

* Remove component query from store when a user deletes it fixes #4032 (#4041)

* Publish

 - gatsby@1.9.199

* add portfolio site to the readme showcase (#4043)

* Add documentation for using boundActionCreators fixes #4029 (#4042)

* Add documentation for using boundActionCreators

* Update bound-action-creators.js

* Fix

* node tracking - add tests (#4045)

* move node tracking code to separate dedicated file

* Add jsdoc for findRootNode

* add tests for node tracking

* Update README.md

* Add links to the end of the tutorial (#4051)

* [www] Fix tutorial sidebar links active state, update deps (#4059)

* Bump deps, add react-helmet for gatsby-plugin-react-helmet v2

* Fix warning

„Warning: Received `false` for non-boolean attribute `className`. If this is expected, cast the value to a string.“

* Update preload href

* Rewire sidebar section and link styles, fix #4036

* Use babylon to parse out exports from plugin files (#4057)

* Fixes

* Fix package.json

* Fix package.json

* Ignore tests

* Fix lint

* Comment out less tests until theme functionality can be ported to v2
  • Loading branch information
KyleAMathews authored Feb 15, 2018
1 parent ef807b5 commit e5eae84
Show file tree
Hide file tree
Showing 276 changed files with 7,143 additions and 2,301 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
**/node_modules
**/public
npm-debug.log
.git
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Useful Links:
- Documentation: https://www.gatsbyjs.org/docs/
- How to Contribute: https://www.gatsbyjs.org/docs/how-to-contribute/
- How to File an Issue: https://www.gatsbyjs.org/docs/how-to-file-an-issue/
- Become a Sponsor: https://opencollective.com/gatsby#sponsor
Before opening a new issue, please search existing issues (https://github.com/gatsbyjs/gatsby/issues)
Expand Down
28 changes: 4 additions & 24 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
title: How to contribute
---

## Filing an issue

If you want your issue to be resolved quickly, please include in your issue:

* Gatsby version, node.js version, OS version
* The contents of your `gatsby-config.js` and `package.json` as well as your
`gatsby-node.js`, `gatsby-browser.js` `gatsby-ssr.js` files depending on
changes you've made there.

## Contributing

We want contributing to Gatsby to be fun, enjoyable, and educational for anyone and everyone. Contributions go far beyond pull requests and commits; we are thrilled to receive a variety of other contributions including the following:
Expand All @@ -21,24 +12,15 @@ We want contributing to Gatsby to be fun, enjoyable, and educational for anyone
* Submitting documentation updates, enhancements, designs, or bugfixes
* Submitting spelling or grammar fixes
* Adding unit or functional tests
* Triaging GitHub issues -- especially determining whether an issue still persists or is reproducible
* Triaging [GitHub issues](https://github.com/gatsbyjs/gatsby/issues) -- especially determining whether an issue still persists or is reproducible
* [Reporting bugs or issues](/docs/how-to-file-an-issue/)
* Searching for Gatsby on Discord or Spectrum and helping someone else who needs help
* Teaching others how to contribute to Gatsby's repo!

If you are worried or don't know where to start, you can always reach out to Shannon Soper(@shannonb_ux) on Twitter or simply submit an issue and a maintainer can help give you guidance!

Looking to speak about Gatsby? We'd love to review your talk abstract/CFP! You can email it to shannon [at] gatsbyjs [dot] com and we can give pointers or tips!!!

### Special Note on Issues

If an issue is affecting you, start at the top of this list and complete as many tasks on the list as you can:

1. If there is an issue, +1 the issue to indicate that it's affecting you
2. If there's an issue and you can add more detail, write a comment describing how the bug is affecting OR if you can, write up a work-around for the bug
3. If there's not an issue, write the most complete description of what's happening, preferably with link to a Gatsby site that reproduces the problem
4. Offer to help fix the bug (and it's totally expected that you ask for help; open-source maintainers want to help contributors)
5. Deliver a well-crafted, tested PR

### Creating your own plugins and loaders

If you create a loader or plugin, we would <3 for you to open source it, and put it on npm.
Expand All @@ -62,9 +44,7 @@ The usual contributing steps are:
* setup up repo and Install dependencies: `yarn run bootstrap`
* Make sure tests are passing for you: `yarn test`
* Create a topic branch: `git checkout -b topics/new-feature-name`
* Run `npm run watch` from the root of the repo to first do an initial Babel
build of all packages and then watch for changes to packages' source code and
compile these changes on-the-fly as you work.
* Run `npm run watch` from the root of the repo to watch for changes to packages' source code and compile these changes on-the-fly as you work. Note that the watch command can be resource intensive. To limit it to the packages you're working on, add a scope flag, like `npm run watch -- --scope={gatsby,gatsby-cli}`. To watch just one package, run `npm run watch -- --scope=gatsby`.
* Install [gatsby-dev-cli](/packages/gatsby-dev-cli/) globally: `yarn global add gatsby-dev-cli`
* Run `yarn install` in each of the sites you're testing with.
* For each of your Gatsby test sites, run the `gatsby-dev` command there to copy
Expand All @@ -78,7 +58,7 @@ The usual contributing steps are:

### Contributing to the documentation.

Gatsby, unsurprisingly, uses Gatsby for it's documentation website.
Gatsby, unsurprisingly, uses Gatsby for its documentation website.

If you want to add/modify any Gatsby documentation, go to the
[docs folder on Github](https://github.com/gatsbyjs/gatsby/tree/master/docs) and
Expand Down
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Create a standalone instance of GraphiQL populated with gatsbyjs.org's data
# ---
# libvips needed for image manipulation
FROM marcbachmann/libvips:8.4.1 as build

# Node.js version 8 and build tools for sharp
RUN apt-get update && apt-get install -y build-essential g++ curl
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*

RUN npm install -g yarn@1.3.2

WORKDIR /usr/src/app

COPY . .
RUN yarn && cd www && yarn
RUN cd www && yarn run build

# Start again and just copy across the built files (+ node_modules)
# TODO: Can we do this all on Alpine for a much smaller image? This node:8 image is ~600MB
FROM node:8 as dist

COPY --from=build /usr/src/app /usr/src/app
WORKDIR /usr/src/app

# To run this image, set the port as an env var with `-e PORT=xxxx` e.g.
# docker run -p 8080:8080 --rm -it -e PORT=8080 <registryUsername>/<imageName>
CMD [ "node","./scripts/www-data-explorer.js" ]
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Websites built with Gatsby:
* [Sourcegraph](https://about.sourcegraph.com)
* [Simply](https://simply.co.za)
* [The freeCodeCamp Guide](https://guide.freecodecamp.org)
([source](https://github.com/freeCodeCamp/guides))
* [FloydHub's Blog](https://blog.floydhub.com)
* [mParticle's Documentation](https://docs.mparticle.com)
* [Segment's Blog](https://segment.com/blog/)
Expand All @@ -31,6 +32,8 @@ Websites built with Gatsby:
([source](https://github.com/reasonml/reasonml.github.io))
* [Bricolage.io](https://www.bricolage.io/)
([source](https://github.com/KyleAMathews/blog))
* [Hack Club](https://hackclub.com/)
([source](https://github.com/hackclub/site))
* [Jamie Henson's Blog](http://jamiehenson.com/)
([source](https://github.com/jamiehenson/jh47-gatsby))
* [Sean Coker's Blog](https://sean.is/)
Expand Down Expand Up @@ -144,6 +147,18 @@ Websites built with Gatsby:
* [several levels](https://severallevels.io/) ([source](https://github.com/Harrison1/several-levels))
* [Flooring Factories Outlets](https://www.flooringfactoriesoutlets.com/)
* [Nortcast](https://nortcast.com/)
* [VisitGemer](https://visitgemer.sk/)
* [Nexit](https://nexit.sk/)
* [ERC dEX](https://ercdex.com)
* [iContract Blog](https://blog.icontract.co.uk)
* [Dona Rita](https://donarita.co.uk) ([source](https://github.com/peduarte/dona-rita-website))
* [Andy Slezak](https://www.aslezak.com) ([source](https://github.com/amslezak))
* [Odayaka](http://odayaka.net) ([source](https://github.com/odayakanaasa/odayaka))
* [Ventura Digitalagentur Köln](https://www.ventura-digital.de)
* [Cardiogram](https://cardiogr.am/)
* [LaserTime Clinic](https://lasertime.ru) ([source](https://github.com/oleglegun/lasertime))
* [Gatsby Manor - themes for GatsbyJS](https://gatsbymanor.com)
* [Darren Britton's Portfolio](https://darrenbritton.com) ([source](https://github.com/darrenbritton/darrenbritton.github.io))

## Docs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ production by creating a landing page very fast.

Static site generators like Jekyll all work pretty similarly:

* Describe your content in some common templating language ([Pug](pugjs.org),
* Describe your content in some common templating language ([Pug](http://pugjs.org),
[Handlebars](http://handlebarsjs.com), etc)
* While in development, start a local web server and add file "watchers" that
will listen for content changes and re-render the site
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
title: Announcing Gatsby Manor, themes for Gatsby 🎉🎊
date: "2018-02-09"
image: "gatsbymanor.jpg"
author: "Steven Natera"
---

I am proud to announce [Gatsby Manor](https://www.gatsbymanor.com/), a gallery
of themes for [Gatsby](https://www.Gatsby.org/). After 5 months of
development, Gatsby Manor is now in public beta. Check out our
[themes](https://www.gatsbymanor.com/themes) then use our [getting started](https://www.gatsbymanor.com/docs/quick-start/getting-started) guide to
kickstart your Gatsby project.

## Overview

Gatsby Manor is built on top of Gatsby to provide a painless way of building
websites with reusable React components we call themes. We even have a
cleverly named npm module for theme management called
[Jay](https://github.com/gatsbymanor/gatsby-jay) 😄.

With Jay you can download a theme from our collection, and mount it as a default
theme. Styles are applied instantly without server restarts or additional lines
of code. Because of React, interactivity is supported out of the box.

Want to switch themes? No problem. Jay can archive themes for later use in a
themes folder in your local directory. Edit and swap themes as often as you want
and Jay will manage the process. Want to learn more? Read our
[docs](https://www.gatsbymanor.com/docs/cli/)!

## How it all started

The idea began when I decided to update my personal website. I wanted a way to
rebuild my website with ease however the approaches were less than exciting.

Building a new site myself would require a lot of time. My imagination often
runs wild when it comes to web design and what is supposed take a day of work
turns into weeks of site iterations. The joys of web development often causes me
to over-engineer simple websites. Not to mention that building a development
environment alone is the biggest requirement when starting from scratch.
Therefore another option needed to be explored.

[Wordpress](https://wordpress.org/) would be the fastest solution to build a
website but I wanted to be able to rapidly prototype on customs themes.
Unfortunately, understanding the architecture to develop themes on this stack
would require additional time. Not to mention I dislike PHP (#sorryNotSorry 😅)
therefore this option was a clear loser. I tried [Hugo](https://gohugo.io/) and
[Jekyll](https://jekyllrb.com/). They gave me the right mix of speed and
control. But their templating languages were unappealing as long term options.

When I stumbled onto Gatsby, I found the golden goose. I already worked with
React before, therefore I could prototype rapidly. The development environment
gave me a tight feedback loop out of the box. And I had all the control in the
world for enhanced interactive features.

## The development process

Once settled on Gatsby, I started working on my personal website. Within 2
hours I wanted to prototype with different design elements because I found
inspiration from [html5up](https://html5up.net/) templates. However I did not
want to discard my work so far.

I decided to make a new directory to store my outdated work, like a true digital
hoarder. A few more hours passed and I found myself yarning for
my original design choice because the new design was too complex. I knew this
situation would occur again (sometimes I can be indecisive 😅) so I decided to build
a small cli tool to switch between themes easily. But first I needed a name, and
Jay seemed the most clever since I was working with Gatsby.

As I was debugging code one day, I stumbled onto a feature request for a
[theme system](https://github.com/gatsbyjs/gatsby/issues/2662). At that moment,
I decided I was going to build a theme solution for the community. Five
months later, Gatsby Manor was born.

## Final notes

Gatsby Manor is in public beta until we reach v1. There are plenty of
[Github](https://github.com/gatsbymanor) contributions to go around. To get
started, try out a Gatsby Manor theme using our tutorial on [getting started](https://www.gatsbymanor.com/docs/quick-start/getting-started). Open an
issue if you see an area of improvement. Follow and send us positive vibes on
Twitter using [@TheGatsbyManor](https://twitter.com/TheGatsbyManor).

TL;DR [Gatsby Manor](https://www.gatsbymanor.com/) is a place to get themes for
your Gatsby project. Use our [getting started](https://www.gatsbymanor.com/docs/quick-start/getting-started) tutorial to use
a [theme](https://www.gatsbymanor.com/themes) in your Gatsby project today.

Cheers! 🎉🎊

[@StevenNatera](https://twitter.com/stevennatera).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e5eae84

Please sign in to comment.