arui-scripts 15.3.0 → 15.4.1
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-build.log +0 -0
- package/.turbo/turbo-test.log +91 -0
- package/CHANGELOG.md +278 -656
- package/README.md +31 -2
- package/bin/build.sh +2 -1
- package/build/commands/build/build-wrapper.d.ts +2 -2
- package/build/commands/build/client.js +3 -3
- package/build/commands/bundle-analyze/index.js +15 -15
- package/build/commands/changelog/index.js +2 -2
- package/build/commands/util/make-tmp-dir.d.ts +1 -1
- package/build/commands/util/make-tmp-dir.js +2 -2
- package/build/commands/util/run-client-dev-server.d.ts +1 -1
- package/build/commands/util/run-client-dev-server.js +1 -4
- package/build/configs/app-configs/calculate-dependent-config.d.ts +54 -8
- package/build/configs/app-configs/calculate-dependent-config.js +11 -13
- package/build/configs/app-configs/get-defaults.d.ts +3 -2
- package/build/configs/app-configs/get-defaults.js +75 -55
- package/build/configs/app-configs/index.d.ts +5 -3
- package/build/configs/app-configs/index.js +13 -7
- package/build/configs/app-configs/types.d.ts +51 -38
- package/build/configs/app-configs/update-with-config-file.d.ts +2 -2
- package/build/configs/app-configs/update-with-config-file.js +5 -7
- package/build/configs/app-configs/update-with-env.js +3 -8
- package/build/configs/app-configs/update-with-package.d.ts +2 -2
- package/build/configs/app-configs/update-with-package.js +5 -10
- package/build/configs/app-configs/update-with-presets.d.ts +2 -2
- package/build/configs/app-configs/update-with-presets.js +8 -15
- package/build/configs/app-configs/validate-settings-keys.d.ts +2 -5
- package/build/configs/app-configs/validate-settings-keys.js +6 -7
- package/build/configs/babel-client.d.ts +33 -1
- package/build/configs/babel-dependencies.d.ts +14 -1
- package/build/configs/babel-server.d.ts +26 -1
- package/build/configs/dev-server.d.ts +15 -1
- package/build/configs/jest/index.d.ts +33 -1
- package/build/configs/postcss.config.d.ts +1 -1
- package/build/configs/postcss.d.ts +1 -1
- package/build/configs/process-assets-plugin-output.d.ts +2 -0
- package/build/configs/process-assets-plugin-output.js +32 -0
- package/build/configs/server-externals-exemptions.d.ts +1 -1
- package/build/configs/util/apply-overrides.d.ts +23 -7
- package/build/configs/util/apply-overrides.js +3 -2
- package/build/configs/util/get-entry.d.ts +2 -1
- package/build/configs/webpack.client.d.ts +10 -2
- package/build/configs/webpack.client.dev.js +1 -1
- package/build/configs/webpack.client.js +51 -37
- package/build/configs/webpack.client.prod.js +1 -1
- package/build/index.d.ts +1 -1
- package/build/tsconfig-local.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/build/configs/app-configs/available-package-settings.d.ts +0 -8
- package/build/configs/app-configs/available-package-settings.js +0 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arui-scripts",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.4.1",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"typings": "./build/index.d.ts",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -57,9 +57,6 @@
|
|
|
57
57
|
"gzip-size": "5.1.1",
|
|
58
58
|
"image-minimizer-webpack-plugin": "^3.8.3",
|
|
59
59
|
"imagemin": "^8.0.1",
|
|
60
|
-
"imagemin-gifsicle": "^7.0.0",
|
|
61
|
-
"imagemin-mozjpeg": "^10.0.0",
|
|
62
|
-
"imagemin-optipng": "^8.0.0",
|
|
63
60
|
"imagemin-svgo": "^10.0.1",
|
|
64
61
|
"jest": "28.1.3",
|
|
65
62
|
"jest-snapshot-serializer-class-name-to-string": "1.0.0",
|
|
@@ -153,6 +150,9 @@
|
|
|
153
150
|
"test": "jest"
|
|
154
151
|
},
|
|
155
152
|
"peerDependencies": {
|
|
153
|
+
"imagemin-gifsicle": "^7.0.0",
|
|
154
|
+
"imagemin-mozjpeg": "^10.0.0",
|
|
155
|
+
"imagemin-optipng": "^8.0.0",
|
|
156
156
|
"react": ">=16.3.0",
|
|
157
157
|
"react-dom": ">=16.3.0",
|
|
158
158
|
"typescript": ">=4.0.0"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AppConfigs } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Эти ключи из конфига будут обновляться из package.json при их наличии
|
|
4
|
-
*/
|
|
5
|
-
export declare const availablePackageSettings: readonly ["dockerRegistry", "baseDockerImage", "serverEntry", "buildPath", "assetsPath", "additionalBuildPath", "nginxRootPath", "runFromNonRootUser", "archiveName", "serverOutput", "clientPolyfillsEntry", "clientEntry", "keepPropTypes", "devSourceMaps", "useTscLoader", "useServerHMR", "webpack4Compatibility", "clientServerPort", "serverPort", "debug", "statsOutputFilename", "componentsTheme", "keepCssVars", "removeDevDependenciesDuringDockerBuild", "dataUrlMaxSize", "imageMinimizer"];
|
|
6
|
-
type ArrayElementType<ArrayType extends ReadonlyArray<unknown>> = ArrayType[number];
|
|
7
|
-
export type PackageSettings = Partial<Pick<AppConfigs, ArrayElementType<typeof availablePackageSettings>>>;
|
|
8
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.availablePackageSettings = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Эти ключи из конфига будут обновляться из package.json при их наличии
|
|
6
|
-
*/
|
|
7
|
-
exports.availablePackageSettings = [
|
|
8
|
-
'dockerRegistry',
|
|
9
|
-
'baseDockerImage',
|
|
10
|
-
'serverEntry',
|
|
11
|
-
'buildPath',
|
|
12
|
-
'assetsPath',
|
|
13
|
-
'additionalBuildPath',
|
|
14
|
-
'nginxRootPath',
|
|
15
|
-
'runFromNonRootUser',
|
|
16
|
-
'archiveName',
|
|
17
|
-
'serverOutput',
|
|
18
|
-
'clientPolyfillsEntry',
|
|
19
|
-
'clientEntry',
|
|
20
|
-
'keepPropTypes',
|
|
21
|
-
'devSourceMaps',
|
|
22
|
-
'useTscLoader',
|
|
23
|
-
'useServerHMR',
|
|
24
|
-
'webpack4Compatibility',
|
|
25
|
-
'clientServerPort',
|
|
26
|
-
'serverPort',
|
|
27
|
-
'debug',
|
|
28
|
-
'statsOutputFilename',
|
|
29
|
-
'componentsTheme',
|
|
30
|
-
'keepCssVars',
|
|
31
|
-
'removeDevDependenciesDuringDockerBuild',
|
|
32
|
-
'dataUrlMaxSize',
|
|
33
|
-
'imageMinimizer'
|
|
34
|
-
];
|