From 9843ced6f19495fdd59c6385cba7e4afa4071e2e Mon Sep 17 00:00:00 2001 From: Leonardo Rocha Date: Mon, 21 Feb 2022 12:46:34 +0100 Subject: [PATCH 1/4] fix path in Table tag MDX data-literate demo --- examples/data-literate/content/demo.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/data-literate/content/demo.mdx b/examples/data-literate/content/demo.mdx index 6833b5f6..c3984a4b 100644 --- a/examples/data-literate/content/demo.mdx +++ b/examples/data-literate/content/demo.mdx @@ -121,10 +121,10 @@ Year,Temp Anomaly, ### Table from a URL - +
``` -
+
``` ## Charts From 25f3c6b32a60c4f922394c85d2d7d03fe2cbc143 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Tue, 22 Feb 2022 08:45:33 +0100 Subject: [PATCH 2/4] Fix explorer not display issue --- examples/dataset-frictionless/package.json | 2 +- examples/dataset-frictionless/pages/index.js | 2 +- examples/dataset-frictionless/yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/dataset-frictionless/package.json b/examples/dataset-frictionless/package.json index e5a7e740..f8bd143c 100644 --- a/examples/dataset-frictionless/package.json +++ b/examples/dataset-frictionless/package.json @@ -17,7 +17,7 @@ "datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git", "frictionless.js": "^0.13.4", "next": "latest", - "portal": "https://github.com/datopian/portal.js", + "portal": "git+https://github.com/datopian/portal.js.git", "postcss": "^8.2.10", "react": "^17.0.1", "react-dom": "^17.0.1", diff --git a/examples/dataset-frictionless/pages/index.js b/examples/dataset-frictionless/pages/index.js index b3cb0313..fb115e47 100644 --- a/examples/dataset-frictionless/pages/index.js +++ b/examples/dataset-frictionless/pages/index.js @@ -3,7 +3,7 @@ import { PlotlyChart, ReadMe, DataExplorer, -} from 'portal' +} from 'portal/dist/index.cjs' import path from 'path' import Head from 'next/head' import { getDataset } from '../lib/dataset' diff --git a/examples/dataset-frictionless/yarn.lock b/examples/dataset-frictionless/yarn.lock index d7908816..42f3c690 100644 --- a/examples/dataset-frictionless/yarn.lock +++ b/examples/dataset-frictionless/yarn.lock @@ -10113,9 +10113,9 @@ popper.js@1.16.1-lts: resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1-lts.tgz#cf6847b807da3799d80ee3d6d2f90df8a3f50b05" integrity sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA== -"portal@https://github.com/datopian/portal.js": +"portal@git+https://github.com/datopian/portal.js.git": version "0.1.0" - resolved "https://github.com/datopian/portal.js#8a4cc83813f22071cb1889a6d907833b6bf56093" + resolved "git+https://github.com/datopian/portal.js.git#9843ced6f19495fdd59c6385cba7e4afa4071e2e" dependencies: "@emotion/react" "^11.7.1" "@emotion/styled" "^11.6.0" From 739c0863d0ce55dcfd77d6f27a46e6753370c4bb Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Tue, 22 Feb 2022 09:07:22 +0100 Subject: [PATCH 3/4] Install portal from latest commit hash --- examples/dataset-frictionless/package.json | 2 +- examples/dataset-frictionless/yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/dataset-frictionless/package.json b/examples/dataset-frictionless/package.json index f8bd143c..0c473436 100644 --- a/examples/dataset-frictionless/package.json +++ b/examples/dataset-frictionless/package.json @@ -17,7 +17,7 @@ "datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git", "frictionless.js": "^0.13.4", "next": "latest", - "portal": "git+https://github.com/datopian/portal.js.git", + "portal": "https://github.com/datopian/portal.js.git#25f3c6b32a60c4f922394c85d2d7d03fe2cbc143", "postcss": "^8.2.10", "react": "^17.0.1", "react-dom": "^17.0.1", diff --git a/examples/dataset-frictionless/yarn.lock b/examples/dataset-frictionless/yarn.lock index 42f3c690..309a0445 100644 --- a/examples/dataset-frictionless/yarn.lock +++ b/examples/dataset-frictionless/yarn.lock @@ -10113,9 +10113,9 @@ popper.js@1.16.1-lts: resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1-lts.tgz#cf6847b807da3799d80ee3d6d2f90df8a3f50b05" integrity sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA== -"portal@git+https://github.com/datopian/portal.js.git": +"portal@https://github.com/datopian/portal.js.git#25f3c6b32a60c4f922394c85d2d7d03fe2cbc143": version "0.1.0" - resolved "git+https://github.com/datopian/portal.js.git#9843ced6f19495fdd59c6385cba7e4afa4071e2e" + resolved "https://github.com/datopian/portal.js.git#25f3c6b32a60c4f922394c85d2d7d03fe2cbc143" dependencies: "@emotion/react" "^11.7.1" "@emotion/styled" "^11.6.0" From 98c2ec8b11c01cc5f3096128ab606e958caa5074 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Tue, 22 Feb 2022 09:18:41 +0100 Subject: [PATCH 4/4] Update portal.js import in example --- examples/dataset-frictionless/pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dataset-frictionless/pages/index.js b/examples/dataset-frictionless/pages/index.js index fb115e47..b3cb0313 100644 --- a/examples/dataset-frictionless/pages/index.js +++ b/examples/dataset-frictionless/pages/index.js @@ -3,7 +3,7 @@ import { PlotlyChart, ReadMe, DataExplorer, -} from 'portal/dist/index.cjs' +} from 'portal' import path from 'path' import Head from 'next/head' import { getDataset } from '../lib/dataset'