1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

fix merge conflicts

This commit is contained in:
Max Berman 2020-01-08 11:35:00 +01:00
commit f853c880c5
11 changed files with 42 additions and 35 deletions

View File

@ -1,12 +0,0 @@
root = true
[*]
charset = utf-8
indent_size = 4
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{json,yml,yaml,md}]
indent_size = 2

View File

@ -1,5 +1,15 @@
{ {
"semi": false, "semi": false,
"singleQuote": true, "singleQuote": true,
"trailingComma": "none" "trailingComma": "none",
"tabWidth": 4,
"endOfLine": "lf",
"overrides": [
{
"files": ["*.{json,yml,yaml,md}"],
"options": {
"tabWidth": 2
}
}
]
} }

View File

@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v2.0.1](https://github.com/oceanprotocol/commons/compare/v2.0.0...v2.0.1)
> 7 January 2020
- more additionalInformation checks [`#213`](https://github.com/oceanprotocol/commons/pull/213)
- remove editorconfig [`#211`](https://github.com/oceanprotocol/commons/pull/211)
- remove editorconfig, define all styling in prettierrc [`f8dfaa4`](https://github.com/oceanprotocol/commons/commit/f8dfaa438c42e9d6c25ae9ac096129da95e431c3)
#### [v2.0.0](https://github.com/oceanprotocol/commons/compare/v2.0.0-beta.3...v2.0.0) #### [v2.0.0](https://github.com/oceanprotocol/commons/compare/v2.0.0-beta.3...v2.0.0)
> 9 December 2019 > 9 December 2019
@ -11,7 +19,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Migrate to new v2 DDO structure [`#207`](https://github.com/oceanprotocol/commons/pull/207) - Migrate to new v2 DDO structure [`#207`](https://github.com/oceanprotocol/commons/pull/207)
- bump dependencies [`a8c695e`](https://github.com/oceanprotocol/commons/commit/a8c695e16f07b603250aa0eae5aa64d6275072b6) - bump dependencies [`a8c695e`](https://github.com/oceanprotocol/commons/commit/a8c695e16f07b603250aa0eae5aa64d6275072b6)
- test and package fixes [`3df046b`](https://github.com/oceanprotocol/commons/commit/3df046bbea14c0d0b4817976b8496c5af365bc0d) - test and package fixes [`3df046b`](https://github.com/oceanprotocol/commons/commit/3df046bbea14c0d0b4817976b8496c5af365bc0d)
- bump to squid-js v1.0.0 [`7f9daa0`](https://github.com/oceanprotocol/commons/commit/7f9daa0d8277502dae4594c9d6779eebec8a3a90) - Release 2.0.0 [`70a3339`](https://github.com/oceanprotocol/commons/commit/70a3339f8b0fdbabad1475659639f145ec68ed6c)
#### [v2.0.0-beta.3](https://github.com/oceanprotocol/commons/compare/v1.3.2...v2.0.0-beta.3) #### [v2.0.0-beta.3](https://github.com/oceanprotocol/commons/compare/v1.3.2...v2.0.0-beta.3)

View File

@ -1,6 +1,6 @@
{ {
"name": "commons-client", "name": "commons-client",
"version": "2.0.0", "version": "2.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
{ {
"name": "commons-client", "name": "commons-client",
"description": "Ocean Protocol marketplace frontend to explore, download, and publish open data sets.", "description": "Ocean Protocol marketplace frontend to explore, download, and publish open data sets.",
"version": "2.0.0", "version": "2.0.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",

View File

@ -39,15 +39,17 @@ const AssetTeaser = ({
} }
> >
<Link to={`/asset/${asset.id}`}> <Link to={`/asset/${asset.id}`}>
{additionalInformation.categories && !minimal && ( {additionalInformation &&
additionalInformation.categories &&
!minimal && (
<CategoryImage <CategoryImage
dimmed dimmed
category={additionalInformation.categories[0]} category={additionalInformation.categories[0]}
/> />
)} )}
<h1>{main.name}</h1> <h1>{main.name}</h1>
<h2>test</h2>
{!minimal && ( {additionalInformation && !minimal && (
<div className={styles.description}> <div className={styles.description}>
<Dotdotdot clamp={3}> <Dotdotdot clamp={3}>
{additionalInformation.description} {additionalInformation.description}
@ -55,7 +57,8 @@ const AssetTeaser = ({
</div> </div>
)} )}
<footer className={styles.assetFooter}> <footer className={styles.assetFooter}>
{additionalInformation.categories && ( {additionalInformation &&
additionalInformation.categories && (
<div>{additionalInformation.categories[0]}</div> <div>{additionalInformation.categories[0]}</div>
)} )}
{allowPricing && ( {allowPricing && (

View File

@ -1,7 +1,6 @@
version: '3.4' version: '3.4'
services: services:
client: client:
build: build:
context: ./client context: ./client
@ -21,4 +20,3 @@ services:
dockerfile: ./Dockerfile dockerfile: ./Dockerfile
ports: ports:
- 4000:4000 - 4000:4000

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "commons", "name": "commons",
"version": "2.0.0", "version": "2.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
{ {
"name": "commons", "name": "commons",
"description": "Ocean Protocol marketplace to explore, download, and publish open data sets.", "description": "Ocean Protocol marketplace to explore, download, and publish open data sets.",
"version": "2.0.0", "version": "2.0.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"install": "./scripts/install.sh", "install": "./scripts/install.sh",

View File

@ -1,6 +1,6 @@
{ {
"name": "commons-server", "name": "commons-server",
"version": "2.0.0", "version": "2.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
{ {
"name": "commons-server", "name": "commons-server",
"description": "Ocean Protocol marketplace backend.", "description": "Ocean Protocol marketplace backend.",
"version": "2.0.0", "version": "2.0.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/src/server.js", "main": "dist/src/server.js",
"scripts": { "scripts": {