diff --git a/.travis.yml b/.travis.yml index 754898f3..2c808f4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ dist: xenial language: node_js node_js: - - '11' + - '12' # Deploying uses awscli and it uses Python. # Xenial on Travis comes with Python 2 & 3 installed but 2 is default. diff --git a/gatsby-node.js b/gatsby-node.js index b4d40049..a3d97268 100755 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -251,7 +251,7 @@ const createTypeDocPage = async (createPage, name, downloadUrl) => { const fetchSwaggerSpec = async name => { try { const client = await Swagger( - `https://${name}.test.oceanprotocol.com/spec` + `https://${name}.commons.oceanprotocol.com/spec` ) return client.spec // The resolved spec @@ -264,7 +264,7 @@ const fetchSwaggerSpec = async name => { // TryItOut Executor, with the `spec` already provided // client.execute({operationId: 'addPet', parameters: {id: 1, name: "bobby") }).then(...) } catch (error) { - console.log(error) + console.error(error.message) } } @@ -320,6 +320,6 @@ const createSwaggerPages = async createPage => { } }) } catch (error) { - console.log(error) + console.error(error.message) } } diff --git a/package.json b/package.json index adb93e29..98e7b6ab 100644 --- a/package.json +++ b/package.json @@ -25,37 +25,37 @@ "@oceanprotocol/art": "^2.2.0", "axios": "^0.19.0", "classnames": "^2.2.6", - "gatsby": "^2.13.70", - "gatsby-image": "^2.2.9", - "gatsby-plugin-catch-links": "^2.1.3", - "gatsby-plugin-google-analytics": "^2.1.7", - "gatsby-plugin-manifest": "^2.2.5", - "gatsby-plugin-offline": "^2.2.6", - "gatsby-plugin-react-helmet": "^3.1.3", - "gatsby-plugin-sass": "^2.1.9", - "gatsby-plugin-sharp": "^2.2.12", - "gatsby-plugin-sitemap": "^2.2.6", + "gatsby": "^2.17.7", + "gatsby-image": "^2.2.30", + "gatsby-plugin-catch-links": "^2.1.15", + "gatsby-plugin-google-analytics": "^2.1.23", + "gatsby-plugin-manifest": "^2.2.26", + "gatsby-plugin-offline": "^3.0.17", + "gatsby-plugin-react-helmet": "^3.1.13", + "gatsby-plugin-sass": "^2.1.20", + "gatsby-plugin-sharp": "^2.2.36", + "gatsby-plugin-sitemap": "^2.2.19", "gatsby-plugin-svgr": "^2.0.2", - "gatsby-remark-autolink-headers": "^2.1.3", + "gatsby-remark-autolink-headers": "^2.1.16", "gatsby-remark-code-titles": "^1.1.0", "gatsby-remark-component": "^1.1.3", - "gatsby-remark-copy-linked-files": "^2.1.6", - "gatsby-remark-embed-video": "^1.7.1", + "gatsby-remark-copy-linked-files": "^2.1.28", + "gatsby-remark-embed-video": "^2.0.1", "gatsby-remark-github": "^2.0.0", - "gatsby-remark-images": "^3.1.12", - "gatsby-remark-responsive-iframe": "^2.2.4", - "gatsby-remark-smartypants": "^2.1.2", - "gatsby-remark-vscode": "^1.1.2", - "gatsby-source-filesystem": "^2.1.9", - "gatsby-source-graphql": "^2.1.5", - "gatsby-transformer-remark": "^2.6.14", - "gatsby-transformer-sharp": "^2.2.6", - "gatsby-transformer-xml": "^2.1.3", - "gatsby-transformer-yaml": "^2.2.4", + "gatsby-remark-images": "^3.1.28", + "gatsby-remark-responsive-iframe": "^2.2.25", + "gatsby-remark-smartypants": "^2.1.14", + "gatsby-remark-vscode": "^1.2.1", + "gatsby-source-filesystem": "^2.1.35", + "gatsby-source-graphql": "^2.1.21", + "gatsby-transformer-remark": "^2.6.32", + "gatsby-transformer-sharp": "^2.3.2", + "gatsby-transformer-xml": "^2.1.17", + "gatsby-transformer-yaml": "^2.2.15", "giphy-js-sdk-core": "^1.0.6", "intersection-observer": "^0.7.0", - "react": "^16.9.0", - "react-dom": "^16.9.0", + "react": "^16.11.0", + "react-dom": "^16.11.0", "react-helmet": "^5.2.1", "react-scrollspy": "^3.4.0", "rehype-react": "^4.0.1", @@ -64,23 +64,23 @@ "remark-react": "^6.0.0", "slugify": "^1.3.4", "smoothscroll-polyfill": "^0.4.4", - "swagger-client": "^3.9.3" + "swagger-client": "^3.9.5" }, "devDependencies": { - "@svgr/webpack": "^4.3.2", - "dotenv": "^8.1.0", - "eslint": "^6.2.0", + "@svgr/webpack": "^4.3.3", + "dotenv": "^8.2.0", + "eslint": "^6.6.0", "eslint-config-oceanprotocol": "^1.5.0", - "eslint-config-prettier": "^6.1.0", - "eslint-plugin-prettier": "^3.1.0", + "eslint-config-prettier": "^6.5.0", + "eslint-plugin-prettier": "^3.1.1", "markdownlint-cli": "^0.19.0", - "node-sass": "^4.12.0", + "node-sass": "^4.13.0", "npm-run-all": "^4.1.5", "prettier": "^1.18.2", "prettier-stylelint": "^0.4.2", - "stylelint": "^11.0.0", + "stylelint": "^11.1.1", "stylelint-config-bigchaindb": "^1.2.2", - "stylelint-config-css-modules": "^1.4.0", + "stylelint-config-css-modules": "^1.5.0", "stylelint-config-standard": "^19.0.0" }, "repository": {