From 04bae0867aaaa79721029c7cba0f9357f4695657 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Sat, 14 Dec 2019 17:59:46 -0800 Subject: [PATCH] Bump dependency versions in modules, examples and docs (#4015) --- README.md | 18 ++++++++++++------ docs/layers/arc-layer.md | 6 +++--- docs/layers/bitmap-layer.md | 6 +++--- docs/layers/column-layer.md | 6 +++--- docs/layers/contour-layer.md | 8 ++++---- docs/layers/cpu-grid-layer.md | 8 ++++---- docs/layers/geojson-layer.md | 6 +++--- docs/layers/gpu-grid-layer.md | 8 ++++---- docs/layers/grid-cell-layer.md | 6 +++--- docs/layers/grid-layer.md | 8 ++++---- docs/layers/h3-cluster-layer.md | 8 ++++---- docs/layers/h3-hexagon-layer.md | 8 ++++---- docs/layers/heatmap-layer.md | 8 ++++---- docs/layers/hexagon-layer.md | 8 ++++---- docs/layers/icon-layer.md | 6 +++--- docs/layers/line-layer.md | 6 +++--- docs/layers/path-layer.md | 6 +++--- docs/layers/point-cloud-layer.md | 6 +++--- docs/layers/polygon-layer.md | 6 +++--- docs/layers/s2-layer.md | 8 ++++---- docs/layers/scatterplot-layer.md | 6 +++--- docs/layers/screen-grid-layer.md | 8 ++++---- docs/layers/simple-mesh-layer.md | 6 +++--- docs/layers/solid-polygon-layer.md | 6 +++--- docs/layers/text-layer.md | 6 +++--- docs/layers/tile-3d-layer.md | 6 +++--- docs/layers/tile-layer.md | 8 ++++---- docs/layers/trips-layer.md | 8 ++++---- examples/experimental/bezier/package.json | 2 +- examples/experimental/sun/package.json | 2 +- examples/gallery/src/arc-layer.html | 2 +- examples/gallery/src/bitmap-layer.html | 2 +- examples/gallery/src/boiler-plate.html | 2 +- examples/gallery/src/column-layer.html | 2 +- examples/gallery/src/contour-layer.html | 2 +- examples/gallery/src/geojson-layer.html | 2 +- examples/gallery/src/great-circle-layer.html | 2 +- examples/gallery/src/hexagon-layer.html | 2 +- examples/gallery/src/highway.html | 2 +- examples/gallery/src/icon-layer.html | 2 +- examples/gallery/src/line-layer.html | 2 +- examples/gallery/src/mapbox-layer.html | 2 +- examples/gallery/src/point-cloud-layer.html | 2 +- examples/gallery/src/scatterplot-layer.html | 2 +- examples/gallery/src/screengrid-layer.html | 2 +- examples/gallery/src/text-layer.html | 2 +- examples/gallery/src/viewport-transition.html | 2 +- .../get-started/pure-js/basic/package.json | 4 ++-- .../pure-js/google-maps/package.json | 6 +++--- .../get-started/pure-js/mapbox/package.json | 4 ++-- examples/get-started/react/basic/package.json | 2 +- .../react/mapbox-browserify/package.json | 2 +- examples/get-started/react/mapbox/package.json | 2 +- .../get-started/scripting/basic/index.html | 2 +- .../scripting/google-maps/index.html | 2 +- .../get-started/scripting/mapbox/index.html | 2 +- examples/playground/package.json | 2 +- examples/website/3d-heatmap/package.json | 2 +- examples/website/3d-tiles/package.json | 2 +- examples/website/arc/package.json | 2 +- examples/website/brushing/package.json | 2 +- examples/website/data-filter/package.json | 2 +- examples/website/geojson/package.json | 2 +- examples/website/heatmap/package.json | 2 +- examples/website/highway/package.json | 2 +- examples/website/icon/package.json | 2 +- examples/website/line/package.json | 2 +- examples/website/map-tile/package.json | 2 +- examples/website/mesh/package.json | 2 +- examples/website/plot/package.json | 2 +- examples/website/point-cloud/package.json | 2 +- examples/website/scatterplot/package.json | 2 +- examples/website/scenegraph-layer/package.json | 3 +-- examples/website/screen-grid/package.json | 2 +- examples/website/tagmap/package.json | 2 +- examples/website/text-layer/package.json | 2 +- examples/website/trips/package.json | 2 +- modules/aggregation-layers/package.json | 4 ++-- modules/extensions/package.json | 2 +- modules/geo-layers/package.json | 6 +++--- modules/google-maps/package.json | 2 +- modules/json/package.json | 2 +- modules/layers/package.json | 2 +- modules/mapbox/package.json | 2 +- modules/mesh-layers/package.json | 2 +- modules/react/package.json | 6 +++--- modules/test-utils/package.json | 4 ++-- 87 files changed, 174 insertions(+), 169 deletions(-) diff --git a/README.md b/README.md index 67065d02080..46440c5c0a7 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,12 @@ const scatterplotLayer = new ScatterplotLayer({ ```js import DeckGL from 'deck.gl'; - + ``` ## Using deck.gl with Pure JS @@ -68,12 +73,13 @@ import DeckGL from 'deck.gl'; import {Deck} from '@deck.gl/core'; const deck = new Deck({ - container: document.body, width: '100vw', height: '100vh', - longitude: -122.4, - latitude: 37.78, - zoom: 8, + initialViewState: { + longitude: -122.4, + latitude: 37.78, + zoom: 8 + }, controller: true, layers: [scatterplotLayer] }); @@ -84,7 +90,7 @@ Minimum setups of end-to-end deck.gl usage is also showcased in the [hello-world To learn how to use deck.gl through the many examples that come with the deck.gl repo, please clone the latest **release** branch: ``` -git clone -b 6.2-release --single-branch https://github.com/uber/deck.gl.git +git clone -b 7.3-release --single-branch https://github.com/uber/deck.gl.git ``` For the most up-to-date information, see our [API documentations](http://deck.gl/#/documentation) diff --git a/docs/layers/arc-layer.md b/docs/layers/arc-layer.md index bc2bbec5aaf..872547c86f1 100644 --- a/docs/layers/arc-layer.md +++ b/docs/layers/arc-layer.md @@ -70,10 +70,10 @@ new ArcLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/bitmap-layer.md b/docs/layers/bitmap-layer.md index d51dc3b5c5b..7fd2d2f209f 100644 --- a/docs/layers/bitmap-layer.md +++ b/docs/layers/bitmap-layer.md @@ -43,10 +43,10 @@ new BitmapLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/column-layer.md b/docs/layers/column-layer.md index 0769c01bf6e..4a71ee8f761 100644 --- a/docs/layers/column-layer.md +++ b/docs/layers/column-layer.md @@ -67,10 +67,10 @@ new ColumnLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/contour-layer.md b/docs/layers/contour-layer.md index e0a360d5470..6163c295be1 100644 --- a/docs/layers/contour-layer.md +++ b/docs/layers/contour-layer.md @@ -60,11 +60,11 @@ new ContourLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/cpu-grid-layer.md b/docs/layers/cpu-grid-layer.md index 458f95c2173..0eb9dea80f8 100644 --- a/docs/layers/cpu-grid-layer.md +++ b/docs/layers/cpu-grid-layer.md @@ -69,11 +69,11 @@ new CPUGridLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/geojson-layer.md b/docs/layers/geojson-layer.md index 036ead4329f..ec5a92fbe92 100644 --- a/docs/layers/geojson-layer.md +++ b/docs/layers/geojson-layer.md @@ -68,10 +68,10 @@ new GeoJsonLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/gpu-grid-layer.md b/docs/layers/gpu-grid-layer.md index 0ac1e272aec..0024a2e2180 100644 --- a/docs/layers/gpu-grid-layer.md +++ b/docs/layers/gpu-grid-layer.md @@ -73,11 +73,11 @@ new GPUGridLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/grid-cell-layer.md b/docs/layers/grid-cell-layer.md index c56e42163f5..87e9f98b0b9 100644 --- a/docs/layers/grid-cell-layer.md +++ b/docs/layers/grid-cell-layer.md @@ -69,10 +69,10 @@ new GridCellLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/grid-layer.md b/docs/layers/grid-layer.md index 2251d1061a0..2852d9f1262 100644 --- a/docs/layers/grid-layer.md +++ b/docs/layers/grid-layer.md @@ -68,11 +68,11 @@ new GridLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/h3-cluster-layer.md b/docs/layers/h3-cluster-layer.md index 762074d7aa0..ecccb551d68 100644 --- a/docs/layers/h3-cluster-layer.md +++ b/docs/layers/h3-cluster-layer.md @@ -78,11 +78,11 @@ To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/h3-hexagon-layer.md b/docs/layers/h3-hexagon-layer.md index 659e5a125dd..391ec5d38fb 100644 --- a/docs/layers/h3-hexagon-layer.md +++ b/docs/layers/h3-hexagon-layer.md @@ -70,11 +70,11 @@ To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/heatmap-layer.md b/docs/layers/heatmap-layer.md index 04c743dc4e6..3106332f99c 100644 --- a/docs/layers/heatmap-layer.md +++ b/docs/layers/heatmap-layer.md @@ -51,11 +51,11 @@ new HeatmapLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/hexagon-layer.md b/docs/layers/hexagon-layer.md index 56daec0489f..3ca7a14c651 100644 --- a/docs/layers/hexagon-layer.md +++ b/docs/layers/hexagon-layer.md @@ -65,11 +65,11 @@ new HexagonLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/icon-layer.md b/docs/layers/icon-layer.md index 4e4573f6bc1..dea4b4f018c 100644 --- a/docs/layers/icon-layer.md +++ b/docs/layers/icon-layer.md @@ -138,10 +138,10 @@ new IconLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/line-layer.md b/docs/layers/line-layer.md index d615d812919..fb80797a0a0 100644 --- a/docs/layers/line-layer.md +++ b/docs/layers/line-layer.md @@ -70,10 +70,10 @@ new LineLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/path-layer.md b/docs/layers/path-layer.md index 21831cf02de..5baa303ad20 100644 --- a/docs/layers/path-layer.md +++ b/docs/layers/path-layer.md @@ -64,10 +64,10 @@ new PathLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/point-cloud-layer.md b/docs/layers/point-cloud-layer.md index daaeb14356e..d8234e40099 100644 --- a/docs/layers/point-cloud-layer.md +++ b/docs/layers/point-cloud-layer.md @@ -63,10 +63,10 @@ new PointCloudLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/polygon-layer.md b/docs/layers/polygon-layer.md index ca7a834c032..486ed4d3a06 100644 --- a/docs/layers/polygon-layer.md +++ b/docs/layers/polygon-layer.md @@ -83,10 +83,10 @@ new PolygonLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/s2-layer.md b/docs/layers/s2-layer.md index c9c3a3fce20..f4bd3fd1107 100644 --- a/docs/layers/s2-layer.md +++ b/docs/layers/s2-layer.md @@ -75,11 +75,11 @@ To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/scatterplot-layer.md b/docs/layers/scatterplot-layer.md index 45de4746307..3f3b209dc58 100644 --- a/docs/layers/scatterplot-layer.md +++ b/docs/layers/scatterplot-layer.md @@ -67,10 +67,10 @@ new ScatterplotLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/screen-grid-layer.md b/docs/layers/screen-grid-layer.md index 945670d2d21..4edc9b9103c 100644 --- a/docs/layers/screen-grid-layer.md +++ b/docs/layers/screen-grid-layer.md @@ -76,11 +76,11 @@ new ScreenGridLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/simple-mesh-layer.md b/docs/layers/simple-mesh-layer.md index d11b159a094..a3ea8033e03 100644 --- a/docs/layers/simple-mesh-layer.md +++ b/docs/layers/simple-mesh-layer.md @@ -59,10 +59,10 @@ new SimpleMeshLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/solid-polygon-layer.md b/docs/layers/solid-polygon-layer.md index 88362c00e47..9f007434186 100644 --- a/docs/layers/solid-polygon-layer.md +++ b/docs/layers/solid-polygon-layer.md @@ -44,10 +44,10 @@ new SolidPolygonLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/text-layer.md b/docs/layers/text-layer.md index baae4114594..faeec6d60b7 100644 --- a/docs/layers/text-layer.md +++ b/docs/layers/text-layer.md @@ -67,10 +67,10 @@ new TextLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/tile-3d-layer.md b/docs/layers/tile-3d-layer.md index ab8316339e4..cd24e4b4f4a 100644 --- a/docs/layers/tile-3d-layer.md +++ b/docs/layers/tile-3d-layer.md @@ -60,10 +60,10 @@ new Tile3DLayer({}); To use pre-bundled scripts: ```html - + - - + + ``` ```js diff --git a/docs/layers/tile-layer.md b/docs/layers/tile-layer.md index 332c105dab9..aeb06ce4c95 100644 --- a/docs/layers/tile-layer.md +++ b/docs/layers/tile-layer.md @@ -80,11 +80,11 @@ new TileLayer({}); To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/docs/layers/trips-layer.md b/docs/layers/trips-layer.md index 7580bdd710b..f58f1c601b7 100644 --- a/docs/layers/trips-layer.md +++ b/docs/layers/trips-layer.md @@ -57,11 +57,11 @@ const App = ({data, viewport}) => { To use pre-bundled scripts: ```html - + - - - + + + ``` ```js diff --git a/examples/experimental/bezier/package.json b/examples/experimental/bezier/package.json index 663a30a1338..8e5828e2c8e 100644 --- a/examples/experimental/bezier/package.json +++ b/examples/experimental/bezier/package.json @@ -7,7 +7,7 @@ "start": "webpack-dev-server --progress --hot --open" }, "dependencies": { - "deck.gl": "^7.3.0-beta", + "deck.gl": "^8.0.0-beta", "react": "^16.3.0", "react-dom": "^16.3.0" }, diff --git a/examples/experimental/sun/package.json b/examples/experimental/sun/package.json index ecf04f48d5e..41b732fdcf3 100644 --- a/examples/experimental/sun/package.json +++ b/examples/experimental/sun/package.json @@ -7,7 +7,7 @@ "start": "webpack-dev-server --progress --hot --open" }, "dependencies": { - "deck.gl": "^7.3.0-beta", + "deck.gl": "^8.0.0-beta", "react": "^16.3.0", "react-dom": "^16.3.0", "react-map-gl": "^5.0.0" diff --git a/examples/gallery/src/arc-layer.html b/examples/gallery/src/arc-layer.html index dd9c933afe9..c58f6c03ebc 100644 --- a/examples/gallery/src/arc-layer.html +++ b/examples/gallery/src/arc-layer.html @@ -2,7 +2,7 @@ deck.gl ArcLayer Example - + diff --git a/examples/gallery/src/bitmap-layer.html b/examples/gallery/src/bitmap-layer.html index 3ce3ac91878..489bb72afba 100644 --- a/examples/gallery/src/bitmap-layer.html +++ b/examples/gallery/src/bitmap-layer.html @@ -2,7 +2,7 @@ deck.gl BitmapLayer Example - +