Skip to content

Commit

Permalink
perf(gatsby-source-contentful): fix API, execute deprecations, improv…
Browse files Browse the repository at this point in the history
…e performance (#27244)

* fix(gatsby-source-contentful): fixed id collision in contentful entries (#23514)

* fix(gatsby-source-contentful): fixed id collision in contentful entries

* fix(gatsby-source-contentful): properly resolve subsequent sync calls   (#15084)

* fix(gatsby-source-contentful): fixed id collision in contentful entries (#23514)

* fix(gatsby-source-contentful): fixed id collision in contentful entries

* improve logging and clean up code (#26238)

* improve comment about contentful-resolve-response usage

* test(unit): remove cross test data pollution

* further improve loggin by replacing console.time with GatsbyReporter

* improve code style

* missing file

* remove logging verbosity

* adjust mocked reporter for tests to pass

* remove unused deep-map dependency

* fix: use content type id by default to create reference gql types (#26102)

* temporary console.time calls for performance measurements

* perf(gatsby-source-contentful): use a map and less loops to merge old and latest sync API response

* log time Contentful API processing  and GraphQL node creation

* upgrade dependencies and use faster node 10 versions

* remove duplicate logging

* allow multiple Contentful sources

fixes #26875

* refactor(imports): fix dependency structure and make sharp optional

fixes #23904

* align tests to match new multi source cache pattern

Co-authored-by: Matthew Miller <mnmiller1@me.com>
Co-authored-by: Khaled Garbaya <khaled@contentful.com>
  • Loading branch information
3 people authored Oct 5, 2020
1 parent 8ca2826 commit 7bf2bdb
Show file tree
Hide file tree
Showing 11 changed files with 3,584 additions and 3,502 deletions.
12 changes: 6 additions & 6 deletions packages/gatsby-source-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@contentful/rich-text-types": "^13.4.0",
"@contentful/rich-text-types": "^14.1.1",
"@hapi/joi": "^15.1.1",
"axios": "^0.20.0",
"base64-img": "^1.0.4",
"bluebird": "^3.7.2",
"chalk": "^2.4.2",
"chalk": "^4.1.0",
"contentful": "^7.14.6",
"deep-map": "^1.5.0",
"fs-extra": "^8.1.0",
"fs-extra": "^9.0.1",
"gatsby-core-utils": "^1.3.22",
"gatsby-plugin-sharp": "^2.6.38",
"gatsby-source-filesystem": "^2.3.32",
"is-online": "^8.4.0",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.20",
"progress": "^2.0.3",
"qs": "^6.9.4"
},
"devDependencies": {
Expand All @@ -39,7 +38,8 @@
],
"license": "MIT",
"peerDependencies": {
"gatsby": "^2.12.1"
"gatsby": "^2.12.1",
"gatsby-plugin-sharp": "^2.6.14"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 7bf2bdb

Please sign in to comment.