Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[Feat]: Setup build process for ts source code support (#1688)

Maksim Suslov995f3f935bcd
diff --git a/babel.config.js b/babel.config.js
index 6efc9a118..858fd2227 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -20,7 +20,7 @@
const KeplerPackage = require('./package');
-const PRESETS = ['@babel/preset-env', '@babel/preset-react'];
+const PRESETS = ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'];
const PLUGINS = [
'@babel/plugin-transform-modules-commonjs',
'@babel/plugin-proposal-class-properties',
diff --git a/examples/custom-map-style/.babelrc b/examples/custom-map-style/.babelrc
index 8d40400c0..8cc520a85 100644
--- a/examples/custom-map-style/.babelrc
+++ b/examples/custom-map-style/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
diff --git a/examples/custom-map-style/package.json b/examples/custom-map-style/package.json
index 3dfc38e00..e6f25a3d1 100644
--- a/examples/custom-map-style/package.json
+++ b/examples/custom-map-style/package.json
@@ -19,6 +19,7 @@
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -26,4 +27,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3"
}
-}
\ No newline at end of file
+}
diff --git a/examples/custom-map-style/webpack.config.js b/examples/custom-map-style/webpack.config.js
index 11c6ac675..a01d7fee0 100644
--- a/examples/custom-map-style/webpack.config.js
+++ b/examples/custom-map-style/webpack.config.js
@@ -42,7 +42,7 @@ const CONFIG = {
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: join(__dirname, 'src'),
exclude: [/node_modules/]
diff --git a/examples/custom-reducer/.babelrc b/examples/custom-reducer/.babelrc
index 8d40400c0..8cc520a85 100644
--- a/examples/custom-reducer/.babelrc
+++ b/examples/custom-reducer/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
diff --git a/examples/custom-reducer/package.json b/examples/custom-reducer/package.json
index ea0c9d27a..98bdff86c 100644
--- a/examples/custom-reducer/package.json
+++ b/examples/custom-reducer/package.json
@@ -19,6 +19,7 @@
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -26,4 +27,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3"
}
-}
\ No newline at end of file
+}
diff --git a/examples/custom-reducer/webpack.config.js b/examples/custom-reducer/webpack.config.js
index 11c6ac675..a01d7fee0 100644
--- a/examples/custom-reducer/webpack.config.js
+++ b/examples/custom-reducer/webpack.config.js
@@ -42,7 +42,7 @@ const CONFIG = {
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: join(__dirname, 'src'),
exclude: [/node_modules/]
diff --git a/examples/custom-theme/.babelrc b/examples/custom-theme/.babelrc
index 4f06b0cd3..202d425a0 100644
--- a/examples/custom-theme/.babelrc
+++ b/examples/custom-theme/.babelrc
@@ -1,6 +1,7 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
]
}
diff --git a/examples/custom-theme/package.json b/examples/custom-theme/package.json
index 8695cdbb3..b1b138c45 100644
--- a/examples/custom-theme/package.json
+++ b/examples/custom-theme/package.json
@@ -19,6 +19,7 @@
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -26,4 +27,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3"
}
-}
\ No newline at end of file
+}
diff --git a/examples/custom-theme/webpack.config.js b/examples/custom-theme/webpack.config.js
index 42e6aea6f..ec4bd9168 100644
--- a/examples/custom-theme/webpack.config.js
+++ b/examples/custom-theme/webpack.config.js
@@ -42,7 +42,7 @@ const CONFIG = {
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: join(__dirname, 'src'),
exclude: [/node_modules/]
diff --git a/examples/demo-app/.babelrc b/examples/demo-app/.babelrc
index 8d40400c0..8cc520a85 100644
--- a/examples/demo-app/.babelrc
+++ b/examples/demo-app/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
diff --git a/examples/demo-app/package.json b/examples/demo-app/package.json
index 3c125fccb..15abf2a14 100644
--- a/examples/demo-app/package.json
+++ b/examples/demo-app/package.json
@@ -35,6 +35,7 @@
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -42,4 +43,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3"
}
-}
\ No newline at end of file
+}
diff --git a/examples/demo-app/webpack.config.js b/examples/demo-app/webpack.config.js
index 6a75ae6c0..929d32c94 100644
--- a/examples/demo-app/webpack.config.js
+++ b/examples/demo-app/webpack.config.js
@@ -37,12 +37,16 @@ const CONFIG = {
publicPath: '/'
},
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js']
+ },
+
devtool: 'source-map',
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: [join(__dirname, 'src')],
exclude: [/node_modules/]
diff --git a/examples/node-app/.babelrc b/examples/node-app/.babelrc
index 8d40400c0..8cc520a85 100644
--- a/examples/node-app/.babelrc
+++ b/examples/node-app/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
diff --git a/examples/node-app/package.json b/examples/node-app/package.json
index 8e6495473..e603fb342 100644
--- a/examples/node-app/package.json
+++ b/examples/node-app/package.json
@@ -20,6 +20,7 @@
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -27,4 +28,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.25.0"
}
-}
\ No newline at end of file
+}
diff --git a/examples/node-app/webpack.config.js b/examples/node-app/webpack.config.js
index c15b8b50f..74be89e15 100644
--- a/examples/node-app/webpack.config.js
+++ b/examples/node-app/webpack.config.js
@@ -36,13 +36,16 @@ const CONFIG = {
filename: 'bundle.js',
publicPath: '/'
},
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js', '.json']
+ },
devtool: 'source-map',
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: join(__dirname, 'src'),
exclude: [/node_modules/]
diff --git a/examples/open-modal/.babelrc b/examples/open-modal/.babelrc
index 8d40400c0..8cc520a85 100644
--- a/examples/open-modal/.babelrc
+++ b/examples/open-modal/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
diff --git a/examples/open-modal/package.json b/examples/open-modal/package.json
index e4032b9e1..71bd53416 100644
--- a/examples/open-modal/package.json
+++ b/examples/open-modal/package.json
@@ -20,6 +20,7 @@
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -27,4 +28,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3"
}
-}
\ No newline at end of file
+}
diff --git a/examples/open-modal/webpack.config.js b/examples/open-modal/webpack.config.js
index 11c6ac675..a01d7fee0 100644
--- a/examples/open-modal/webpack.config.js
+++ b/examples/open-modal/webpack.config.js
@@ -42,7 +42,7 @@ const CONFIG = {
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: join(__dirname, 'src'),
exclude: [/node_modules/]
diff --git a/examples/replace-component/.babelrc b/examples/replace-component/.babelrc
index 8d40400c0..8cc520a85 100644
--- a/examples/replace-component/.babelrc
+++ b/examples/replace-component/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
diff --git a/examples/replace-component/package.json b/examples/replace-component/package.json
index ea0c9d27a..98bdff86c 100644
--- a/examples/replace-component/package.json
+++ b/examples/replace-component/package.json
@@ -19,6 +19,7 @@
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"babel-loader": "^8.0.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
@@ -26,4 +27,4 @@
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3"
}
-}
\ No newline at end of file
+}
diff --git a/examples/replace-component/webpack.config.js b/examples/replace-component/webpack.config.js
index 11c6ac675..a01d7fee0 100644
--- a/examples/replace-component/webpack.config.js
+++ b/examples/replace-component/webpack.config.js
@@ -42,7 +42,7 @@ const CONFIG = {
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: join(__dirname, 'src'),
exclude: [/node_modules/]
diff --git a/examples/webpack.config.local.js b/examples/webpack.config.local.js
index 6ced09bc9..b8e6dc789 100644
--- a/examples/webpack.config.local.js
+++ b/examples/webpack.config.local.js
@@ -110,6 +110,8 @@ function makeLocalDevConfig(env, EXAMPLE_DIR = LIB_DIR, externals = {}) {
devtool: 'source-map',
resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ modules: ['node_modules', SRC_DIR],
alias: resolveAlias
},
@@ -117,7 +119,7 @@ function makeLocalDevConfig(env, EXAMPLE_DIR = LIB_DIR, externals = {}) {
rules: [
{
// Unfortunately, webpack doesn't import library source maps on its own...
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
use: ['source-map-loader'],
enforce: 'pre',
exclude: [/node_modules\/react-palm/, /node_modules\/react-data-grid/]
@@ -139,7 +141,7 @@ function makeLocalDevConfig(env, EXAMPLE_DIR = LIB_DIR, externals = {}) {
function makeBabelRule(env, exampleDir) {
return {
// Compile source using babel
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: [
...(env.deck || env.deck_src
@@ -164,17 +166,11 @@ function makeBabelRule(env, exampleDir) {
? [/node_modules\/(?!(@deck\.gl|@luma\.gl|@probe\.gl|probe.gl|@loaders\.gl)\/).*/]
: [/node_modules/],
options: {
- presets: ['@babel/preset-env', '@babel/preset-react'],
+ presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-export-namespace-from',
- [
- 'module-resolver',
- {
- root: [SRC_DIR]
- }
- ],
[
'search-and-replace',
{
diff --git a/package.json b/package.json
index bb5158a21..f0bb9969a 100644
--- a/package.json
+++ b/package.json
@@ -22,9 +22,10 @@
"install:example": "cd examples/demo-app && yarn",
"install:web": "yarn install:example && cd website && yarn",
"install-and-start": "node ./scripts/install-and-start",
- "fast-test": "npm run test-node && npm run test-browser",
- "test-browser": "NODE_ENV=test babel-tape-runner -r ./test/setup-browser-env.js ./test/browser/index.js | tap-spec",
- "test-node": "NODE_ENV=test babel-tape-runner ./test/node.js | tap-spec",
+ "babel-tape-runner": "node ./scripts/babel-tape-runner",
+ "fast-test": "npm run test-node && npm run test-browser ",
+ "test-browser": "NODE_ENV=test npm run babel-tape-runner -r ./test/setup-browser-env.js ./test/browser/index.js | tap-spec",
+ "test-node": "NODE_ENV=test npm run babel-tape-runner ./test/node.js | tap-spec",
"test-browser-drive": "NODE_ENV=test node ./test/browser-drive.js",
"test-e2e": "NODE_ENV=test HEADLESS=true SLOWMO=true jest",
"test": "npm run lint && npm run test-node && npm run test-browser",
@@ -42,7 +43,7 @@
"start:web": "npm run install-and-start -- website start",
"start:https": "npm run install-and-start -- examples/demo-app start-local-https",
"start:e2e": "npm run install-and-start -- examples/demo-app start-local-e2e",
- "build": "rm -fr dist && babel src --out-dir dist --source-maps inline",
+ "build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "webpack --config ./webpack/build_types.js --progress",
"analyze": "npm run analyze:bundle",
@@ -179,6 +180,7 @@
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
+ "@babel/preset-typescript": "^7.16.7",
"@babel/register": "^7.12.1",
"@babel/runtime": "^7.12.1",
"@babel/traverse": "^7.12.1",
@@ -195,7 +197,6 @@
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-search-and-replace": "^1.0.0",
"babel-plugin-transform-builtin-extend": "^1.1.0",
- "babel-tape-runner": "^3.0.0",
"babelify": "^10.0.0",
"documentation": "^9.1.1",
"dts-bundle-webpack": "^1.0.2",
@@ -289,4 +290,4 @@
"node": "12.19.0",
"yarn": "1.22.17"
}
-}
\ No newline at end of file
+}
diff --git a/scripts/babel-tape-runner.js b/scripts/babel-tape-runner.js
new file mode 100644
index 000000000..db88b8c44
--- /dev/null
+++ b/scripts/babel-tape-runner.js
@@ -0,0 +1,39 @@
+// Copyright (c) 2022 Uber Technologies, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+require('@babel/register')({
+ extensions: ['.tsx', '.ts', '.js', '.json']
+});
+require('@babel/polyfill');
+var path = require('path');
+var glob = require('glob');
+
+// eslint-disable-next-line func-names
+process.argv.slice(2).forEach(function(arg) {
+ // eslint-disable-next-line func-names
+ glob(arg, function(er, files) {
+ if (er) throw er;
+
+ // eslint-disable-next-line func-names
+ files.forEach(function(file) {
+ require(path.resolve(process.cwd(), file));
+ });
+ });
+});
diff --git a/test/webpack.config.js b/test/webpack.config.js
index 2bb658737..9960c2bf8 100644
--- a/test/webpack.config.js
+++ b/test/webpack.config.js
@@ -38,21 +38,25 @@ const COMMON_CONFIG = {
},
devtool: 'inline-source-maps',
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js']
+ },
+
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
use: ['source-map-loader'],
enforce: 'pre'
},
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: [SRC_DIR, TEST_DIR],
exclude: [/node_modules/],
options: {
rootMode: 'upward',
- presets: ['@babel/preset-env', '@babel/preset-react'],
+ presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-export-namespace-from',
diff --git a/webpack/build_types.js b/webpack/build_types.js
index c98800d54..9b6515c52 100644
--- a/webpack/build_types.js
+++ b/webpack/build_types.js
@@ -30,11 +30,16 @@ const LIBRARY_BUNDLE_CONFIG = env => ({
warnings: false
},
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ modules: ['node_modules', SRC_DIR]
+ },
+
// let's put everything in
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: [SRC_DIR]
}
diff --git a/webpack/bundle.js b/webpack/bundle.js
index 6d96302f8..51e23112f 100644
--- a/webpack/bundle.js
+++ b/webpack/bundle.js
@@ -42,12 +42,15 @@ const LIBRARY_BUNDLE_CONFIG = env => ({
filename: 'bundle.js',
publicPath: '/'
},
-
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ modules: ['node_modules', SRC_DIR]
+ },
// let's put everything in
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: [SRC_DIR]
}
diff --git a/webpack/umd.js b/webpack/umd.js
index 7ee3e3415..14dc0c82d 100644
--- a/webpack/umd.js
+++ b/webpack/umd.js
@@ -83,11 +83,14 @@ const LIBRARY_BUNDLE_CONFIG = env => ({
root: 'styled'
}
},
-
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ modules: ['node_modules', SRC_DIR]
+ },
module: {
rules: [
{
- test: /\.js$/,
+ test: /\.(js|ts|tsx)$/,
loader: 'babel-loader',
include: [SRC_DIR],
options: {
diff --git a/website/.babelrc b/website/.babelrc
index 22f6e57dc..ded706f30 100644
--- a/website/.babelrc
+++ b/website/.babelrc
@@ -1,7 +1,8 @@
{
"presets": [
"@babel/preset-env",
- "@babel/preset-react"
+ "@babel/preset-react",
+ "@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
diff --git a/website/package.json b/website/package.json
index 6e1e7dbee..c3a975fee 100644
--- a/website/package.json
+++ b/website/package.json
@@ -42,6 +42,7 @@
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
+ "@babel/preset-typescript": "^7.16.7",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-module-resolver": "^3.0.0",
diff --git a/website/webpack.config.js b/website/webpack.config.js
index 180445536..f475df4f2 100644
--- a/website/webpack.config.js
+++ b/website/webpack.config.js
@@ -29,20 +29,11 @@ const libSources = join(rootDir, 'src');
const console = require('global/console');
const BABEL_CONFIG = {
- presets: ['@babel/preset-env', '@babel/preset-react'],
+ presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-proposal-optional-chaining',
- [
- 'module-resolver',
- {
- root: ['../src'],
- alias: {
- test: '../test'
- }
- }
- ],
[
'search-and-replace',
{
@@ -66,6 +57,8 @@ const COMMON_CONFIG = {
},
resolve: {
+ extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
+ modules: ['node_modules', libSources],
alias: {
'kepler.gl/dist': libSources,
// Imports the kepler.gl library from the src directory in this repo
@@ -82,7 +75,7 @@ const COMMON_CONFIG = {
rules: [
{
// Compile ES2015 using bable
- test: /\.js$/,
+ test: /\.(js|jsx|ts|tsx)$/,
loader: 'babel-loader',
options: BABEL_CONFIG,
exclude: [/node_modules/]
diff --git a/yarn.lock b/yarn.lock
index 87c24592a..a45352b87 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -40,6 +40,13 @@
dependencies:
"@babel/highlight" "^7.12.13"
+"@babel/code-frame@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789"
+ integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==
+ dependencies:
+ "@babel/highlight" "^7.16.7"
+
"@babel/compat-data@^7.12.5", "@babel/compat-data@^7.12.7":
version "7.12.7"
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.12.7.tgz#9329b4782a7d6bbd7eef57e11addf91ee3ef1e41"
@@ -50,7 +57,7 @@
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.11.tgz#9c8fe523c206979c9a81b1e12fe50c1254f1aa35"
integrity sha512-BwKEkO+2a67DcFeS3RLl0Z3Gs2OvdXewuWjc1Hfokhb5eQWP9YRYH1/+VrVZvql2CfjOiNGqSAFOYt4lsqTHzg==
-"@babel/core@>=7.9.0", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.1.2", "@babel/core@^7.7.5":
+"@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.1.2", "@babel/core@^7.7.5":
version "7.12.8"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.8.tgz#8ad76c1a7d2a6a3beecc4395fa4f7b4cb88390e6"
integrity sha512-ra28JXL+5z73r1IC/t+FT1ApXU5LsulFDnTDntNfLQaScJUJmcHL5Qxm/IWanCToQk3bPWQo5bflbplU5r15pg==
@@ -121,6 +128,15 @@
jsesc "^2.5.1"
source-map "^0.5.0"
+"@babel/generator@^7.16.8":
+ version "7.16.8"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.8.tgz#359d44d966b8cd059d543250ce79596f792f2ebe"
+ integrity sha512-1ojZwE9+lOXzcWdWmO6TbUzDfqLD39CmEhN8+2cX9XkDo5yW1OpgfejfliysR2AWLpMamTiOiAp/mtroaymhpw==
+ dependencies:
+ "@babel/types" "^7.16.8"
+ jsesc "^2.5.1"
+ source-map "^0.5.0"
+
"@babel/helper-annotate-as-pure@^7.0.0", "@babel/helper-annotate-as-pure@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3"
@@ -135,6 +151,13 @@
dependencies:
"@babel/types" "^7.12.13"
+"@babel/helper-annotate-as-pure@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz#bb2339a7534a9c128e3102024c60760a3a7f3862"
+ integrity sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz#bb0b75f31bf98cbf9ff143c1ae578b87274ae1a3"
@@ -210,6 +233,19 @@
"@babel/helper-replace-supers" "^7.13.0"
"@babel/helper-split-export-declaration" "^7.12.13"
+"@babel/helper-create-class-features-plugin@^7.16.7":
+ version "7.16.10"
+ resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.10.tgz#8a6959b9cc818a88815ba3c5474619e9c0f2c21c"
+ integrity sha512-wDeej0pu3WN/ffTxMNCPW5UCiOav8IcLRxSIyp/9+IF2xJUM9h/OYjg0IJLHaL6F8oU8kqMz9nc1vryXhMsgXg==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.16.7"
+ "@babel/helper-environment-visitor" "^7.16.7"
+ "@babel/helper-function-name" "^7.16.7"
+ "@babel/helper-member-expression-to-functions" "^7.16.7"
+ "@babel/helper-optimise-call-expression" "^7.16.7"
+ "@babel/helper-replace-supers" "^7.16.7"
+ "@babel/helper-split-export-declaration" "^7.16.7"
+
"@babel/helper-create-regexp-features-plugin@^7.12.1":
version "7.12.7"
resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.7.tgz#2084172e95443fa0a09214ba1bb328f9aea1278f"
@@ -249,6 +285,13 @@
resolve "^1.14.2"
semver "^6.1.2"
+"@babel/helper-environment-visitor@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7"
+ integrity sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-explode-assignable-expression@^7.10.4":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.12.1.tgz#8006a466695c4ad86a2a5f2fb15b5f2c31ad5633"
@@ -290,6 +333,15 @@
"@babel/template" "^7.12.13"
"@babel/types" "^7.12.13"
+"@babel/helper-function-name@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz#f1ec51551fb1c8956bc8dd95f38523b6cf375f8f"
+ integrity sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==
+ dependencies:
+ "@babel/helper-get-function-arity" "^7.16.7"
+ "@babel/template" "^7.16.7"
+ "@babel/types" "^7.16.7"
+
"@babel/helper-get-function-arity@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2"
@@ -311,6 +363,13 @@
dependencies:
"@babel/types" "^7.12.13"
+"@babel/helper-get-function-arity@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz#ea08ac753117a669f1508ba06ebcc49156387419"
+ integrity sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-hoist-variables@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.4.tgz#d49b001d1d5a68ca5e6604dda01a6297f7c9381e"
@@ -326,6 +385,13 @@
"@babel/traverse" "^7.13.0"
"@babel/types" "^7.13.0"
+"@babel/helper-hoist-variables@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246"
+ integrity sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-member-expression-to-functions@^7.12.1":
version "7.12.7"
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.7.tgz#aa77bd0396ec8114e5e30787efa78599d874a855"
@@ -340,6 +406,13 @@
dependencies:
"@babel/types" "^7.13.0"
+"@babel/helper-member-expression-to-functions@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz#42b9ca4b2b200123c3b7e726b0ae5153924905b0"
+ integrity sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.5":
version "7.12.5"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz#1bfc0229f794988f76ed0a4d4e90860850b54dfb"
@@ -398,6 +471,13 @@
dependencies:
"@babel/types" "^7.12.13"
+"@babel/helper-optimise-call-expression@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz#a34e3560605abbd31a18546bd2aad3e6d9a174f2"
+ integrity sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375"
@@ -408,6 +488,11 @@
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af"
integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==
+"@babel/helper-plugin-utils@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5"
+ integrity sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==
+
"@babel/helper-remap-async-to-generator@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.12.1.tgz#8c4dbbf916314f6047dc05e6a2217074238347fd"
@@ -446,6 +531,17 @@
"@babel/traverse" "^7.13.0"
"@babel/types" "^7.13.0"
+"@babel/helper-replace-supers@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz#e9f5f5f32ac90429c1a4bdec0f231ef0c2838ab1"
+ integrity sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==
+ dependencies:
+ "@babel/helper-environment-visitor" "^7.16.7"
+ "@babel/helper-member-expression-to-functions" "^7.16.7"
+ "@babel/helper-optimise-call-expression" "^7.16.7"
+ "@babel/traverse" "^7.16.7"
+ "@babel/types" "^7.16.7"
+
"@babel/helper-simple-access@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz#32427e5aa61547d38eb1e6eaf5fd1426fdad9136"
@@ -488,6 +584,13 @@
dependencies:
"@babel/types" "^7.12.13"
+"@babel/helper-split-export-declaration@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b"
+ integrity sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==
+ dependencies:
+ "@babel/types" "^7.16.7"
+
"@babel/helper-validator-identifier@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2"
@@ -498,6 +601,11 @@
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed"
integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==
+"@babel/helper-validator-identifier@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad"
+ integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==
+
"@babel/helper-validator-option@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.1.tgz#175567380c3e77d60ff98a54bb015fe78f2178d9"
@@ -508,6 +616,11 @@
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz#d1fbf012e1a79b7eebbfdc6d270baaf8d9eb9831"
integrity sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==
+"@babel/helper-validator-option@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23"
+ integrity sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==
+
"@babel/helper-wrap-function@^7.10.4":
version "7.12.3"
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.12.3.tgz#3332339fc4d1fbbf1c27d7958c27d34708e990d9"
@@ -564,6 +677,15 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
+"@babel/highlight@^7.16.7":
+ version "7.16.10"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88"
+ integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.16.7"
+ chalk "^2.0.0"
+ js-tokens "^4.0.0"
+
"@babel/node@^7.12.1":
version "7.13.10"
resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.13.10.tgz#8babfc08940722c704136f61283a4cb9af88a2c5"
@@ -597,6 +719,11 @@
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.11.tgz#9ce3595bcd74bc5c466905e86c535b8b25011e79"
integrity sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg==
+"@babel/parser@^7.16.10", "@babel/parser@^7.16.7":
+ version "7.16.12"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.12.tgz#9474794f9a650cf5e2f892444227f98e28cdf8b6"
+ integrity sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==
+
"@babel/plugin-proposal-async-generator-functions@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.1.tgz#dc6c1170e27d8aca99ff65f4925bd06b1c90550e"
@@ -1053,6 +1180,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.12.13"
+"@babel/plugin-syntax-typescript@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.16.7.tgz#39c9b55ee153151990fb038651d58d3fd03f98f8"
+ integrity sha512-YhUIJHHGkqPgEcMYkPCKTyGUdoGKWtopIycQyjJH8OjvRgOYsXsaKehLVPScKJWAULPxMa4N1vCe6szREFlZ7A==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.16.7"
+
"@babel/plugin-transform-arrow-functions@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.12.1.tgz#8083ffc86ac8e777fbe24b5967c4b2521f3cb2b3"
@@ -1613,6 +1747,15 @@
dependencies:
"@babel/helper-plugin-utils" "^7.12.13"
+"@babel/plugin-transform-typescript@^7.16.7":
+ version "7.16.8"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.16.8.tgz#591ce9b6b83504903fa9dd3652c357c2ba7a1ee0"
+ integrity sha512-bHdQ9k7YpBDO2d0NVfkj51DpQcvwIzIusJ7mEUaMlbZq3Kt/U47j24inXZHQ5MDiYpCs+oZiwnXyKedE8+q7AQ==
+ dependencies:
+ "@babel/helper-create-class-features-plugin" "^7.16.7"
+ "@babel/helper-plugin-utils" "^7.16.7"
+ "@babel/plugin-syntax-typescript" "^7.16.7"
+
"@babel/plugin-transform-unicode-escapes@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.1.tgz#5232b9f81ccb07070b7c3c36c67a1b78f1845709"
@@ -1643,7 +1786,7 @@
"@babel/helper-create-regexp-features-plugin" "^7.12.13"
"@babel/helper-plugin-utils" "^7.12.13"
-"@babel/polyfill@^7.0.0", "@babel/polyfill@^7.12.1":
+"@babel/polyfill@^7.12.1":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96"
integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==
@@ -1845,16 +1988,14 @@
resolved "https://registry.yarnpkg.com/@babel/preset-stage-0/-/preset-stage-0-7.8.3.tgz#b6a0eca1a3b72e07f9caf58f998e97568028f6f5"
integrity sha512-+l6FlG1j73t4wh78W41StbcCz0/9a1/y+vxfnjtHl060kSmcgMfGzK9MEkLvrCOXfhp9RCX+d88sm6rOqxEIEQ==
-"@babel/register@^7.0.0":
- version "7.12.1"
- resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.12.1.tgz#cdb087bdfc4f7241c03231f22e15d211acf21438"
- integrity sha512-XWcmseMIncOjoydKZnWvWi0/5CUCD+ZYKhRwgYlWOrA8fGZ/FjuLRpqtIhLOVD/fvR1b9DQHtZPn68VvhpYf+Q==
+"@babel/preset-typescript@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.16.7.tgz#ab114d68bb2020afc069cd51b37ff98a046a70b9"
+ integrity sha512-WbVEmgXdIyvzB77AQjGBEyYPZx+8tTsO50XtfozQrkW8QB2rLJpH2lgx0TRw5EJrBxOZQ+wCcyPVQvS8tjEHpQ==
dependencies:
- find-cache-dir "^2.0.0"
- lodash "^4.17.19"
- make-dir "^2.1.0"
- pirates "^4.0.0"
- source-map-support "^0.5.16"
+ "@babel/helper-plugin-utils" "^7.16.7"
+ "@babel/helper-validator-option" "^7.16.7"
+ "@babel/plugin-transform-typescript" "^7.16.7"
"@babel/register@^7.12.1", "@babel/register@^7.13.8":
version "7.13.8"
@@ -1899,6 +2040,15 @@
"@babel/parser" "^7.12.13"
"@babel/types" "^7.12.13"
+"@babel/template@^7.16.7":
+ version "7.16.7"
+ resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155"
+ integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==
+ dependencies:
+ "@babel/code-frame" "^7.16.7"
+ "@babel/parser" "^7.16.7"
+ "@babel/types" "^7.16.7"
+
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.4", "@babel/traverse@^7.10.4", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.5", "@babel/traverse@^7.12.8", "@babel/traverse@^7.8.3":
version "7.12.8"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.8.tgz#c1c2983bf9ba0f4f0eaa11dff7e77fa63307b2a4"
@@ -1929,6 +2079,22 @@
globals "^11.1.0"
lodash "^4.17.19"
+"@babel/traverse@^7.16.7":
+ version "7.16.10"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.10.tgz#448f940defbe95b5a8029975b051f75993e8239f"
+ integrity sha512-yzuaYXoRJBGMlBhsMJoUW7G1UmSb/eXr/JHYM/MsOJgavJibLwASijW7oXBdw3NQ6T0bW7Ty5P/VarOs9cHmqw==
+ dependencies:
+ "@babel/code-frame" "^7.16.7"
+ "@babel/generator" "^7.16.8"
+ "@babel/helper-environment-visitor" "^7.16.7"
+ "@babel/helper-function-name" "^7.16.7"
+ "@babel/helper-hoist-variables" "^7.16.7"
+ "@babel/helper-split-export-declaration" "^7.16.7"
+ "@babel/parser" "^7.16.10"
+ "@babel/types" "^7.16.8"
+ debug "^4.1.0"
+ globals "^11.1.0"
+
"@babel/traverse@^7.7.0":
version "7.12.12"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.12.tgz#d0cd87892704edd8da002d674bc811ce64743376"
@@ -1971,6 +2137,14 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"
+"@babel/types@^7.16.7", "@babel/types@^7.16.8":
+ version "7.16.8"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.16.8.tgz#0ba5da91dd71e0a4e7781a30f22770831062e3c1"
+ integrity sha512-smN2DQc5s4M7fntyjGtyIPbRJv6wW4rU/94fmYJ7PKQuZkC0qGMHXJbg6sNGt12JmVr4k5YaptI/XtiLJBnmIg==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.16.7"
+ to-fast-properties "^2.0.0"
+
"@bcoe/v8-coverage@^0.2.3":
version "0.2.3"
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
@@ -3945,16 +4119,6 @@ babel-runtime@^6.2.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0:
core-js "^2.4.0"
regenerator-runtime "^0.11.0"
-babel-tape-runner@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/babel-tape-runner/-/babel-tape-runner-3.0.0.tgz#d19c7465fd266d4fc2fa16e156c0eb22ce8dc632"
- integrity sha512-Svrdv3JMvfKq8fx2GhMsaFh8sicA6PR407UxDWRuH2FOMBbT+5V/J8eO9CLUrXClJGRV+ylFhWHhpYyIFyEjuA==
- dependencies:
- "@babel/core" "^7.0.0"
- "@babel/polyfill" "^7.0.0"
- "@babel/register" "^7.0.0"
- glob "^6.0.1"
-
babel-template@^6.3.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
@@ -7501,7 +7665,7 @@ glob-stream@^6.1.0:
to-absolute-glob "^2.0.0"
unique-stream "^2.0.2"
-glob@^6.0.1, glob@^6.0.4:
+glob@^6.0.4:
version "6.0.4"
resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22"
integrity sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=