arui-scripts 15.6.0 → 15.6.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-test.log +24 -24
- package/CHANGELOG.md +8 -0
- package/README.md +11 -687
- package/build/configs/app-configs/update-with-config-file.js +2 -1
- package/build/configs/app-configs/update-with-env.js +5 -1
- package/build/configs/app-configs/update-with-package.js +5 -1
- package/build/configs/app-configs/update-with-presets.js +5 -1
- package/build/tsconfig-local.tsbuildinfo +1 -1
- package/docs/artifact.md +58 -0
- package/docs/caveats.md +30 -0
- package/docs/commands.md +123 -0
- package/docs/compilers.md +18 -0
- package/docs/examples.md +100 -0
- package/docs/overrides.md +122 -0
- package/docs/presets.md +65 -0
- package/docs/settings.md +240 -0
- package/package.json +1 -1
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
PASS src/configs/app-configs/__tests__/update-with-presets.tests.ts (
|
|
1
|
+
PASS src/configs/app-configs/__tests__/update-with-presets.tests.ts (13.643 s)
|
|
2
2
|
PASS src/configs/util/__tests__/get-polyfills.tests.ts
|
|
3
3
|
PASS src/configs/util/__tests__/apply-overrides.tests.ts
|
|
4
4
|
PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
@@ -7,15 +7,15 @@ PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
|
7
7
|
console.warn
|
|
8
8
|
Используйте ARUI_SCRIPTS_CONFIG только для отладки
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
>
|
|
10
|
+
9 |
|
|
11
|
+
10 | try {
|
|
12
|
+
> 11 | console.warn('Используйте ARUI_SCRIPTS_CONFIG только для отладки');
|
|
13
13
|
| ^
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
12 | const envSettings = JSON.parse(process.env.ARUI_SCRIPTS_CONFIG);
|
|
15
|
+
13 | validateSettingsKeys(config, envSettings, 'ENV');
|
|
16
|
+
14 | return merge(config, envSettings);
|
|
17
17
|
|
|
18
|
-
at updateWithEnv (src/configs/app-configs/update-with-env.ts:
|
|
18
|
+
at updateWithEnv (src/configs/app-configs/update-with-env.ts:11:17)
|
|
19
19
|
at src/configs/app-configs/__tests__/update-with-env.tests.ts:30:26
|
|
20
20
|
at Object.<anonymous> (../../node_modules/expect/build/toThrowMatchers.js:83:11)
|
|
21
21
|
at Object.throwingMatcher [as toThrowError] (../../node_modules/expect/build/index.js:342:21)
|
|
@@ -24,7 +24,7 @@ PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
|
24
24
|
console.error
|
|
25
25
|
SyntaxError: Unexpected token o in JSON at position 1
|
|
26
26
|
at JSON.parse (<anonymous>)
|
|
27
|
-
at updateWithEnv (/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/update-with-env.ts:
|
|
27
|
+
at updateWithEnv (/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/update-with-env.ts:12:34)
|
|
28
28
|
at /home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/__tests__/update-with-env.tests.ts:30:26
|
|
29
29
|
at Object.<anonymous> (/home/runner/work/arui-scripts/arui-scripts/node_modules/expect/build/toThrowMatchers.js:83:11)
|
|
30
30
|
at Object.throwingMatcher [as toThrowError] (/home/runner/work/arui-scripts/arui-scripts/node_modules/expect/build/index.js:342:21)
|
|
@@ -34,15 +34,15 @@ PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
|
34
34
|
at callAsyncCircusFn (/home/runner/work/arui-scripts/arui-scripts/node_modules/jest-circus/build/utils.js:259:10)
|
|
35
35
|
at _callCircusTest (/home/runner/work/arui-scripts/arui-scripts/node_modules/jest-circus/build/run.js:277:40)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
>
|
|
37
|
+
14 | return merge(config, envSettings);
|
|
38
|
+
15 | } catch (e) {
|
|
39
|
+
> 16 | console.error(e);
|
|
40
40
|
| ^
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
17 | throw Error('Not valid JSON passed. Correct it. For example: ARUI_SCRIPTS_CONFIG="{\"serverPort\":3333}"');
|
|
42
|
+
18 | }
|
|
43
|
+
19 | }
|
|
44
44
|
|
|
45
|
-
at updateWithEnv (src/configs/app-configs/update-with-env.ts:
|
|
45
|
+
at updateWithEnv (src/configs/app-configs/update-with-env.ts:16:17)
|
|
46
46
|
at src/configs/app-configs/__tests__/update-with-env.tests.ts:30:26
|
|
47
47
|
at Object.<anonymous> (../../node_modules/expect/build/toThrowMatchers.js:83:11)
|
|
48
48
|
at Object.throwingMatcher [as toThrowError] (../../node_modules/expect/build/index.js:342:21)
|
|
@@ -51,15 +51,15 @@ PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
|
51
51
|
console.warn
|
|
52
52
|
Используйте ARUI_SCRIPTS_CONFIG только для отладки
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
>
|
|
54
|
+
9 |
|
|
55
|
+
10 | try {
|
|
56
|
+
> 11 | console.warn('Используйте ARUI_SCRIPTS_CONFIG только для отладки');
|
|
57
57
|
| ^
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
12 | const envSettings = JSON.parse(process.env.ARUI_SCRIPTS_CONFIG);
|
|
59
|
+
13 | validateSettingsKeys(config, envSettings, 'ENV');
|
|
60
|
+
14 | return merge(config, envSettings);
|
|
61
61
|
|
|
62
|
-
at updateWithEnv (src/configs/app-configs/update-with-env.ts:
|
|
62
|
+
at updateWithEnv (src/configs/app-configs/update-with-env.ts:11:17)
|
|
63
63
|
at Object.<anonymous> (src/configs/app-configs/__tests__/update-with-env.tests.ts:38:44)
|
|
64
64
|
|
|
65
65
|
PASS src/configs/app-configs/__tests__/update-with-package.tests.ts
|
|
@@ -87,5 +87,5 @@ PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
|
87
87
|
Test Suites: 6 passed, 6 total
|
|
88
88
|
Tests: 17 passed, 17 total
|
|
89
89
|
Snapshots: 0 total
|
|
90
|
-
Time:
|
|
90
|
+
Time: 15.013 s
|
|
91
91
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# [15.3.0](https://github.com/core-ds/arui-scripts/compare/v15.2.0...v15.3.0) (2023-06-30)
|
|
2
2
|
|
|
3
|
+
## 15.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#91](https://github.com/core-ds/arui-scripts/pull/91) [`33a1c60`](https://github.com/core-ds/arui-scripts/commit/33a1c60dceae7fa78ede8e073ccb7f57927c07b0) Thanks [@Echzio](https://github.com/Echzio)! - fix docs
|
|
8
|
+
|
|
9
|
+
- [#88](https://github.com/core-ds/arui-scripts/pull/88) [`dcb6fd3`](https://github.com/core-ds/arui-scripts/commit/dcb6fd3a69a5877e43ae08e6330c8bbb0a095bb3) Thanks [@heymdall-legal](https://github.com/heymdall-legal)! - Correctly merge complex settings
|
|
10
|
+
|
|
3
11
|
## 15.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|