mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
chore: add babel dependencies to cli-build (#1810)
* chore: add babel dependencies to cli-build * chore: add browserslist
This commit is contained in:
@@ -10,6 +10,7 @@ const terser = require('@rollup/plugin-terser');
|
|||||||
const jsxPlugin = require('@babel/plugin-transform-react-jsx');
|
const jsxPlugin = require('@babel/plugin-transform-react-jsx');
|
||||||
const babelPreset = require('@babel/preset-env');
|
const babelPreset = require('@babel/preset-env');
|
||||||
const { visualizer } = require('rollup-plugin-visualizer');
|
const { visualizer } = require('rollup-plugin-visualizer');
|
||||||
|
const browsersList = require('@qlik/browserslist-config');
|
||||||
|
|
||||||
const resolveNative = require('./resolveNative');
|
const resolveNative = require('./resolveNative');
|
||||||
|
|
||||||
@@ -146,7 +147,7 @@ const config = ({
|
|||||||
{
|
{
|
||||||
modules: false,
|
modules: false,
|
||||||
targets: {
|
targets: {
|
||||||
browsers: ['chrome 62'],
|
browsers: browsersList,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -25,6 +25,9 @@
|
|||||||
"@babel/core": "7.28.4",
|
"@babel/core": "7.28.4",
|
||||||
"@babel/plugin-transform-react-jsx": "7.27.1",
|
"@babel/plugin-transform-react-jsx": "7.27.1",
|
||||||
"@babel/preset-env": "7.28.3",
|
"@babel/preset-env": "7.28.3",
|
||||||
|
"@babel/preset-react": "7.27.1",
|
||||||
|
"@babel/preset-typescript": "7.27.1",
|
||||||
|
"@qlik/browserslist-config": "^3.0.0",
|
||||||
"@rollup/plugin-babel": "6.0.4",
|
"@rollup/plugin-babel": "6.0.4",
|
||||||
"@rollup/plugin-commonjs": "28.0.6",
|
"@rollup/plugin-commonjs": "28.0.6",
|
||||||
"@rollup/plugin-json": "6.1.0",
|
"@rollup/plugin-json": "6.1.0",
|
||||||
|
|||||||
51
yarn.lock
51
yarn.lock
@@ -1473,6 +1473,17 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@babel/plugin-syntax-typescript@npm:^7.27.1":
|
||||||
|
version: 7.27.1
|
||||||
|
resolution: "@babel/plugin-syntax-typescript@npm:7.27.1"
|
||||||
|
dependencies:
|
||||||
|
"@babel/helper-plugin-utils": "npm:^7.27.1"
|
||||||
|
peerDependencies:
|
||||||
|
"@babel/core": ^7.0.0-0
|
||||||
|
checksum: 10c0/11589b4c89c66ef02d57bf56c6246267851ec0c361f58929327dc3e070b0dab644be625bbe7fb4c4df30c3634bfdfe31244e1f517be397d2def1487dbbe3c37d
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@babel/plugin-syntax-typescript@npm:^7.7.2":
|
"@babel/plugin-syntax-typescript@npm:^7.7.2":
|
||||||
version: 7.18.6
|
version: 7.18.6
|
||||||
resolution: "@babel/plugin-syntax-typescript@npm:7.18.6"
|
resolution: "@babel/plugin-syntax-typescript@npm:7.18.6"
|
||||||
@@ -2110,6 +2121,21 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@babel/plugin-transform-typescript@npm:^7.27.1":
|
||||||
|
version: 7.28.0
|
||||||
|
resolution: "@babel/plugin-transform-typescript@npm:7.28.0"
|
||||||
|
dependencies:
|
||||||
|
"@babel/helper-annotate-as-pure": "npm:^7.27.3"
|
||||||
|
"@babel/helper-create-class-features-plugin": "npm:^7.27.1"
|
||||||
|
"@babel/helper-plugin-utils": "npm:^7.27.1"
|
||||||
|
"@babel/helper-skip-transparent-expression-wrappers": "npm:^7.27.1"
|
||||||
|
"@babel/plugin-syntax-typescript": "npm:^7.27.1"
|
||||||
|
peerDependencies:
|
||||||
|
"@babel/core": ^7.0.0-0
|
||||||
|
checksum: 10c0/049c2bd3407bbf5041d8c95805a4fadee6d176e034f6b94ce7967b92a846f1e00f323cf7dfbb2d06c93485f241fb8cf4c10520e30096a6059d251b94e80386e9
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@babel/plugin-transform-unicode-escapes@npm:^7.27.1":
|
"@babel/plugin-transform-unicode-escapes@npm:^7.27.1":
|
||||||
version: 7.27.1
|
version: 7.27.1
|
||||||
resolution: "@babel/plugin-transform-unicode-escapes@npm:7.27.1"
|
resolution: "@babel/plugin-transform-unicode-escapes@npm:7.27.1"
|
||||||
@@ -2266,6 +2292,21 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@babel/preset-typescript@npm:7.27.1":
|
||||||
|
version: 7.27.1
|
||||||
|
resolution: "@babel/preset-typescript@npm:7.27.1"
|
||||||
|
dependencies:
|
||||||
|
"@babel/helper-plugin-utils": "npm:^7.27.1"
|
||||||
|
"@babel/helper-validator-option": "npm:^7.27.1"
|
||||||
|
"@babel/plugin-syntax-jsx": "npm:^7.27.1"
|
||||||
|
"@babel/plugin-transform-modules-commonjs": "npm:^7.27.1"
|
||||||
|
"@babel/plugin-transform-typescript": "npm:^7.27.1"
|
||||||
|
peerDependencies:
|
||||||
|
"@babel/core": ^7.0.0-0
|
||||||
|
checksum: 10c0/cba6ca793d915f8aff9fe2f13b0dfbf5fd3f2e9a17f17478ec9878e9af0d206dcfe93154b9fd353727f16c1dca7c7a3ceb4943f8d28b216235f106bc0fbbcaa3
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7":
|
"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7":
|
||||||
version: 7.27.1
|
version: 7.27.1
|
||||||
resolution: "@babel/runtime@npm:7.27.1"
|
resolution: "@babel/runtime@npm:7.27.1"
|
||||||
@@ -4274,6 +4315,9 @@ __metadata:
|
|||||||
"@babel/core": "npm:7.28.4"
|
"@babel/core": "npm:7.28.4"
|
||||||
"@babel/plugin-transform-react-jsx": "npm:7.27.1"
|
"@babel/plugin-transform-react-jsx": "npm:7.27.1"
|
||||||
"@babel/preset-env": "npm:7.28.3"
|
"@babel/preset-env": "npm:7.28.3"
|
||||||
|
"@babel/preset-react": "npm:7.27.1"
|
||||||
|
"@babel/preset-typescript": "npm:7.27.1"
|
||||||
|
"@qlik/browserslist-config": "npm:^3.0.0"
|
||||||
"@rollup/plugin-babel": "npm:6.0.4"
|
"@rollup/plugin-babel": "npm:6.0.4"
|
||||||
"@rollup/plugin-commonjs": "npm:28.0.6"
|
"@rollup/plugin-commonjs": "npm:28.0.6"
|
||||||
"@rollup/plugin-json": "npm:6.1.0"
|
"@rollup/plugin-json": "npm:6.1.0"
|
||||||
@@ -5074,6 +5118,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@qlik/browserslist-config@npm:^3.0.0":
|
||||||
|
version: 3.0.0
|
||||||
|
resolution: "@qlik/browserslist-config@npm:3.0.0"
|
||||||
|
checksum: 10c0/722917f25ae5583c805e6297a28add75ee80dba2d236b9861bb23e6bf25a220515b9353d124b730d39b87c15d18fa21f37a45b672b26bf3ffeb070f28ea6bf2c
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@qlik/sdk@npm:0.28.0":
|
"@qlik/sdk@npm:0.28.0":
|
||||||
version: 0.28.0
|
version: 0.28.0
|
||||||
resolution: "@qlik/sdk@npm:0.28.0"
|
resolution: "@qlik/sdk@npm:0.28.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user