arui-scripts 13.1.3 → 13.2.0-feat-babel-config-update.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/configs/babel-client.js +22 -3
- package/build/configs/babel-dependencies.d.ts +1 -0
- package/build/configs/babel-dependencies.js +38 -0
- package/build/configs/babel-server.js +2 -0
- package/build/configs/util/apply-overrides.d.ts +1 -0
- package/build/configs/webpack.client.dev.js +10 -1
- package/build/configs/webpack.client.prod.js +10 -1
- package/build/configs/webpack.server.dev.js +9 -0
- package/build/configs/webpack.server.prod.js +9 -0
- package/build/tsconfig-local.tsbuildinfo +32 -13
- package/package.json +21 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [13.2.0-feat-babel-config-update.2](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.2.0-feat-babel-config-update.1...v13.2.0-feat-babel-config-update.2) (2022-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **babel:** add core-js as dependency ([e08d8c8](https://git.moscow.alfaintra.net/ef/arui-scripts/commit/e08d8c801181a5e4eda0ac73024d4685001e3ab7))
|
|
7
|
+
|
|
8
|
+
# [13.2.0-feat-babel-config-update.1](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.1.3...v13.2.0-feat-babel-config-update.1) (2022-09-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* update babel config, add partial processing of node_modules ([8e2cd71](https://git.moscow.alfaintra.net/ef/arui-scripts/commit/8e2cd71fa0dbd299555a5872378cfe1dc6507c81))
|
|
14
|
+
|
|
1
15
|
## [13.1.3](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.1.2...v13.1.3) (2022-09-26)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -10,7 +10,16 @@ const babelClientConfig = apply_overrides_1.default(['babel', 'babelClient'], {
|
|
|
10
10
|
presets: [
|
|
11
11
|
[
|
|
12
12
|
require.resolve('@babel/preset-env'),
|
|
13
|
-
{
|
|
13
|
+
{
|
|
14
|
+
targets: { browsers: supporting_browsers_1.default },
|
|
15
|
+
loose: true,
|
|
16
|
+
// Allow importing core-js in entrypoint and use browserlist to select polyfills
|
|
17
|
+
useBuiltIns: 'entry',
|
|
18
|
+
// Set the corejs version we are using to avoid warnings in console
|
|
19
|
+
corejs: 3,
|
|
20
|
+
// Exclude transforms that make all code slower
|
|
21
|
+
exclude: ['transform-typeof-symbol'],
|
|
22
|
+
}
|
|
14
23
|
],
|
|
15
24
|
(app_configs_1.default.tsconfig !== null && !app_configs_1.default.useTscLoader) && require.resolve('@babel/preset-typescript'),
|
|
16
25
|
require.resolve('@babel/preset-react')
|
|
@@ -20,11 +29,21 @@ const babelClientConfig = apply_overrides_1.default(['babel', 'babelClient'], {
|
|
|
20
29
|
require.resolve('@babel/plugin-transform-proto-to-assign'),
|
|
21
30
|
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
|
|
22
31
|
[require.resolve('@babel/plugin-proposal-class-properties'), { loose: true }],
|
|
32
|
+
[require.resolve('@babel/plugin-proposal-private-methods'), { loose: true }],
|
|
33
|
+
[require.resolve('@babel/plugin-proposal-private-property-in-object'), { loose: true }],
|
|
23
34
|
require.resolve('@babel/plugin-proposal-numeric-separator'),
|
|
24
35
|
require.resolve('@babel/plugin-proposal-export-default-from'),
|
|
25
36
|
require.resolve('@babel/plugin-proposal-export-namespace-from'),
|
|
26
37
|
[require.resolve('@babel/plugin-proposal-object-rest-spread'), { useBuiltIns: true }],
|
|
27
|
-
[require.resolve('@babel/plugin-transform-runtime'), {
|
|
38
|
+
[require.resolve('@babel/plugin-transform-runtime'), {
|
|
39
|
+
corejs: false,
|
|
40
|
+
helpers: true,
|
|
41
|
+
// By default, babel assumes babel/runtime version 7.0.0-beta.0,
|
|
42
|
+
// explicitly resolving to match the provided helper functions.
|
|
43
|
+
// https://github.com/babel/babel/issues/10261
|
|
44
|
+
version: require('@babel/runtime/package.json').version,
|
|
45
|
+
regenerator: true,
|
|
46
|
+
}],
|
|
28
47
|
require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'),
|
|
29
48
|
require.resolve('@babel/plugin-proposal-optional-chaining')
|
|
30
49
|
],
|
|
@@ -33,7 +52,7 @@ const babelClientConfig = apply_overrides_1.default(['babel', 'babelClient'], {
|
|
|
33
52
|
plugins: [
|
|
34
53
|
require.resolve('@babel/plugin-transform-react-constant-elements'),
|
|
35
54
|
require.resolve('@babel/plugin-transform-react-inline-elements'),
|
|
36
|
-
require.resolve('babel-plugin-transform-react-remove-prop-types')
|
|
55
|
+
[require.resolve('babel-plugin-transform-react-remove-prop-types'), { removeImport: true }]
|
|
37
56
|
]
|
|
38
57
|
},
|
|
39
58
|
test: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const babelDependencies: any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.babelDependencies = void 0;
|
|
7
|
+
const apply_overrides_1 = __importDefault(require("./util/apply-overrides"));
|
|
8
|
+
exports.babelDependencies = apply_overrides_1.default('babelDependencies', {
|
|
9
|
+
sourceType: 'unambiguous',
|
|
10
|
+
presets: [
|
|
11
|
+
[
|
|
12
|
+
require.resolve('@babel/preset-env'),
|
|
13
|
+
{
|
|
14
|
+
// Allow importing core-js in entrypoint and use browserlist to select polyfills
|
|
15
|
+
useBuiltIns: 'entry',
|
|
16
|
+
// Set the corejs version we are using to avoid warnings in console
|
|
17
|
+
// This will need to change once we upgrade to corejs@3
|
|
18
|
+
corejs: 3,
|
|
19
|
+
// Exclude transforms that make all code slower
|
|
20
|
+
exclude: ['transform-typeof-symbol'],
|
|
21
|
+
},
|
|
22
|
+
]
|
|
23
|
+
],
|
|
24
|
+
plugins: [
|
|
25
|
+
[
|
|
26
|
+
require.resolve('@babel/plugin-transform-runtime'),
|
|
27
|
+
{
|
|
28
|
+
corejs: false,
|
|
29
|
+
helpers: true,
|
|
30
|
+
// By default, babel assumes babel/runtime version 7.0.0-beta.0,
|
|
31
|
+
// explicitly resolving to match the provided helper functions.
|
|
32
|
+
// https://github.com/babel/babel/issues/10261
|
|
33
|
+
version: require('@babel/runtime/package.json').version,
|
|
34
|
+
regenerator: true,
|
|
35
|
+
},
|
|
36
|
+
]
|
|
37
|
+
]
|
|
38
|
+
});
|
|
@@ -19,6 +19,8 @@ const config = apply_overrides_1.default(['babel', 'babelServer'], {
|
|
|
19
19
|
require.resolve('@babel/plugin-transform-proto-to-assign'),
|
|
20
20
|
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
|
|
21
21
|
[require.resolve('@babel/plugin-proposal-class-properties'), { loose: true }],
|
|
22
|
+
[require.resolve('@babel/plugin-proposal-private-methods'), { loose: true }],
|
|
23
|
+
[require.resolve('@babel/plugin-proposal-private-property-in-object'), { loose: true }],
|
|
22
24
|
require.resolve('@babel/plugin-proposal-numeric-separator'),
|
|
23
25
|
require.resolve('@babel/plugin-proposal-export-default-from'),
|
|
24
26
|
require.resolve('@babel/plugin-proposal-export-namespace-from'),
|
|
@@ -16,6 +16,7 @@ const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin'
|
|
|
16
16
|
const ReactRefreshTypeScript = require('react-refresh-typescript');
|
|
17
17
|
const app_configs_1 = __importDefault(require("./app-configs"));
|
|
18
18
|
const babel_client_1 = __importDefault(require("./babel-client"));
|
|
19
|
+
const babel_dependencies_1 = require("./babel-dependencies");
|
|
19
20
|
const postcss_1 = __importDefault(require("./postcss"));
|
|
20
21
|
const apply_overrides_1 = __importDefault(require("./util/apply-overrides"));
|
|
21
22
|
const get_entry_1 = __importDefault(require("./util/get-entry"));
|
|
@@ -117,7 +118,7 @@ const webpackClientDev = apply_overrides_1.default(['webpack', 'webpackClient',
|
|
|
117
118
|
},
|
|
118
119
|
// Process JS with Babel.
|
|
119
120
|
{
|
|
120
|
-
test: app_configs_1.default.useTscLoader ? /\.(js|jsx|mjs)$/ : /\.(js|jsx|mjs|ts|tsx)$/,
|
|
121
|
+
test: app_configs_1.default.useTscLoader ? /\.(js|jsx|mjs|cjs)$/ : /\.(js|jsx|mjs|ts|tsx|cjs)$/,
|
|
121
122
|
include: app_configs_1.default.appSrc,
|
|
122
123
|
use: [
|
|
123
124
|
{
|
|
@@ -160,6 +161,14 @@ const webpackClientDev = apply_overrides_1.default(['webpack', 'webpackClient',
|
|
|
160
161
|
}
|
|
161
162
|
]
|
|
162
163
|
},
|
|
164
|
+
// Process any JS outside of the app with Babel.
|
|
165
|
+
// Unlike the application JS, we only compile the standard ES features.
|
|
166
|
+
{
|
|
167
|
+
test: /\.(js|mjs)$/,
|
|
168
|
+
exclude: /@babel(?:\/|\\{1,2})runtime/,
|
|
169
|
+
loader: require.resolve('babel-loader'),
|
|
170
|
+
options: Object.assign(Object.assign({}, babel_dependencies_1.babelDependencies), { babelrc: false, configFile: false, compact: false, cacheDirectory: true, cacheCompression: false }),
|
|
171
|
+
},
|
|
163
172
|
// "postcss" loader applies autoprefixer to our CSS.
|
|
164
173
|
// "css" loader resolves paths in CSS and adds assets as dependencies.
|
|
165
174
|
// "style" loader turns CSS into JS modules that inject <style> tags.
|
|
@@ -20,6 +20,7 @@ const app_configs_1 = __importDefault(require("./app-configs"));
|
|
|
20
20
|
const babel_client_1 = __importDefault(require("./babel-client"));
|
|
21
21
|
const postcss_1 = __importDefault(require("./postcss"));
|
|
22
22
|
const check_node_version_1 = __importDefault(require("./util/check-node-version"));
|
|
23
|
+
const babel_dependencies_1 = require("./babel-dependencies");
|
|
23
24
|
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
24
25
|
const noopPath = require.resolve('./util/noop');
|
|
25
26
|
// style files regexes
|
|
@@ -171,7 +172,7 @@ const config = apply_overrides_1.default(['webpack', 'webpackClient', 'webpackPr
|
|
|
171
172
|
},
|
|
172
173
|
// Process JS with Babel.
|
|
173
174
|
{
|
|
174
|
-
test: app_configs_1.default.useTscLoader ? /\.(js|jsx|mjs)$/ : /\.(js|jsx|mjs|ts|tsx)$/,
|
|
175
|
+
test: app_configs_1.default.useTscLoader ? /\.(js|jsx|mjs|cjs)$/ : /\.(js|jsx|mjs|ts|tsx|cjs)$/,
|
|
175
176
|
include: app_configs_1.default.appSrc,
|
|
176
177
|
loader: require.resolve('babel-loader'),
|
|
177
178
|
options: babel_client_1.default,
|
|
@@ -198,6 +199,14 @@ const config = apply_overrides_1.default(['webpack', 'webpackClient', 'webpackPr
|
|
|
198
199
|
}
|
|
199
200
|
]
|
|
200
201
|
},
|
|
202
|
+
// Process any JS outside of the app with Babel.
|
|
203
|
+
// Unlike the application JS, we only compile the standard ES features.
|
|
204
|
+
{
|
|
205
|
+
test: /\.(js|mjs)$/,
|
|
206
|
+
exclude: /@babel(?:\/|\\{1,2})runtime/,
|
|
207
|
+
loader: require.resolve('babel-loader'),
|
|
208
|
+
options: Object.assign(Object.assign({}, babel_dependencies_1.babelDependencies), { babelrc: false, configFile: false, compact: false, cacheDirectory: true, cacheCompression: false }),
|
|
209
|
+
},
|
|
201
210
|
// The notation here is somewhat confusing.
|
|
202
211
|
// "postcss" loader applies autoprefixer to our CSS.
|
|
203
212
|
// "css" loader resolves paths in CSS and adds assets as dependencies.
|
|
@@ -18,6 +18,7 @@ const babel_server_1 = __importDefault(require("./babel-server"));
|
|
|
18
18
|
const postcss_1 = __importDefault(require("./postcss"));
|
|
19
19
|
const apply_overrides_1 = __importDefault(require("./util/apply-overrides"));
|
|
20
20
|
const get_entry_1 = __importDefault(require("./util/get-entry"));
|
|
21
|
+
const babel_dependencies_1 = require("./babel-dependencies");
|
|
21
22
|
const ReloadServerPlugin = require('../plugins/reload-server-webpack-plugin');
|
|
22
23
|
const assetsIgnoreBanner = fs_1.default.readFileSync(require.resolve('./util/node-assets-ignore'), 'utf8');
|
|
23
24
|
// style files regexes
|
|
@@ -137,6 +138,14 @@ const config = {
|
|
|
137
138
|
}
|
|
138
139
|
]
|
|
139
140
|
},
|
|
141
|
+
// Process any JS outside of the app with Babel.
|
|
142
|
+
// Unlike the application JS, we only compile the standard ES features.
|
|
143
|
+
{
|
|
144
|
+
test: /\.(js|mjs)$/,
|
|
145
|
+
exclude: /@babel(?:\/|\\{1,2})runtime/,
|
|
146
|
+
loader: require.resolve('babel-loader'),
|
|
147
|
+
options: Object.assign(Object.assign({}, babel_dependencies_1.babelDependencies), { babelrc: false, configFile: false, compact: false, cacheDirectory: true, cacheCompression: false }),
|
|
148
|
+
},
|
|
140
149
|
// replace css imports with empty files
|
|
141
150
|
{
|
|
142
151
|
test: cssRegex,
|
|
@@ -15,6 +15,7 @@ const babel_server_1 = __importDefault(require("./babel-server"));
|
|
|
15
15
|
const postcss_1 = __importDefault(require("./postcss"));
|
|
16
16
|
const apply_overrides_1 = __importDefault(require("./util/apply-overrides"));
|
|
17
17
|
const get_entry_1 = __importDefault(require("./util/get-entry"));
|
|
18
|
+
const babel_dependencies_1 = require("./babel-dependencies");
|
|
18
19
|
const assetsIgnoreBanner = fs_1.default.readFileSync(require.resolve('./util/node-assets-ignore'), 'utf8');
|
|
19
20
|
const sourceMapSupportBanner = fs_1.default.readFileSync(require.resolve('./util/install-sourcemap-support'), 'utf8');
|
|
20
21
|
// style files regexes
|
|
@@ -128,6 +129,14 @@ const config = apply_overrides_1.default(['webpack', 'webpackServer', 'webpackPr
|
|
|
128
129
|
}
|
|
129
130
|
]
|
|
130
131
|
},
|
|
132
|
+
// Process any JS outside of the app with Babel.
|
|
133
|
+
// Unlike the application JS, we only compile the standard ES features.
|
|
134
|
+
{
|
|
135
|
+
test: /\.(js|mjs)$/,
|
|
136
|
+
exclude: /@babel(?:\/|\\{1,2})runtime/,
|
|
137
|
+
loader: require.resolve('babel-loader'),
|
|
138
|
+
options: Object.assign(Object.assign({}, babel_dependencies_1.babelDependencies), { babelrc: false, configFile: false, compact: false, cacheDirectory: true, cacheCompression: false }),
|
|
139
|
+
},
|
|
131
140
|
// replace css imports with empty files
|
|
132
141
|
{
|
|
133
142
|
test: cssRegex,
|
|
@@ -732,8 +732,8 @@
|
|
|
732
732
|
"affectsGlobalScope": false
|
|
733
733
|
},
|
|
734
734
|
"../src/configs/util/apply-overrides.ts": {
|
|
735
|
-
"version": "
|
|
736
|
-
"signature": "
|
|
735
|
+
"version": "74b9ac3c6771735628ef3d245b6ef6c077555b2097f30b0d1db62b8c12a6481c",
|
|
736
|
+
"signature": "122fdc32edf36c57e8d8fb7376714c74d3c8061640c07017c53882dd8e902642",
|
|
737
737
|
"affectsGlobalScope": false
|
|
738
738
|
},
|
|
739
739
|
"../src/index.ts": {
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
"affectsGlobalScope": false
|
|
1168
1168
|
},
|
|
1169
1169
|
"../src/configs/babel-client.ts": {
|
|
1170
|
-
"version": "
|
|
1170
|
+
"version": "b168275538d10f52553c0c399fc922a73e7685876621d87a3751d4d4fd208333",
|
|
1171
1171
|
"signature": "8c6ba00a15640722cba70f0b9993b9c3d28d18e3231e3b51c04c5e9df5b8e114",
|
|
1172
1172
|
"affectsGlobalScope": false
|
|
1173
1173
|
},
|
|
@@ -1186,8 +1186,13 @@
|
|
|
1186
1186
|
"signature": "0f0f80b796e94409e67a60e1354c18790e7ff8b61552211a7244c8627f357c4c",
|
|
1187
1187
|
"affectsGlobalScope": false
|
|
1188
1188
|
},
|
|
1189
|
+
"../src/configs/babel-dependencies.ts": {
|
|
1190
|
+
"version": "06a6605f6660ca74f2b1ab8f2170044a3200b95adbe66e0574952c9a77198060",
|
|
1191
|
+
"signature": "88a3be7b24fcf0f91dc0b7c306c412ea08965aa67b4debf5955c536ab117ad9d",
|
|
1192
|
+
"affectsGlobalScope": false
|
|
1193
|
+
},
|
|
1189
1194
|
"../src/configs/webpack.client.prod.ts": {
|
|
1190
|
-
"version": "
|
|
1195
|
+
"version": "db833ec03db930d6b97fe5eb12a76e2bdc58b3535764a4f1e6aae4b495570519",
|
|
1191
1196
|
"signature": "293c406216d7a14873b09a48b71adadd5546d9060f5be7d148fe129bb57f13d1",
|
|
1192
1197
|
"affectsGlobalScope": false
|
|
1193
1198
|
},
|
|
@@ -1212,12 +1217,12 @@
|
|
|
1212
1217
|
"affectsGlobalScope": false
|
|
1213
1218
|
},
|
|
1214
1219
|
"../src/configs/babel-server.ts": {
|
|
1215
|
-
"version": "
|
|
1220
|
+
"version": "6e3eb9a37a8d95ff0a7328ca4e859f3c3cb464e4df27d97e78a02b1cbd5fdccc",
|
|
1216
1221
|
"signature": "70330b19cb50d7ddec1dc1285e4517f5410f0d56a9690c442c16d7017576e334",
|
|
1217
1222
|
"affectsGlobalScope": false
|
|
1218
1223
|
},
|
|
1219
1224
|
"../src/configs/webpack.server.prod.ts": {
|
|
1220
|
-
"version": "
|
|
1225
|
+
"version": "9507ca00ec1f124b19bfe45c979b37302e31b594b31c588e5cedf7a661bfb198",
|
|
1221
1226
|
"signature": "293c406216d7a14873b09a48b71adadd5546d9060f5be7d148fe129bb57f13d1",
|
|
1222
1227
|
"affectsGlobalScope": false
|
|
1223
1228
|
},
|
|
@@ -1312,7 +1317,7 @@
|
|
|
1312
1317
|
"affectsGlobalScope": false
|
|
1313
1318
|
},
|
|
1314
1319
|
"../src/configs/webpack.client.dev.ts": {
|
|
1315
|
-
"version": "
|
|
1320
|
+
"version": "aabf9fbfa68d5a0d8eb6fce8452bfff8a2f1d7cafdf3f10ae5f5c5794dc577c6",
|
|
1316
1321
|
"signature": "bf4cb593d7c7ac6097823d647f70fdf078e1b8175693cf9e24537625e3e69fa0",
|
|
1317
1322
|
"affectsGlobalScope": false
|
|
1318
1323
|
},
|
|
@@ -1342,7 +1347,7 @@
|
|
|
1342
1347
|
"affectsGlobalScope": false
|
|
1343
1348
|
},
|
|
1344
1349
|
"../src/configs/webpack.server.dev.ts": {
|
|
1345
|
-
"version": "
|
|
1350
|
+
"version": "05138308f0a1f7d902f218665d425a8beabb3e2fd718702b3650785fce849d13",
|
|
1346
1351
|
"signature": "4289eb8081c31f5b009209c36c04417fd4a0f39c5740422650d076d059d0a5d3",
|
|
1347
1352
|
"affectsGlobalScope": false
|
|
1348
1353
|
},
|
|
@@ -1916,7 +1921,7 @@
|
|
|
1916
1921
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
1917
1922
|
"affectsGlobalScope": true
|
|
1918
1923
|
},
|
|
1919
|
-
"../../../.yarn/__virtual__/babel-jest-virtual-
|
|
1924
|
+
"../../../.yarn/__virtual__/babel-jest-virtual-8c27dbf0e3/0/cache/babel-jest-npm-26.6.3-5630fee2b8-5917233f0d.zip/node_modules/babel-jest/build/index.d.ts": {
|
|
1920
1925
|
"version": "b9c542f6f197db67b9332774f412c961dbe24463d2b3d5c870d4469cee85c21a",
|
|
1921
1926
|
"signature": "b9c542f6f197db67b9332774f412c961dbe24463d2b3d5c870d4469cee85c21a",
|
|
1922
1927
|
"affectsGlobalScope": false
|
|
@@ -2004,7 +2009,7 @@
|
|
|
2004
2009
|
"configFilePath": "../tsconfig-local.json"
|
|
2005
2010
|
},
|
|
2006
2011
|
"referencedMap": {
|
|
2007
|
-
"../../../.yarn/__virtual__/babel-jest-virtual-
|
|
2012
|
+
"../../../.yarn/__virtual__/babel-jest-virtual-8c27dbf0e3/0/cache/babel-jest-npm-26.6.3-5630fee2b8-5917233f0d.zip/node_modules/babel-jest/build/index.d.ts": [
|
|
2008
2013
|
"../../../.yarn/cache/@jest-transform-npm-26.6.2-151c44db49-31667b925a.zip/node_modules/@jest/transform/build/index.d.ts",
|
|
2009
2014
|
"../../../.yarn/cache/@types-babel__core-npm-7.1.9-23e959fd72-d92c530efc.zip/node_modules/@types/babel__core/index.d.ts",
|
|
2010
2015
|
"../../../.yarn/cache/@types-graceful-fs-npm-4.1.3-fa91c32dd0-f13a1b177e.zip/node_modules/@types/graceful-fs/index.d.ts",
|
|
@@ -5368,6 +5373,15 @@
|
|
|
5368
5373
|
"../src/configs/supporting-browsers.ts",
|
|
5369
5374
|
"../src/configs/util/apply-overrides.ts"
|
|
5370
5375
|
],
|
|
5376
|
+
"../src/configs/babel-dependencies.ts": [
|
|
5377
|
+
"../../../.yarn/cache/@types-graceful-fs-npm-4.1.3-fa91c32dd0-f13a1b177e.zip/node_modules/@types/graceful-fs/index.d.ts",
|
|
5378
|
+
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.1/fs.d.ts",
|
|
5379
|
+
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.1/util.d.ts",
|
|
5380
|
+
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.3/fs.d.ts",
|
|
5381
|
+
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.3/util.d.ts",
|
|
5382
|
+
"../src/configs/supporting-browsers.ts",
|
|
5383
|
+
"../src/configs/util/apply-overrides.ts"
|
|
5384
|
+
],
|
|
5371
5385
|
"../src/configs/babel-server.ts": [
|
|
5372
5386
|
"../../../.yarn/cache/@types-graceful-fs-npm-4.1.3-fa91c32dd0-f13a1b177e.zip/node_modules/@types/graceful-fs/index.d.ts",
|
|
5373
5387
|
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.1/fs.d.ts",
|
|
@@ -5389,7 +5403,7 @@
|
|
|
5389
5403
|
"../src/configs/util/apply-overrides.ts"
|
|
5390
5404
|
],
|
|
5391
5405
|
"../src/configs/jest/babel-transform.js": [
|
|
5392
|
-
"../../../.yarn/__virtual__/babel-jest-virtual-
|
|
5406
|
+
"../../../.yarn/__virtual__/babel-jest-virtual-8c27dbf0e3/0/cache/babel-jest-npm-26.6.3-5630fee2b8-5917233f0d.zip/node_modules/babel-jest/build/index.d.ts",
|
|
5393
5407
|
"../../../.yarn/cache/@types-graceful-fs-npm-4.1.3-fa91c32dd0-f13a1b177e.zip/node_modules/@types/graceful-fs/index.d.ts",
|
|
5394
5408
|
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.1/fs.d.ts",
|
|
5395
5409
|
"../../../.yarn/cache/@types-node-npm-12.12.58-b4a5c5f701-2e86ae45c7.zip/node_modules/@types/node/ts3.1/util.d.ts",
|
|
@@ -5572,6 +5586,7 @@
|
|
|
5572
5586
|
"../../../.yarn/cache/tsconfig-paths-webpack-plugin-npm-3.5.1-f1a5ca3b27-86a58fc9ab.zip/node_modules/tsconfig-paths-webpack-plugin/lib/index.d.ts",
|
|
5573
5587
|
"../src/configs/app-configs/index.ts",
|
|
5574
5588
|
"../src/configs/babel-client.ts",
|
|
5589
|
+
"../src/configs/babel-dependencies.ts",
|
|
5575
5590
|
"../src/configs/postcss.ts",
|
|
5576
5591
|
"../src/configs/util/apply-overrides.ts",
|
|
5577
5592
|
"../src/configs/util/get-entry.ts"
|
|
@@ -5594,6 +5609,7 @@
|
|
|
5594
5609
|
"../../../.yarn/cache/tsconfig-paths-webpack-plugin-npm-3.5.1-f1a5ca3b27-86a58fc9ab.zip/node_modules/tsconfig-paths-webpack-plugin/lib/index.d.ts",
|
|
5595
5610
|
"../src/configs/app-configs/index.ts",
|
|
5596
5611
|
"../src/configs/babel-client.ts",
|
|
5612
|
+
"../src/configs/babel-dependencies.ts",
|
|
5597
5613
|
"../src/configs/postcss.ts",
|
|
5598
5614
|
"../src/configs/util/apply-overrides.ts",
|
|
5599
5615
|
"../src/configs/util/check-node-version.ts",
|
|
@@ -5615,6 +5631,7 @@
|
|
|
5615
5631
|
"../../../.yarn/cache/run-script-webpack-plugin-npm-0.0.11-f5023352c4-662220ac36.zip/node_modules/run-script-webpack-plugin/dist/index.d.ts",
|
|
5616
5632
|
"../../../.yarn/cache/tsconfig-paths-webpack-plugin-npm-3.5.1-f1a5ca3b27-86a58fc9ab.zip/node_modules/tsconfig-paths-webpack-plugin/lib/index.d.ts",
|
|
5617
5633
|
"../src/configs/app-configs/index.ts",
|
|
5634
|
+
"../src/configs/babel-dependencies.ts",
|
|
5618
5635
|
"../src/configs/babel-server.ts",
|
|
5619
5636
|
"../src/configs/postcss.ts",
|
|
5620
5637
|
"../src/configs/util/apply-overrides.ts",
|
|
@@ -5633,6 +5650,7 @@
|
|
|
5633
5650
|
"../../../.yarn/cache/@types-webpack-node-externals-npm-2.5.3-700e5ed1ec-9cd0f7821d.zip/node_modules/@types/webpack-node-externals/index.d.ts",
|
|
5634
5651
|
"../../../.yarn/cache/tsconfig-paths-webpack-plugin-npm-3.5.1-f1a5ca3b27-86a58fc9ab.zip/node_modules/tsconfig-paths-webpack-plugin/lib/index.d.ts",
|
|
5635
5652
|
"../src/configs/app-configs/index.ts",
|
|
5653
|
+
"../src/configs/babel-dependencies.ts",
|
|
5636
5654
|
"../src/configs/babel-server.ts",
|
|
5637
5655
|
"../src/configs/postcss.ts",
|
|
5638
5656
|
"../src/configs/util/apply-overrides.ts",
|
|
@@ -5693,7 +5711,7 @@
|
|
|
5693
5711
|
]
|
|
5694
5712
|
},
|
|
5695
5713
|
"exportedModulesMap": {
|
|
5696
|
-
"../../../.yarn/__virtual__/babel-jest-virtual-
|
|
5714
|
+
"../../../.yarn/__virtual__/babel-jest-virtual-8c27dbf0e3/0/cache/babel-jest-npm-26.6.3-5630fee2b8-5917233f0d.zip/node_modules/babel-jest/build/index.d.ts": [
|
|
5697
5715
|
"../../../.yarn/cache/@jest-transform-npm-26.6.2-151c44db49-31667b925a.zip/node_modules/@jest/transform/build/index.d.ts",
|
|
5698
5716
|
"../../../.yarn/cache/@types-babel__core-npm-7.1.9-23e959fd72-d92c530efc.zip/node_modules/@types/babel__core/index.d.ts",
|
|
5699
5717
|
"../../../.yarn/cache/@types-graceful-fs-npm-4.1.3-fa91c32dd0-f13a1b177e.zip/node_modules/@types/graceful-fs/index.d.ts",
|
|
@@ -8781,7 +8799,7 @@
|
|
|
8781
8799
|
]
|
|
8782
8800
|
},
|
|
8783
8801
|
"semanticDiagnosticsPerFile": [
|
|
8784
|
-
"../../../.yarn/__virtual__/babel-jest-virtual-
|
|
8802
|
+
"../../../.yarn/__virtual__/babel-jest-virtual-8c27dbf0e3/0/cache/babel-jest-npm-26.6.3-5630fee2b8-5917233f0d.zip/node_modules/babel-jest/build/index.d.ts",
|
|
8785
8803
|
"../../../.yarn/__virtual__/fork-ts-checker-webpack-plugin-virtual-2ec8636f8f/0/cache/fork-ts-checker-webpack-plugin-npm-6.3.5-6351278ebf-3cb33007a5.zip/node_modules/fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPlugin.d.ts",
|
|
8786
8804
|
"../../../.yarn/__virtual__/fork-ts-checker-webpack-plugin-virtual-2ec8636f8f/0/cache/fork-ts-checker-webpack-plugin-npm-6.3.5-6351278ebf-3cb33007a5.zip/node_modules/fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPluginOptions.d.ts",
|
|
8787
8805
|
"../../../.yarn/__virtual__/fork-ts-checker-webpack-plugin-virtual-2ec8636f8f/0/cache/fork-ts-checker-webpack-plugin-npm-6.3.5-6351278ebf-3cb33007a5.zip/node_modules/fork-ts-checker-webpack-plugin/lib/eslint-reporter/EsLintReporterOptions.d.ts",
|
|
@@ -9143,6 +9161,7 @@
|
|
|
9143
9161
|
"../src/configs/app-configs/update-with-presets.ts",
|
|
9144
9162
|
"../src/configs/app-configs/validate-settings-keys.ts",
|
|
9145
9163
|
"../src/configs/babel-client.ts",
|
|
9164
|
+
"../src/configs/babel-dependencies.ts",
|
|
9146
9165
|
"../src/configs/babel-server.ts",
|
|
9147
9166
|
"../src/configs/dev-server.ts",
|
|
9148
9167
|
"../src/configs/jest/babel-transform.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arui-scripts",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.2.0-feat-babel-config-update.2",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"typings": "./build/index.d.ts",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -11,24 +11,26 @@
|
|
|
11
11
|
"bin": "./build/bin/index.js",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@alfalab/postcss-custom-properties": "^9.1.2",
|
|
14
|
-
"@babel/core": "7.
|
|
15
|
-
"@babel/plugin-proposal-class-properties": "7.
|
|
16
|
-
"@babel/plugin-proposal-decorators": "7.
|
|
17
|
-
"@babel/plugin-proposal-export-default-from": "7.
|
|
18
|
-
"@babel/plugin-proposal-export-namespace-from": "7.
|
|
19
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "7.
|
|
20
|
-
"@babel/plugin-proposal-numeric-separator": "7.
|
|
21
|
-
"@babel/plugin-proposal-object-rest-spread": "7.
|
|
22
|
-
"@babel/plugin-proposal-optional-chaining": "7.
|
|
14
|
+
"@babel/core": "7.19.3",
|
|
15
|
+
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
16
|
+
"@babel/plugin-proposal-decorators": "7.19.3",
|
|
17
|
+
"@babel/plugin-proposal-export-default-from": "7.18.10",
|
|
18
|
+
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
|
|
19
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
|
|
20
|
+
"@babel/plugin-proposal-numeric-separator": "7.18.6",
|
|
21
|
+
"@babel/plugin-proposal-object-rest-spread": "7.18.9",
|
|
22
|
+
"@babel/plugin-proposal-optional-chaining": "7.18.9",
|
|
23
|
+
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
24
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
|
|
23
25
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
24
|
-
"@babel/plugin-transform-modules-commonjs": "7.
|
|
25
|
-
"@babel/plugin-transform-proto-to-assign": "7.
|
|
26
|
-
"@babel/plugin-transform-react-constant-elements": "7.
|
|
27
|
-
"@babel/plugin-transform-react-inline-elements": "7.
|
|
28
|
-
"@babel/plugin-transform-runtime": "7.
|
|
29
|
-
"@babel/preset-env": "7.
|
|
30
|
-
"@babel/preset-react": "7.
|
|
31
|
-
"@babel/preset-typescript": "7.
|
|
26
|
+
"@babel/plugin-transform-modules-commonjs": "7.18.6",
|
|
27
|
+
"@babel/plugin-transform-proto-to-assign": "7.18.9",
|
|
28
|
+
"@babel/plugin-transform-react-constant-elements": "7.18.12",
|
|
29
|
+
"@babel/plugin-transform-react-inline-elements": "7.18.6",
|
|
30
|
+
"@babel/plugin-transform-runtime": "7.19.1",
|
|
31
|
+
"@babel/preset-env": "7.19.3",
|
|
32
|
+
"@babel/preset-react": "7.18.6",
|
|
33
|
+
"@babel/preset-typescript": "7.18.6",
|
|
32
34
|
"@babel/runtime": "7.9.2",
|
|
33
35
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.1",
|
|
34
36
|
"assets-webpack-plugin": "7.1.1",
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
"case-sensitive-paths-webpack-plugin": "2.4.0",
|
|
41
43
|
"chalk": "^2.3.1",
|
|
42
44
|
"compression-webpack-plugin": "9.0.0",
|
|
45
|
+
"core-js": "3.25.3",
|
|
43
46
|
"css-loader": "5.1.3",
|
|
44
47
|
"css-minimizer-webpack-plugin": "3.1.1",
|
|
45
48
|
"enzyme": "3.11.0",
|