From f452b1278b797e8f9141cae9a76898e5faeccceb Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Tue, 3 Jan 2023 18:10:18 -0800 Subject: [PATCH 1/2] Use vite in examples --- examples/README.md | 12 +- examples/experimental/bezier/index.html | 15 + examples/experimental/bezier/package.json | 17 +- .../bezier/src/{app.js => app.jsx} | 0 .../experimental/bezier/webpack.config.js | 41 - examples/experimental/h3-grid/index.html | 15 + examples/experimental/h3-grid/package.json | 18 +- .../h3-grid/src/{app.js => app.jsx} | 0 .../experimental/h3-grid/webpack.config.js | 41 - .../experimental/interleaved-buffer/README.md | 4 - .../interleaved-buffer/index.html | 15 + .../interleaved-buffer/package.json | 15 +- .../interleaved-buffer/webpack.config.js | 17 - examples/get-started/pure-js/arcgis/README.md | 8 +- .../get-started/pure-js/arcgis/index.html | 2 +- .../get-started/pure-js/arcgis/package.json | 13 +- .../pure-js/arcgis/webpack.config.js | 13 - examples/get-started/pure-js/basic/README.md | 7 +- examples/get-started/pure-js/basic/app.js | 6 +- examples/get-started/pure-js/basic/index.html | 13 + .../get-started/pure-js/basic/package.json | 14 +- .../pure-js/basic/webpack.config.js | 17 - examples/get-started/pure-js/carto/index.html | 2 +- .../get-started/pure-js/carto/package.json | 13 +- .../pure-js/carto/webpack.config.js | 13 - examples/get-started/pure-js/globe/README.md | 7 +- examples/get-started/pure-js/globe/app.js | 7 +- examples/get-started/pure-js/globe/index.html | 13 + .../get-started/pure-js/globe/package.json | 14 +- .../pure-js/globe/webpack.config.js | 17 - .../get-started/pure-js/google-maps/README.md | 7 +- .../pure-js/google-maps/index.html | 2 +- .../pure-js/google-maps/package.json | 13 +- .../pure-js/google-maps/vite.config.js | 6 + .../pure-js/google-maps/webpack.config.js | 20 - .../get-started/pure-js/harp.gl/README.md | 4 - .../get-started/pure-js/harp.gl/package.json | 4 +- .../pure-js/harp.gl/webpack.config.js | 2 +- .../get-started/pure-js/leaflet/README.md | 7 +- .../get-started/pure-js/leaflet/index.html | 2 +- .../get-started/pure-js/leaflet/package.json | 13 +- .../pure-js/leaflet/webpack.config.js | 13 - examples/get-started/pure-js/mapbox/README.md | 7 +- .../get-started/pure-js/mapbox/index.html | 2 +- .../get-started/pure-js/mapbox/package.json | 13 +- .../pure-js/mapbox/webpack.config.js | 22 - .../get-started/pure-js/openlayers/README.md | 7 +- .../get-started/pure-js/openlayers/index.html | 2 +- .../pure-js/openlayers/package.json | 13 +- .../pure-js/openlayers/webpack.config.js | 15 - examples/get-started/react/arcgis/README.md | 7 +- .../react/arcgis/{app.js => app.jsx} | 0 examples/get-started/react/arcgis/index.html | 2 +- .../get-started/react/arcgis/package.json | 17 +- .../react/arcgis/webpack.config.js | 28 - examples/get-started/react/basic/README.md | 7 +- .../react/basic/{app.js => app.jsx} | 0 examples/get-started/react/basic/index.html | 13 + examples/get-started/react/basic/package.json | 17 +- .../get-started/react/basic/webpack.config.js | 32 - .../get-started/react/google-maps/README.md | 7 +- .../react/google-maps/{app.js => app.jsx} | 0 .../get-started/react/google-maps/index.html | 13 + .../react/google-maps/package.json | 17 +- .../react/google-maps/vite.config.js | 6 + .../react/google-maps/webpack.config.js | 32 - examples/get-started/react/mapbox/README.md | 7 +- .../react/mapbox/{app.js => app.jsx} | 0 examples/get-started/react/mapbox/index.html | 13 + .../get-started/react/mapbox/package.json | 17 +- .../react/mapbox/webpack.config.js | 41 - examples/layer-browser/index.html | 2 +- examples/layer-browser/package.json | 16 +- .../layer-browser/src/{app.js => app.jsx} | 0 ...tte-picker.js => color-palette-picker.jsx} | 0 .../{color-picker.js => color-picker.jsx} | 0 .../{layer-controls.js => layer-controls.jsx} | 0 .../{layer-info.js => layer-info.jsx} | 0 .../{layer-selector.js => layer-selector.jsx} | 0 .../layer-browser/src/index.jsx | 9 +- .../layer-browser/src/{map.js => map.jsx} | 0 .../{render-metrics.js => render-metrics.jsx} | 0 examples/layer-browser/webpack.config.js | 55 - examples/playground/index.html | 6 +- examples/playground/json-examples/index.js | 45 +- examples/playground/package.json | 17 +- examples/playground/src/{app.js => app.jsx} | 0 ...ogle-maps.js => deck-with-google-maps.jsx} | 0 ...pbox-maps.js => deck-with-mapbox-maps.jsx} | 0 examples/playground/vite.config.js | 5 + examples/playground/webpack.config.js | 40 - examples/vite.config.local.mjs | 29 + examples/webpack.config.local.js | 174 -- examples/website/360-video/README.md | 2 +- .../website/360-video/{app.js => app.jsx} | 0 examples/website/360-video/index.html | 6 +- examples/website/360-video/package.json | 16 +- examples/website/360-video/webpack.config.js | 36 - examples/website/3d-heatmap/README.md | 2 +- .../website/3d-heatmap/{app.js => app.jsx} | 4 +- examples/website/3d-heatmap/index.html | 6 +- examples/website/3d-heatmap/package.json | 16 +- examples/website/3d-heatmap/webpack.config.js | 32 - examples/website/3d-tiles/README.md | 2 +- examples/website/3d-tiles/{app.js => app.jsx} | 0 examples/website/3d-tiles/index.html | 6 +- examples/website/3d-tiles/package.json | 16 +- examples/website/3d-tiles/webpack.config.js | 32 - examples/website/arc/README.md | 2 +- examples/website/arc/{app.js => app.jsx} | 0 examples/website/arc/index.html | 6 +- examples/website/arc/package.json | 16 +- examples/website/arc/webpack.config.js | 32 - examples/website/brushing/README.md | 2 +- examples/website/brushing/{app.js => app.jsx} | 0 examples/website/brushing/index.html | 6 +- examples/website/brushing/package.json | 16 +- examples/website/brushing/webpack.config.js | 32 - examples/website/carto-sql/README.md | 2 +- .../website/carto-sql/{app.js => app.jsx} | 0 examples/website/carto-sql/index.html | 6 +- examples/website/carto-sql/package.json | 16 +- examples/website/carto-sql/webpack.config.js | 32 - examples/website/contour/README.md | 2 +- examples/website/contour/{app.js => app.jsx} | 0 examples/website/contour/index.html | 6 +- examples/website/contour/package.json | 16 +- examples/website/contour/webpack.config.js | 32 - examples/website/data-filter/README.md | 2 +- .../website/data-filter/{app.js => app.jsx} | 4 +- examples/website/data-filter/index.html | 6 +- examples/website/data-filter/package.json | 16 +- .../{range-input.js => range-input.jsx} | 0 .../website/data-filter/webpack.config.js | 32 - examples/website/election/README.md | 2 +- examples/website/election/index.html | 6 +- examples/website/election/package.json | 13 +- examples/website/election/vite.config.js | 5 + examples/website/election/webpack.config.js | 23 - examples/website/geojson/README.md | 2 +- examples/website/geojson/{app.js => app.jsx} | 0 examples/website/geojson/index.html | 6 +- examples/website/geojson/package.json | 16 +- examples/website/geojson/webpack.config.js | 32 - examples/website/ghcn/README.md | 2 +- examples/website/ghcn/{app.js => app.jsx} | 0 examples/website/ghcn/index.html | 6 +- examples/website/ghcn/package.json | 16 +- examples/website/ghcn/webpack.config.js | 32 - examples/website/globe/README.md | 2 +- examples/website/globe/{app.js => app.jsx} | 0 examples/website/globe/index.html | 6 +- examples/website/globe/package.json | 16 +- .../globe/{range-input.js => range-input.jsx} | 0 examples/website/globe/webpack.config.js | 32 - examples/website/google-3d/README.md | 2 +- examples/website/google-3d/index.html | 6 +- examples/website/google-3d/package.json | 13 +- examples/website/google-3d/vite.config.js | 6 + examples/website/google-3d/webpack.config.js | 23 - examples/website/heatmap/README.md | 2 +- examples/website/heatmap/{app.js => app.jsx} | 0 examples/website/heatmap/index.html | 6 +- examples/website/heatmap/package.json | 16 +- examples/website/heatmap/webpack.config.js | 32 - examples/website/highway/README.md | 2 +- examples/website/highway/{app.js => app.jsx} | 4 +- examples/website/highway/index.html | 6 +- examples/website/highway/package.json | 16 +- examples/website/highway/webpack.config.js | 32 - examples/website/i3s/README.md | 2 +- examples/website/i3s/index.html | 6 +- examples/website/i3s/package.json | 13 +- examples/website/i3s/webpack.config.js | 17 - examples/website/icon/README.md | 2 +- examples/website/icon/{app.js => app.jsx} | 0 examples/website/icon/index.html | 6 +- examples/website/icon/package.json | 16 +- examples/website/icon/webpack.config.js | 32 - examples/website/image-tile/README.md | 2 +- .../website/image-tile/{app.js => app.jsx} | 0 examples/website/image-tile/index.html | 6 +- examples/website/image-tile/package.json | 16 +- examples/website/image-tile/webpack.config.js | 32 - examples/website/line/README.md | 2 +- examples/website/line/{app.js => app.jsx} | 0 examples/website/line/index.html | 6 +- examples/website/line/package.json | 16 +- examples/website/line/webpack.config.js | 32 - examples/website/map-tile/README.md | 2 +- examples/website/map-tile/{app.js => app.jsx} | 0 examples/website/map-tile/index.html | 6 +- examples/website/map-tile/package.json | 16 +- examples/website/map-tile/webpack.config.js | 32 - examples/website/mesh/README.md | 2 +- examples/website/mesh/{app.js => app.jsx} | 0 examples/website/mesh/index.html | 6 +- examples/website/mesh/package.json | 16 +- examples/website/mesh/webpack.config.js | 32 - examples/website/plot/README.md | 2 +- examples/website/plot/{app.js => app.jsx} | 0 examples/website/plot/index.html | 6 +- examples/website/plot/package.json | 16 +- examples/website/plot/webpack.config.js | 34 - examples/website/point-cloud/README.md | 2 +- .../website/point-cloud/{app.js => app.jsx} | 0 examples/website/point-cloud/index.html | 6 +- examples/website/point-cloud/package.json | 16 +- .../website/point-cloud/webpack.config.js | 32 - examples/website/radio/README.md | 2 +- examples/website/radio/{app.js => app.jsx} | 0 examples/website/radio/index.html | 6 +- examples/website/radio/package.json | 16 +- .../radio/{search-bar.js => search-bar.jsx} | 0 examples/website/radio/webpack.config.js | 32 - examples/website/safegraph/README.md | 2 +- examples/website/safegraph/index.html | 6 +- examples/website/safegraph/package.json | 13 +- examples/website/safegraph/vite.config.js | 5 + examples/website/safegraph/webpack.config.js | 17 - examples/website/scatterplot/README.md | 2 +- .../website/scatterplot/{app.js => app.jsx} | 0 examples/website/scatterplot/index.html | 6 +- examples/website/scatterplot/package.json | 16 +- .../website/scatterplot/webpack.config.js | 32 - examples/website/scenegraph/README.md | 2 +- .../website/scenegraph/{app.js => app.jsx} | 0 examples/website/scenegraph/index.html | 8 +- examples/website/scenegraph/package.json | 16 +- examples/website/scenegraph/webpack.config.js | 36 - examples/website/screen-grid/README.md | 2 +- .../website/screen-grid/{app.js => app.jsx} | 0 examples/website/screen-grid/index.html | 6 +- examples/website/screen-grid/package.json | 16 +- .../website/screen-grid/webpack.config.js | 32 - examples/website/tagmap/README.md | 2 +- examples/website/tagmap/{app.js => app.jsx} | 0 examples/website/tagmap/index.html | 6 +- examples/website/tagmap/package.json | 16 +- examples/website/tagmap/webpack.config.js | 32 - examples/website/terrain/README.md | 2 +- examples/website/terrain/{app.js => app.jsx} | 0 examples/website/terrain/index.html | 6 +- examples/website/terrain/package.json | 16 +- examples/website/terrain/vite.config.js | 5 + examples/website/terrain/webpack.config.js | 39 - examples/website/trips/README.md | 2 +- examples/website/trips/{app.js => app.jsx} | 0 examples/website/trips/index.html | 6 +- examples/website/trips/package.json | 16 +- examples/website/trips/webpack.config.js | 32 - package.json | 8 +- test/apps/arcgis-i3s/index.html | 2 +- test/apps/arcgis-i3s/package.json | 9 +- test/apps/arcgis-i3s/webpack.config.js | 13 - test/apps/arcgis/index.html | 2 +- test/apps/arcgis/package.json | 9 +- test/apps/arcgis/webpack.config.js | 13 - .../attribute-transition/{app.js => app.jsx} | 0 test/apps/attribute-transition/index.html | 4 +- test/apps/attribute-transition/package.json | 10 +- .../attribute-transition/webpack.config.js | 31 - test/apps/attribute-worker/index.html | 13 + test/apps/attribute-worker/package.json | 11 +- test/apps/attribute-worker/webpack.config.js | 34 - .../carto-dynamic-tile/{app.js => app.jsx} | 0 test/apps/carto-dynamic-tile/index.html | 2 +- test/apps/carto-dynamic-tile/package.json | 11 +- .../apps/carto-dynamic-tile/webpack.config.js | 28 - test/apps/carto-map/index.html | 2 +- test/apps/carto-map/package.json | 12 +- test/apps/carto-map/webpack.config.js | 13 - test/apps/carto-wip/index.html | 2 +- test/apps/carto-wip/package.json | 8 +- test/apps/carto-wip/webpack.config.js | 46 - test/apps/custom-tileset/{app.js => app.jsx} | 0 test/apps/custom-tileset/index.html | 2 +- test/apps/custom-tileset/package.json | 11 +- test/apps/custom-tileset/webpack.config.js | 28 - test/apps/data-filter/index.html | 13 + test/apps/data-filter/package.json | 11 +- test/apps/data-filter/src/{app.js => app.jsx} | 0 test/apps/data-filter/webpack.config.js | 36 - test/apps/framebuffer/index.html | 13 + test/apps/framebuffer/package.json | 15 +- test/apps/framebuffer/webpack.config.js | 32 - test/apps/frustum-cull/{app.js => app.jsx} | 0 test/apps/frustum-cull/index.html | 13 + test/apps/frustum-cull/package.json | 16 +- test/apps/frustum-cull/webpack.config.js | 37 - test/apps/globe/index.html | 2 +- test/apps/globe/package.json | 9 +- test/apps/globe/webpack.config.js | 13 - test/apps/glsl-debugger/index.html | 2 +- test/apps/glsl-debugger/package.json | 10 +- test/apps/glsl-debugger/webpack.config.js | 33 - test/apps/json-layer/{app.js => app.jsx} | 0 test/apps/json-layer/index.html | 13 + test/apps/json-layer/package.json | 15 +- test/apps/json-layer/webpack.config.js | 41 - test/apps/json-pure-js/index.html | 1 + test/apps/json-pure-js/package.json | 15 +- test/apps/json-pure-js/webpack.config.js | 107 - test/apps/mapbox-layers/index.html | 2 +- test/apps/mapbox-layers/package.json | 15 +- .../{react-app.js => react-app.jsx} | 0 test/apps/mapbox-layers/webpack.config.js | 36 - test/apps/mapbox-tile/{app.js => app.jsx} | 0 test/apps/mapbox-tile/index.html | 2 +- test/apps/mapbox-tile/package.json | 11 +- test/apps/mapbox-tile/webpack.config.js | 28 - test/apps/mask-first-person/index.html | 2 +- test/apps/mask-first-person/package.json | 12 +- test/apps/mask-first-person/webpack.config.js | 32 - .../mask-orthographic/{app.js => app.jsx} | 4 +- test/apps/mask-orthographic/index.html | 5 +- test/apps/mask-orthographic/package.json | 14 +- test/apps/mask-orthographic/webpack.config.js | 32 - test/apps/mask/{app.js => app.jsx} | 14 +- test/apps/mask/index.html | 5 +- test/apps/mask/package.json | 14 +- test/apps/mask/webpack.config.js | 32 - test/apps/minimap/{app.js => app.jsx} | 0 test/apps/minimap/index.html | 13 + test/apps/minimap/package.json | 14 +- test/apps/minimap/webpack.config.js | 38 - test/apps/multi-viewport/{app.js => app.jsx} | 0 test/apps/multi-viewport/index.html | 2 +- test/apps/multi-viewport/package.json | 12 +- test/apps/multi-viewport/webpack.config.js | 32 - test/apps/partial-update/{app.js => app.jsx} | 0 test/apps/partial-update/index.html | 13 + test/apps/partial-update/package.json | 11 +- test/apps/partial-update/webpack.config.js | 30 - test/apps/standalone/index.html | 2 +- test/apps/standalone/package.json | 26 +- test/apps/standalone/webpack.config.js | 18 - test/apps/stress-tests/index.html | 2 +- test/apps/stress-tests/package.json | 13 +- test/apps/stress-tests/webpack.config.js | 13 - .../svg-interoperability/{app.js => app.jsx} | 0 test/apps/svg-interoperability/index.html | 4 +- test/apps/svg-interoperability/package.json | 15 +- .../svg-interoperability/webpack.config.js | 34 - test/apps/text/index.html | 2 +- test/apps/text/package.json | 9 +- test/apps/text/webpack.config.js | 13 - test/apps/video/{app.js => app.jsx} | 0 test/apps/video/index.html | 13 + test/apps/video/package.json | 15 +- test/apps/video/webpack.config.js | 35 - .../viewport-transitions-flyTo/index.html | 2 +- .../viewport-transitions-flyTo/package.json | 11 +- .../src/{app.js => app.jsx} | 0 .../{control-panel.js => control-panel.jsx} | 0 .../src/{root.js => root.jsx} | 0 .../webpack.config.js | 51 - test/apps/vite.config.local.mjs | 1 + test/apps/wboit/{app.js => app.jsx} | 0 test/apps/wboit/index.html | 10 + .../src/index.js => test/apps/wboit/index.jsx | 0 test/apps/wboit/package.json | 13 +- test/apps/wboit/webpack.config.js | 40 - test/apps/webpack.config.local.js | 1 - yarn.lock | 2080 +---------------- 365 files changed, 999 insertions(+), 5585 deletions(-) create mode 100644 examples/experimental/bezier/index.html rename examples/experimental/bezier/src/{app.js => app.jsx} (100%) delete mode 100644 examples/experimental/bezier/webpack.config.js create mode 100644 examples/experimental/h3-grid/index.html rename examples/experimental/h3-grid/src/{app.js => app.jsx} (100%) delete mode 100644 examples/experimental/h3-grid/webpack.config.js create mode 100644 examples/experimental/interleaved-buffer/index.html delete mode 100644 examples/experimental/interleaved-buffer/webpack.config.js delete mode 100644 examples/get-started/pure-js/arcgis/webpack.config.js create mode 100644 examples/get-started/pure-js/basic/index.html delete mode 100644 examples/get-started/pure-js/basic/webpack.config.js delete mode 100644 examples/get-started/pure-js/carto/webpack.config.js create mode 100644 examples/get-started/pure-js/globe/index.html delete mode 100644 examples/get-started/pure-js/globe/webpack.config.js create mode 100644 examples/get-started/pure-js/google-maps/vite.config.js delete mode 100644 examples/get-started/pure-js/google-maps/webpack.config.js delete mode 100644 examples/get-started/pure-js/leaflet/webpack.config.js delete mode 100644 examples/get-started/pure-js/mapbox/webpack.config.js delete mode 100644 examples/get-started/pure-js/openlayers/webpack.config.js rename examples/get-started/react/arcgis/{app.js => app.jsx} (100%) delete mode 100644 examples/get-started/react/arcgis/webpack.config.js rename examples/get-started/react/basic/{app.js => app.jsx} (100%) create mode 100644 examples/get-started/react/basic/index.html delete mode 100644 examples/get-started/react/basic/webpack.config.js rename examples/get-started/react/google-maps/{app.js => app.jsx} (100%) create mode 100644 examples/get-started/react/google-maps/index.html create mode 100644 examples/get-started/react/google-maps/vite.config.js delete mode 100644 examples/get-started/react/google-maps/webpack.config.js rename examples/get-started/react/mapbox/{app.js => app.jsx} (100%) create mode 100644 examples/get-started/react/mapbox/index.html delete mode 100644 examples/get-started/react/mapbox/webpack.config.js rename examples/layer-browser/src/{app.js => app.jsx} (100%) rename examples/layer-browser/src/components/{color-palette-picker.js => color-palette-picker.jsx} (100%) rename examples/layer-browser/src/components/{color-picker.js => color-picker.jsx} (100%) rename examples/layer-browser/src/components/{layer-controls.js => layer-controls.jsx} (100%) rename examples/layer-browser/src/components/{layer-info.js => layer-info.jsx} (100%) rename examples/layer-browser/src/components/{layer-selector.js => layer-selector.jsx} (100%) rename test/apps/wboit/index.js => examples/layer-browser/src/index.jsx (78%) rename examples/layer-browser/src/{map.js => map.jsx} (100%) rename examples/layer-browser/src/{render-metrics.js => render-metrics.jsx} (100%) delete mode 100644 examples/layer-browser/webpack.config.js rename examples/playground/src/{app.js => app.jsx} (100%) rename examples/playground/src/{deck-with-google-maps.js => deck-with-google-maps.jsx} (100%) rename examples/playground/src/{deck-with-mapbox-maps.js => deck-with-mapbox-maps.jsx} (100%) create mode 100644 examples/playground/vite.config.js delete mode 100644 examples/playground/webpack.config.js create mode 100644 examples/vite.config.local.mjs delete mode 100644 examples/webpack.config.local.js rename examples/website/360-video/{app.js => app.jsx} (100%) delete mode 100644 examples/website/360-video/webpack.config.js rename examples/website/3d-heatmap/{app.js => app.jsx} (97%) delete mode 100644 examples/website/3d-heatmap/webpack.config.js rename examples/website/3d-tiles/{app.js => app.jsx} (100%) delete mode 100644 examples/website/3d-tiles/webpack.config.js rename examples/website/arc/{app.js => app.jsx} (100%) delete mode 100644 examples/website/arc/webpack.config.js rename examples/website/brushing/{app.js => app.jsx} (100%) delete mode 100644 examples/website/brushing/webpack.config.js rename examples/website/carto-sql/{app.js => app.jsx} (100%) delete mode 100644 examples/website/carto-sql/webpack.config.js rename examples/website/contour/{app.js => app.jsx} (100%) delete mode 100644 examples/website/contour/webpack.config.js rename examples/website/data-filter/{app.js => app.jsx} (98%) rename examples/website/data-filter/{range-input.js => range-input.jsx} (100%) delete mode 100644 examples/website/data-filter/webpack.config.js create mode 100644 examples/website/election/vite.config.js delete mode 100644 examples/website/election/webpack.config.js rename examples/website/geojson/{app.js => app.jsx} (100%) delete mode 100644 examples/website/geojson/webpack.config.js rename examples/website/ghcn/{app.js => app.jsx} (100%) delete mode 100644 examples/website/ghcn/webpack.config.js rename examples/website/globe/{app.js => app.jsx} (100%) rename examples/website/globe/{range-input.js => range-input.jsx} (100%) delete mode 100644 examples/website/globe/webpack.config.js create mode 100644 examples/website/google-3d/vite.config.js delete mode 100644 examples/website/google-3d/webpack.config.js rename examples/website/heatmap/{app.js => app.jsx} (100%) delete mode 100644 examples/website/heatmap/webpack.config.js rename examples/website/highway/{app.js => app.jsx} (97%) delete mode 100644 examples/website/highway/webpack.config.js delete mode 100644 examples/website/i3s/webpack.config.js rename examples/website/icon/{app.js => app.jsx} (100%) delete mode 100644 examples/website/icon/webpack.config.js rename examples/website/image-tile/{app.js => app.jsx} (100%) delete mode 100644 examples/website/image-tile/webpack.config.js rename examples/website/line/{app.js => app.jsx} (100%) delete mode 100644 examples/website/line/webpack.config.js rename examples/website/map-tile/{app.js => app.jsx} (100%) delete mode 100644 examples/website/map-tile/webpack.config.js rename examples/website/mesh/{app.js => app.jsx} (100%) delete mode 100644 examples/website/mesh/webpack.config.js rename examples/website/plot/{app.js => app.jsx} (100%) delete mode 100644 examples/website/plot/webpack.config.js rename examples/website/point-cloud/{app.js => app.jsx} (100%) delete mode 100644 examples/website/point-cloud/webpack.config.js rename examples/website/radio/{app.js => app.jsx} (100%) rename examples/website/radio/{search-bar.js => search-bar.jsx} (100%) delete mode 100644 examples/website/radio/webpack.config.js create mode 100644 examples/website/safegraph/vite.config.js delete mode 100644 examples/website/safegraph/webpack.config.js rename examples/website/scatterplot/{app.js => app.jsx} (100%) delete mode 100644 examples/website/scatterplot/webpack.config.js rename examples/website/scenegraph/{app.js => app.jsx} (100%) delete mode 100644 examples/website/scenegraph/webpack.config.js rename examples/website/screen-grid/{app.js => app.jsx} (100%) delete mode 100644 examples/website/screen-grid/webpack.config.js rename examples/website/tagmap/{app.js => app.jsx} (100%) delete mode 100644 examples/website/tagmap/webpack.config.js rename examples/website/terrain/{app.js => app.jsx} (100%) create mode 100644 examples/website/terrain/vite.config.js delete mode 100644 examples/website/terrain/webpack.config.js rename examples/website/trips/{app.js => app.jsx} (100%) delete mode 100644 examples/website/trips/webpack.config.js delete mode 100644 test/apps/arcgis-i3s/webpack.config.js delete mode 100644 test/apps/arcgis/webpack.config.js rename test/apps/attribute-transition/{app.js => app.jsx} (100%) delete mode 100644 test/apps/attribute-transition/webpack.config.js create mode 100644 test/apps/attribute-worker/index.html delete mode 100644 test/apps/attribute-worker/webpack.config.js rename test/apps/carto-dynamic-tile/{app.js => app.jsx} (100%) delete mode 100644 test/apps/carto-dynamic-tile/webpack.config.js delete mode 100644 test/apps/carto-map/webpack.config.js delete mode 100644 test/apps/carto-wip/webpack.config.js rename test/apps/custom-tileset/{app.js => app.jsx} (100%) delete mode 100644 test/apps/custom-tileset/webpack.config.js create mode 100644 test/apps/data-filter/index.html rename test/apps/data-filter/src/{app.js => app.jsx} (100%) delete mode 100644 test/apps/data-filter/webpack.config.js create mode 100644 test/apps/framebuffer/index.html delete mode 100644 test/apps/framebuffer/webpack.config.js rename test/apps/frustum-cull/{app.js => app.jsx} (100%) create mode 100644 test/apps/frustum-cull/index.html delete mode 100644 test/apps/frustum-cull/webpack.config.js delete mode 100644 test/apps/globe/webpack.config.js delete mode 100644 test/apps/glsl-debugger/webpack.config.js rename test/apps/json-layer/{app.js => app.jsx} (100%) create mode 100644 test/apps/json-layer/index.html delete mode 100644 test/apps/json-layer/webpack.config.js delete mode 100644 test/apps/json-pure-js/webpack.config.js rename test/apps/mapbox-layers/{react-app.js => react-app.jsx} (100%) delete mode 100644 test/apps/mapbox-layers/webpack.config.js rename test/apps/mapbox-tile/{app.js => app.jsx} (100%) delete mode 100644 test/apps/mapbox-tile/webpack.config.js delete mode 100644 test/apps/mask-first-person/webpack.config.js rename test/apps/mask-orthographic/{app.js => app.jsx} (96%) delete mode 100644 test/apps/mask-orthographic/webpack.config.js rename test/apps/mask/{app.js => app.jsx} (97%) delete mode 100644 test/apps/mask/webpack.config.js rename test/apps/minimap/{app.js => app.jsx} (100%) create mode 100644 test/apps/minimap/index.html delete mode 100644 test/apps/minimap/webpack.config.js rename test/apps/multi-viewport/{app.js => app.jsx} (100%) delete mode 100644 test/apps/multi-viewport/webpack.config.js rename test/apps/partial-update/{app.js => app.jsx} (100%) create mode 100644 test/apps/partial-update/index.html delete mode 100644 test/apps/partial-update/webpack.config.js delete mode 100644 test/apps/standalone/webpack.config.js delete mode 100644 test/apps/stress-tests/webpack.config.js rename test/apps/svg-interoperability/{app.js => app.jsx} (100%) delete mode 100644 test/apps/svg-interoperability/webpack.config.js delete mode 100644 test/apps/text/webpack.config.js rename test/apps/video/{app.js => app.jsx} (100%) create mode 100644 test/apps/video/index.html delete mode 100644 test/apps/video/webpack.config.js rename test/apps/viewport-transitions-flyTo/src/{app.js => app.jsx} (100%) rename test/apps/viewport-transitions-flyTo/src/{control-panel.js => control-panel.jsx} (100%) rename test/apps/viewport-transitions-flyTo/src/{root.js => root.jsx} (100%) delete mode 100644 test/apps/viewport-transitions-flyTo/webpack.config.js create mode 100644 test/apps/vite.config.local.mjs rename test/apps/wboit/{app.js => app.jsx} (100%) create mode 100644 test/apps/wboit/index.html rename examples/layer-browser/src/index.js => test/apps/wboit/index.jsx (100%) delete mode 100644 test/apps/wboit/webpack.config.js delete mode 100644 test/apps/webpack.config.local.js diff --git a/examples/README.md b/examples/README.md index 6348b479b16..5928f43c4e5 100644 --- a/examples/README.md +++ b/examples/README.md @@ -10,14 +10,12 @@ start modifying and experimenting with. ### [Get-Started Examples](./get-started) These are intended to be absolutely minimal (in terms of application code, -package.json, webpack config etc) examples of how to get deck.gl and a base +package.json, bundler config etc) examples of how to get deck.gl and a base map working together. -* **[Pure JS](./get-started/pure-js)** Applications without depending any additional framework. Bundled with - webpack and served with webpack-dev-server. -* **[React](./get-started/react)** React exmples using `@deck.gl/react` and `react-map-gl`. Bundled with - webpack and served with webpack-dev-server. Transpiled with Babel. -* **[Scripting](./get-started/scripting)** HTML single-file examples that can be opened directly in a browser. +* **[Pure JS](./get-started/pure-js)** Applications without depending any additional framework. Bundled and served with vite. +* **[React](./get-started/react)** React exmples using `@deck.gl/react` and `react-map-gl`. Bundled and served with vite. +* **[Scripting](./get-started/scripting)** HTML single-file examples that can be opened directly in a browser. ### [Website Examples](./website) @@ -64,5 +62,3 @@ with hot reloading) or against an installed version of deck.gl Examples that support this mode have a `start-local` script in their `package.json`. - -Look at the `webpack.config.local.js` in this directory for details. diff --git a/examples/experimental/bezier/index.html b/examples/experimental/bezier/index.html new file mode 100644 index 00000000000..e8b0809f355 --- /dev/null +++ b/examples/experimental/bezier/index.html @@ -0,0 +1,15 @@ + + + + + deck.gl Example + + + + +
+ + + diff --git a/examples/experimental/bezier/package.json b/examples/experimental/bezier/package.json index 94d69654d09..4efcbf63e4d 100644 --- a/examples/experimental/bezier/package.json +++ b/examples/experimental/bezier/package.json @@ -1,10 +1,12 @@ { - "name": "bezier", + "name": "deckgl-examples-bezier", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -12,12 +14,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/experimental/bezier/src/app.js b/examples/experimental/bezier/src/app.jsx similarity index 100% rename from examples/experimental/bezier/src/app.js rename to examples/experimental/bezier/src/app.jsx diff --git a/examples/experimental/bezier/webpack.config.js b/examples/experimental/bezier/webpack.config.js deleted file mode 100644 index 44c3109c953..00000000000 --- a/examples/experimental/bezier/webpack.config.js +++ /dev/null @@ -1,41 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./src/app.js') - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - resolve: { - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - } - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/experimental/h3-grid/index.html b/examples/experimental/h3-grid/index.html new file mode 100644 index 00000000000..e8b0809f355 --- /dev/null +++ b/examples/experimental/h3-grid/index.html @@ -0,0 +1,15 @@ + + + + + deck.gl Example + + + + +
+ + + diff --git a/examples/experimental/h3-grid/package.json b/examples/experimental/h3-grid/package.json index 2c66f7c4d75..86f8dbc1220 100644 --- a/examples/experimental/h3-grid/package.json +++ b/examples/experimental/h3-grid/package.json @@ -1,11 +1,12 @@ { - "name": "h3-grid", + "name": "deckgl-examples-h3-grid", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open", - "build": "webpack -p --output-path dist" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -14,12 +15,7 @@ "react-map-gl": "^5.1.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/experimental/h3-grid/src/app.js b/examples/experimental/h3-grid/src/app.jsx similarity index 100% rename from examples/experimental/h3-grid/src/app.js rename to examples/experimental/h3-grid/src/app.jsx diff --git a/examples/experimental/h3-grid/webpack.config.js b/examples/experimental/h3-grid/webpack.config.js deleted file mode 100644 index 44c3109c953..00000000000 --- a/examples/experimental/h3-grid/webpack.config.js +++ /dev/null @@ -1,41 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./src/app.js') - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - resolve: { - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - } - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/experimental/interleaved-buffer/README.md b/examples/experimental/interleaved-buffer/README.md index 98af693c06d..c567bf634c4 100644 --- a/examples/experimental/interleaved-buffer/README.md +++ b/examples/experimental/interleaved-buffer/README.md @@ -1,7 +1,3 @@ -
- -
- ## Example: Use deck.gl with Interleaved Binary Data ## Usage diff --git a/examples/experimental/interleaved-buffer/index.html b/examples/experimental/interleaved-buffer/index.html new file mode 100644 index 00000000000..e2be19bdcb2 --- /dev/null +++ b/examples/experimental/interleaved-buffer/index.html @@ -0,0 +1,15 @@ + + + + + deck.gl Example + + + + +
+ + + diff --git a/examples/experimental/interleaved-buffer/package.json b/examples/experimental/interleaved-buffer/package.json index 552a476dad3..1cb14bba399 100644 --- a/examples/experimental/interleaved-buffer/package.json +++ b/examples/experimental/interleaved-buffer/package.json @@ -1,20 +1,19 @@ { - "name": "pure-js-basic", + "name": "deckgl-examples-interleaved-buffer", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", "@deck.gl/layers": "^8.8.0" }, "devDependencies": { - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/experimental/interleaved-buffer/webpack.config.js b/examples/experimental/interleaved-buffer/webpack.config.js deleted file mode 100644 index 67cdb830365..00000000000 --- a/examples/experimental/interleaved-buffer/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/arcgis/README.md b/examples/get-started/pure-js/arcgis/README.md index 990fb9d141f..862aa323a2c 100644 --- a/examples/get-started/pure-js/arcgis/README.md +++ b/examples/get-started/pure-js/arcgis/README.md @@ -1,12 +1,8 @@ -
- -
- ## Example: Use deck.gl with Esri ArcGIS API for JavaScript This sample shows how to use the `@deck.gl/arcgis` module to add a deck.gl layer to an [ArcGIS JavaScript](https://developers.arcgis.com/javascript/) app. -Uses [Webpack](https://github.com/webpack/webpack) and the [ArcGIS Webpack plugin](https://github.com/Esri/arcgis-webpack-plugin) -to bundle files and serves it with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). + +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/arcgis/index.html b/examples/get-started/pure-js/arcgis/index.html index 9a1dc6259e9..68fa1691b6b 100644 --- a/examples/get-started/pure-js/arcgis/index.html +++ b/examples/get-started/pure-js/arcgis/index.html @@ -17,6 +17,6 @@
- + diff --git a/examples/get-started/pure-js/arcgis/package.json b/examples/get-started/pure-js/arcgis/package.json index f918991e363..7d9a329a055 100644 --- a/examples/get-started/pure-js/arcgis/package.json +++ b/examples/get-started/pure-js/arcgis/package.json @@ -1,11 +1,12 @@ { - "name": "pure-js-esri-arcgis", + "name": "deckgl-example-pure-js-esri-arcgis", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@arcgis/core": "^4.21.0", @@ -14,8 +15,6 @@ "@deck.gl/layers": "^8.8.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/arcgis/webpack.config.js b/examples/get-started/pure-js/arcgis/webpack.config.js deleted file mode 100644 index 0bacc22fac4..00000000000 --- a/examples/get-started/pure-js/arcgis/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/basic/README.md b/examples/get-started/pure-js/basic/README.md index ca88a773073..0559f2e3eef 100644 --- a/examples/get-started/pure-js/basic/README.md +++ b/examples/get-started/pure-js/basic/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl without React and Base Map -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/basic/app.js b/examples/get-started/pure-js/basic/app.js index a83b629574c..09462667d10 100644 --- a/examples/get-started/pure-js/basic/app.js +++ b/examples/get-started/pure-js/basic/app.js @@ -15,7 +15,7 @@ const INITIAL_VIEW_STATE = { pitch: 30 }; -export const deck = new Deck({ +new Deck({ initialViewState: INITIAL_VIEW_STATE, controller: true, layers: [ @@ -59,7 +59,3 @@ export const deck = new Deck({ }) ] }); - -// For automated test cases -/* global document */ -document.body.style.margin = '0px'; diff --git a/examples/get-started/pure-js/basic/index.html b/examples/get-started/pure-js/basic/index.html new file mode 100644 index 00000000000..00570c1f4ea --- /dev/null +++ b/examples/get-started/pure-js/basic/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/examples/get-started/pure-js/basic/package.json b/examples/get-started/pure-js/basic/package.json index 552a476dad3..3f863eea64d 100644 --- a/examples/get-started/pure-js/basic/package.json +++ b/examples/get-started/pure-js/basic/package.json @@ -1,20 +1,18 @@ { - "name": "pure-js-basic", + "name": "deckgl-example-pure-js-basic", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", "@deck.gl/layers": "^8.8.0" }, "devDependencies": { - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/basic/webpack.config.js b/examples/get-started/pure-js/basic/webpack.config.js deleted file mode 100644 index bb034517c9b..00000000000 --- a/examples/get-started/pure-js/basic/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/carto/index.html b/examples/get-started/pure-js/carto/index.html index 2caa7851829..056ecb43786 100644 --- a/examples/get-started/pure-js/carto/index.html +++ b/examples/get-started/pure-js/carto/index.html @@ -34,6 +34,6 @@
- + diff --git a/examples/get-started/pure-js/carto/package.json b/examples/get-started/pure-js/carto/package.json index 367429dcc31..f6f6e0a158d 100644 --- a/examples/get-started/pure-js/carto/package.json +++ b/examples/get-started/pure-js/carto/package.json @@ -1,11 +1,12 @@ { - "name": "pure-js-carto", + "name": "deckgl-example-pure-js-carto", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", @@ -16,9 +17,7 @@ "mapbox-gl": "^1.13.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" }, "eslintConfig": { "globals": { diff --git a/examples/get-started/pure-js/carto/webpack.config.js b/examples/get-started/pure-js/carto/webpack.config.js deleted file mode 100644 index 0bacc22fac4..00000000000 --- a/examples/get-started/pure-js/carto/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/globe/README.md b/examples/get-started/pure-js/globe/README.md index 0ee06a94c09..93504548b85 100644 --- a/examples/get-started/pure-js/globe/README.md +++ b/examples/get-started/pure-js/globe/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl GlobeView -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/globe/app.js b/examples/get-started/pure-js/globe/app.js index 0fd52ad109c..d531e33c9b0 100644 --- a/examples/get-started/pure-js/globe/app.js +++ b/examples/get-started/pure-js/globe/app.js @@ -13,7 +13,7 @@ const INITIAL_VIEW_STATE = { zoom: 0 }; -export const deck = new Deck({ +new Deck({ views: new GlobeView(), initialViewState: INITIAL_VIEW_STATE, controller: true, @@ -71,8 +71,3 @@ export const deck = new Deck({ }) ] }); - -// For automated test cases -/* global document */ -document.body.style.margin = '0px'; -document.body.style.background = '#111'; diff --git a/examples/get-started/pure-js/globe/index.html b/examples/get-started/pure-js/globe/index.html new file mode 100644 index 00000000000..00570c1f4ea --- /dev/null +++ b/examples/get-started/pure-js/globe/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/examples/get-started/pure-js/globe/package.json b/examples/get-started/pure-js/globe/package.json index 552a476dad3..4c176c83376 100644 --- a/examples/get-started/pure-js/globe/package.json +++ b/examples/get-started/pure-js/globe/package.json @@ -1,20 +1,18 @@ { - "name": "pure-js-basic", + "name": "deckgl-example-pure-js-globe", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", "@deck.gl/layers": "^8.8.0" }, "devDependencies": { - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/globe/webpack.config.js b/examples/get-started/pure-js/globe/webpack.config.js deleted file mode 100644 index bb034517c9b..00000000000 --- a/examples/get-started/pure-js/globe/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/google-maps/README.md b/examples/get-started/pure-js/google-maps/README.md index 7327dbde144..9d24f2c8a26 100644 --- a/examples/get-started/pure-js/google-maps/README.md +++ b/examples/get-started/pure-js/google-maps/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with Google Maps -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/google-maps/index.html b/examples/get-started/pure-js/google-maps/index.html index 22d9ef84f9d..1407549d43a 100644 --- a/examples/get-started/pure-js/google-maps/index.html +++ b/examples/get-started/pure-js/google-maps/index.html @@ -15,6 +15,6 @@
- + diff --git a/examples/get-started/pure-js/google-maps/package.json b/examples/get-started/pure-js/google-maps/package.json index 7e290aa10f3..b9ab1911ba8 100644 --- a/examples/get-started/pure-js/google-maps/package.json +++ b/examples/get-started/pure-js/google-maps/package.json @@ -1,11 +1,12 @@ { - "name": "pure-js-google-maps", + "name": "deckgl-example-pure-js-google-maps", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", @@ -13,8 +14,6 @@ "@deck.gl/layers": "^8.8.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/google-maps/vite.config.js b/examples/get-started/pure-js/google-maps/vite.config.js new file mode 100644 index 00000000000..615b2f0a478 --- /dev/null +++ b/examples/get-started/pure-js/google-maps/vite.config.js @@ -0,0 +1,6 @@ +export default { + define: { + 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey), + 'process.env.GoogleMapsMapId': JSON.stringify(process.env.GoogleMapsMapId) + } +} \ No newline at end of file diff --git a/examples/get-started/pure-js/google-maps/webpack.config.js b/examples/get-started/pure-js/google-maps/webpack.config.js deleted file mode 100644 index f25dd757a7d..00000000000 --- a/examples/get-started/pure-js/google-maps/webpack.config.js +++ /dev/null @@ -1,20 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const webpack = require('webpack'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - plugins: [ - // Read google maps token from environment variable - new webpack.EnvironmentPlugin(['GoogleMapsAPIKey', 'GoogleMapsMapId']) - ] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/harp.gl/README.md b/examples/get-started/pure-js/harp.gl/README.md index bf324b122ab..48cc101723e 100644 --- a/examples/get-started/pure-js/harp.gl/README.md +++ b/examples/get-started/pure-js/harp.gl/README.md @@ -1,7 +1,3 @@ -
- -
- ## Example: Use deck.gl with harp.gl Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it diff --git a/examples/get-started/pure-js/harp.gl/package.json b/examples/get-started/pure-js/harp.gl/package.json index 5f336ce7270..65aca1bca0d 100644 --- a/examples/get-started/pure-js/harp.gl/package.json +++ b/examples/get-started/pure-js/harp.gl/package.json @@ -1,10 +1,10 @@ { - "name": "pure-js-harp.gl", + "name": "deckgl-example-pure-js-harp.gl", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", "build": "webpack -p" }, "dependencies": { diff --git a/examples/get-started/pure-js/harp.gl/webpack.config.js b/examples/get-started/pure-js/harp.gl/webpack.config.js index 6304065d636..c67f0b82726 100644 --- a/examples/get-started/pure-js/harp.gl/webpack.config.js +++ b/examples/get-started/pure-js/harp.gl/webpack.config.js @@ -22,4 +22,4 @@ config = addHarpWebpackConfig(config, { }); // This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(config)(env) : config); +module.exports = config; diff --git a/examples/get-started/pure-js/leaflet/README.md b/examples/get-started/pure-js/leaflet/README.md index e6475674ac4..b4e7349d46d 100644 --- a/examples/get-started/pure-js/leaflet/README.md +++ b/examples/get-started/pure-js/leaflet/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with Leaflet -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/leaflet/index.html b/examples/get-started/pure-js/leaflet/index.html index 35c12ffa9d4..b3dd88f8521 100644 --- a/examples/get-started/pure-js/leaflet/index.html +++ b/examples/get-started/pure-js/leaflet/index.html @@ -16,6 +16,6 @@
- + diff --git a/examples/get-started/pure-js/leaflet/package.json b/examples/get-started/pure-js/leaflet/package.json index 1e056d75527..2f46d58f6bb 100644 --- a/examples/get-started/pure-js/leaflet/package.json +++ b/examples/get-started/pure-js/leaflet/package.json @@ -1,11 +1,12 @@ { - "name": "pure-js-leaflet", + "name": "deckgl-example-pure-js-leaflet", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", @@ -14,8 +15,6 @@ "leaflet": "^1.7.1" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/leaflet/webpack.config.js b/examples/get-started/pure-js/leaflet/webpack.config.js deleted file mode 100644 index 0bacc22fac4..00000000000 --- a/examples/get-started/pure-js/leaflet/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/mapbox/README.md b/examples/get-started/pure-js/mapbox/README.md index a335b8556ee..b4db3a98bd2 100644 --- a/examples/get-started/pure-js/mapbox/README.md +++ b/examples/get-started/pure-js/mapbox/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with Mapbox -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/mapbox/index.html b/examples/get-started/pure-js/mapbox/index.html index b35787c9cc8..2273dda337c 100644 --- a/examples/get-started/pure-js/mapbox/index.html +++ b/examples/get-started/pure-js/mapbox/index.html @@ -16,6 +16,6 @@
- + diff --git a/examples/get-started/pure-js/mapbox/package.json b/examples/get-started/pure-js/mapbox/package.json index 2db21cc130a..d4bbd0b7013 100644 --- a/examples/get-started/pure-js/mapbox/package.json +++ b/examples/get-started/pure-js/mapbox/package.json @@ -1,11 +1,12 @@ { - "name": "pure-js-mapbox", + "name": "deckgl-example-pure-js-mapbox", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", @@ -14,8 +15,6 @@ "mapbox-gl": "^1.13.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/mapbox/webpack.config.js b/examples/get-started/pure-js/mapbox/webpack.config.js deleted file mode 100644 index 5cdcaf9e22a..00000000000 --- a/examples/get-started/pure-js/mapbox/webpack.config.js +++ /dev/null @@ -1,22 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const {resolve} = require('path'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - resolve: { - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - } - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/pure-js/openlayers/README.md b/examples/get-started/pure-js/openlayers/README.md index eb8a44d5453..77a8d706c98 100644 --- a/examples/get-started/pure-js/openlayers/README.md +++ b/examples/get-started/pure-js/openlayers/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with OpenLayers -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/pure-js/openlayers/index.html b/examples/get-started/pure-js/openlayers/index.html index ea28103ed93..d092dd7789e 100644 --- a/examples/get-started/pure-js/openlayers/index.html +++ b/examples/get-started/pure-js/openlayers/index.html @@ -16,6 +16,6 @@
- + diff --git a/examples/get-started/pure-js/openlayers/package.json b/examples/get-started/pure-js/openlayers/package.json index 94c321b1935..df94aa6008e 100644 --- a/examples/get-started/pure-js/openlayers/package.json +++ b/examples/get-started/pure-js/openlayers/package.json @@ -1,11 +1,12 @@ { - "name": "pure-js-openlayers", + "name": "deckgl-example-pure-js-openlayers", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@deck.gl/core": "^8.8.0", @@ -13,8 +14,6 @@ "ol": "^7.1.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/pure-js/openlayers/webpack.config.js b/examples/get-started/pure-js/openlayers/webpack.config.js deleted file mode 100644 index 775f4ffbaa5..00000000000 --- a/examples/get-started/pure-js/openlayers/webpack.config.js +++ /dev/null @@ -1,15 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const {resolve} = require('path'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/react/arcgis/README.md b/examples/get-started/react/arcgis/README.md index d298030a480..037601f0fb9 100644 --- a/examples/get-started/react/arcgis/README.md +++ b/examples/get-started/react/arcgis/README.md @@ -1,11 +1,8 @@ -
- -
- ## Example: Use deck.gl with react-arcgis This sample shows how to use the `@deck.gl/arcgis` module to add a deck.gl layer to a [react-arcgis](https://github.com/Esri/react-arcgis) app. -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). + +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/react/arcgis/app.js b/examples/get-started/react/arcgis/app.jsx similarity index 100% rename from examples/get-started/react/arcgis/app.js rename to examples/get-started/react/arcgis/app.jsx diff --git a/examples/get-started/react/arcgis/index.html b/examples/get-started/react/arcgis/index.html index aa9f49bfda7..b6b806b198b 100644 --- a/examples/get-started/react/arcgis/index.html +++ b/examples/get-started/react/arcgis/index.html @@ -17,6 +17,6 @@
- + diff --git a/examples/get-started/react/arcgis/package.json b/examples/get-started/react/arcgis/package.json index 881be96f5ff..206847bade0 100644 --- a/examples/get-started/react/arcgis/package.json +++ b/examples/get-started/react/arcgis/package.json @@ -1,11 +1,12 @@ { - "name": "react-arcgis", + "name": "deckgl-example-react-arcgis", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@arcgis/core": "^4.21.0", @@ -16,12 +17,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.0", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/react/arcgis/webpack.config.js b/examples/get-started/react/arcgis/webpack.config.js deleted file mode 100644 index 44b78c4d046..00000000000 --- a/examples/get-started/react/arcgis/webpack.config.js +++ /dev/null @@ -1,28 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/react/basic/README.md b/examples/get-started/react/basic/README.md index ca15832847e..9f5a3eb592c 100644 --- a/examples/get-started/react/basic/README.md +++ b/examples/get-started/react/basic/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with React -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/react/basic/app.js b/examples/get-started/react/basic/app.jsx similarity index 100% rename from examples/get-started/react/basic/app.js rename to examples/get-started/react/basic/app.jsx diff --git a/examples/get-started/react/basic/index.html b/examples/get-started/react/basic/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/examples/get-started/react/basic/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/examples/get-started/react/basic/package.json b/examples/get-started/react/basic/package.json index 8787c6975e4..ea02e02d648 100644 --- a/examples/get-started/react/basic/package.json +++ b/examples/get-started/react/basic/package.json @@ -1,11 +1,12 @@ { - "name": "react-basic", + "name": "deckgl-example-react-basic", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -13,12 +14,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/react/basic/webpack.config.js b/examples/get-started/react/basic/webpack.config.js deleted file mode 100644 index a1d87053372..00000000000 --- a/examples/get-started/react/basic/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/react/google-maps/README.md b/examples/get-started/react/google-maps/README.md index fdd2ee2654a..40b8cbc4188 100644 --- a/examples/get-started/react/google-maps/README.md +++ b/examples/get-started/react/google-maps/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with React -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/react/google-maps/app.js b/examples/get-started/react/google-maps/app.jsx similarity index 100% rename from examples/get-started/react/google-maps/app.js rename to examples/get-started/react/google-maps/app.jsx diff --git a/examples/get-started/react/google-maps/index.html b/examples/get-started/react/google-maps/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/examples/get-started/react/google-maps/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/examples/get-started/react/google-maps/package.json b/examples/get-started/react/google-maps/package.json index a96a0b80023..1212ecb2cc8 100644 --- a/examples/get-started/react/google-maps/package.json +++ b/examples/get-started/react/google-maps/package.json @@ -1,11 +1,12 @@ { - "name": "react-basic", + "name": "deckgl-example-react-google-maps", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "@googlemaps/react-wrapper": "^1.1.32", @@ -14,12 +15,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/react/google-maps/vite.config.js b/examples/get-started/react/google-maps/vite.config.js new file mode 100644 index 00000000000..615b2f0a478 --- /dev/null +++ b/examples/get-started/react/google-maps/vite.config.js @@ -0,0 +1,6 @@ +export default { + define: { + 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey), + 'process.env.GoogleMapsMapId': JSON.stringify(process.env.GoogleMapsMapId) + } +} \ No newline at end of file diff --git a/examples/get-started/react/google-maps/webpack.config.js b/examples/get-started/react/google-maps/webpack.config.js deleted file mode 100644 index a1d87053372..00000000000 --- a/examples/get-started/react/google-maps/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/get-started/react/mapbox/README.md b/examples/get-started/react/mapbox/README.md index f0572ce3abf..b98c010dede 100644 --- a/examples/get-started/react/mapbox/README.md +++ b/examples/get-started/react/mapbox/README.md @@ -1,11 +1,6 @@ -
- -
- ## Example: Use deck.gl with react-map-gl and Webpack -Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it -with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). +Uses [Vite](https://vitejs.dev/) to bundle and serve files. ## Usage diff --git a/examples/get-started/react/mapbox/app.js b/examples/get-started/react/mapbox/app.jsx similarity index 100% rename from examples/get-started/react/mapbox/app.js rename to examples/get-started/react/mapbox/app.jsx diff --git a/examples/get-started/react/mapbox/index.html b/examples/get-started/react/mapbox/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/examples/get-started/react/mapbox/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/examples/get-started/react/mapbox/package.json b/examples/get-started/react/mapbox/package.json index 3ed7b246f63..b5724425ee4 100644 --- a/examples/get-started/react/mapbox/package.json +++ b/examples/get-started/react/mapbox/package.json @@ -1,11 +1,12 @@ { - "name": "react-mapbox-webpack-2", + "name": "deckgl-example-react-map-gl", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../../../vite.config.local.mjs", + "build": "vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -14,12 +15,6 @@ "react-map-gl": "^5.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.0", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/examples/get-started/react/mapbox/webpack.config.js b/examples/get-started/react/mapbox/webpack.config.js deleted file mode 100644 index a2d6d4967f3..00000000000 --- a/examples/get-started/react/mapbox/webpack.config.js +++ /dev/null @@ -1,41 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const {resolve} = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - entry: { - app: './app.js' - }, - - devtool: 'source-map', - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - resolve: { - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - } - }, - - // Optional: Enables reading mapbox token from environment variable - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/layer-browser/index.html b/examples/layer-browser/index.html index 6dd9ae78f9a..187c3f987a2 100644 --- a/examples/layer-browser/index.html +++ b/examples/layer-browser/index.html @@ -7,6 +7,6 @@ - + diff --git a/examples/layer-browser/package.json b/examples/layer-browser/package.json index ba291f3d02b..6795d3c399f 100644 --- a/examples/layer-browser/package.json +++ b/examples/layer-browser/package.json @@ -1,12 +1,10 @@ { - "name": "layer-browser", + "name": "deckgl-examples-layer-browser", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.es6 --progress --hot --open", - "start-local-luma": "webpack-dev-server --env.es6 --env.local --env.local-luma --progress --hot --open", - "start-local-es5": "webpack-dev-server --env.local --progress --hot --open", - "start-local-production": "webpack-dev-server --env.local --env.production --progress --hot --open" + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@loaders.gl/ply": "^3.2.10", @@ -24,11 +22,7 @@ "react-stats-zavatta": "^0.0.6" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.40.2", - "webpack-cli": "^3.3.9", - "webpack-dev-server": "^3.8.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/layer-browser/src/app.js b/examples/layer-browser/src/app.jsx similarity index 100% rename from examples/layer-browser/src/app.js rename to examples/layer-browser/src/app.jsx diff --git a/examples/layer-browser/src/components/color-palette-picker.js b/examples/layer-browser/src/components/color-palette-picker.jsx similarity index 100% rename from examples/layer-browser/src/components/color-palette-picker.js rename to examples/layer-browser/src/components/color-palette-picker.jsx diff --git a/examples/layer-browser/src/components/color-picker.js b/examples/layer-browser/src/components/color-picker.jsx similarity index 100% rename from examples/layer-browser/src/components/color-picker.js rename to examples/layer-browser/src/components/color-picker.jsx diff --git a/examples/layer-browser/src/components/layer-controls.js b/examples/layer-browser/src/components/layer-controls.jsx similarity index 100% rename from examples/layer-browser/src/components/layer-controls.js rename to examples/layer-browser/src/components/layer-controls.jsx diff --git a/examples/layer-browser/src/components/layer-info.js b/examples/layer-browser/src/components/layer-info.jsx similarity index 100% rename from examples/layer-browser/src/components/layer-info.js rename to examples/layer-browser/src/components/layer-info.jsx diff --git a/examples/layer-browser/src/components/layer-selector.js b/examples/layer-browser/src/components/layer-selector.jsx similarity index 100% rename from examples/layer-browser/src/components/layer-selector.js rename to examples/layer-browser/src/components/layer-selector.jsx diff --git a/test/apps/wboit/index.js b/examples/layer-browser/src/index.jsx similarity index 78% rename from test/apps/wboit/index.js rename to examples/layer-browser/src/index.jsx index 8bc0f24821f..316a660fed1 100644 --- a/test/apps/wboit/index.js +++ b/examples/layer-browser/src/index.jsx @@ -1,6 +1,7 @@ /* global document */ import React, {Component} from 'react'; import ReactDOM from 'react-dom'; +import App from './app'; class Root extends Component { constructor(props) { @@ -29,15 +30,7 @@ const container = document.createElement('div'); document.body.appendChild(container); const render = () => { - const App = require('./app').default; ReactDOM.render(, container); }; render(); - -if (module.hot) { - module.hot.accept('./app', () => { - console.log('Hot reloading App component'); // eslint-disable-line - render(); - }); -} diff --git a/examples/layer-browser/src/map.js b/examples/layer-browser/src/map.jsx similarity index 100% rename from examples/layer-browser/src/map.js rename to examples/layer-browser/src/map.jsx diff --git a/examples/layer-browser/src/render-metrics.js b/examples/layer-browser/src/render-metrics.jsx similarity index 100% rename from examples/layer-browser/src/render-metrics.js rename to examples/layer-browser/src/render-metrics.jsx diff --git a/examples/layer-browser/webpack.config.js b/examples/layer-browser/webpack.config.js deleted file mode 100644 index e403b0be93d..00000000000 --- a/examples/layer-browser/webpack.config.js +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; - -const CONFIG = { - mode: 'development', - - devtool: 'source-map', - - // bundle app.js and everything it imports, recursively. - entry: { - app: resolve('./src') - }, - - resolve: { - // Make src files outside of this dir resolve modules in our node_modules folder - modules: [resolve(__dirname, '.'), resolve(__dirname, 'node_modules'), 'node_modules'], - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js'), - '@math.gl/web-mercator': resolve('../../node_modules/@math.gl/web-mercator'), - '@mapbox/tiny-sdf': resolve('../../node_modules/@mapbox/tiny-sdf') - } - }, - - module: { - rules: [ - { - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - // , - // { - // // The example has some JSON data - // test: /\.json$/, - // loader: 'json-loader', - // exclude: [/node_modules/] - // } - ] - }, - - node: { - fs: 'empty' - } -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG, __dirname)(env) : CONFIG); diff --git a/examples/playground/index.html b/examples/playground/index.html index 7bf04a441d6..0d24eb47eaa 100644 --- a/examples/playground/index.html +++ b/examples/playground/index.html @@ -16,8 +16,8 @@
- - diff --git a/examples/playground/json-examples/index.js b/examples/playground/json-examples/index.js index 935ff4514e0..33d3c3a2ec6 100644 --- a/examples/playground/json-examples/index.js +++ b/examples/playground/json-examples/index.js @@ -1,18 +1,33 @@ +import heatmap from './3d-heatmap.json'; +import heatmapMinimap from './3d-heatmap-minimap.json'; +import geojson from './geojson.json'; +import line from './line.json'; +import scatterplot from './scatterplot.json'; +import screenGrid from './screen-grid.json'; +import tagmap from './tagmap.json'; +import tile3DRoyal from './3d-tiles-royal.json'; +import tile3DStHelens from './3d-tiles-st-helens.json'; +import tile3DCairo from './3d-tiles-cairo-vricon.json'; +import tile3DNY from './3d-tiles-new-york.json'; +import carto from './carto.json'; +import usMap from './us-map.json'; +import dotText from './dot-text.json'; + export default { // WEBSITE EXAMPLES AS JSON PAYLOADS - 'website/3D Heatmap (HexagonLayer)': require('./3d-heatmap.json'), - 'website/3D Heatmap (wth Minimap)': require('./3d-heatmap-minimap.json'), - 'website/GeoJSON (GeoJsonLayer)': require('./geojson.json'), - 'website/Line (LineLayer)': require('./line.json'), - 'website/Scatterplot (ScatterplotLayer)': require('./scatterplot.json'), - 'website/Screen Grid (ScreenGridLayer)': require('./screen-grid.json'), - 'website/TagMap (TextLayer)': require('./tagmap.json'), - 'website/3D Tiles (Tile3DLayer, Royal)': require('./3d-tiles-royal.json'), - 'website/3D Tiles (Tile3DLayer, St Helens)': require('./3d-tiles-st-helens.json'), - 'website/3D Tiles (Tile3DLayer, Cairo/vricon)': require('./3d-tiles-cairo-vricon.json'), - 'website/3D Tiles (Tile3DLayer, New York)': require('./3d-tiles-new-york.json'), - 'website/CartoLayer': require('./carto.json'), - // GET STARTED EXAMPLES AS JSON PAYLOADS - 'get-started/US map (GeoJsonLayer)': require('./us-map.json'), - 'get-started/Dot Text (Scatterplot/TextLayer)': require('./dot-text.json') + 'website/3D Heatmap (HexagonLayer)': heatmap, + 'website/3D Heatmap (wth Minimap)': heatmapMinimap, + 'website/GeoJSON (GeoJsonLayer)': geojson, + 'website/Line (LineLayer)': line, + 'website/Scatterplot (ScatterplotLayer)': scatterplot, + 'website/Screen Grid (ScreenGridLayer)': screenGrid, + 'website/TagMap (TextLayer)': tagmap, + 'website/3D Tiles (Tile3DLayer, Royal)': tile3DRoyal, + 'website/3D Tiles (Tile3DLayer, St Helens)': tile3DStHelens, + 'website/3D Tiles (Tile3DLayer, Cairo/vricon)': tile3DCairo, + 'website/3D Tiles (Tile3DLayer, New York)': tile3DNY, + 'website/CartoLayer': carto, + // // GET STARTED EXAMPLES AS JSON PAYLOADS + 'get-started/US map (GeoJsonLayer)': usMap, + 'get-started/Dot Text (Scatterplot/TextLayer)': dotText }; diff --git a/examples/playground/package.json b/examples/playground/package.json index a0a07e25144..e663d9e1557 100644 --- a/examples/playground/package.json +++ b/examples/playground/package.json @@ -1,11 +1,12 @@ { - "name": "playground", + "name": "deckgl-examples-playground", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "rm -rf dist && mkdir dist && cp index.html dist/ && webpack --env.local --env.production=true" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/3d-tiles": "^3.2.10", @@ -23,11 +24,7 @@ "react-virtualized-auto-sizer": "^1.0.2" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/playground/src/app.js b/examples/playground/src/app.jsx similarity index 100% rename from examples/playground/src/app.js rename to examples/playground/src/app.jsx diff --git a/examples/playground/src/deck-with-google-maps.js b/examples/playground/src/deck-with-google-maps.jsx similarity index 100% rename from examples/playground/src/deck-with-google-maps.js rename to examples/playground/src/deck-with-google-maps.jsx diff --git a/examples/playground/src/deck-with-mapbox-maps.js b/examples/playground/src/deck-with-mapbox-maps.jsx similarity index 100% rename from examples/playground/src/deck-with-mapbox-maps.js rename to examples/playground/src/deck-with-mapbox-maps.jsx diff --git a/examples/playground/vite.config.js b/examples/playground/vite.config.js new file mode 100644 index 00000000000..832414b03f2 --- /dev/null +++ b/examples/playground/vite.config.js @@ -0,0 +1,5 @@ +export default { + define: { + 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey) + } +} \ No newline at end of file diff --git a/examples/playground/webpack.config.js b/examples/playground/webpack.config.js deleted file mode 100644 index f9e9619e1a6..00000000000 --- a/examples/playground/webpack.config.js +++ /dev/null @@ -1,40 +0,0 @@ -/* eslint-disable */ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const {resolve} = require('path'); -const webpack = require('webpack'); - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./src/app.js') - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - plugins: [new webpack.EnvironmentPlugin(['GoogleMapsAPIKey'])], - - node: {fs: 'empty'} -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG, __dirname)(env) : CONFIG); diff --git a/examples/vite.config.local.mjs b/examples/vite.config.local.mjs new file mode 100644 index 00000000000..f6ff24d317a --- /dev/null +++ b/examples/vite.config.local.mjs @@ -0,0 +1,29 @@ +import {defineConfig} from 'vite'; +import {getOcularConfig} from 'ocular-dev-tools'; +import {join} from 'path'; + +const rootDir = join(__dirname, '..'); + +/** https://vitejs.dev/config/ */ +export default defineConfig(async () => { + const {aliases} = await getOcularConfig({root: rootDir}); + + return { + resolve: { + alias: { + ...aliases, + // Use root dependencies + '@luma.gl': join(rootDir, './node_modules/@luma.gl'), + '@math.gl': join(rootDir, './node_modules/@math.gl'), + '@loaders.gl/core': join(rootDir, './node_modules/@loaders.gl/core') + } + }, + define: { + 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey), + 'process.env.MapboxAccessToken': JSON.stringify(process.env.MapboxAccessToken) + }, + server: {open: true}, + optimizeDeps: {esbuildOptions: {target: 'es2020'}}, + build: {target: 'es2020'} + }; +}); diff --git a/examples/webpack.config.local.js b/examples/webpack.config.local.js deleted file mode 100644 index 7b8bd358f02..00000000000 --- a/examples/webpack.config.local.js +++ /dev/null @@ -1,174 +0,0 @@ -// This file contains webpack configuration settings that allow -// examples to be built against the deck.gl source code in this repo instead -// of building against their installed version of deck.gl. -// -// This enables using the examples to debug the main deck.gl library source -// without publishing or npm linking, with conveniences such hot reloading etc. -// To use a local copy of luma.gl or math.gl when using -// `yarn start-local` use the following options: -// --env.local-luma -// --env.local-math -// -// To specify more fine-grained overrides you can add to the aliases -// below. For example if you have the `loaders.gl` repo checked out at the same level as deck.gl and want to work with a local copy of the `mvt` module, you would add the following `alias` to the configuration: -// `'@loaders.gl/mvt': resolve(__dirname, '../loaders.gl/modules/mvt/src')` - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const {getOcularConfig} = require('ocular-dev-tools'); - -const ROOT_DIR = resolve(__dirname, '..'); -const LIB_DIR = resolve(__dirname, '..'); - -const ALIASES = getOcularConfig({ - root: resolve(__dirname, '..') -}).aliases; - -// Support for hot reloading changes to the deck.gl library: -function makeLocalDevConfig(EXAMPLE_DIR = LIB_DIR, linkToLuma, linkToMath) { - const LUMA_LINK_ALIASES = { - '@luma.gl/constants': `${ROOT_DIR}/../luma.gl/modules/constants/src`, - '@luma.gl/core': `${ROOT_DIR}/../luma.gl/modules/core/src`, - '@luma.gl/debug': `${ROOT_DIR}/../luma.gl/modules/debug/src`, - '@luma.gl/engine': `${ROOT_DIR}/../luma.gl/modules/engine/src`, - '@luma.gl/webgl': `${ROOT_DIR}/../luma.gl/modules/webgl/src`, - '@luma.gl/gltools': `${ROOT_DIR}/../luma.gl/modules/gltools/src`, - '@luma.gl/shadertools': `${ROOT_DIR}/../luma.gl/modules/shadertools/src`, - '@luma.gl/experimental': `${ROOT_DIR}/../luma.gl/modules/experimental/src` - }; - const LUMA_LOCAL_ALIASES = { - '@luma.gl/constants': `${ROOT_DIR}/node_modules/@luma.gl/constants`, - '@luma.gl/core': `${ROOT_DIR}/node_modules/@luma.gl/core`, - '@luma.gl/engine': `${ROOT_DIR}/node_modules/@luma.gl/engine`, - '@luma.gl/webgl': `${ROOT_DIR}/node_modules/@luma.gl/webgl`, - '@luma.gl/gltools': `${ROOT_DIR}/node_modules/@luma.gl/gltools`, - '@luma.gl/shadertools': `${ROOT_DIR}/node_modules/@luma.gl/shadertools`, - '@luma.gl/experimental': `${ROOT_DIR}/node_modules/@luma.gl/experimental`, - // @luma.gl/experimental is not available in the root node_modules, must be imported - // where required. - '@loaders.gl/core': `${ROOT_DIR}/node_modules/@loaders.gl/core`, - '@loaders.gl/images': `${ROOT_DIR}/node_modules/@loaders.gl/images` - }; - - const LUMA_ALIASES = linkToLuma ? LUMA_LINK_ALIASES : LUMA_LOCAL_ALIASES; - // console.warn(JSON.stringify(LUMA_ALIASES, null, 2)); // uncomment to debug config - // require('fs').writeFileSync('/tmp/ocular.log', JSON.stringify(config, null, 2)); - - const MATH_ALIASES = {}; - if (linkToMath) { - const MATH_MODULES = [ - 'core', - 'culling', - 'geoid', - 'geospatial', - 'main', - 'web-mercator', - 'polygon', - 'proj4', - 'sun', - 'web' - ]; - for (const module of MATH_MODULES) { - MATH_ALIASES[`@math.gl/${module}`] = `${ROOT_DIR}/../math.gl/modules/${module}/src`; - } - } else { - MATH_ALIASES['math.gl'] = resolve(LIB_DIR, './node_modules/math.gl'); - } - - return { - // TODO - Uncomment when all examples use webpack 4 for faster bundling - // mode: 'development', - - // suppress warnings about bundle size - devServer: { - stats: { - warnings: false - } - }, - - devtool: 'source-map', - - resolve: { - // mainFields: ['esnext', 'module', 'main'], - extensions: ['.ts', '.tsx', '.js', '.json'], - - alias: Object.assign({}, ALIASES, LUMA_ALIASES, MATH_ALIASES, { - // Use luma.gl installed in parallel with deck.gl - // Important: ensure shared dependencies come from the main node_modules dir - // Versions will be controlled by the deck.gl top level package.json - 'viewport-mercator-project': resolve(LIB_DIR, './node_modules/viewport-mercator-project'), - react: resolve(LIB_DIR, './node_modules/react') - }) - }, - module: { - rules: [ - { - // Unfortunately, webpack doesn't import library sourcemaps on its own... - test: /\.js$/, - use: ['source-map-loader'], - enforce: 'pre' - }, - { - // Compile source using babel. This is not necessary for src to run in the browser - // However class inheritance cannot happen between transpiled/non-transpiled code - // Which affects some examples - test: /(\.js|\.ts|\.tsx)$/, - loader: 'ts-loader', - options: { - configFile: resolve(ROOT_DIR, 'tsconfig.build.json'), - transpileOnly: true, - compilerOptions: { - target: 'es2019', - noEmit: false - } - }, - include: [resolve(ROOT_DIR, 'modules'), resolve(ROOT_DIR, '../luma.gl/modules')] - } - ] - } - }; -} - -function addLocalDevSettings(config, exampleDir, linkToLuma, linkToMath) { - const LOCAL_DEV_CONFIG = makeLocalDevConfig(exampleDir, linkToLuma, linkToMath); - return { - ...LOCAL_DEV_CONFIG, - ...config, - resolve: { - ...LOCAL_DEV_CONFIG.resolve, - ...config.resolve, - alias: { - ...LOCAL_DEV_CONFIG.resolve.alias, - ...config.resolve?.alias - } - }, - module: { - ...LOCAL_DEV_CONFIG.module, - ...config.module, - rules: (config.module?.rules || []).concat(LOCAL_DEV_CONFIG.module.rules) - } - }; -} - -module.exports = (config, exampleDir) => env => { - // npm run start-local now transpiles the lib - if (!env) { - return config; - } - - if (env.local) { - config = addLocalDevSettings(config, exampleDir, env['local-luma'], env['local-math']); - } - - // npm run start-es6 does not transpile the lib - if (env && env.es6) { - config = addLocalDevSettings(config, exampleDir, env['local-luma'], env['local-math']); - } - - if (env && env.production) { - config.mode = 'production'; - } - - // console.warn(JSON.stringify(config, null, 2)); // uncomment to debug config - return config; -}; diff --git a/examples/website/360-video/README.md b/examples/website/360-video/README.md index 029f14fb89f..ed532b37214 100644 --- a/examples/website/360-video/README.md +++ b/examples/website/360-video/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/360-video/app.js b/examples/website/360-video/app.jsx similarity index 100% rename from examples/website/360-video/app.js rename to examples/website/360-video/app.jsx diff --git a/examples/website/360-video/index.html b/examples/website/360-video/index.html index 3cae6be8934..72ae831cd54 100644 --- a/examples/website/360-video/index.html +++ b/examples/website/360-video/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/360-video/package.json b/examples/website/360-video/package.json index e9a1d1fc7bf..210c84f8eb6 100644 --- a/examples/website/360-video/package.json +++ b/examples/website/360-video/package.json @@ -1,10 +1,12 @@ { - "name": "360-video", + "name": "deckgl-examples-360-video", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -12,11 +14,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/360-video/webpack.config.js b/examples/website/360-video/webpack.config.js deleted file mode 100644 index 8df254a6fe2..00000000000 --- a/examples/website/360-video/webpack.config.js +++ /dev/null @@ -1,36 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - node: { - fs: 'empty' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/3d-heatmap/README.md b/examples/website/3d-heatmap/README.md index 5952cf3b0ae..14dad39bcd6 100644 --- a/examples/website/3d-heatmap/README.md +++ b/examples/website/3d-heatmap/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/3d-heatmap/app.js b/examples/website/3d-heatmap/app.jsx similarity index 97% rename from examples/website/3d-heatmap/app.js rename to examples/website/3d-heatmap/app.jsx index 6a7aa7b1fc7..2be473a5dc9 100644 --- a/examples/website/3d-heatmap/app.js +++ b/examples/website/3d-heatmap/app.jsx @@ -5,6 +5,8 @@ import {AmbientLight, PointLight, LightingEffect} from '@deck.gl/core'; import {HexagonLayer} from '@deck.gl/aggregation-layers'; import DeckGL from '@deck.gl/react'; +import {csv} from 'd3-request'; + // Source data CSV const DATA_URL = 'https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/3d-heatmap/heatmap-data.csv'; // eslint-disable-line @@ -115,7 +117,7 @@ export default function App({ export function renderToDOM(container) { render(, container); - require('d3-request').csv(DATA_URL, (error, response) => { + csv(DATA_URL, (error, response) => { if (!error) { const data = response.map(d => [Number(d.lng), Number(d.lat)]); render(, container); diff --git a/examples/website/3d-heatmap/index.html b/examples/website/3d-heatmap/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/3d-heatmap/index.html +++ b/examples/website/3d-heatmap/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/3d-heatmap/package.json b/examples/website/3d-heatmap/package.json index 152b80fbb02..f0b86ae7d1c 100644 --- a/examples/website/3d-heatmap/package.json +++ b/examples/website/3d-heatmap/package.json @@ -1,10 +1,12 @@ { - "name": "3d-heatmap", + "name": "deckgl-examples-3d-heatmap", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-request": "^1.0.5", @@ -14,11 +16,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/3d-heatmap/webpack.config.js b/examples/website/3d-heatmap/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/3d-heatmap/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/3d-tiles/README.md b/examples/website/3d-tiles/README.md index 361c72e7df1..ecb48497667 100644 --- a/examples/website/3d-tiles/README.md +++ b/examples/website/3d-tiles/README.md @@ -12,7 +12,7 @@ To download the Cesium 3D tileset, you need a Cesium ion access token, and set i npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/3d-tiles/app.js b/examples/website/3d-tiles/app.jsx similarity index 100% rename from examples/website/3d-tiles/app.js rename to examples/website/3d-tiles/app.jsx diff --git a/examples/website/3d-tiles/index.html b/examples/website/3d-tiles/index.html index 94f80f245b0..047a9515bcc 100644 --- a/examples/website/3d-tiles/index.html +++ b/examples/website/3d-tiles/index.html @@ -16,9 +16,9 @@
- - diff --git a/examples/website/3d-tiles/package.json b/examples/website/3d-tiles/package.json index f071b068d74..0d6517735de 100644 --- a/examples/website/3d-tiles/package.json +++ b/examples/website/3d-tiles/package.json @@ -1,8 +1,12 @@ { + "name": "deckgl-examples-3d-tiles", + "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -12,11 +16,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.8.7", - "@babel/preset-react": "^7.8.3", - "babel-loader": "^8.0.6", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/3d-tiles/webpack.config.js b/examples/website/3d-tiles/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/3d-tiles/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/arc/README.md b/examples/website/arc/README.md index 674017abb15..041972a27a8 100644 --- a/examples/website/arc/README.md +++ b/examples/website/arc/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/arc/app.js b/examples/website/arc/app.jsx similarity index 100% rename from examples/website/arc/app.js rename to examples/website/arc/app.jsx diff --git a/examples/website/arc/index.html b/examples/website/arc/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/arc/index.html +++ b/examples/website/arc/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/arc/package.json b/examples/website/arc/package.json index 3cc5280ad52..d9965219f14 100644 --- a/examples/website/arc/package.json +++ b/examples/website/arc/package.json @@ -1,10 +1,12 @@ { - "name": "arc", + "name": "deckgl-examples-arc", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-scale": "^2.0.0", @@ -14,11 +16,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/arc/webpack.config.js b/examples/website/arc/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/arc/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/brushing/README.md b/examples/website/brushing/README.md index ae92bb44be9..aef3b7a508f 100644 --- a/examples/website/brushing/README.md +++ b/examples/website/brushing/README.md @@ -11,7 +11,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/brushing/app.js b/examples/website/brushing/app.jsx similarity index 100% rename from examples/website/brushing/app.js rename to examples/website/brushing/app.jsx diff --git a/examples/website/brushing/index.html b/examples/website/brushing/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/brushing/index.html +++ b/examples/website/brushing/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/brushing/package.json b/examples/website/brushing/package.json index 9a09b1b2d3d..14d99cff07f 100644 --- a/examples/website/brushing/package.json +++ b/examples/website/brushing/package.json @@ -1,10 +1,12 @@ { - "name": "brushing", + "name": "deckgl-examples-brushing", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-scale": "^2.0.0", @@ -14,11 +16,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/brushing/webpack.config.js b/examples/website/brushing/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/brushing/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/carto-sql/README.md b/examples/website/carto-sql/README.md index eba1f23c2f5..9e830ce87ae 100644 --- a/examples/website/carto-sql/README.md +++ b/examples/website/carto-sql/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/carto-sql/app.js b/examples/website/carto-sql/app.jsx similarity index 100% rename from examples/website/carto-sql/app.js rename to examples/website/carto-sql/app.jsx diff --git a/examples/website/carto-sql/index.html b/examples/website/carto-sql/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/carto-sql/index.html +++ b/examples/website/carto-sql/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/carto-sql/package.json b/examples/website/carto-sql/package.json index 7905b96cf6b..6da76b9b41f 100644 --- a/examples/website/carto-sql/package.json +++ b/examples/website/carto-sql/package.json @@ -1,7 +1,11 @@ { + "name": "deckgl-examples-carto-sql", + "version": "0.0.0", + "private": true, "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -10,11 +14,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/carto-sql/webpack.config.js b/examples/website/carto-sql/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/carto-sql/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/contour/README.md b/examples/website/contour/README.md index 99606f577c5..609c933230d 100644 --- a/examples/website/contour/README.md +++ b/examples/website/contour/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/contour/app.js b/examples/website/contour/app.jsx similarity index 100% rename from examples/website/contour/app.js rename to examples/website/contour/app.jsx diff --git a/examples/website/contour/index.html b/examples/website/contour/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/contour/index.html +++ b/examples/website/contour/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/contour/package.json b/examples/website/contour/package.json index 7905b96cf6b..cb891c3eaa6 100644 --- a/examples/website/contour/package.json +++ b/examples/website/contour/package.json @@ -1,7 +1,11 @@ { + "name": "deckgl-examples-contour", + "version": "0.0.0", + "private": true, "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -10,11 +14,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/contour/webpack.config.js b/examples/website/contour/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/contour/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/data-filter/README.md b/examples/website/data-filter/README.md index a9b6f7b3ff0..ee831103e75 100644 --- a/examples/website/data-filter/README.md +++ b/examples/website/data-filter/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/data-filter/app.js b/examples/website/data-filter/app.jsx similarity index 98% rename from examples/website/data-filter/app.js rename to examples/website/data-filter/app.jsx index 2b69404bb57..9db4ebfc36a 100644 --- a/examples/website/data-filter/app.js +++ b/examples/website/data-filter/app.jsx @@ -9,6 +9,8 @@ import {MapView} from '@deck.gl/core'; import RangeInput from './range-input'; import {useMemo} from 'react'; +import {csv} from 'd3-request'; + // Source data GeoJSON const DATA_URL = 'https://raw.githubusercontent.com/uber-web/kepler.gl-data/master/earthquakes/data.csv'; // eslint-disable-line @@ -135,7 +137,7 @@ export default function App({data, mapStyle = MAP_STYLE}) { export function renderToDOM(container) { render(, container); - require('d3-request').csv(DATA_URL, (error, response) => { + csv(DATA_URL, (error, response) => { if (!error) { const data = response.map(row => ({ timestamp: new Date(`${row.DateTime} UTC`).getTime(), diff --git a/examples/website/data-filter/index.html b/examples/website/data-filter/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/data-filter/index.html +++ b/examples/website/data-filter/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/data-filter/package.json b/examples/website/data-filter/package.json index 94be7222d68..0770f9736a4 100644 --- a/examples/website/data-filter/package.json +++ b/examples/website/data-filter/package.json @@ -1,10 +1,12 @@ { - "name": "geojson", + "name": "deckgl-examples-data-filter", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@material-ui/core": "^4.10.2", @@ -16,11 +18,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/data-filter/range-input.js b/examples/website/data-filter/range-input.jsx similarity index 100% rename from examples/website/data-filter/range-input.js rename to examples/website/data-filter/range-input.jsx diff --git a/examples/website/data-filter/webpack.config.js b/examples/website/data-filter/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/data-filter/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/election/README.md b/examples/website/election/README.md index c277ff56bf1..26545994a5b 100644 --- a/examples/website/election/README.md +++ b/examples/website/election/README.md @@ -19,7 +19,7 @@ Or set the `GOOGLE_MAPS_API_KEY` variable in `app.js`. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/election/index.html b/examples/website/election/index.html index adc83f36683..95f0b8c49de 100644 --- a/examples/website/election/index.html +++ b/examples/website/election/index.html @@ -23,9 +23,9 @@
- - diff --git a/examples/website/election/package.json b/examples/website/election/package.json index d6b986061c8..94979505ff5 100644 --- a/examples/website/election/package.json +++ b/examples/website/election/package.json @@ -1,18 +1,19 @@ { - "name": "google-maps", + "name": "deckgl-examples-election", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-scale": "^2.0.0", "deck.gl": "^8.8.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/election/vite.config.js b/examples/website/election/vite.config.js new file mode 100644 index 00000000000..832414b03f2 --- /dev/null +++ b/examples/website/election/vite.config.js @@ -0,0 +1,5 @@ +export default { + define: { + 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey) + } +} \ No newline at end of file diff --git a/examples/website/election/webpack.config.js b/examples/website/election/webpack.config.js deleted file mode 100644 index 965ad4c3ae9..00000000000 --- a/examples/website/election/webpack.config.js +++ /dev/null @@ -1,23 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file -const webpack = require('webpack'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - plugins: [ - // Read google maps token from environment variable - new webpack.EnvironmentPlugin(['GoogleMapsAPIKey']) - ] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/geojson/README.md b/examples/website/geojson/README.md index 52d3ea8d7b8..c75cc1efae8 100644 --- a/examples/website/geojson/README.md +++ b/examples/website/geojson/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/geojson/app.js b/examples/website/geojson/app.jsx similarity index 100% rename from examples/website/geojson/app.js rename to examples/website/geojson/app.jsx diff --git a/examples/website/geojson/index.html b/examples/website/geojson/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/geojson/index.html +++ b/examples/website/geojson/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/geojson/package.json b/examples/website/geojson/package.json index 510d5d5d638..2d1ad357c99 100644 --- a/examples/website/geojson/package.json +++ b/examples/website/geojson/package.json @@ -1,10 +1,12 @@ { - "name": "geojson", + "name": "deckgl-examples-geojson", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-scale": "^2.0.0", @@ -14,11 +16,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/geojson/webpack.config.js b/examples/website/geojson/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/geojson/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/ghcn/README.md b/examples/website/ghcn/README.md index b638a4a9313..d4282bb1050 100644 --- a/examples/website/ghcn/README.md +++ b/examples/website/ghcn/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/ghcn/app.js b/examples/website/ghcn/app.jsx similarity index 100% rename from examples/website/ghcn/app.js rename to examples/website/ghcn/app.jsx diff --git a/examples/website/ghcn/index.html b/examples/website/ghcn/index.html index 82e0c7868e1..114271cd6f0 100644 --- a/examples/website/ghcn/index.html +++ b/examples/website/ghcn/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/ghcn/package.json b/examples/website/ghcn/package.json index 22cf71c6b57..1d555a068ae 100644 --- a/examples/website/ghcn/package.json +++ b/examples/website/ghcn/package.json @@ -1,10 +1,12 @@ { - "name": "ghcn", + "name": "deckgl-examples-ghcn", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-scale": "^2.0.0", @@ -13,11 +15,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/ghcn/webpack.config.js b/examples/website/ghcn/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/ghcn/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/globe/README.md b/examples/website/globe/README.md index 8bf57d5db3b..07b655e1332 100644 --- a/examples/website/globe/README.md +++ b/examples/website/globe/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/globe/app.js b/examples/website/globe/app.jsx similarity index 100% rename from examples/website/globe/app.js rename to examples/website/globe/app.jsx diff --git a/examples/website/globe/index.html b/examples/website/globe/index.html index 56da4d981a7..21e34f8ec04 100644 --- a/examples/website/globe/index.html +++ b/examples/website/globe/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/globe/package.json b/examples/website/globe/package.json index 6fc65c712f9..1e3aa16b420 100644 --- a/examples/website/globe/package.json +++ b/examples/website/globe/package.json @@ -1,10 +1,12 @@ { - "name": "radio", + "name": "deckgl-examples-globe", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/csv": "^3.2.10", @@ -15,11 +17,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/globe/range-input.js b/examples/website/globe/range-input.jsx similarity index 100% rename from examples/website/globe/range-input.js rename to examples/website/globe/range-input.jsx diff --git a/examples/website/globe/webpack.config.js b/examples/website/globe/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/globe/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/google-3d/README.md b/examples/website/google-3d/README.md index abfc64e7589..d30bf24e93e 100644 --- a/examples/website/google-3d/README.md +++ b/examples/website/google-3d/README.md @@ -20,7 +20,7 @@ Or set the `GOOGLE_MAPS_API_KEY` and `GOOGLE_MAPS_MAP_ID` variables in `app.js`. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/google-3d/index.html b/examples/website/google-3d/index.html index adc83f36683..95f0b8c49de 100644 --- a/examples/website/google-3d/index.html +++ b/examples/website/google-3d/index.html @@ -23,9 +23,9 @@
- - diff --git a/examples/website/google-3d/package.json b/examples/website/google-3d/package.json index c86f3cea895..6e878d99720 100644 --- a/examples/website/google-3d/package.json +++ b/examples/website/google-3d/package.json @@ -1,10 +1,12 @@ { - "name": "google-maps", + "name": "deckgl-examples-google-maps-3d", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@turf/rhumb-bearing": "^6.5.0", @@ -12,8 +14,7 @@ "deck.gl": "^8.8.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/google-3d/vite.config.js b/examples/website/google-3d/vite.config.js new file mode 100644 index 00000000000..615b2f0a478 --- /dev/null +++ b/examples/website/google-3d/vite.config.js @@ -0,0 +1,6 @@ +export default { + define: { + 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey), + 'process.env.GoogleMapsMapId': JSON.stringify(process.env.GoogleMapsMapId) + } +} \ No newline at end of file diff --git a/examples/website/google-3d/webpack.config.js b/examples/website/google-3d/webpack.config.js deleted file mode 100644 index 6de0a4c7125..00000000000 --- a/examples/website/google-3d/webpack.config.js +++ /dev/null @@ -1,23 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file -const webpack = require('webpack'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - plugins: [ - // Read google maps token from environment variable - new webpack.EnvironmentPlugin(['GoogleMapsAPIKey', 'GoogleMapsMapId']) - ] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/heatmap/README.md b/examples/website/heatmap/README.md index 038dd415fe5..53eef60dfbd 100644 --- a/examples/website/heatmap/README.md +++ b/examples/website/heatmap/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/heatmap/app.js b/examples/website/heatmap/app.jsx similarity index 100% rename from examples/website/heatmap/app.js rename to examples/website/heatmap/app.jsx diff --git a/examples/website/heatmap/index.html b/examples/website/heatmap/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/heatmap/index.html +++ b/examples/website/heatmap/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/heatmap/package.json b/examples/website/heatmap/package.json index 7905b96cf6b..3eaed9c7858 100644 --- a/examples/website/heatmap/package.json +++ b/examples/website/heatmap/package.json @@ -1,7 +1,11 @@ { + "name": "deckgl-examples-heatmap", + "version": "0.0.0", + "private": true, "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -10,11 +14,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/heatmap/webpack.config.js b/examples/website/heatmap/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/heatmap/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/highway/README.md b/examples/website/highway/README.md index ef05714fbe4..4c34c73cc7a 100644 --- a/examples/website/highway/README.md +++ b/examples/website/highway/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/highway/app.js b/examples/website/highway/app.jsx similarity index 97% rename from examples/website/highway/app.js rename to examples/website/highway/app.jsx index 0a33a5dc252..9c6c4a5f8d7 100644 --- a/examples/website/highway/app.js +++ b/examples/website/highway/app.jsx @@ -5,6 +5,8 @@ import DeckGL from '@deck.gl/react'; import {GeoJsonLayer} from '@deck.gl/layers'; import {scaleLinear, scaleThreshold} from 'd3-scale'; +import {csv} from 'd3-request'; + // Source data GeoJSON const DATA_URL = { ACCIDENTS: @@ -166,7 +168,7 @@ export function renderToDOM(container) { fatalities: Number(d.fatalities) }); - require('d3-request').csv(DATA_URL.ACCIDENTS, formatRow, (error, response) => { + csv(DATA_URL.ACCIDENTS, formatRow, (error, response) => { if (!error) { render(, container); } diff --git a/examples/website/highway/index.html b/examples/website/highway/index.html index 0d1137ab581..fdf0e3131d7 100644 --- a/examples/website/highway/index.html +++ b/examples/website/highway/index.html @@ -12,8 +12,8 @@
- - diff --git a/examples/website/highway/package.json b/examples/website/highway/package.json index ebc73f29365..cff02f804a6 100644 --- a/examples/website/highway/package.json +++ b/examples/website/highway/package.json @@ -1,10 +1,12 @@ { - "name": "geojson", + "name": "deckgl-examples-highway", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-request": "^1.0.5", @@ -15,11 +17,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/highway/webpack.config.js b/examples/website/highway/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/highway/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/i3s/README.md b/examples/website/i3s/README.md index bfda16f72d5..cb537ad5424 100644 --- a/examples/website/i3s/README.md +++ b/examples/website/i3s/README.md @@ -12,7 +12,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/i3s/index.html b/examples/website/i3s/index.html index 53ea1069b00..72457175b6f 100644 --- a/examples/website/i3s/index.html +++ b/examples/website/i3s/index.html @@ -21,9 +21,9 @@
- - diff --git a/examples/website/i3s/package.json b/examples/website/i3s/package.json index d096cb3ae18..b5d9862588a 100644 --- a/examples/website/i3s/package.json +++ b/examples/website/i3s/package.json @@ -1,18 +1,19 @@ { - "name": "arcgis-i3s", + "name": "deckgl-examples-arcgis-i3s", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/i3s": "^3.2.10", "deck.gl": "^8.8.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/i3s/webpack.config.js b/examples/website/i3s/webpack.config.js deleted file mode 100644 index 2c68a971dff..00000000000 --- a/examples/website/i3s/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/icon/README.md b/examples/website/icon/README.md index d3f4c186aeb..82c8410748d 100644 --- a/examples/website/icon/README.md +++ b/examples/website/icon/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/icon/app.js b/examples/website/icon/app.jsx similarity index 100% rename from examples/website/icon/app.js rename to examples/website/icon/app.jsx diff --git a/examples/website/icon/index.html b/examples/website/icon/index.html index 508d90eeba8..57e19363351 100644 --- a/examples/website/icon/index.html +++ b/examples/website/icon/index.html @@ -13,8 +13,8 @@
- - diff --git a/examples/website/icon/package.json b/examples/website/icon/package.json index 4f651fdabe2..60c31af90a0 100644 --- a/examples/website/icon/package.json +++ b/examples/website/icon/package.json @@ -1,10 +1,12 @@ { - "name": "icon", + "name": "deckgl-examples-icon", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -14,11 +16,7 @@ "supercluster": "^6.0.1" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.41.2", - "webpack-cli": "^3.3.10", - "webpack-dev-server": "^3.9.0" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/icon/webpack.config.js b/examples/website/icon/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/icon/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/image-tile/README.md b/examples/website/image-tile/README.md index 5eb8561c5b8..9205f176a20 100644 --- a/examples/website/image-tile/README.md +++ b/examples/website/image-tile/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/image-tile/app.js b/examples/website/image-tile/app.jsx similarity index 100% rename from examples/website/image-tile/app.js rename to examples/website/image-tile/app.jsx diff --git a/examples/website/image-tile/index.html b/examples/website/image-tile/index.html index 5181a256587..fb3b0cd5bdd 100644 --- a/examples/website/image-tile/index.html +++ b/examples/website/image-tile/index.html @@ -18,8 +18,8 @@
- - diff --git a/examples/website/image-tile/package.json b/examples/website/image-tile/package.json index 609a5cdc5b0..a00e84dc767 100644 --- a/examples/website/image-tile/package.json +++ b/examples/website/image-tile/package.json @@ -1,10 +1,12 @@ { - "name": "map-tile", + "name": "deckgl-examples-image-tile", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -12,11 +14,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/image-tile/webpack.config.js b/examples/website/image-tile/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/image-tile/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/line/README.md b/examples/website/line/README.md index 3aa5aca77a5..08760a23406 100644 --- a/examples/website/line/README.md +++ b/examples/website/line/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/line/app.js b/examples/website/line/app.jsx similarity index 100% rename from examples/website/line/app.js rename to examples/website/line/app.jsx diff --git a/examples/website/line/index.html b/examples/website/line/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/line/index.html +++ b/examples/website/line/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/line/package.json b/examples/website/line/package.json index 30a98b71182..ff0138515d6 100644 --- a/examples/website/line/package.json +++ b/examples/website/line/package.json @@ -1,10 +1,12 @@ { - "name": "line", + "name": "deckgl-examples-line", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -13,11 +15,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/line/webpack.config.js b/examples/website/line/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/line/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/map-tile/README.md b/examples/website/map-tile/README.md index cf74cf30836..ab13fbbc60a 100644 --- a/examples/website/map-tile/README.md +++ b/examples/website/map-tile/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/map-tile/app.js b/examples/website/map-tile/app.jsx similarity index 100% rename from examples/website/map-tile/app.js rename to examples/website/map-tile/app.jsx diff --git a/examples/website/map-tile/index.html b/examples/website/map-tile/index.html index 7ab4cd3c668..edefb08043a 100644 --- a/examples/website/map-tile/index.html +++ b/examples/website/map-tile/index.html @@ -17,8 +17,8 @@
- - diff --git a/examples/website/map-tile/package.json b/examples/website/map-tile/package.json index 609a5cdc5b0..1e79dd0f9ed 100644 --- a/examples/website/map-tile/package.json +++ b/examples/website/map-tile/package.json @@ -1,10 +1,12 @@ { - "name": "map-tile", + "name": "deckgl-examples-map-tile", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -12,11 +14,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/map-tile/webpack.config.js b/examples/website/map-tile/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/map-tile/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/mesh/README.md b/examples/website/mesh/README.md index 1bde379c766..de0a04137dd 100644 --- a/examples/website/mesh/README.md +++ b/examples/website/mesh/README.md @@ -9,7 +9,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/mesh/app.js b/examples/website/mesh/app.jsx similarity index 100% rename from examples/website/mesh/app.js rename to examples/website/mesh/app.jsx diff --git a/examples/website/mesh/index.html b/examples/website/mesh/index.html index 8741ae9a6c0..ec42589a8ef 100644 --- a/examples/website/mesh/index.html +++ b/examples/website/mesh/index.html @@ -16,9 +16,9 @@
- - diff --git a/examples/website/mesh/package.json b/examples/website/mesh/package.json index 28f1806dfe1..192fb385b22 100644 --- a/examples/website/mesh/package.json +++ b/examples/website/mesh/package.json @@ -1,10 +1,12 @@ { - "name": "mesh-layer-example", + "name": "deckgl-examples-mesh", "version": "0.0.1", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/obj": "^3.2.10", @@ -14,11 +16,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/mesh/webpack.config.js b/examples/website/mesh/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/mesh/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/plot/README.md b/examples/website/plot/README.md index d7e00fff301..8eafbeba8db 100644 --- a/examples/website/plot/README.md +++ b/examples/website/plot/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/plot/app.js b/examples/website/plot/app.jsx similarity index 100% rename from examples/website/plot/app.js rename to examples/website/plot/app.jsx diff --git a/examples/website/plot/index.html b/examples/website/plot/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/plot/index.html +++ b/examples/website/plot/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/plot/package.json b/examples/website/plot/package.json index a674ff4015e..c97ceaf8ccb 100644 --- a/examples/website/plot/package.json +++ b/examples/website/plot/package.json @@ -1,10 +1,12 @@ { - "name": "plot", + "name": "deckgl-examples-plot", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "d3-scale": "^2.0.0", @@ -13,11 +15,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/plot/webpack.config.js b/examples/website/plot/webpack.config.js deleted file mode 100644 index 15f4e5e95dd..00000000000 --- a/examples/website/plot/webpack.config.js +++ /dev/null @@ -1,34 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - devtool: 'source-map', - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/point-cloud/README.md b/examples/website/point-cloud/README.md index e1e0ad7ab19..2887146e179 100644 --- a/examples/website/point-cloud/README.md +++ b/examples/website/point-cloud/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/point-cloud/app.js b/examples/website/point-cloud/app.jsx similarity index 100% rename from examples/website/point-cloud/app.js rename to examples/website/point-cloud/app.jsx diff --git a/examples/website/point-cloud/index.html b/examples/website/point-cloud/index.html index 556df52062a..d41b8fe6e92 100644 --- a/examples/website/point-cloud/index.html +++ b/examples/website/point-cloud/index.html @@ -16,9 +16,9 @@
- - diff --git a/examples/website/point-cloud/package.json b/examples/website/point-cloud/package.json index b5eb171b5ec..6592d0aeaea 100644 --- a/examples/website/point-cloud/package.json +++ b/examples/website/point-cloud/package.json @@ -1,10 +1,12 @@ { - "name": "point-cloud-laz", + "name": "deckgl-examples-point-cloud", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/las": "^3.2.10", @@ -13,11 +15,7 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/point-cloud/webpack.config.js b/examples/website/point-cloud/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/point-cloud/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/radio/README.md b/examples/website/radio/README.md index 0007345731e..3684a913315 100644 --- a/examples/website/radio/README.md +++ b/examples/website/radio/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/radio/app.js b/examples/website/radio/app.jsx similarity index 100% rename from examples/website/radio/app.js rename to examples/website/radio/app.jsx diff --git a/examples/website/radio/index.html b/examples/website/radio/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/radio/index.html +++ b/examples/website/radio/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/radio/package.json b/examples/website/radio/package.json index 7d50b5823f1..a3d6905568f 100644 --- a/examples/website/radio/package.json +++ b/examples/website/radio/package.json @@ -1,10 +1,12 @@ { - "name": "radio", + "name": "deckgl-examples-radio", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/csv": "^3.2.10", @@ -17,11 +19,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/radio/search-bar.js b/examples/website/radio/search-bar.jsx similarity index 100% rename from examples/website/radio/search-bar.js rename to examples/website/radio/search-bar.jsx diff --git a/examples/website/radio/webpack.config.js b/examples/website/radio/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/radio/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/safegraph/README.md b/examples/website/safegraph/README.md index b5986b41cef..7ba1442fd44 100644 --- a/examples/website/safegraph/README.md +++ b/examples/website/safegraph/README.md @@ -23,7 +23,7 @@ Other options can be found at [using with Mapbox GL](../../../docs/get-started/u npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/safegraph/index.html b/examples/website/safegraph/index.html index 921213b1f5d..530a28c0932 100644 --- a/examples/website/safegraph/index.html +++ b/examples/website/safegraph/index.html @@ -21,9 +21,9 @@
- - diff --git a/examples/website/safegraph/package.json b/examples/website/safegraph/package.json index c914611c242..b4ccff5dc81 100644 --- a/examples/website/safegraph/package.json +++ b/examples/website/safegraph/package.json @@ -1,10 +1,12 @@ { - "name": "mapbox-custom-layer", + "name": "deckgl-examples-mapbox-custom-layer", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "@loaders.gl/csv": "^3.2.10", @@ -13,8 +15,7 @@ "mapbox-gl": "^1.13.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.11" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/safegraph/vite.config.js b/examples/website/safegraph/vite.config.js new file mode 100644 index 00000000000..57d0c90e4aa --- /dev/null +++ b/examples/website/safegraph/vite.config.js @@ -0,0 +1,5 @@ +export default { + define: { + 'process.env.MapboxAccessToken': JSON.stringify(process.env.MapboxAccessToken) + } +} \ No newline at end of file diff --git a/examples/website/safegraph/webpack.config.js b/examples/website/safegraph/webpack.config.js deleted file mode 100644 index 2c68a971dff..00000000000 --- a/examples/website/safegraph/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/scatterplot/README.md b/examples/website/scatterplot/README.md index aa6b9593cee..e7ff15a1005 100644 --- a/examples/website/scatterplot/README.md +++ b/examples/website/scatterplot/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/scatterplot/app.js b/examples/website/scatterplot/app.jsx similarity index 100% rename from examples/website/scatterplot/app.js rename to examples/website/scatterplot/app.jsx diff --git a/examples/website/scatterplot/index.html b/examples/website/scatterplot/index.html index 22fe02abf4e..4620f478849 100644 --- a/examples/website/scatterplot/index.html +++ b/examples/website/scatterplot/index.html @@ -11,8 +11,8 @@
- - diff --git a/examples/website/scatterplot/package.json b/examples/website/scatterplot/package.json index 1ae92498981..a47b693035c 100644 --- a/examples/website/scatterplot/package.json +++ b/examples/website/scatterplot/package.json @@ -1,10 +1,12 @@ { - "name": "scatterplot", + "name": "deckgl-examples-scatterplot", "version": "0.0.0", + "private": true, "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../../vite.config.local.mjs", + "build": "tsc && vite build" }, "dependencies": { "deck.gl": "^8.8.0", @@ -13,11 +15,7 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "typescript": "^4.6.0", + "vite": "^4.0.0" } } diff --git a/examples/website/scatterplot/webpack.config.js b/examples/website/scatterplot/webpack.config.js deleted file mode 100644 index d498a33de3a..00000000000 --- a/examples/website/scatterplot/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/examples/website/scenegraph/README.md b/examples/website/scenegraph/README.md index a34bf9332f3..cdd9a5ccd5a 100644 --- a/examples/website/scenegraph/README.md +++ b/examples/website/scenegraph/README.md @@ -10,7 +10,7 @@ Copy the content of this folder to your project. npm install # or yarn -# bundle and serve the app with webpack +# bundle and serve the app with vite npm start ``` diff --git a/examples/website/scenegraph/app.js b/examples/website/scenegraph/app.jsx similarity index 100% rename from examples/website/scenegraph/app.js rename to examples/website/scenegraph/app.jsx diff --git a/examples/website/scenegraph/index.html b/examples/website/scenegraph/index.html index 0555cd69305..4620f478849 100644 --- a/examples/website/scenegraph/index.html +++ b/examples/website/scenegraph/index.html @@ -2,7 +2,7 @@ - deck.gl Scenegraph Layer Example + deck.gl Example - + diff --git a/test/apps/attribute-transition/package.json b/test/apps/attribute-transition/package.json index efa60d31c73..ad9c345ecfe 100644 --- a/test/apps/attribute-transition/package.json +++ b/test/apps/attribute-transition/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --port 3000 --open", - "start-local": "webpack-dev-server --env.local --progress --hot --port 3000 --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -9,10 +9,6 @@ "react-dom": "^16.0.0" }, "devDependencies": { - "buble": "^0.19.3", - "buble-loader": "^0.5.0", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/attribute-transition/webpack.config.js b/test/apps/attribute-transition/webpack.config.js deleted file mode 100644 index 99f59728053..00000000000 --- a/test/apps/attribute-transition/webpack.config.js +++ /dev/null @@ -1,31 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; - -const CONFIG = { - entry: { - app: resolve('./app.js') - }, - - devtool: 'source-map', - - module: { - rules: [ - { - // Compile ES2015 using buble - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('.')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign' - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/attribute-worker/index.html b/test/apps/attribute-worker/index.html new file mode 100644 index 00000000000..00570c1f4ea --- /dev/null +++ b/test/apps/attribute-worker/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/attribute-worker/package.json b/test/apps/attribute-worker/package.json index 7000103c216..df37f8f58f7 100644 --- a/test/apps/attribute-worker/package.json +++ b/test/apps/attribute-worker/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --port 3000 --open", - "start-local": "webpack-dev-server --env.local --progress --hot --port 3000 --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@deck.gl/core": "^8.4.0", @@ -9,11 +9,6 @@ "webworkify-webpack": "^2.1.3" }, "devDependencies": { - "buble": "^0.19.3", - "buble-loader": "^0.5.0", - "html-webpack-plugin": "^3.2.0", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/attribute-worker/webpack.config.js b/test/apps/attribute-worker/webpack.config.js deleted file mode 100644 index ac0ab04b932..00000000000 --- a/test/apps/attribute-worker/webpack.config.js +++ /dev/null @@ -1,34 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const HTMLWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./app.js') - }, - - module: { - rules: [ - { - // Compile ES2015 using buble - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('.')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign' - } - } - ] - }, - - plugins: [new HTMLWebpackPlugin()] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/carto-dynamic-tile/app.js b/test/apps/carto-dynamic-tile/app.jsx similarity index 100% rename from test/apps/carto-dynamic-tile/app.js rename to test/apps/carto-dynamic-tile/app.jsx diff --git a/test/apps/carto-dynamic-tile/index.html b/test/apps/carto-dynamic-tile/index.html index a14546cbd97..967ce3f7aab 100644 --- a/test/apps/carto-dynamic-tile/index.html +++ b/test/apps/carto-dynamic-tile/index.html @@ -8,6 +8,6 @@ - + diff --git a/test/apps/carto-dynamic-tile/package.json b/test/apps/carto-dynamic-tile/package.json index 69f5c32ba10..d5074359fc7 100644 --- a/test/apps/carto-dynamic-tile/package.json +++ b/test/apps/carto-dynamic-tile/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.0.0", @@ -9,11 +9,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/carto-dynamic-tile/webpack.config.js b/test/apps/carto-dynamic-tile/webpack.config.js deleted file mode 100644 index 7b3ee002d48..00000000000 --- a/test/apps/carto-dynamic-tile/webpack.config.js +++ /dev/null @@ -1,28 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/carto-map/index.html b/test/apps/carto-map/index.html index ef300d8cdeb..7032adb7515 100644 --- a/test/apps/carto-map/index.html +++ b/test/apps/carto-map/index.html @@ -33,6 +33,6 @@
- + diff --git a/test/apps/carto-map/package.json b/test/apps/carto-map/package.json index 9393d88107a..8f645dc7f4f 100644 --- a/test/apps/carto-map/package.json +++ b/test/apps/carto-map/package.json @@ -1,11 +1,7 @@ { - "name": "carto-map", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@deck.gl/carto": "^8.6.0", @@ -15,9 +11,7 @@ "@deck.gl/mesh-layers": "^8.6.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" }, "eslintConfig": { "globals": { diff --git a/test/apps/carto-map/webpack.config.js b/test/apps/carto-map/webpack.config.js deleted file mode 100644 index 42b761b1fa1..00000000000 --- a/test/apps/carto-map/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/carto-wip/index.html b/test/apps/carto-wip/index.html index 6779b4cbef7..2b476fcb6a2 100644 --- a/test/apps/carto-wip/index.html +++ b/test/apps/carto-wip/index.html @@ -5,6 +5,6 @@ deck.gl example - + diff --git a/test/apps/carto-wip/package.json b/test/apps/carto-wip/package.json index a6be710c0cd..df86635b8ab 100644 --- a/test/apps/carto-wip/package.json +++ b/test/apps/carto-wip/package.json @@ -1,14 +1,12 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0" }, "devDependencies": { - "buble-loader": "^0.4.0", - "webpack": "^2.2.0", - "webpack-dev-server": "^3.1.11" + "vite": "^4.0.0" } } diff --git a/test/apps/carto-wip/webpack.config.js b/test/apps/carto-wip/webpack.config.js deleted file mode 100644 index 586efd252ac..00000000000 --- a/test/apps/carto-wip/webpack.config.js +++ /dev/null @@ -1,46 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; - -const CONFIG = { - entry: { - app: resolve('./app.js') - }, - - devtool: 'source-map', - - module: { - rules: [ - { - // Compile ES2015 using buble - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('.')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign', - transforms: { - dangerousForOf: true, - modules: false - } - } - } - ] - }, - - resolve: { - alias: { - 'viewport-mercator-project': resolve( - './node_modules/viewport-mercator-project/dist/index.js' - ), - 'deck.gl': resolve('./node_modules/deck.gl/dist-es6') - } - }, - - plugins: [] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/custom-tileset/app.js b/test/apps/custom-tileset/app.jsx similarity index 100% rename from test/apps/custom-tileset/app.js rename to test/apps/custom-tileset/app.jsx diff --git a/test/apps/custom-tileset/index.html b/test/apps/custom-tileset/index.html index 5daccd6d4d2..b95d377bad7 100644 --- a/test/apps/custom-tileset/index.html +++ b/test/apps/custom-tileset/index.html @@ -8,6 +8,6 @@ - + diff --git a/test/apps/custom-tileset/package.json b/test/apps/custom-tileset/package.json index 69f5c32ba10..d5074359fc7 100644 --- a/test/apps/custom-tileset/package.json +++ b/test/apps/custom-tileset/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.0.0", @@ -9,11 +9,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/custom-tileset/webpack.config.js b/test/apps/custom-tileset/webpack.config.js deleted file mode 100644 index 7b3ee002d48..00000000000 --- a/test/apps/custom-tileset/webpack.config.js +++ /dev/null @@ -1,28 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/data-filter/index.html b/test/apps/data-filter/index.html new file mode 100644 index 00000000000..89e6b2b1436 --- /dev/null +++ b/test/apps/data-filter/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/data-filter/package.json b/test/apps/data-filter/package.json index 23d89f0f85c..ad9c345ecfe 100644 --- a/test/apps/data-filter/package.json +++ b/test/apps/data-filter/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --port 3000 --open", - "start-local": "webpack-dev-server --env.local --progress --hot --port 3000 --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -9,11 +9,6 @@ "react-dom": "^16.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/data-filter/src/app.js b/test/apps/data-filter/src/app.jsx similarity index 100% rename from test/apps/data-filter/src/app.js rename to test/apps/data-filter/src/app.jsx diff --git a/test/apps/data-filter/webpack.config.js b/test/apps/data-filter/webpack.config.js deleted file mode 100644 index 8afb03cf912..00000000000 --- a/test/apps/data-filter/webpack.config.js +++ /dev/null @@ -1,36 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './src/app.js' - }, - - devtool: 'source-map', - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - // Optional: Enables reading mapbox token from environment variable - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/framebuffer/index.html b/test/apps/framebuffer/index.html new file mode 100644 index 00000000000..00570c1f4ea --- /dev/null +++ b/test/apps/framebuffer/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/framebuffer/package.json b/test/apps/framebuffer/package.json index 158d359755a..df86635b8ab 100644 --- a/test/apps/framebuffer/package.json +++ b/test/apps/framebuffer/package.json @@ -1,21 +1,12 @@ { - "name": "video", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/framebuffer/webpack.config.js b/test/apps/framebuffer/webpack.config.js deleted file mode 100644 index ea4e5448096..00000000000 --- a/test/apps/framebuffer/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file -const HTMLWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/] - } - ] - }, - - plugins: [new HTMLWebpackPlugin()] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/frustum-cull/app.js b/test/apps/frustum-cull/app.jsx similarity index 100% rename from test/apps/frustum-cull/app.js rename to test/apps/frustum-cull/app.jsx diff --git a/test/apps/frustum-cull/index.html b/test/apps/frustum-cull/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/test/apps/frustum-cull/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/frustum-cull/package.json b/test/apps/frustum-cull/package.json index beb91ae4e06..7e6731f59d0 100644 --- a/test/apps/frustum-cull/package.json +++ b/test/apps/frustum-cull/package.json @@ -1,11 +1,7 @@ { - "name": "frustum-cull", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "react": "^16.3.0", @@ -13,12 +9,6 @@ "react-map-gl": "^4.1.2" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/frustum-cull/webpack.config.js b/test/apps/frustum-cull/webpack.config.js deleted file mode 100644 index 2a2909317a0..00000000000 --- a/test/apps/frustum-cull/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const webpack = require('webpack'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - plugins: [ - new HtmlWebpackPlugin({title: 'deck.gl example'}), - new webpack.EnvironmentPlugin(['MapboxAccessToken']) - ] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/globe/index.html b/test/apps/globe/index.html index bb4d922dad6..ee57e6132d3 100644 --- a/test/apps/globe/index.html +++ b/test/apps/globe/index.html @@ -15,6 +15,6 @@ - + diff --git a/test/apps/globe/package.json b/test/apps/globe/package.json index 801667db8a1..fb292a844f0 100644 --- a/test/apps/globe/package.json +++ b/test/apps/globe/package.json @@ -1,16 +1,13 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@deck.gl/core": "^8.0.0", "@deck.gl/layers": "^8.0.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/globe/webpack.config.js b/test/apps/globe/webpack.config.js deleted file mode 100644 index 42b761b1fa1..00000000000 --- a/test/apps/globe/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/glsl-debugger/index.html b/test/apps/glsl-debugger/index.html index f9981a32303..3b13687b94f 100644 --- a/test/apps/glsl-debugger/index.html +++ b/test/apps/glsl-debugger/index.html @@ -28,6 +28,6 @@
Color Mode
- + diff --git a/test/apps/glsl-debugger/package.json b/test/apps/glsl-debugger/package.json index 6abb7506545..21fb7c69c23 100644 --- a/test/apps/glsl-debugger/package.json +++ b/test/apps/glsl-debugger/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --port 3000 --open", - "start-local": "webpack-dev-server --env.local --progress --hot --port 3000 --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@luma.gl/debug": "^8.5.2", @@ -9,10 +9,6 @@ "glsl-transpiler": "^1.8.5" }, "devDependencies": { - "buble": "^0.19.3", - "buble-loader": "^0.5.0", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/glsl-debugger/webpack.config.js b/test/apps/glsl-debugger/webpack.config.js deleted file mode 100644 index 611badf8b53..00000000000 --- a/test/apps/glsl-debugger/webpack.config.js +++ /dev/null @@ -1,33 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./app.js') - }, - - devtool: 'source-map', - - module: { - rules: [ - { - // Compile ES2015 using buble - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('.')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign' - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/json-layer/app.js b/test/apps/json-layer/app.jsx similarity index 100% rename from test/apps/json-layer/app.js rename to test/apps/json-layer/app.jsx diff --git a/test/apps/json-layer/index.html b/test/apps/json-layer/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/test/apps/json-layer/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/json-layer/package.json b/test/apps/json-layer/package.json index d915f65b608..6fbd33b6956 100644 --- a/test/apps/json-layer/package.json +++ b/test/apps/json-layer/package.json @@ -1,10 +1,7 @@ { - "name": "json-layer", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@deck.gl/core": "^8.4.0", @@ -14,12 +11,6 @@ "react-dom": "^16.9.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/json-layer/webpack.config.js b/test/apps/json-layer/webpack.config.js deleted file mode 100644 index 3d8c4028ae5..00000000000 --- a/test/apps/json-layer/webpack.config.js +++ /dev/null @@ -1,41 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./app.js') - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - resolve: { - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - } - }, - - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/json-pure-js/index.html b/test/apps/json-pure-js/index.html index f9f7ec2ef3c..85daa2a359c 100644 --- a/test/apps/json-pure-js/index.html +++ b/test/apps/json-pure-js/index.html @@ -40,5 +40,6 @@ + diff --git a/test/apps/json-pure-js/package.json b/test/apps/json-pure-js/package.json index 9857e8716a8..aee90d8328e 100644 --- a/test/apps/json-pure-js/package.json +++ b/test/apps/json-pure-js/package.json @@ -1,11 +1,7 @@ { - "name": "pure-js", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "NODE_ENV=production webpack --env.prod" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@deck.gl/core": "^8.4.0", @@ -13,11 +9,6 @@ "@deck.gl/layers": "^8.4.0" }, "devDependencies": { - "buble": "^0.19.3", - "buble-loader": "^0.5.0", - "file-loader": "^1.1.11", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/json-pure-js/webpack.config.js b/test/apps/json-pure-js/webpack.config.js deleted file mode 100644 index 292e8e328f2..00000000000 --- a/test/apps/json-pure-js/webpack.config.js +++ /dev/null @@ -1,107 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const webpack = require('webpack'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const ALIASES = require('../../../aliases')(); - -const PACKAGE_ROOT = resolve(__dirname, '.'); -const ROOT = resolve(PACKAGE_ROOT, '../../..'); -// This is used to define the __VERSION__ constant in core/lib/init.js -// babel-plugin-version-inline uses the package version from the working directory -// Therefore we need to manually import the correct version from the core -// This is called in prepublishOnly, after lerna bumps the package versions -const CORE_VERSION = require(resolve(ROOT, 'node_modules/@deck.gl/core/package.json')).version; - -const BASE_CONFIG = { - mode: 'development', - - entry: { - app: resolve('./app.js') - }, - - module: { - rules: [ - { - // Compile ES2015 using buble - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('..')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign' - } - } - ] - }, - - plugins: [ - new HtmlWebpackPlugin({title: 'JSON Browser', template: './index.html'}), - // Optional: Enables reading mapbox token from environment variable - new webpack.EnvironmentPlugin(['MapboxAccessToken']) - ], - - node: {fs: 'empty'} -}; - -const CONFIGS = { - base: env => BASE_CONFIG, - - dev: env => - Object.assign({}, BASE_CONFIG, { - mode: 'development', - - // devServer: { - // contentBase: resolve(PACKAGE_ROOT, 'test') - // }, - - plugins: [ - new webpack.DefinePlugin({ - __MAPBOX_TOKEN__: JSON.stringify(process.env.MapboxAccessToken) // eslint-disable-line - }) - ] - }), - - prod: env => - Object.assign({}, BASE_CONFIG, { - mode: 'production', - - output: { - libraryTarget: 'umd', - path: resolve(PACKAGE_ROOT, 'dist'), - filename: 'json-browser.min.js' - }, - - resolve: { - alias: ALIASES - }, - - plugins: [ - new webpack.DefinePlugin({ - __VERSION__: JSON.stringify(CORE_VERSION) - }) - ], - - devtool: '' - }) -}; - -// Pick a webpack config based on --env.*** argument to webpack -function getConfig(env = {}) { - if (env.prod) { - return CONFIGS.prod(env); - } - if (env.dev) { - return CONFIGS.dev(env); - } - return CONFIGS.base(env); -} - -// This line enables bundling against src in this repo rather than installed deck.gl module -const config = env => - env ? require('../../webpack.config.local')(getConfig(env))(env) : getConfig(env); - -module.exports = config; diff --git a/test/apps/mapbox-layers/index.html b/test/apps/mapbox-layers/index.html index 1584d361b5c..fdd96bece67 100644 --- a/test/apps/mapbox-layers/index.html +++ b/test/apps/mapbox-layers/index.html @@ -17,5 +17,5 @@
- + diff --git a/test/apps/mapbox-layers/package.json b/test/apps/mapbox-layers/package.json index 3cbd6d55910..9eb72418cac 100644 --- a/test/apps/mapbox-layers/package.json +++ b/test/apps/mapbox-layers/package.json @@ -1,11 +1,7 @@ { - "name": "pure-js", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "NODE_ENV=production webpack --env.prod=true" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -14,11 +10,6 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "buble": "^0.19.3", - "buble-loader": "^0.5.0", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.3.0", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/mapbox-layers/react-app.js b/test/apps/mapbox-layers/react-app.jsx similarity index 100% rename from test/apps/mapbox-layers/react-app.js rename to test/apps/mapbox-layers/react-app.jsx diff --git a/test/apps/mapbox-layers/webpack.config.js b/test/apps/mapbox-layers/webpack.config.js deleted file mode 100644 index 6b6c51f808a..00000000000 --- a/test/apps/mapbox-layers/webpack.config.js +++ /dev/null @@ -1,36 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const webpack = require('webpack'); - -const CONFIG = { - mode: 'development', - - entry: { - app: resolve('./app.js'), - reactApp: resolve('./react-app.js') - }, - - module: { - rules: [ - { - // Compile ES2015 using buble - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('.')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign' - } - } - ] - }, - - // Optional: Enables reading mapbox token from environment variable - plugins: [new webpack.EnvironmentPlugin(['MapboxAccessToken'])] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/mapbox-tile/app.js b/test/apps/mapbox-tile/app.jsx similarity index 100% rename from test/apps/mapbox-tile/app.js rename to test/apps/mapbox-tile/app.jsx diff --git a/test/apps/mapbox-tile/index.html b/test/apps/mapbox-tile/index.html index 84e2f9c9f88..8cdf02703fc 100644 --- a/test/apps/mapbox-tile/index.html +++ b/test/apps/mapbox-tile/index.html @@ -17,6 +17,6 @@ - + diff --git a/test/apps/mapbox-tile/package.json b/test/apps/mapbox-tile/package.json index b8b4e67d8a3..8ea5dcc9cd6 100644 --- a/test/apps/mapbox-tile/package.json +++ b/test/apps/mapbox-tile/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --port 3000 --open", - "start-local": "webpack-dev-server --env.local --progress --hot --port 3000 --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@mapbox/vector-tile": "^1.3.1", @@ -11,11 +11,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/mapbox-tile/webpack.config.js b/test/apps/mapbox-tile/webpack.config.js deleted file mode 100644 index 7b3ee002d48..00000000000 --- a/test/apps/mapbox-tile/webpack.config.js +++ /dev/null @@ -1,28 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/mask-first-person/index.html b/test/apps/mask-first-person/index.html index 05991776cc0..700872e3334 100644 --- a/test/apps/mask-first-person/index.html +++ b/test/apps/mask-first-person/index.html @@ -9,6 +9,6 @@ - + diff --git a/test/apps/mask-first-person/package.json b/test/apps/mask-first-person/package.json index a3b8a646a6e..bee26a32569 100644 --- a/test/apps/mask-first-person/package.json +++ b/test/apps/mask-first-person/package.json @@ -1,8 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start-es6": "webpack-dev-server --env.es6 --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -13,11 +12,6 @@ "react-map-gl": "^4.1.2" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/mask-first-person/webpack.config.js b/test/apps/mask-first-person/webpack.config.js deleted file mode 100644 index 35915a33374..00000000000 --- a/test/apps/mask-first-person/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/mask-orthographic/app.js b/test/apps/mask-orthographic/app.jsx similarity index 96% rename from test/apps/mask-orthographic/app.js rename to test/apps/mask-orthographic/app.jsx index ecfda6907bb..88378ec8c8f 100644 --- a/test/apps/mask-orthographic/app.js +++ b/test/apps/mask-orthographic/app.jsx @@ -76,6 +76,4 @@ export default function App() { ); } -export function renderToDOM(container) { - render(, container); -} +render(, container); diff --git a/test/apps/mask-orthographic/index.html b/test/apps/mask-orthographic/index.html index 22fe02abf4e..89ee0b14fb6 100644 --- a/test/apps/mask-orthographic/index.html +++ b/test/apps/mask-orthographic/index.html @@ -11,8 +11,5 @@
- - + diff --git a/test/apps/mask-orthographic/package.json b/test/apps/mask-orthographic/package.json index a5b9d3d2eb5..5156b8e71c8 100644 --- a/test/apps/mask-orthographic/package.json +++ b/test/apps/mask-orthographic/package.json @@ -1,10 +1,7 @@ { - "name": "mask", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.6.0-alpha.0", @@ -12,11 +9,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/mask-orthographic/webpack.config.js b/test/apps/mask-orthographic/webpack.config.js deleted file mode 100644 index 35915a33374..00000000000 --- a/test/apps/mask-orthographic/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/mask/app.js b/test/apps/mask/app.jsx similarity index 97% rename from test/apps/mask/app.js rename to test/apps/mask/app.jsx index 3a49cf2c4ff..87c632bea9c 100644 --- a/test/apps/mask/app.js +++ b/test/apps/mask/app.jsx @@ -280,12 +280,8 @@ export default function App({data, strokeWidth = 1, mapStyle = MAP_STYLE}) { ); } -export function renderToDOM(container) { - render(, container); - - fetch(DATA_URL) - .then(response => response.json()) - .then(({features}) => { - render(, container); - }); -} +fetch(DATA_URL) + .then(response => response.json()) + .then(({features}) => { + render(, container); + }); diff --git a/test/apps/mask/index.html b/test/apps/mask/index.html index 22fe02abf4e..89ee0b14fb6 100644 --- a/test/apps/mask/index.html +++ b/test/apps/mask/index.html @@ -11,8 +11,5 @@
- - + diff --git a/test/apps/mask/package.json b/test/apps/mask/package.json index e1e5259f4b6..950d8efd9ae 100644 --- a/test/apps/mask/package.json +++ b/test/apps/mask/package.json @@ -1,10 +1,7 @@ { - "name": "mask", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "d3-scale": "^2.0.0", @@ -14,11 +11,6 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/mask/webpack.config.js b/test/apps/mask/webpack.config.js deleted file mode 100644 index 35915a33374..00000000000 --- a/test/apps/mask/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/minimap/app.js b/test/apps/minimap/app.jsx similarity index 100% rename from test/apps/minimap/app.js rename to test/apps/minimap/app.jsx diff --git a/test/apps/minimap/index.html b/test/apps/minimap/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/test/apps/minimap/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/minimap/package.json b/test/apps/minimap/package.json index b4f34483f1e..9eb72418cac 100644 --- a/test/apps/minimap/package.json +++ b/test/apps/minimap/package.json @@ -1,10 +1,7 @@ { - "name": "trips", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -13,11 +10,6 @@ "react-map-gl": "^5.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/minimap/webpack.config.js b/test/apps/minimap/webpack.config.js deleted file mode 100644 index 71ff8f0d819..00000000000 --- a/test/apps/minimap/webpack.config.js +++ /dev/null @@ -1,38 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - // Optional: Enables reading mapbox token from environment variable - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/multi-viewport/app.js b/test/apps/multi-viewport/app.jsx similarity index 100% rename from test/apps/multi-viewport/app.js rename to test/apps/multi-viewport/app.jsx diff --git a/test/apps/multi-viewport/index.html b/test/apps/multi-viewport/index.html index 05991776cc0..eff204a61bc 100644 --- a/test/apps/multi-viewport/index.html +++ b/test/apps/multi-viewport/index.html @@ -9,6 +9,6 @@ - + diff --git a/test/apps/multi-viewport/package.json b/test/apps/multi-viewport/package.json index 194d665826f..4bc6a675f65 100644 --- a/test/apps/multi-viewport/package.json +++ b/test/apps/multi-viewport/package.json @@ -1,8 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start-es6": "webpack-dev-server --env.es6 --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -12,11 +11,6 @@ "react-map-gl": "^4.1.2" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/multi-viewport/webpack.config.js b/test/apps/multi-viewport/webpack.config.js deleted file mode 100644 index 35915a33374..00000000000 --- a/test/apps/multi-viewport/webpack.config.js +++ /dev/null @@ -1,32 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/partial-update/app.js b/test/apps/partial-update/app.jsx similarity index 100% rename from test/apps/partial-update/app.js rename to test/apps/partial-update/app.jsx diff --git a/test/apps/partial-update/index.html b/test/apps/partial-update/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/test/apps/partial-update/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/partial-update/package.json b/test/apps/partial-update/package.json index 2794be4c8d4..34218bcc716 100644 --- a/test/apps/partial-update/package.json +++ b/test/apps/partial-update/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --port 3000 --open", - "start-local": "webpack-dev-server --env.local --progress --hot --port 3000 --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -10,11 +10,6 @@ "react-dom": "^16.0.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/partial-update/webpack.config.js b/test/apps/partial-update/webpack.config.js deleted file mode 100644 index 09eb01b1e7f..00000000000 --- a/test/apps/partial-update/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const resolve = require('path').resolve; - -const CONFIG = { - entry: { - app: resolve('./app.js') - }, - - devtool: 'source-map', - - module: { - rules: [ - { - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - plugins: [new HtmlWebpackPlugin({title: 'deck.gl example'})] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/standalone/index.html b/test/apps/standalone/index.html index 97307d91c48..358f19697ab 100644 --- a/test/apps/standalone/index.html +++ b/test/apps/standalone/index.html @@ -12,5 +12,5 @@
- + diff --git a/test/apps/standalone/package.json b/test/apps/standalone/package.json index 834d24ba77f..410816380a9 100644 --- a/test/apps/standalone/package.json +++ b/test/apps/standalone/package.json @@ -1,29 +1,9 @@ { - "name": "@deck.gl/lite", - "description": "Scripting with deck.gl", - "license": "MIT", - "version": "0.0.0", - "private": "true", - "publishConfig": { - "access": "public" - }, - "keywords": [ - "webgl", - "visualization" - ], - "repository": { - "type": "git", - "url": "https://github.com/visgl/deck.gl.git" - }, - "main": "dist/deckgl.min.js", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "devDependencies": { - "buble": "^0.19.3", - "buble-loader": "^0.5.0", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/standalone/webpack.config.js b/test/apps/standalone/webpack.config.js deleted file mode 100644 index fe8ef927fa5..00000000000 --- a/test/apps/standalone/webpack.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* global process */ -const webpack = require('webpack'); - -const CONFIG = { - entry: { - main: './index.js' - }, - - mode: 'development', - - plugins: [ - new webpack.DefinePlugin({ - __MAPBOX_TOKEN__: JSON.stringify(process.env.MapboxAccessToken) // eslint-disable-line - }) - ] -}; - -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/stress-tests/index.html b/test/apps/stress-tests/index.html index 4a821091a3b..854fe3f14be 100644 --- a/test/apps/stress-tests/index.html +++ b/test/apps/stress-tests/index.html @@ -32,7 +32,7 @@
- +
Rendering points in layers
diff --git a/test/apps/stress-tests/package.json b/test/apps/stress-tests/package.json index 34b8c1bf799..d6d1388d8a0 100644 --- a/test/apps/stress-tests/package.json +++ b/test/apps/stress-tests/package.json @@ -1,19 +1,12 @@ { - "name": "stress-test", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start-luma": "webpack-dev-server --env.local --env.local-luma --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "mapbox-gl": "^1.0.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/stress-tests/webpack.config.js b/test/apps/stress-tests/webpack.config.js deleted file mode 100644 index 42b761b1fa1..00000000000 --- a/test/apps/stress-tests/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/svg-interoperability/app.js b/test/apps/svg-interoperability/app.jsx similarity index 100% rename from test/apps/svg-interoperability/app.js rename to test/apps/svg-interoperability/app.jsx diff --git a/test/apps/svg-interoperability/index.html b/test/apps/svg-interoperability/index.html index 07d19bbd5de..3a4f1c9588f 100644 --- a/test/apps/svg-interoperability/index.html +++ b/test/apps/svg-interoperability/index.html @@ -14,7 +14,7 @@ } - - + + diff --git a/test/apps/svg-interoperability/package.json b/test/apps/svg-interoperability/package.json index db0160fca52..b8ecdcff7b0 100644 --- a/test/apps/svg-interoperability/package.json +++ b/test/apps/svg-interoperability/package.json @@ -1,14 +1,7 @@ { - "name": "svg-interoperability", - "version": "0.0.1", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build-clean": "rm -rf dist && mkdir dist", - "build-copy": "cp index.html dist", - "build-script": "NODE_ENV=production webpack --env.prod=true", - "build": "npm run build-clean && npm run build-script && npm run build-copy" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -16,8 +9,6 @@ "react-dom": "^16.2.0" }, "devDependencies": { - "buble-loader": "^0.4.0", - "webpack": "^2.2.1", - "webpack-dev-server": "^2.3.0" + "vite": "^4.0.0" } } diff --git a/test/apps/svg-interoperability/webpack.config.js b/test/apps/svg-interoperability/webpack.config.js deleted file mode 100644 index f78322b3ba0..00000000000 --- a/test/apps/svg-interoperability/webpack.config.js +++ /dev/null @@ -1,34 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const webpack = require('webpack'); - -const CONFIG = { - entry: { - app: resolve('./app.js') - }, - devtool: 'source-maps', - output: { - path: resolve('./dist'), - filename: 'bundle.js' - }, - module: { - rules: [ - { - test: /\.js$/, - loader: 'buble-loader', - include: [resolve('.')], - exclude: [/node_modules/], - options: { - objectAssign: 'Object.assign' - } - } - ] - }, - plugins: [new webpack.HotModuleReplacementPlugin()] -}; - -// This line enables bundling against src in this repo rather than installed deck.gl module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/text/index.html b/test/apps/text/index.html index 2c8a9d41a1c..d94b283be5f 100644 --- a/test/apps/text/index.html +++ b/test/apps/text/index.html @@ -27,6 +27,6 @@ Any123 - + diff --git a/test/apps/text/package.json b/test/apps/text/package.json index 801667db8a1..fb292a844f0 100644 --- a/test/apps/text/package.json +++ b/test/apps/text/package.json @@ -1,16 +1,13 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@deck.gl/core": "^8.0.0", "@deck.gl/layers": "^8.0.0" }, "devDependencies": { - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/text/webpack.config.js b/test/apps/text/webpack.config.js deleted file mode 100644 index 42b761b1fa1..00000000000 --- a/test/apps/text/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - } -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/video/app.js b/test/apps/video/app.jsx similarity index 100% rename from test/apps/video/app.js rename to test/apps/video/app.jsx diff --git a/test/apps/video/index.html b/test/apps/video/index.html new file mode 100644 index 00000000000..342746bdc5b --- /dev/null +++ b/test/apps/video/index.html @@ -0,0 +1,13 @@ + + + + + deck.gl Example + + + + + + diff --git a/test/apps/video/package.json b/test/apps/video/package.json index 70960020bba..c371d8192b3 100644 --- a/test/apps/video/package.json +++ b/test/apps/video/package.json @@ -1,10 +1,7 @@ { - "name": "video", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "start": "webpack-dev-server --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -12,12 +9,6 @@ "react-dom": "^16.3.0" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/video/webpack.config.js b/test/apps/video/webpack.config.js deleted file mode 100644 index 4f65e39a87e..00000000000 --- a/test/apps/video/webpack.config.js +++ /dev/null @@ -1,35 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file -const HTMLWebpackPlugin = require('html-webpack-plugin'); - -const CONFIG = { - mode: 'development', - - entry: { - app: './app.js' - }, - - output: { - library: 'App' - }, - - module: { - rules: [ - { - // Transpile ES6 to ES5 with babel - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - plugins: [new HTMLWebpackPlugin()] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/viewport-transitions-flyTo/index.html b/test/apps/viewport-transitions-flyTo/index.html index 839307bcf2b..ea4eb23eaa3 100644 --- a/test/apps/viewport-transitions-flyTo/index.html +++ b/test/apps/viewport-transitions-flyTo/index.html @@ -7,6 +7,6 @@ - + diff --git a/test/apps/viewport-transitions-flyTo/package.json b/test/apps/viewport-transitions-flyTo/package.json index 87e17fd7a29..246b723db33 100644 --- a/test/apps/viewport-transitions-flyTo/package.json +++ b/test/apps/viewport-transitions-flyTo/package.json @@ -1,7 +1,7 @@ { "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "deck.gl": "^8.4.0", @@ -10,11 +10,6 @@ "react-map-gl": "^5.0.11" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@babel/preset-react": "^7.0.0", - "babel-loader": "^8.0.5", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/viewport-transitions-flyTo/src/app.js b/test/apps/viewport-transitions-flyTo/src/app.jsx similarity index 100% rename from test/apps/viewport-transitions-flyTo/src/app.js rename to test/apps/viewport-transitions-flyTo/src/app.jsx diff --git a/test/apps/viewport-transitions-flyTo/src/control-panel.js b/test/apps/viewport-transitions-flyTo/src/control-panel.jsx similarity index 100% rename from test/apps/viewport-transitions-flyTo/src/control-panel.js rename to test/apps/viewport-transitions-flyTo/src/control-panel.jsx diff --git a/test/apps/viewport-transitions-flyTo/src/root.js b/test/apps/viewport-transitions-flyTo/src/root.jsx similarity index 100% rename from test/apps/viewport-transitions-flyTo/src/root.js rename to test/apps/viewport-transitions-flyTo/src/root.jsx diff --git a/test/apps/viewport-transitions-flyTo/webpack.config.js b/test/apps/viewport-transitions-flyTo/webpack.config.js deleted file mode 100644 index 9f3a355856b..00000000000 --- a/test/apps/viewport-transitions-flyTo/webpack.config.js +++ /dev/null @@ -1,51 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file - -// avoid destructuring for older Node version support -const resolve = require('path').resolve; -const path = require('path'); - -module.exports = { - mode: 'development', - - devtool: 'source-map', - - entry: { - app: resolve('./src/root.js') - }, - - output: { - path: path.resolve(__dirname, 'dist'), - filename: 'bundle.js', - publicPath: '/' - }, - - module: { - rules: [ - { - // Unfortunately, webpack doesn't import library sourcemaps on its own... - test: /\.js$/, - use: ['source-map-loader'], - enforce: 'pre' - }, - { - // Remove if your app does not use JSX or you don't need to support old browsers - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - resolve: { - alias: { - // From mapbox-gl-js README. Required for non-browserify bundlers (e.g. webpack): - // 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - // 'mapbox-gl$': resolve('../../../mapbox-gl-js/dist/mapbox-gl-dev.js') - 'mapbox-gl$': resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js') - } - } -}; diff --git a/test/apps/vite.config.local.mjs b/test/apps/vite.config.local.mjs new file mode 100644 index 00000000000..24f9795b647 --- /dev/null +++ b/test/apps/vite.config.local.mjs @@ -0,0 +1 @@ +export {default as default} from '../../examples/vite.config.local.mjs'; diff --git a/test/apps/wboit/app.js b/test/apps/wboit/app.jsx similarity index 100% rename from test/apps/wboit/app.js rename to test/apps/wboit/app.jsx diff --git a/test/apps/wboit/index.html b/test/apps/wboit/index.html new file mode 100644 index 00000000000..e59687af6a9 --- /dev/null +++ b/test/apps/wboit/index.html @@ -0,0 +1,10 @@ + + + + + deck.gl Example + + + + + diff --git a/examples/layer-browser/src/index.js b/test/apps/wboit/index.jsx similarity index 100% rename from examples/layer-browser/src/index.js rename to test/apps/wboit/index.jsx diff --git a/test/apps/wboit/package.json b/test/apps/wboit/package.json index e8e7a6a46eb..2c75e45426c 100644 --- a/test/apps/wboit/package.json +++ b/test/apps/wboit/package.json @@ -1,11 +1,7 @@ { - "name": "pure-js-basic", - "version": "0.0.0", - "license": "MIT", "scripts": { - "start": "webpack-dev-server --progress --hot --open", - "start-local": "webpack-dev-server --env.local --progress --hot --open", - "build": "webpack -p" + "start": "vite --open", + "start-local": "vite --config ../vite.config.local.mjs" }, "dependencies": { "@babel/preset-react": "^7.6.3", @@ -13,9 +9,6 @@ "@deck.gl/layers": "^8.4.0" }, "devDependencies": { - "html-webpack-plugin": "^3.0.7", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.1" + "vite": "^4.0.0" } } diff --git a/test/apps/wboit/webpack.config.js b/test/apps/wboit/webpack.config.js deleted file mode 100644 index 1432036edbe..00000000000 --- a/test/apps/wboit/webpack.config.js +++ /dev/null @@ -1,40 +0,0 @@ -// NOTE: To use this example standalone (e.g. outside of deck.gl repo) -// delete the local development overrides at the bottom of this file -const {resolve} = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const webpack = require('webpack'); - -const CONFIG = { - mode: 'development', - - entry: { - app: '.' - }, - - resolve: { - alias: { - data: resolve(__dirname, '../../../examples/layer-browser/data') - } - }, - - module: { - rules: [ - { - test: /\.js$/, - loader: 'babel-loader', - exclude: [/node_modules/], - options: { - presets: ['@babel/preset-react'] - } - } - ] - }, - - plugins: [ - new HtmlWebpackPlugin({title: 'deck.gl example'}), - new webpack.EnvironmentPlugin(['MapboxAccessToken']) - ] -}; - -// This line enables bundling against src in this repo rather than installed module -module.exports = env => (env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG); diff --git a/test/apps/webpack.config.local.js b/test/apps/webpack.config.local.js deleted file mode 100644 index 7ad6d9c7243..00000000000 --- a/test/apps/webpack.config.local.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../examples/webpack.config.local'); diff --git a/yarn.lock b/yarn.lock index 387bdbbf61d..c88e7faf647 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3477,166 +3477,11 @@ "@typescript-eslint/types" "4.31.0" eslint-visitor-keys "^2.0.0" -"@webassemblyjs/ast@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" - integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== - dependencies: - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - -"@webassemblyjs/floating-point-hex-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" - integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== - -"@webassemblyjs/helper-api-error@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" - integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== - -"@webassemblyjs/helper-buffer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" - integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== - -"@webassemblyjs/helper-code-frame@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" - integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== - dependencies: - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/helper-fsm@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" - integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== - -"@webassemblyjs/helper-module-context@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" - integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== - dependencies: - "@webassemblyjs/ast" "1.9.0" - -"@webassemblyjs/helper-wasm-bytecode@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" - integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== - -"@webassemblyjs/helper-wasm-section@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" - integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - -"@webassemblyjs/ieee754@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" - integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" - integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" - integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== - -"@webassemblyjs/wasm-edit@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" - integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/helper-wasm-section" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-opt" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/wasm-gen@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" - integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wasm-opt@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" - integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - -"@webassemblyjs/wasm-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" - integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wast-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" - integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/floating-point-hex-parser" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-code-frame" "1.9.0" - "@webassemblyjs/helper-fsm" "1.9.0" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/wast-printer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" - integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - "@xtuc/long" "4.2.2" - "@xmldom/xmldom@^0.7.5": version "0.7.5" resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.7.5.tgz#09fa51e356d07d0be200642b0e4f91d8e6dd408d" integrity sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A== -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" @@ -3664,14 +3509,6 @@ abbrev@1, abbrev@^1.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== - dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" - acorn-globals@^7.0.0: version "7.0.1" resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3" @@ -3685,22 +3522,12 @@ acorn-jsx@^5.3.1: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^7.1.1: - version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" - integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== - acorn-walk@^8.0.2, acorn-walk@^8.1.1: version "8.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== -acorn@^6.4.1: - version "6.4.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" - integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ== - -acorn@^7.1.1, acorn@^7.4.0: +acorn@^7.4.0: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== @@ -3755,17 +3582,12 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv-errors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" - integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== - -ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: +ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== -ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4: +ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -3785,11 +3607,6 @@ ajv@^8.0.1: require-from-string "^2.0.2" uri-js "^4.2.2" -ansi-colors@^3.0.0: - version "3.2.4" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" - integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== - ansi-colors@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" @@ -3800,11 +3617,6 @@ ansi-escapes@^3.2.0: resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== -ansi-html-community@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" - integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== - ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -3975,12 +3787,7 @@ array-find-index@^1.0.1: resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" integrity sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E= -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== - -array-flatten@^2.0.0, array-flatten@^2.1.0: +array-flatten@^2.0.0: version "2.1.2" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== @@ -4001,7 +3808,7 @@ array-includes@^3.1.1, array-includes@^3.1.2, array-includes@^3.1.3: get-intrinsic "^1.1.1" is-string "^1.0.5" -array-union@^1.0.1, array-union@^1.0.2: +array-union@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -4060,16 +3867,6 @@ asap@^2.0.0: resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" - asn1@~0.2.3: version "0.2.4" resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" @@ -4082,14 +3879,6 @@ assert-plus@1.0.0, assert-plus@^1.0.0: resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= -assert@^1.1.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -4110,18 +3899,6 @@ async-each@^1.0.1: resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - -async@^2.6.4: - version "2.6.4" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221" - integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA== - dependencies: - lodash "^4.17.14" - async@^3.2.3: version "3.2.4" resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" @@ -4466,16 +4243,16 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.0.2, base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - base64-js@^1.2.1: version "1.3.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g== +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + base@^0.11.1: version "0.11.2" resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" @@ -4489,11 +4266,6 @@ base@^0.11.1: mixin-deep "^1.2.0" pascalcase "^0.1.1" -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== - bcrypt-pbkdf@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" @@ -4506,16 +4278,6 @@ before-after-hook@^2.0.0: resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635" integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A== -bfj@^6.1.1: - version "6.1.2" - resolved "https://registry.yarnpkg.com/bfj/-/bfj-6.1.2.tgz#325c861a822bcb358a41c78a33b8e6e2086dde7f" - integrity sha512-BmBJa4Lip6BPRINSZ0BPEIfB1wUY/9rwbwvIHQA1KjX9om29B6id0wnWXq7m3bn5JrUVjeOTnVuhPT1FiHwPGw== - dependencies: - bluebird "^3.5.5" - check-types "^8.0.3" - hoopy "^0.1.4" - tryer "^1.0.1" - big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" @@ -4557,46 +4319,6 @@ bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.0.0, bn.js@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" - integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== - -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.1" - type-is "~1.6.18" - unpipe "1.0.0" - -bonjour@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" - integrity sha512-RaVTblr+OnEli0r/ud8InrU7D+G0y6aJhlxaLa6Pwty4+xoxboF1BsUI45tujvRpbj9dQVoglChqonGAsjEBYg== - dependencies: - array-flatten "^2.1.0" - deep-equal "^1.0.1" - dns-equal "^1.0.0" - dns-txt "^2.0.2" - multicast-dns "^6.0.1" - multicast-dns-service-types "^1.1.0" - boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -4633,79 +4355,13 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.1, braces@^3.0.2, braces@~3.0.2: +braces@^3.0.1, braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== dependencies: fill-range "^7.0.1" -brorand@^1.0.1, brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== - -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== - dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.3" - inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - browserslist@^4.16.6, browserslist@^4.17.0: version "4.17.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.0.tgz#1fcd81ec75b41d6d4994fb0831b92ac18c01649c" @@ -4732,25 +4388,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-indexof@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" - integrity sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== - -buffer@^4.3.0: - version "4.9.2" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" - integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - buffer@^5.2.1, buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -4759,11 +4396,6 @@ buffer@^5.2.1, buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ== - builtins@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" @@ -4779,16 +4411,6 @@ byte-size@^5.0.1: resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191" integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw== -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== - -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== - c8@^7.12.0: version "7.12.0" resolved "https://registry.yarnpkg.com/c8/-/c8-7.12.0.tgz#402db1c1af4af5249153535d1c84ad70c5c96b14" @@ -4828,27 +4450,6 @@ cacache@^12.0.0, cacache@^12.0.3: unique-filename "^1.1.1" y18n "^4.0.0" -cacache@^12.0.2: - version "12.0.4" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c" - integrity sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - infer-owner "^1.0.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - cacache@^16.1.0: version "16.1.3" resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" @@ -4999,7 +4600,7 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@^2.0.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.3.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -5008,7 +4609,7 @@ chalk@^2.0.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0: +chalk@^4.0.0, chalk@^4.0.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -5036,30 +4637,6 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -check-types@^8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/check-types/-/check-types-8.0.3.tgz#3356cca19c889544f2d7a95ed49ce508a0ecf552" - integrity sha512-YpeKZngUmG65rLudJ4taU7VLkOCTMhNl/u4ctNC56LQS/zJTyNH0Lrtwm1tfTsbLlwvlfsA2d1c8vCf/Kh2KwQ== - -chokidar@^2.1.8: - version "2.1.8" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" - integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== - dependencies: - anymatch "^2.0.0" - async-each "^1.0.1" - braces "^2.3.2" - glob-parent "^3.1.0" - inherits "^2.0.3" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^3.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.2.1" - upath "^1.1.1" - optionalDependencies: - fsevents "^1.2.7" - chokidar@^3.4.0: version "3.5.2" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75" @@ -5075,21 +4652,6 @@ chokidar@^3.4.0: optionalDependencies: fsevents "~2.3.2" -chokidar@^3.4.1: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - chownr@^1.1.1, chownr@^1.1.2, chownr@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -5100,24 +4662,11 @@ chownr@^2.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== -chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== - ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -5292,7 +4841,7 @@ command-line-usage@6.1.1: table-layout "^1.0.1" typical "^5.2.0" -commander@2, commander@^2.18.0, commander@^2.20.0, commander@^2.20.3: +commander@2, commander@^2.20.0, commander@^2.20.3: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== @@ -5325,26 +4874,6 @@ component-emitter@^1.2.1: resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== -compressible@~2.0.16: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@^1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" - integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== - dependencies: - accepts "~1.3.5" - bytes "3.0.0" - compressible "~2.0.16" - debug "2.6.9" - on-headers "~1.0.2" - safe-buffer "5.1.2" - vary "~1.1.2" - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -5388,33 +4917,11 @@ consola@^2.15.3: resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== -console-browserify@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== - console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ== - -content-disposition@0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - -content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== - contentstream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/contentstream/-/contentstream-1.0.0.tgz#0bdcfa46da30464a86ce8fa7ece565410dc6f9a5" @@ -5517,16 +5024,6 @@ convert-source-map@^1.6.0: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== - -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== - copy-concurrently@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" @@ -5583,37 +5080,6 @@ coveralls@^3.0.3: minimist "^1.2.5" request "^2.88.2" -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== - dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - create-require@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" @@ -5628,7 +5094,7 @@ cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^6.0.0, cross-spawn@^6.0.5: +cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -5648,23 +5114,6 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2: shebang-command "^2.0.0" which "^2.0.1" -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" - css-select@^4.2.1: version "4.3.0" resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" @@ -5833,13 +5282,6 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - debug@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" @@ -5861,6 +5303,13 @@ debug@4.3.1: dependencies: ms "2.1.2" +debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + debug@^3.1.0: version "3.2.6" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" @@ -5922,7 +5371,7 @@ dedent@^0.7.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-equal@^1.0.1, deep-equal@~1.1.1: +deep-equal@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== @@ -5954,14 +5403,6 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== -default-gateway@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b" - integrity sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA== - dependencies: - execa "^1.0.0" - ip-regex "^2.1.0" - defaults@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" @@ -6011,19 +5452,6 @@ defined@~1.0.0: resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" integrity sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM= -del@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" - integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== - dependencies: - "@types/glob" "^7.1.1" - globby "^6.1.0" - is-path-cwd "^2.0.0" - is-path-in-cwd "^2.0.0" - p-map "^2.0.0" - pify "^4.0.1" - rimraf "^2.6.3" - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -6034,12 +5462,7 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -depd@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - -depd@^1.1.2, depd@~1.1.2: +depd@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== @@ -6049,24 +5472,6 @@ deprecation@^2.0.0: resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -destroy@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" - integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== - -detect-file@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" - integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== - detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -6077,11 +5482,6 @@ detect-libc@^2.0.0: resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.1.tgz#e1897aa88fa6ad197862937fbc0441ef352ee0cd" integrity sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w== -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - devtools-protocol@0.0.901419: version "0.0.901419" resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.901419.tgz#79b5459c48fe7e1c5563c02bd72f8fec3e0cebcd" @@ -6100,15 +5500,6 @@ diff@^4.0.1: resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - dir-glob@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" @@ -6123,26 +5514,6 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== - -dns-packet@^1.3.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.4.tgz#e3455065824a2507ba886c55a89963bb107dec6f" - integrity sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA== - dependencies: - ip "^1.1.0" - safe-buffer "^5.0.1" - -dns-txt@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" - integrity sha512-Ix5PrWjphuSoUXV/Zv5gaFHjnaJtb02F2+Si3Ht9dyJ87+Z/lMmy+dpNHtTGraNK958ndXq2i+GLkWsWHcKaBQ== - dependencies: - buffer-indexof "^1.0.0" - doctrine@^1.2.2: version "1.5.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" @@ -6179,11 +5550,6 @@ dom-walk@^0.1.0: resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84" integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w== -domain-browser@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== - domelementtype@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d" @@ -6294,16 +5660,6 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== - -ejs@^2.6.1: - version "2.7.4" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" - integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== - ejs@^3.1.6: version "3.1.8" resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" @@ -6316,19 +5672,6 @@ electron-to-chromium@^1.3.830: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.835.tgz#98fa4402ab7bc6afbe4953a8ca9b63cb3a6bf08b" integrity sha512-rHQszGg2KLMqOWPNTpwCnlp7Kb85haJa8j089DJCreZueykoSN/in+EMlay3SSDMNKR4VGPvfskxofHV18xVJg== -elliptic@^6.5.3: - version "6.5.4" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== - dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" - emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -6354,11 +5697,6 @@ emojis-list@^3.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== - encoding@^0.1.11: version "0.1.12" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" @@ -6380,15 +5718,6 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" -enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.1, enhanced-resolve@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" - integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.5.0" - tapable "^1.0.0" - enquirer@^2.3.5: version "2.3.6" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" @@ -6426,20 +5755,6 @@ err-code@^2.0.2: resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== -errno@^0.1.3: - version "0.1.7" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" - integrity sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg== - dependencies: - prr "~1.0.1" - -errno@~0.1.7: - version "0.1.8" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - error-ex@^1.2.0, error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -6582,11 +5897,6 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== - escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -6749,14 +6059,6 @@ eslint-rule-composer@^0.3.0: resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" @@ -6866,7 +6168,7 @@ esquery@^1.4.0: dependencies: estraverse "^5.1.0" -esrecurse@^4.1.0, esrecurse@^4.3.0: +esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== @@ -6903,39 +6205,11 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== - eventemitter3@^3.1.0: version "3.1.2" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@^3.0.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -eventsource@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-2.0.2.tgz#76dfcc02930fb2ff339520b6d290da573a9e8508" - integrity sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA== - -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - execa@^0.6.0: version "0.6.3" resolved "https://registry.yarnpkg.com/execa/-/execa-0.6.3.tgz#57b69a594f081759c69e5370f0d17b9cb11658fe" @@ -6980,50 +6254,6 @@ expand-template@^2.0.3: resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw== - dependencies: - homedir-polyfill "^1.0.1" - -express@^4.16.3, express@^4.17.1: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.20.1" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.5.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.2.0" - fresh "0.5.2" - http-errors "2.0.0" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "2.4.1" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.7" - qs "6.11.0" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" - setprototypeof "1.2.0" - statuses "2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - expression-eval@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/expression-eval/-/expression-eval-1.4.0.tgz#3e250c110ff9bb6606d0c8ad0ecb9600e388f76d" @@ -7158,13 +6388,6 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" -faye-websocket@^0.11.3, faye-websocket@^0.11.4: - version "0.11.4" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" - integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== - dependencies: - websocket-driver ">=0.5.1" - fd-slicer@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" @@ -7203,11 +6426,6 @@ filelist@^1.0.1: dependencies: minimatch "^5.0.1" -filesize@^3.6.1: - version "3.6.1" - resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317" - integrity sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg== - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" @@ -7225,20 +6443,7 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -finalhandler@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" - integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "2.4.1" - parseurl "~1.3.3" - statuses "2.0.1" - unpipe "~1.0.0" - -find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: +find-cache-dir@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== @@ -7301,16 +6506,6 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" -findup-sync@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1" - integrity sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg== - dependencies: - detect-file "^1.0.0" - is-glob "^4.0.0" - micromatch "^3.0.4" - resolve-dir "^1.0.1" - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -7349,11 +6544,6 @@ focus-trap@~6.6.1: dependencies: tabbable "^5.2.1" -follow-redirects@^1.0.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== - for-each@~0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" @@ -7397,11 +6587,6 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" -forwarded@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" - integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== - fragment-cache@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" @@ -7409,11 +6594,6 @@ fragment-cache@^0.2.1: dependencies: map-cache "^0.2.2" -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== - from2@^2.1.0: version "2.3.0" resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" @@ -7479,14 +6659,6 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.2.7: - version "1.2.13" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38" - integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw== - dependencies: - bindings "^1.5.0" - nan "^2.12.1" - fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" @@ -7818,18 +6990,6 @@ glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.3, glob@~7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - glob@^8.0.1: version "8.0.3" resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" @@ -7841,41 +7001,17 @@ glob@^8.0.1: minimatch "^5.0.1" once "^1.3.0" -global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - -global-modules@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" - integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== - dependencies: - global-prefix "^3.0.0" - -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg== - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - -global-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" - integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== +glob@~7.2.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: - ini "^1.3.5" - kind-of "^6.0.2" - which "^1.3.1" + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" global@~4.3.0: version "4.3.2" @@ -7909,17 +7045,6 @@ globby@^11.0.3: merge2 "^1.3.0" slash "^3.0.0" -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw== - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - globby@^9.2.0: version "9.2.0" resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" @@ -7991,14 +7116,6 @@ grid-index@^1.1.0: resolved "https://registry.yarnpkg.com/grid-index/-/grid-index-1.1.0.tgz#97f8221edec1026c8377b86446a7c71e79522ea7" integrity sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA== -gzip-size@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-5.1.1.tgz#cb9bee692f87c0612b232840a873904e4c135274" - integrity sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA== - dependencies: - duplexer "^0.1.1" - pify "^4.0.1" - h3-js@^3.7.0: version "3.7.2" resolved "https://registry.yarnpkg.com/h3-js/-/h3-js-3.7.2.tgz#61d4feb7bb42868ca9cdb2d5cf9d9dda94f9e5a3" @@ -8009,11 +7126,6 @@ hammerjs@^2.0.8: resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1" integrity sha1-BO93hiz/K7edMPdpIJWTAiK/YPE= -handle-thing@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" - integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== - handlebars@^4.4.0: version "4.7.7" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -8131,64 +7243,16 @@ has@^1.0.1, has@^1.0.3, has@~1.0.3: dependencies: function-bind "^1.1.1" -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - he@1.2.0, he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - -hoopy@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" - integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== - hosted-git-info@^2.1.4, hosted-git-info@^2.7.1: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ== - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - html-encoding-sniffer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" @@ -8196,11 +7260,6 @@ html-encoding-sniffer@^3.0.0: dependencies: whatwg-encoding "^2.0.0" -html-entities@^1.3.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc" - integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA== - html-escaper@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.0.tgz#71e87f931de3fe09e56661ab9a29aadec707b491" @@ -8229,37 +7288,6 @@ http-cache-semantics@^4.1.0: resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== - -http-errors@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-parser-js@>=0.5.1: - version "0.5.8" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" - integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== - http-proxy-agent@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" @@ -8277,25 +7305,6 @@ http-proxy-agent@^5.0.0: agent-base "6" debug "4" -http-proxy-middleware@0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a" - integrity sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q== - dependencies: - http-proxy "^1.17.0" - is-glob "^4.0.0" - lodash "^4.17.11" - micromatch "^3.1.10" - -http-proxy@^1.17.0: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - http-signature@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -8305,11 +7314,6 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== - https-proxy-agent@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" @@ -8341,7 +7345,7 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -iconv-lite@0.4, iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13: +iconv-lite@0.4, iconv-lite@^0.4.24, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -8360,7 +7364,7 @@ ieee754@^1.1.12: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== -ieee754@^1.1.13, ieee754@^1.1.4: +ieee754@^1.1.13: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== @@ -8459,27 +7463,17 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA== - -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== - ini@^1.3.2, ini@^1.3.4: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -ini@^1.3.5, ini@~1.3.0: +ini@~1.3.0: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== @@ -8517,14 +7511,6 @@ inquirer@^6.2.0: strip-ansi "^5.1.0" through "^2.3.6" -internal-ip@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" - integrity sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg== - dependencies: - default-gateway "^4.2.0" - ipaddr.js "^1.9.0" - internal-slot@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" @@ -8539,46 +7525,21 @@ internal-slot@^1.0.3: resolved "https://registry.yarnpkg.com/internmap/-/internmap-2.0.3.tgz#6685f23755e43c524e251d29cbc97248e3061009" integrity sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg== -interpret@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - iota-array@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/iota-array/-/iota-array-1.0.0.tgz#81ef57fe5d05814cd58c2483632a99c30a0e8087" integrity sha1-ge9X/l0FgUzVjCSDYyqZwwoOgIc= -ip-regex@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" - integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= - ip@1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= -ip@^1.1.0, ip@^1.1.5: - version "1.1.8" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" - integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg== - ip@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== -ipaddr.js@1.9.1, ipaddr.js@^1.9.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -is-absolute-url@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" - integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== - is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -8837,25 +7798,6 @@ is-obj@^1.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= -is-path-cwd@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" - integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== - -is-path-in-cwd@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" - integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== - dependencies: - is-path-inside "^2.1.0" - -is-path-inside@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" - integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== - dependencies: - path-is-inside "^1.0.2" - is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -8969,16 +7911,11 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2: +is-windows@^1.0.0, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw== - isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -9148,7 +8085,7 @@ json-bignum@^0.0.3: resolved "https://registry.yarnpkg.com/json-bignum/-/json-bignum-0.0.3.tgz#41163b50436c773d82424dbc20ed70db7604b8d7" integrity sha1-QRY7UENsdz2CQk28IO1w23YEuNc= -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== @@ -9246,11 +8183,6 @@ kdbush@^3.0.0: resolved "https://registry.yarnpkg.com/kdbush/-/kdbush-3.0.0.tgz#f8484794d47004cc2d85ed3a79353dbe0abc2bf0" integrity sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew== -killable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" - integrity sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg== - kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -9369,11 +8301,6 @@ load-json-file@^5.3.0: strip-bom "^3.0.0" type-fest "^0.3.0" -loader-runner@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" - integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== - loader-utils@^1.0.2: version "1.2.3" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" @@ -9383,15 +8310,6 @@ loader-utils@^1.0.2: emojis-list "^2.0.0" json5 "^1.0.1" -loader-utils@^1.2.3: - version "1.4.2" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3" - integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^1.0.1" - loader-utils@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" @@ -9401,15 +8319,6 @@ loader-utils@^1.4.0: emojis-list "^3.0.0" json5 "^1.0.1" -loader-utils@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.3.tgz#d4b15b8504c63d1fc3f2ade52d41bc8459d6ede1" - integrity sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^2.1.2" - locate-path@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" @@ -9520,7 +8429,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.4, lodash@^4.2.1: +lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.4, lodash@^4.2.1: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9530,11 +8439,6 @@ log-driver@^1.2.7: resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg== -loglevel@^1.6.8: - version "1.8.1" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4" - integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== - long@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" @@ -9759,15 +8663,6 @@ math.gl@^3.6.2: dependencies: "@math.gl/core" "3.6.2" -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - mdast-util-from-markdown@^0.8.5: version "0.8.5" resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" @@ -9784,27 +8679,6 @@ mdast-util-to-string@^2.0.0: resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w== -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== - -memory-fs@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" - integrity sha512-cda4JKCxReDXFXRqOHPQscuIYg1PvxbE2S2GP45rnwfEK+vZaXC8C1OFvdHIbgw0DLzowXGVoxLaAmlgRy14GQ== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -memory-fs@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" - integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - meow@^3.3.0: version "3.7.0" resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" @@ -9851,11 +8725,6 @@ meow@^5.0.0: trim-newlines "^2.0.0" yargs-parser "^10.0.0" -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== - merge2@^1.2.3: version "1.3.0" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81" @@ -9866,11 +8735,6 @@ merge2@^1.3.0: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== - micromark@~2.11.0: version "2.11.4" resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" @@ -9879,7 +8743,7 @@ micromark@~2.11.0: debug "^4.0.0" parse-entities "^2.0.0" -micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: +micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== @@ -9898,14 +8762,6 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: snapdragon "^0.8.1" to-regex "^3.0.2" -micromatch@^4.0.0: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - micromatch@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" @@ -9914,14 +8770,6 @@ micromatch@^4.0.4: braces "^3.0.1" picomatch "^2.2.3" -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - mime-db@1.43.0: version "1.43.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" @@ -9932,11 +8780,6 @@ mime-db@1.45.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea" integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w== -mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - mime-types@^2.0.1: version "2.1.26" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" @@ -9951,23 +8794,6 @@ mime-types@^2.1.12, mime-types@~2.1.19: dependencies: mime-db "1.45.0" -mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mime@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mime@^2.4.4: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - mimic-fn@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" @@ -9990,16 +8816,6 @@ min-document@^2.19.0: dependencies: dom-walk "^0.1.0" -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== - minimatch@^3.0.0, minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -10187,13 +9003,6 @@ mkdirp@^0.5.1, mkdirp@^0.5.5: dependencies: minimist "^1.2.5" -mkdirp@^0.5.3, mkdirp@^0.5.6: - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - modify-values@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -10233,24 +9042,6 @@ ms@2.1.2, ms@^2.0.0, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -multicast-dns-service-types@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" - integrity sha512-cnAsSVxIDsYt0v7HmC0hWZFwwXSh+E6PgCrREDuN/EsjgLwA5XRmlMHhSiDPrt6HxY1gTivEa/Zh7GtODoLevQ== - -multicast-dns@^6.0.1: - version "6.2.3" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229" - integrity sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g== - dependencies: - dns-packet "^1.3.1" - thunky "^1.0.2" - multimatch@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-3.0.0.tgz#0e2534cc6bc238d9ab67e1b9cd5fcd85a6dbf70b" @@ -10285,7 +9076,7 @@ mz@^2.5.0: object-assign "^4.0.1" thenify-all "^1.0.0" -nan@^2.12.1, nan@^2.17.0: +nan@^2.17.0: version "2.17.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== @@ -10345,12 +9136,12 @@ ndarray@^1.0.13, ndarray@^1.0.18: iota-array "^1.0.0" is-buffer "^1.0.2" -negotiator@0.6.3, negotiator@^0.6.3: +negotiator@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1: +neo-async@^2.6.0: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -10401,11 +9192,6 @@ node-fetch@^2.6.7: dependencies: whatwg-url "^5.0.0" -node-forge@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3" - integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== - node-gyp@^5.0.2: version "5.0.7" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-5.0.7.tgz#dd4225e735e840cf2870e4037c2ed9c28a31719e" @@ -10447,35 +9233,6 @@ node-html-parser@^5.3.3: css-select "^4.2.1" he "1.2.0" -node-libs-browser@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" - integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^3.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.1" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.11.0" - vm-browserify "^1.0.1" - node-releases@^1.1.75: version "1.1.75" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.75.tgz#6dd8c876b9897a1b8e5a02de26afa79bb54ebbfe" @@ -10761,11 +9518,6 @@ object.values@^1.1.4: define-properties "^1.1.3" es-abstract "^1.18.2" -obuf@^1.0.0, obuf@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== - octokit-pagination-methods@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" @@ -10827,18 +9579,6 @@ omggif@^1.0.5: resolved "https://registry.yarnpkg.com/omggif/-/omggif-1.0.10.tgz#ddaaf90d4a42f532e9e7cb3a95ecdd47f17c7b19" integrity sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw== -on-finished@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== - dependencies: - ee-first "1.1.1" - -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== - once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -10853,18 +9593,6 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -opener@^1.5.1: - version "1.5.2" - resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" - integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== - -opn@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" - integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== - dependencies: - is-wsl "^1.1.0" - optionator@^0.8.1: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -10889,11 +9617,6 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A== - os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" @@ -10993,7 +9716,7 @@ p-map-series@^1.0.0: dependencies: p-reduce "^1.0.0" -p-map@^2.0.0, p-map@^2.1.0: +p-map@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== @@ -11022,13 +9745,6 @@ p-reduce@^1.0.0: resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= -p-retry@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" - integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== - dependencies: - retry "^0.12.0" - p-try@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -11053,11 +9769,6 @@ pad-left@^2.1.0: dependencies: repeat-string "^1.5.4" -pako@~1.0.5: - version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - parallel-transform@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" @@ -11087,17 +9798,6 @@ parenthesis@^3.0.0: resolved "https://registry.yarnpkg.com/parenthesis/-/parenthesis-3.1.7.tgz#01c89b603a2a6a262ec47554e74ed154a9be2aa6" integrity sha512-iMtu+HCbLXVrpf6Ys/4YKhcFxbux3xK4ZVB9r+a2kMSqeeQWQoDNYlXIsOjwlT2ldYXZ3k5PVeBnYn7fbAo/Bg== -parse-asn1@^5.0.0, parse-asn1@^5.1.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== - dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - parse-data-uri@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/parse-data-uri/-/parse-data-uri-0.2.0.tgz#bf04d851dd5c87b0ab238e5d01ace494b604b4c9" @@ -11137,11 +9837,6 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== - parse-path@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff" @@ -11167,11 +9862,6 @@ parse5@^7.1.1: dependencies: entities "^4.4.0" -parseurl@~1.3.2, parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - pascal-case@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" @@ -11185,11 +9875,6 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= -path-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" - integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== - path-browserify@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" @@ -11222,11 +9907,6 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w== - path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" @@ -11242,11 +9922,6 @@ path-parse@^1.0.6, path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== - path-type@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" @@ -11281,17 +9956,6 @@ pbf@^3.0.5, pbf@^3.2.1: ieee754 "^1.1.12" resolve-protobuf-schema "^2.1.0" -pbkdf2@^3.0.3: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - pend@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" @@ -11317,7 +9981,7 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw== -picomatch@^2.2.2, picomatch@^2.3.1: +picomatch@^2.2.2: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -11394,15 +10058,6 @@ pngjs@^3.0.0, pngjs@^3.3.3: resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.4.0.tgz#99ca7d725965fb655814eaf65f38f12bbdbf555f" integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== -portfinder@^1.0.26: - version "1.0.32" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.32.tgz#2fe1b9e58389712429dc2bea5beb2146146c7f81" - integrity sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg== - dependencies: - async "^2.6.4" - debug "^3.2.7" - mkdirp "^0.5.6" - posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -11503,11 +10158,6 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== - process@~0.5.1: version "0.5.2" resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf" @@ -11582,24 +10232,11 @@ protoduck@^5.0.1: dependencies: genfun "^5.0.0" -proxy-addr@~2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" - integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== - dependencies: - forwarded "0.2.0" - ipaddr.js "1.9.1" - proxy-from-env@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= - pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -11620,18 +10257,6 @@ psl@^1.1.33: resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - pump@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" @@ -11662,7 +10287,7 @@ punycode@1.3.2: resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== -punycode@^1.2.4, punycode@^1.4.1: +punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= @@ -11695,13 +10320,6 @@ q@^1.5.1: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qs@6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== - dependencies: - side-channel "^1.0.4" - qs@~6.5.2: version "6.5.3" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" @@ -11712,11 +10330,6 @@ quadbin@^0.1.2: resolved "https://registry.yarnpkg.com/quadbin/-/quadbin-0.1.2.tgz#7af916bcdb4dbbbb2722b076906b9dab25bd6647" integrity sha512-tARFTuto2M11HqBTiVAEkagfTlkf+8dHfqiSG+yEYNo7Na4pvsjBLAkrdysp+AUnqSg8ZwHPigtK7u4CmaIySw== -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== - querystring@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" @@ -11742,41 +10355,6 @@ quickselect@^2.0.0: resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-2.0.0.tgz#f19680a486a5eefb581303e023e98faaf25dd018" integrity sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw== -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -range-parser@^1.2.1, range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - -raw-loader@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" - integrity sha1-DD0L6u2KAclm2Xh793goElKpeao= - rc@^1.2.7: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" @@ -11893,7 +10471,7 @@ read@1, read@~1.0.1: dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -11906,7 +10484,7 @@ read@1, read@~1.0.1: string_decoder "~1.1.1" util-deprecate "~1.0.1" -"readable-stream@2 || 3", readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: +"readable-stream@2 || 3", readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -12198,14 +10776,6 @@ resolve-cwd@^2.0.0: dependencies: resolve-from "^3.0.0" -resolve-dir@^1.0.0, resolve-dir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - resolve-from@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" @@ -12314,14 +10884,6 @@ rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: dependencies: glob "^7.1.3" -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - rollup-plugin-inject@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz#e4233855bfba6c0c12a312fd6649dff9a13ee9f4" @@ -12392,16 +10954,16 @@ s2-geometry@^1.2.10: dependencies: long "^3.2.0" -safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + safe-regex-test@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" @@ -12450,15 +11012,6 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" -schema-utils@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" - integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== - dependencies: - ajv "^6.1.0" - ajv-errors "^1.0.0" - ajv-keywords "^3.1.0" - schema-utils@^2.6.5: version "2.7.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" @@ -12468,18 +11021,6 @@ schema-utils@^2.6.5: ajv "^6.12.4" ajv-keywords "^3.5.2" -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== - -selfsigned@^1.10.8: - version "1.10.14" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.14.tgz#ee51d84d9dcecc61e07e4aba34f229ab525c1574" - integrity sha512-lkjaiAye+wBZDCBsu5BGi0XiLRxeUlsGod5ZP924CRSEoGuZAw/f7y9RKu28rwTfiHVhdavhB0qH0INV6P1lEA== - dependencies: - node-forge "^0.10.0" - "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -12502,62 +11043,6 @@ semver@^7.2.1, semver@^7.3.5: dependencies: lru-cache "^6.0.0" -semver@^7.3.4: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== - dependencies: - lru-cache "^6.0.0" - -send@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" - integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== - dependencies: - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "2.0.0" - mime "1.6.0" - ms "2.1.3" - on-finished "2.4.1" - range-parser "~1.2.1" - statuses "2.0.1" - -serialize-javascript@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" - integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw== - dependencies: - randombytes "^2.1.0" - -serve-index@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - -serve-static@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" - integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.18.0" - set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -12573,29 +11058,6 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -setimmediate@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== - -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== - -setprototypeof@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" - integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== - -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -12759,26 +11221,6 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -sockjs-client@^1.5.0: - version "1.6.1" - resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.6.1.tgz#350b8eda42d6d52ddc030c39943364c11dcad806" - integrity sha512-2g0tjOR+fRs0amxENLi/q5TiJTqY+WXFOzb5UwXndlK6TO3U/mirZznpx6w34HVMoc3g7cY24yC/ZMIYnDlfkw== - dependencies: - debug "^3.2.7" - eventsource "^2.0.2" - faye-websocket "^0.11.4" - inherits "^2.0.4" - url-parse "^1.5.10" - -sockjs@^0.3.21: - version "0.3.24" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" - integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== - dependencies: - faye-websocket "^0.11.3" - uuid "^8.3.2" - websocket-driver "^0.7.4" - socks-proxy-agent@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" @@ -12824,11 +11266,6 @@ sortablejs@1.14.0, sortablejs@~1.14.0: resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.14.0.tgz#6d2e17ccbdb25f464734df621d4f35d4ab35b3d8" integrity sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w== -source-list-map@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" - integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== - source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" @@ -12845,7 +11282,7 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@~0.5.12, source-map-support@~0.5.20: +source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -12907,29 +11344,6 @@ spdx-license-ids@^3.0.0: resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== -spdy-transport@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" - integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== - dependencies: - debug "^4.1.0" - detect-node "^2.0.4" - hpack.js "^2.1.6" - obuf "^1.1.2" - readable-stream "^3.0.6" - wbuf "^1.7.3" - -spdy@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" - integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== - dependencies: - debug "^4.1.0" - handle-thing "^2.0.0" - http-deceiver "^1.2.7" - select-hose "^2.0.0" - spdy-transport "^3.0.0" - split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" @@ -13000,24 +11414,6 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -"statuses@>= 1.4.0 < 2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - -stream-browserify@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" - integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== - dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - stream-each@^1.1.0: version "1.2.3" resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" @@ -13026,17 +11422,6 @@ stream-each@^1.1.0: end-of-stream "^1.1.0" stream-shift "^1.0.0" -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - stream-shift@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" @@ -13164,7 +11549,7 @@ string.prototype.trimstart@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" -string_decoder@^1.0.0, string_decoder@^1.1.1: +string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== @@ -13287,13 +11672,6 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== - dependencies: - has-flag "^3.0.0" - supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -13338,11 +11716,6 @@ table@^6.0.9: string-width "^4.2.0" strip-ansi "^6.0.0" -tapable@^1.0.0, tapable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" - integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - tape-catch@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/tape-catch/-/tape-catch-1.0.6.tgz#12931d5ea60a03a97d9bd19d0d7d8cfc3f6cecf1" @@ -13452,30 +11825,6 @@ temp-write@^3.4.0: temp-dir "^1.0.0" uuid "^3.0.1" -terser-webpack-plugin@^1.4.3: - version "1.4.5" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz#a217aefaea330e734ffacb6120ec1fa312d6040b" - integrity sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw== - dependencies: - cacache "^12.0.2" - find-cache-dir "^2.1.0" - is-wsl "^1.1.0" - schema-utils "^1.0.0" - serialize-javascript "^4.0.0" - source-map "^0.6.1" - terser "^4.1.2" - webpack-sources "^1.4.0" - worker-farm "^1.7.0" - -terser@^4.1.2: - version "4.8.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.1.tgz#a00e5634562de2239fd404c649051bf6fc21144f" - integrity sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - terser@^5.10.0: version "5.16.1" resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.1.tgz#5af3bc3d0f24241c7fb2024199d5c461a1075880" @@ -13565,18 +11914,6 @@ through@2.3.4: resolved "https://registry.yarnpkg.com/through/-/through-2.3.4.tgz#495e40e8d8a8eaebc7c275ea88c2b8fc14c56455" integrity sha1-SV5A6Nio6uvHwnXqiMK4/BTFZFU= -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== - -timers-browserify@^2.0.4: - version "2.0.12" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" - integrity sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ== - dependencies: - setimmediate "^1.0.4" - tinyqueue@^2.0.0, tinyqueue@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-2.0.3.tgz#64d8492ebf39e7801d7bd34062e29b45b2035f08" @@ -13589,11 +11926,6 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - integrity sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA== - to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" @@ -13631,11 +11963,6 @@ to-regex@^3.0.1, to-regex@^3.0.2: regex-not "^1.0.2" safe-regex "^1.1.0" -toidentifier@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" - integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== - tough-cookie@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" @@ -13696,22 +12023,6 @@ trim-off-newlines@^1.0.0: resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.3.tgz#8df24847fcb821b0ab27d58ab6efec9f2fe961a1" integrity sha512-kh6Tu6GbeSNMGfrrZh6Bb/4ZEHV1QlB4xNDBeog8Y9/QwFlKTRyWvY3Fs9tRDAMZliVUwieMgEdIeL/FtqjkJg== -tryer@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" - integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== - -ts-loader@^8.0.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-8.4.0.tgz#e845ea0f38d140bdc3d7d60293ca18d12ff2720f" - integrity sha512-6nFY3IZ2//mrPc+ImY3hNWx1vCHyEhl6V+wLmL4CZcm6g1CqX7UKrkc6y0i4FwcfOhxyMPCfaEvh20f4r9GNpw== - dependencies: - chalk "^4.1.0" - enhanced-resolve "^4.0.0" - loader-utils "^2.0.0" - micromatch "^4.0.0" - semver "^7.3.4" - ts-node@~10.9.0: version "10.9.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" @@ -13777,11 +12088,6 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - integrity sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw== - tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -13818,14 +12124,6 @@ type-fest@^0.3.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1" integrity sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ== -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" @@ -13989,11 +12287,6 @@ universalify@^2.0.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== - unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" @@ -14019,7 +12312,7 @@ urix@^0.1.0: resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= -url-parse@^1.5.10, url-parse@^1.5.3, url-parse@~1.5.1: +url-parse@^1.5.3, url-parse@~1.5.1: version "1.5.10" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== @@ -14052,25 +12345,6 @@ util-promisify@^2.1.0: dependencies: object.getownpropertydescriptors "^2.0.3" -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha512-5KiHfsmkqacuKjkRkdV7SsfDJ2EGiPsK92s2MhNSY0craxjTdKTtqKsJaCWp4LW33ZZ0OPUv1WO/TFvNQRiQxQ== - dependencies: - inherits "2.0.1" - -util@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" - integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== - dependencies: - inherits "2.0.3" - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== - uuid@^3.0.1: version "3.3.3" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" @@ -14081,11 +12355,6 @@ uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - v8-compile-cache-lib@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" @@ -14096,11 +12365,6 @@ v8-compile-cache@^2.0.3: resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== -v8-compile-cache@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - v8-to-istanbul@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" @@ -14125,11 +12389,6 @@ validate-npm-package-name@^3.0.0: dependencies: builtins "^1.0.3" -vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== - verror@1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" @@ -14176,11 +12435,6 @@ vite@^4.0.1: optionalDependencies: fsevents "~2.3.2" -vm-browserify@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" - integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== - vt-pbf@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/vt-pbf/-/vt-pbf-3.1.1.tgz#b0f627e39a10ce91d943b898ed2363d21899fb82" @@ -14197,31 +12451,6 @@ w3c-xmlserializer@^4.0.0: dependencies: xml-name-validator "^4.0.0" -watchpack-chokidar2@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz#38500072ee6ece66f3769936950ea1771be1c957" - integrity sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww== - dependencies: - chokidar "^2.1.8" - -watchpack@^1.7.4: - version "1.7.5" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453" - integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ== - dependencies: - graceful-fs "^4.1.2" - neo-async "^2.5.0" - optionalDependencies: - chokidar "^3.4.1" - watchpack-chokidar2 "^2.0.1" - -wbuf@^1.1.0, wbuf@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -14249,151 +12478,6 @@ webidl-conversions@^7.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== -webpack-bundle-analyzer@^3.0.3: - version "3.9.0" - resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz#f6f94db108fb574e415ad313de41a2707d33ef3c" - integrity sha512-Ob8amZfCm3rMB1ScjQVlbYYUEJyEjdEtQ92jqiFUYt5VkEeO2v5UMbv49P/gnmCZm3A6yaFQzCBvpZqN4MUsdA== - dependencies: - acorn "^7.1.1" - acorn-walk "^7.1.1" - bfj "^6.1.1" - chalk "^2.4.1" - commander "^2.18.0" - ejs "^2.6.1" - express "^4.16.3" - filesize "^3.6.1" - gzip-size "^5.0.0" - lodash "^4.17.19" - mkdirp "^0.5.1" - opener "^1.5.1" - ws "^6.0.0" - -webpack-cli@^3.2.1: - version "3.3.12" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.12.tgz#94e9ada081453cd0aa609c99e500012fd3ad2d4a" - integrity sha512-NVWBaz9k839ZH/sinurM+HcDvJOTXwSjYp1ku+5XKeOC03z8v5QitnK/x+lAxGXFyhdayoIf/GOpv85z3/xPag== - dependencies: - chalk "^2.4.2" - cross-spawn "^6.0.5" - enhanced-resolve "^4.1.1" - findup-sync "^3.0.0" - global-modules "^2.0.0" - import-local "^2.0.0" - interpret "^1.4.0" - loader-utils "^1.4.0" - supports-color "^6.1.0" - v8-compile-cache "^2.1.1" - yargs "^13.3.2" - -webpack-dev-middleware@^3.7.2: - version "3.7.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz#0639372b143262e2b84ab95d3b91a7597061c2c5" - integrity sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ== - dependencies: - memory-fs "^0.4.1" - mime "^2.4.4" - mkdirp "^0.5.1" - range-parser "^1.2.1" - webpack-log "^2.0.0" - -webpack-dev-server@^3.1.14: - version "3.11.3" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.3.tgz#8c86b9d2812bf135d3c9bce6f07b718e30f7c3d3" - integrity sha512-3x31rjbEQWKMNzacUZRE6wXvUFuGpH7vr0lIEbYpMAG9BOxi0928QU1BBswOAP3kg3H1O4hiS+sq4YyAn6ANnA== - dependencies: - ansi-html-community "0.0.8" - bonjour "^3.5.0" - chokidar "^2.1.8" - compression "^1.7.4" - connect-history-api-fallback "^1.6.0" - debug "^4.1.1" - del "^4.1.1" - express "^4.17.1" - html-entities "^1.3.1" - http-proxy-middleware "0.19.1" - import-local "^2.0.0" - internal-ip "^4.3.0" - ip "^1.1.5" - is-absolute-url "^3.0.3" - killable "^1.0.1" - loglevel "^1.6.8" - opn "^5.5.0" - p-retry "^3.0.1" - portfinder "^1.0.26" - schema-utils "^1.0.0" - selfsigned "^1.10.8" - semver "^6.3.0" - serve-index "^1.9.1" - sockjs "^0.3.21" - sockjs-client "^1.5.0" - spdy "^4.0.2" - strip-ansi "^3.0.1" - supports-color "^6.1.0" - url "^0.11.0" - webpack-dev-middleware "^3.7.2" - webpack-log "^2.0.0" - ws "^6.2.1" - yargs "^13.3.2" - -webpack-log@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f" - integrity sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg== - dependencies: - ansi-colors "^3.0.0" - uuid "^3.3.2" - -webpack-sources@^1.4.0, webpack-sources@^1.4.1: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack@^4.28.4: - version "4.46.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.46.0.tgz#bf9b4404ea20a073605e0a011d188d77cb6ad542" - integrity sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/wasm-edit" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - acorn "^6.4.1" - ajv "^6.10.2" - ajv-keywords "^3.4.1" - chrome-trace-event "^1.0.2" - enhanced-resolve "^4.5.0" - eslint-scope "^4.0.3" - json-parse-better-errors "^1.0.2" - loader-runner "^2.4.0" - loader-utils "^1.2.3" - memory-fs "^0.4.1" - micromatch "^3.1.10" - mkdirp "^0.5.3" - neo-async "^2.6.1" - node-libs-browser "^2.2.1" - schema-utils "^1.0.0" - tapable "^1.1.3" - terser-webpack-plugin "^1.4.3" - watchpack "^1.7.4" - webpack-sources "^1.4.1" - -websocket-driver@>=0.5.1, websocket-driver@^0.7.4: - version "0.7.4" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" - integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== - dependencies: - http-parser-js ">=0.5.1" - safe-buffer ">=5.1.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" - integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== - wgs84@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/wgs84/-/wgs84-0.0.0.tgz#34fdc555917b6e57cf2a282ed043710c049cdc76" @@ -14459,7 +12543,7 @@ which@1.2.x: dependencies: isexe "^2.0.0" -which@^1.2.14, which@^1.2.9, which@^1.3.1: +which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -14512,13 +12596,6 @@ wordwrapjs@^4.0.0: reduce-flatten "^2.0.0" typical "^5.2.0" -worker-farm@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" - integrity sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw== - dependencies: - errno "~0.1.7" - wrap-ansi@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" @@ -14588,13 +12665,6 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@^6.0.0, ws@^6.2.1: - version "6.2.2" - resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" - integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== - dependencies: - async-limiter "~1.0.0" - ws@^7.4.6: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" @@ -14623,7 +12693,7 @@ xss@^1.0.9: commander "^2.20.3" cssfilter "0.0.10" -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: +"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.1, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -14660,14 +12730,6 @@ yargs-parser@^10.0.0: dependencies: camelcase "^4.1.0" -yargs-parser@^13.1.2: - version "13.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" - integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - yargs-parser@^15.0.0: version "15.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.0.tgz#cdd7a97490ec836195f59f3f4dbe5ea9e8f75f08" @@ -14681,22 +12743,6 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.9: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs@^13.3.2: - version "13.3.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" - integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.2" - yargs@^14.2.2: version "14.2.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" From d729d3f7377ee9721fe0481d8b3045386f84e0fb Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Thu, 5 Jan 2023 09:22:17 -0800 Subject: [PATCH 2/2] address comments --- examples/README.md | 4 ++-- examples/playground/json-examples/index.js | 2 +- examples/vite.config.local.mjs | 11 ++++++++--- test/apps/mask-orthographic/app.jsx | 2 +- test/apps/mask/app.jsx | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/examples/README.md b/examples/README.md index 5928f43c4e5..c78ec2ba852 100644 --- a/examples/README.md +++ b/examples/README.md @@ -13,8 +13,8 @@ These are intended to be absolutely minimal (in terms of application code, package.json, bundler config etc) examples of how to get deck.gl and a base map working together. -* **[Pure JS](./get-started/pure-js)** Applications without depending any additional framework. Bundled and served with vite. -* **[React](./get-started/react)** React exmples using `@deck.gl/react` and `react-map-gl`. Bundled and served with vite. +* **[Pure JS](./get-started/pure-js)** Applications without depending any additional framework. Bundled and served with [Vite](https://vitejs.dev). +* **[React](./get-started/react)** React exmples using `@deck.gl/react` and `react-map-gl`. Bundled and served with [Vite](https://vitejs.dev). * **[Scripting](./get-started/scripting)** HTML single-file examples that can be opened directly in a browser. diff --git a/examples/playground/json-examples/index.js b/examples/playground/json-examples/index.js index 33d3c3a2ec6..8584c0de844 100644 --- a/examples/playground/json-examples/index.js +++ b/examples/playground/json-examples/index.js @@ -27,7 +27,7 @@ export default { 'website/3D Tiles (Tile3DLayer, Cairo/vricon)': tile3DCairo, 'website/3D Tiles (Tile3DLayer, New York)': tile3DNY, 'website/CartoLayer': carto, - // // GET STARTED EXAMPLES AS JSON PAYLOADS + // GET STARTED EXAMPLES AS JSON PAYLOADS 'get-started/US map (GeoJsonLayer)': usMap, 'get-started/Dot Text (Scatterplot/TextLayer)': dotText }; diff --git a/examples/vite.config.local.mjs b/examples/vite.config.local.mjs index f6ff24d317a..ea53d15b0b2 100644 --- a/examples/vite.config.local.mjs +++ b/examples/vite.config.local.mjs @@ -20,10 +20,15 @@ export default defineConfig(async () => { }, define: { 'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey), + 'process.env.GoogleMapsMapId': JSON.stringify(process.env.GoogleMapsMapId), 'process.env.MapboxAccessToken': JSON.stringify(process.env.MapboxAccessToken) }, - server: {open: true}, - optimizeDeps: {esbuildOptions: {target: 'es2020'}}, - build: {target: 'es2020'} + server: { + open: true, + port: 8080 + }, + optimizeDeps: { + esbuildOptions: {target: 'es2020'} + } }; }); diff --git a/test/apps/mask-orthographic/app.jsx b/test/apps/mask-orthographic/app.jsx index 88378ec8c8f..c73dc564b7d 100644 --- a/test/apps/mask-orthographic/app.jsx +++ b/test/apps/mask-orthographic/app.jsx @@ -76,4 +76,4 @@ export default function App() { ); } -render(, container); +render(, document.getElementById('app')); diff --git a/test/apps/mask/app.jsx b/test/apps/mask/app.jsx index 87c632bea9c..0e2fcdf144d 100644 --- a/test/apps/mask/app.jsx +++ b/test/apps/mask/app.jsx @@ -283,5 +283,5 @@ export default function App({data, strokeWidth = 1, mapStyle = MAP_STYLE}) { fetch(DATA_URL) .then(response => response.json()) .then(({features}) => { - render(, container); + render(, document.getElementById('app')); });