arui-scripts 18.2.0 → 18.4.0
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/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +9 -5
- package/CHANGELOG.md +12 -0
- package/build/commands/test/get-config.d.ts +1 -0
- package/build/commands/test/get-config.js +104 -0
- package/build/commands/test/index.d.ts +1 -3
- package/build/commands/test/index.js +44 -10
- package/build/plugins/postcss-prefix-selector.js +12 -1
- package/build/tsconfig-local.tsbuildinfo +1 -1
- package/package.json +5 -3
- package/build/configs/jest/index.d.ts +0 -24
- package/build/configs/jest/index.js +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arui-scripts",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.4.0",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"typings": "./build/index.d.ts",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -62,7 +62,9 @@
|
|
|
62
62
|
"image-minimizer-webpack-plugin": "^3.8.3",
|
|
63
63
|
"imagemin": "^8.0.1",
|
|
64
64
|
"imagemin-svgo": "^10.0.1",
|
|
65
|
-
"jest": "
|
|
65
|
+
"jest": "^29.7.0",
|
|
66
|
+
"jest-config": "^29.7.0",
|
|
67
|
+
"jest-resolve": "^29.7.0",
|
|
66
68
|
"jest-snapshot-serializer-class-name-to-string": "1.0.0",
|
|
67
69
|
"lodash.merge": "4.6.2",
|
|
68
70
|
"mini-css-extract-plugin": "2.7.6",
|
|
@@ -118,7 +120,7 @@
|
|
|
118
120
|
"@types/case-sensitive-paths-webpack-plugin": "2.1.6",
|
|
119
121
|
"@types/compression-webpack-plugin": "4.0.1",
|
|
120
122
|
"@types/fs-extra": "^9.0.13",
|
|
121
|
-
"@types/jest": "^
|
|
123
|
+
"@types/jest": "^29.5.14",
|
|
122
124
|
"@types/lodash.merge": "^4.6.7",
|
|
123
125
|
"@types/node": "12.20.55",
|
|
124
126
|
"@types/react-dev-utils": "9.0.11",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _exports: {
|
|
2
|
-
testRegex: string;
|
|
3
|
-
moduleFileExtensions: string[];
|
|
4
|
-
collectCoverageFrom: string[];
|
|
5
|
-
testEnvironmentOptions: {
|
|
6
|
-
url: string;
|
|
7
|
-
};
|
|
8
|
-
transform: {
|
|
9
|
-
'^.+\\.jsx?$': string | (string | import("@swc/types").Options)[];
|
|
10
|
-
'^.+\\.mjs$': string | (string | import("@swc/types").Options)[];
|
|
11
|
-
'^.+\\.tsx?$': string | (string | import("@swc/types").Options)[];
|
|
12
|
-
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': string;
|
|
13
|
-
};
|
|
14
|
-
moduleNameMapper: {
|
|
15
|
-
'\\.css$': string;
|
|
16
|
-
};
|
|
17
|
-
snapshotSerializers: string[];
|
|
18
|
-
globals: {
|
|
19
|
-
'ts-jest': {
|
|
20
|
-
tsconfig: string | null;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export = _exports;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// TODO: remove eslint-disable
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
4
|
-
const merge = require('lodash.merge');
|
|
5
|
-
const configs = require('../app-configs').default;
|
|
6
|
-
const aruiJestPresets = require('./settings');
|
|
7
|
-
const defaultJestConfig = aruiJestPresets;
|
|
8
|
-
let appJestConfig = {};
|
|
9
|
-
if (configs.appPackage.jest) {
|
|
10
|
-
appJestConfig = configs.appPackage.jest;
|
|
11
|
-
if (appJestConfig.preset) {
|
|
12
|
-
// we don't need presets when using presets
|
|
13
|
-
if (appJestConfig.preset !== 'arui-scripts') {
|
|
14
|
-
console.warn("arui-scripts test command doesn't support jest preset config");
|
|
15
|
-
}
|
|
16
|
-
delete appJestConfig.preset;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
module.exports = merge(defaultJestConfig, appJestConfig);
|