From 837daa2c70fc4837159ed8c7dc81fa6e3bbd69fb Mon Sep 17 00:00:00 2001 From: Scott Sidwell Date: Thu, 30 Apr 2020 12:07:15 +1000 Subject: [PATCH 1/2] chore: CHARTS-3881 improve readme, update codesandbox links --- README.md | 6 +++--- examples/unauthenticated/readme.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 58e9354..9d9809a 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@ Programmatically **embed** and **control** MongoDB Charts in your application. [![npm](https://img.shields.io/npm/v/@mongodb-js/charts-embed-dom.svg)](https://www.npmjs.com/package/@mongodb-js/charts-embed-dom/) -[![npm](https://img.shields.io/npm/l/@mongodb-js/charts-embed-dom.svg)](https://www.npmjs.com/package/@mongodb-js/charts-embed-dom/v/beta) +[![npm](https://img.shields.io/npm/l/@mongodb-js/charts-embed-dom.svg)](https://www.npmjs.com/package/@mongodb-js/charts-embed-dom/) -[Explore this example yourself!](https://codesandbox.io/s/charts-embedding-sdk-8i898) +[Explore this example yourself!](https://codesandbox.io/s/github/mongodb-js/charts-embed-sdk/tree/master/examples/unauthenticated) @@ -26,7 +26,7 @@ yarn add @mongodb-js/charts-embed-dom ## Documentation 📖 -- [Installation](https://docs.mongodb.com/charts/master/embedding-charts-sdk/) +- [Installation & MongoDB Docs](https://docs.mongodb.com/charts/master/embedding-charts-sdk/) - [Examples](https://github.com/mongodb-js/charts-embed-sdk/blob/master/examples) - Guides 🤠 - [Getting started with custom JWT authentication](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/authenticated-custom-jwt) diff --git a/examples/unauthenticated/readme.md b/examples/unauthenticated/readme.md index a9c15de..f379e4a 100644 --- a/examples/unauthenticated/readme.md +++ b/examples/unauthenticated/readme.md @@ -4,7 +4,7 @@ 📄 _[See the MongoDB Charts Embedding Docs for more details](https://docs.mongodb.com/charts/saas/embedding-charts/)_ -🎮 _[Play with a live demo of this sample here](https://codesandbox.io/s/github/mongodb-js/charts-embed-sdk/tree/master/examples/authenticated-custom-jwt)_ +🎮 _[Play with a live demo of this sample here](https://codesandbox.io/s/github/mongodb-js/charts-embed-sdk/tree/master/examples/unauthenticated)_ MongoDB Charts allows you to create visualizations of your MongoDB data using a simple web interface. You can view the visualizations within the Charts UI, or you can use the Embedding feature to render the charts in an external web application. From 5f16d861219f71e16c5c13e41cf0a63cc063d437 Mon Sep 17 00:00:00 2001 From: Scott Sidwell Date: Thu, 30 Apr 2020 12:10:21 +1000 Subject: [PATCH 2/2] chore: CHARTS-3881 update NPM dependencies in examples --- examples/authenticated-custom-jwt/package.json | 2 +- examples/authenticated-google/index.html | 13 ++++++------- examples/authenticated-realm/package.json | 2 +- examples/unauthenticated/package.json | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/examples/authenticated-custom-jwt/package.json b/examples/authenticated-custom-jwt/package.json index cccb0bf..770afcc 100644 --- a/examples/authenticated-custom-jwt/package.json +++ b/examples/authenticated-custom-jwt/package.json @@ -8,7 +8,7 @@ "build": "parcel build index.html" }, "dependencies": { - "@mongodb-js/charts-embed-dom": "^1.0.0-beta.2", + "@mongodb-js/charts-embed-dom": "^1.0.0", "cors": "^2.8.5", "express": "^4.16.3", "jsonwebtoken": "^8.3.0", diff --git a/examples/authenticated-google/index.html b/examples/authenticated-google/index.html index 80e9989..30791b5 100755 --- a/examples/authenticated-google/index.html +++ b/examples/authenticated-google/index.html @@ -10,7 +10,7 @@ href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" /> - + - diff --git a/examples/authenticated-realm/package.json b/examples/authenticated-realm/package.json index e05f703..b54328c 100644 --- a/examples/authenticated-realm/package.json +++ b/examples/authenticated-realm/package.json @@ -8,7 +8,7 @@ "build": "parcel build index.html" }, "dependencies": { - "@mongodb-js/charts-embed-dom": "0.0.0-dev.12", + "@mongodb-js/charts-embed-dom": "^1.0.0", "jsonwebtoken": "^8.3.0", "mongodb-stitch-browser-sdk": "^4.8.0", "parcel": "^1.12.4", diff --git a/examples/unauthenticated/package.json b/examples/unauthenticated/package.json index d254c3d..0ff38a1 100755 --- a/examples/unauthenticated/package.json +++ b/examples/unauthenticated/package.json @@ -8,7 +8,7 @@ "build": "parcel build index.html" }, "dependencies": { - "@mongodb-js/charts-embed-dom": "1.0.0-beta.2", + "@mongodb-js/charts-embed-dom": "^1.0.0", "regenerator-runtime": "^0.13.3" }, "devDependencies": {