From d554049699494e946f4caf345177839b4f0cba8b Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Mon, 30 Dec 2019 10:04:42 +0100 Subject: [PATCH] fix: engine warning on console for ui (#403) * fix: engine warning on console for ui * chore: update snapshots * chore: remove u flag * chore: add readme note * chore: update README.md Co-Authored-By: Daniel Ruf <827205+DanielRuf@users.noreply.github.com> Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com> --- README.md | 2 +- package.json | 2 +- src/App/__snapshots__/App.test.tsx.snap | 12 ++++++++++-- .../Install/__snapshots__/Install.test.tsx.snap | 4 ++++ .../UpLinks/__snapshots__/UpLinks.test.tsx.snap | 2 +- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f40b604..9426046 100755 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ ## Contributing -We use `>=yarn@1.13.0`, keep on mind we use lock file. +We use `>=yarn@1.13.0`, keep in mind that we use lockfiles and use at least Node `v10.13.0` to be able to build the project. For development run the following command, it will execute `webpack` and `verdaccio` to diff --git a/package.json b/package.json index b0504b0..6e87f1d 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "dev": "concurrently --kill-others \"npm run dev:web\" \"npm run verdaccio:server\"" }, "engines": { - "node": ">= 10.13.0", + "node": ">= 8", "npm": ">=5" }, "husky": { diff --git a/src/App/__snapshots__/App.test.tsx.snap b/src/App/__snapshots__/App.test.tsx.snap index 80311dd..d54ae26 100644 --- a/src/App/__snapshots__/App.test.tsx.snap +++ b/src/App/__snapshots__/App.test.tsx.snap @@ -1,6 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` should display the Header component 1`] = ` +.emotion-10 { + background-color: #fff; +} + .emotion-8 { -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); @@ -49,7 +53,7 @@ exports[` should display the Header component 1`] = ` }
should display the Header component 1`] = ` `; exports[` should display the Loading component at the beginning 1`] = ` +.emotion-10 { + background-color: #fff; +} + .emotion-8 { -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); @@ -138,7 +146,7 @@ exports[` should display the Loading component at the beginning 1`] = ` }
renders correctly 1`] = ` padding: 0; } +.emotion-2 img { + background-color: transparent; +} + .emotion-10 { padding: 0 10px; margin: 0; diff --git a/src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap b/src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap index 558456a..34d28e8 100644 --- a/src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap +++ b/src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap @@ -2,4 +2,4 @@ exports[` component should render the component when there is no uplink 1`] = `"
verdaccio has no uplinks.
"`; -exports[` component should render the component with uplinks 1`] = `"
Uplinks
  • npmjs
    a year ago
"`; +exports[` component should render the component with uplinks 1`] = `"
Uplinks
  • npmjs
    2 years ago
"`;