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