Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update fork #1

Merged
merged 51 commits into from
Sep 7, 2018
Merged

Update fork #1

merged 51 commits into from
Sep 7, 2018

Conversation

stoltzrobin
Copy link
Owner

Update fork

nikoladev and others added 30 commits September 4, 2018 13:43
* spanish docs

* spanish translations: tutorial part-zero and part-one done

* no more duplicate files at  👍
* added aws-amplify hosting blog

* updated blog with additional info & a couple of minor changes

* updated readme

* small update to intro

* Update index.md

* today's date
* feat: add navigateTo -> navigate codemod

* chore: add -test suffix

* fix: get the global-graphql-calls codemod working with comments

Note: this makes an assumption that we support ESM in the absence of any require or import statements... we _have_ to make an assumption though, so this seems like at least a decent fallback

* chore: remove test script

* refactor: minor tweaks; rely on side-effects

* style: fix back tick issue

* chore: add a pass-through fixture just as a sanity check
Using babels config api means we defer to the filesystem not override it.
…aticQuery (#7846)

* compare both query text and hash when checking if we need to rerun staticquery

* more context on checking query text + fix typo
 - gatsby-codemods@1.0.0-rc.2
 - gatsby-plugin-sass@2.0.0-rc.2
 - gatsby@2.0.0-rc.10
* chore: remove gatsby tag from blog posts

* fix: iron out some issues on the tag pages

* fix: ensure routing remains working per @pieh
* Fix pathPrefix causing erroneous redirects

* Don't write __PATH_PREFIX__ to the window.page object
* Add default limit and allow a limit option to be set in config
Update the readme to explain use
Minor format amend as there are now multiple options.

* Clarify that the limit only affects requests for posts by username

* readme formatting

* Update the example file with comments to help manual tests

* Correct spelling
* fix: babel options

we don't need to disable babelrc lookup now that we are using the babel apis

* update snapshots
* codemod for gatsby-link import

* fix lint error

* fix import link codemod test fixtures

* codemod for gatsby-link import

* fix lint error

* fix import link codemod test fixtures

* update README with import-link codemod details

* add prettierignore to import-link codemod textfixtures

* disable eslint for all testfixtures

* remove textfixtures from root prettierignore file

* remote testfixtures from global eslintIgnore

* disable eslint in test fixtures

* preserve comment in first line with import-link codemod

* handle multiple imports from gatsby-link

* fix lint errors
 - gatsby-codemods@1.0.0-rc.3
 - gatsby-plugin-netlify@2.0.0-rc.2
 - gatsby-plugin-offline@2.0.0-rc.3
 - gatsby-source-medium@2.0.0-rc.2
 - gatsby-transformer-csv@2.0.0-rc.2
 - gatsby-transformer-javascript-frontmatter@2.0.0-rc.3
 - gatsby-transformer-json@2.1.1-rc.2
 - gatsby-transformer-toml@2.1.1-rc.2
 - gatsby-transformer-xml@2.0.0-rc.2
 - gatsby-transformer-yaml@2.1.1-rc.2
 - gatsby@2.0.0-rc.11
…hout use of fallback locales (#7854)

* Added support for non localized fields without use of fallback locales

* Added test for default locale and removed unused code
…7867)

* docs: add a title to code snippets in the first part of the tutorial

* style: run prettier

* refactor: use established constants for some values instead of hard
coding

* style: use scale for font size

* refactor: co-locate gatsby code highlight style with other code style
oltodo and others added 21 commits September 5, 2018 21:31
* fix: sort data before writing into the data.json cache file

* fixup! fix: sort data before writing into the data.json cache file

* fixup! fix: sort data before writing into the data.json cache file

* fixup! fix: sort data before writing into the data.json cache file
* add gedd.ski site to showcase

ahhh yeah!

* remove subtle showcase hint
…ble (#7801)

* Add support for writing queries for <StaticQuery> in a separate variable

* Add warning for when we can't find a variable declaration for the query prop + instructions on how to resolve the problem

* Add a test for an imported query as well

* Extract out query in example site (just to prove it works)

* Fix lint errors

* Remove mention in docs that pulling out query into variable doesn't work

* Use report.warn + drop question to new line for better scanability

* Support queries declared in other variables for prod builds

* Add link to astexplorer link

* Fix lint + test problems

* Fix lint

* Unmock

* Filter out other calls

* Remove console coloring + trim whitespace
 - babel-plugin-remove-graphql-queries@2.0.2-rc.3
 - gatsby-plugin-typescript@2.0.0-rc.4
 - gatsby-source-contentful@2.0.1-rc.4
 - gatsby@2.0.0-rc.12
* lazy load twitter scripts when an embedded tweet is seen

* Don't use base64 for showcase as it's loading several 100kbs of compressed base64 images on the initial page load

* Use <link prefetch> for prefetching + fix bug in gatsby-plugin-offline loading lots of initial JS

* Remove old more complex queuing prefetching logic in place of much simpler just immediately <link prefetch> resources

* Set backgroundColor for all showcase images since not using blur-up anymore

* Lazy load algolia js/css and some cleanups

* Actually don't set backgroundColor to lightgray — looks terrible

* Fix linting errors

* Don't try to be clever as TTI is measured to any significant CPU usage within first 10 seconds so delaying loading doesn't help

* Vendor the docsearch.min.js script to make it easier to lazy load

* Also load algolia js on click so works on mobile

* Fix tests

* Set check boolean to true

* Format

* Use xhr for prefetching in safari

* Format
 - gatsby-plugin-offline@2.0.0-rc.4
 - gatsby-plugin-styled-jsx@3.0.1-rc.3
 - gatsby-plugin-subfont@1.0.1-rc.1
 - gatsby-plugin-twitter@2.0.0-rc.2
 - gatsby-source-npm-package-search@2.0.0-rc.3
 - gatsby@2.0.0-rc.13
* docs(migrating-to-v2): fix typos

* docs(migrating-to-v2): address PR comment
* [google-analytics-more-options] Add support for Create Only Fields in Google Analytics plugin

* [google-analytics-more-options] Add example usage for create only options
* fix: ensure graphql key (starting with numeric) is valid

* add more test
* removed utils/getTransitionStyle.js

* made getTransitionStyles an object
@stoltzrobin stoltzrobin merged commit e3ab4e9 into stoltzrobin:master Sep 7, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.