arui-scripts 15.8.0 → 15.8.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/.eslintignore +2 -0
- package/.eslintrc.js +13 -0
- package/.turbo/turbo-lint.log +260 -0
- package/.turbo/turbo-test.log +26 -26
- package/CHANGELOG.md +317 -305
- package/build/bin/index.js +9 -1
- package/build/commands/archive-build/index.js +4 -4
- package/build/commands/build/build-wrapper.js +3 -2
- package/build/commands/build/index.js +3 -5
- package/build/commands/bundle-analyze/index.js +5 -3
- package/build/commands/changelog/index.js +4 -2
- package/build/commands/docker-build/index.js +1 -1
- package/build/commands/docker-build-compiled/index.js +1 -1
- package/build/commands/start/index.js +8 -13
- package/build/commands/start/print-compiler-output.js +2 -1
- package/build/commands/start-prod/index.js +3 -5
- package/build/commands/test/index.js +10 -1
- package/build/commands/util/check-required-files.js +12 -8
- package/build/commands/util/client-assets-sizes.js +17 -22
- package/build/commands/util/docker-build.d.ts +1 -1
- package/build/commands/util/docker-build.js +12 -7
- package/build/commands/util/exec.js +2 -0
- package/build/commands/util/format-webpack-messages.js +9 -7
- package/build/commands/util/make-tmp-dir.js +3 -3
- package/build/commands/util/run-client-dev-server.js +1 -1
- package/build/commands/util/run-compilers.d.ts +1 -1
- package/build/commands/util/run-compilers.js +11 -11
- package/build/commands/util/run-server-watch-compiler.js +2 -3
- package/build/commands/util/yarn.js +1 -1
- package/build/configs/app-configs/calculate-dependent-config.js +2 -0
- package/build/configs/app-configs/get-defaults.js +4 -2
- package/build/configs/app-configs/index.d.ts +1 -1
- package/build/configs/app-configs/index.js +3 -3
- package/build/configs/app-configs/read-config-file.d.ts +1 -0
- package/build/configs/app-configs/read-config-file.js +25 -0
- package/build/configs/app-configs/types.d.ts +1 -1
- package/build/configs/app-configs/update-with-config-file.js +4 -10
- package/build/configs/app-configs/update-with-env.js +1 -1
- package/build/configs/app-configs/update-with-presets.js +11 -3
- package/build/configs/babel-client.js +21 -15
- package/build/configs/babel-dependencies.js +3 -3
- package/build/configs/babel-server.js +10 -10
- package/build/configs/config-extras/minimizers/imagemin/imagemin.d.ts +1 -1
- package/build/configs/config-extras/minimizers/imagemin/imagemin.js +23 -14
- package/build/configs/dev-server.js +20 -18
- package/build/configs/jest/babel-transform.js +2 -0
- package/build/configs/jest/file-transform.js +2 -0
- package/build/configs/jest/index.js +13 -13
- package/build/configs/modules.js +11 -4
- package/build/configs/mq.css +18 -18
- package/build/configs/postcss.config.js +3 -6
- package/build/configs/process-assets-plugin-output.js +1 -1
- package/build/configs/stats-options.js +1 -1
- package/build/configs/supporting-browsers.js +1 -6
- package/build/configs/util/apply-overrides.d.ts +2 -2
- package/build/configs/util/apply-overrides.js +7 -2
- package/build/configs/util/find-loader.d.ts +1 -1
- package/build/configs/util/find-loader.js +2 -0
- package/build/configs/util/install-sourcemap-support.js +4 -0
- package/build/configs/util/node-assets-ignore.js +8 -6
- package/build/configs/util/register-ts-node.js +3 -2
- package/build/configs/webpack.client.js +131 -95
- package/build/configs/webpack.server.js +74 -54
- package/build/plugins/postcss-prefix-selector.js +5 -3
- package/build/plugins/reload-server-webpack-plugin.js +8 -6
- package/build/plugins/watch-missing-node-modules-plugin.js +3 -3
- package/build/templates/dockerfile-compiled.template.js +4 -2
- package/build/templates/dockerfile.template.js +2 -2
- package/build/tsconfig-local.tsbuildinfo +1 -1
- package/docs/modules.md +429 -358
- package/jest-preset.js +8 -8
- package/package.json +12 -3
- package/release.config.js +8 -2
- package/stylelint.config.js +11 -0
- package/tsconfig.eslint.json +5 -0
package/.eslintignore
ADDED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
extends: ['custom/common'],
|
|
4
|
+
parserOptions: {
|
|
5
|
+
tsconfigRootDir: __dirname,
|
|
6
|
+
project: ['./tsconfig.eslint.json'],
|
|
7
|
+
},
|
|
8
|
+
ignorePatterns: ['./src/templates/dockerfile-compiled.template.ts', '.turbo'],
|
|
9
|
+
rules: {
|
|
10
|
+
'import/no-default-export': 'warn',
|
|
11
|
+
'import/no-named-as-default': 'warn',
|
|
12
|
+
},
|
|
13
|
+
};
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
[0;32mWARNING: [0mModule not found: [0;31marui-feather/vars.css[0m
|
|
2
|
+
[0;32mWARNING: [0mModule not found: [0;31marui-feather/vars/font.css[0m
|
|
3
|
+
[0;32mWARNING: [0mModule not found: [0;31marui-feather/vars/opacity.css[0m
|
|
4
|
+
[0;32mWARNING: [0mModule not found: [0;31marui-feather/vars/primitive-colors.css[0m
|
|
5
|
+
|
|
6
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/bin/index.ts
|
|
7
|
+
26:5 warning Unexpected console statement no-console
|
|
8
|
+
|
|
9
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/archive-build/index.ts
|
|
10
|
+
6:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
11
|
+
25:9 warning Unexpected console statement no-console
|
|
12
|
+
26:9 warning Unexpected console statement no-console
|
|
13
|
+
40:9 warning Unexpected console statement no-console
|
|
14
|
+
41:9 warning Unexpected console statement no-console
|
|
15
|
+
45:9 warning Unexpected console statement no-console
|
|
16
|
+
46:9 warning Unexpected console statement no-console
|
|
17
|
+
51:9 warning Unexpected console statement no-console
|
|
18
|
+
52:9 warning Unexpected console statement no-console
|
|
19
|
+
72:9 warning Unexpected console statement no-console
|
|
20
|
+
73:9 warning Unexpected console statement no-console
|
|
21
|
+
78:9 warning Unexpected console statement no-console
|
|
22
|
+
79:9 warning Unexpected console statement no-console
|
|
23
|
+
81:9 warning Unexpected console statement no-console
|
|
24
|
+
83:13 warning Unexpected console statement no-console
|
|
25
|
+
|
|
26
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/bundle-analyze/index.ts
|
|
27
|
+
6:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
28
|
+
|
|
29
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/changelog/index.ts
|
|
30
|
+
11:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
31
|
+
|
|
32
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/docker-build-compiled/index.ts
|
|
33
|
+
3:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
34
|
+
18:9 warning Unexpected console statement no-console
|
|
35
|
+
19:9 warning Unexpected console statement no-console
|
|
36
|
+
40:9 warning Unexpected console statement no-console
|
|
37
|
+
43:9 warning Unexpected console statement no-console
|
|
38
|
+
45:13 warning Unexpected console statement no-console
|
|
39
|
+
|
|
40
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/docker-build/index.ts
|
|
41
|
+
3:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
42
|
+
19:9 warning Unexpected console statement no-console
|
|
43
|
+
20:9 warning Unexpected console statement no-console
|
|
44
|
+
21:9 warning Unexpected console statement no-console
|
|
45
|
+
34:9 warning Unexpected console statement no-console
|
|
46
|
+
35:9 warning Unexpected console statement no-console
|
|
47
|
+
39:9 warning Unexpected console statement no-console
|
|
48
|
+
42:13 warning Unexpected console statement no-console
|
|
49
|
+
48:13 warning Unexpected console statement no-console
|
|
50
|
+
51:9 warning Unexpected console statement no-console
|
|
51
|
+
55:9 warning Unexpected console statement no-console
|
|
52
|
+
56:9 warning Unexpected console statement no-console
|
|
53
|
+
66:9 warning Unexpected console statement no-console
|
|
54
|
+
67:9 warning Unexpected console statement no-console
|
|
55
|
+
70:9 warning Unexpected console statement no-console
|
|
56
|
+
72:13 warning Unexpected console statement no-console
|
|
57
|
+
|
|
58
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/start/index.ts
|
|
59
|
+
1:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
60
|
+
|
|
61
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/start/print-compiler-output.ts
|
|
62
|
+
5:8 warning Prefer named exports import/no-default-export
|
|
63
|
+
5:74 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
64
|
+
12:5 warning Unexpected console statement no-console
|
|
65
|
+
|
|
66
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/check-required-files.ts
|
|
67
|
+
6:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
68
|
+
35:52 warning 'extensions' is already declared in the upper scope on line 8 column 7 @typescript-eslint/no-shadow
|
|
69
|
+
69:9 warning Unexpected console statement no-console
|
|
70
|
+
76:13 warning Unexpected console statement no-console
|
|
71
|
+
77:13 warning Unexpected console statement no-console
|
|
72
|
+
86:8 warning Prefer named exports import/no-default-export
|
|
73
|
+
|
|
74
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/client-assets-sizes.ts
|
|
75
|
+
110:5 warning Unexpected console statement no-console
|
|
76
|
+
122:9 warning Unexpected console statement no-console
|
|
77
|
+
125:5 warning Unexpected console statement no-console
|
|
78
|
+
|
|
79
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/docker-build.ts
|
|
80
|
+
7:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
81
|
+
31:17 warning Unexpected console statement no-console
|
|
82
|
+
|
|
83
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/exec.ts
|
|
84
|
+
6:9 warning Unexpected console statement no-console
|
|
85
|
+
17:8 warning Prefer named exports import/no-default-export
|
|
86
|
+
|
|
87
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/format-webpack-messages.ts
|
|
88
|
+
118:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
89
|
+
131:8 warning Prefer named exports import/no-default-export
|
|
90
|
+
|
|
91
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/make-tmp-dir.ts
|
|
92
|
+
16:8 warning Prefer named exports import/no-default-export
|
|
93
|
+
|
|
94
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/run-client-dev-server.ts
|
|
95
|
+
10:85 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
96
|
+
12:54 warning Unexpected console statement no-console
|
|
97
|
+
13:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
98
|
+
27:13 warning Unexpected console statement no-console
|
|
99
|
+
29:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
100
|
+
31:13 warning Unexpected console statement no-console
|
|
101
|
+
|
|
102
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/run-compilers.ts
|
|
103
|
+
5:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
104
|
+
|
|
105
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/run-server-watch-compiler.ts
|
|
106
|
+
3:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
107
|
+
9:54 warning Unexpected console statement no-console
|
|
108
|
+
10:54 warning Unexpected console statement no-console
|
|
109
|
+
11:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
110
|
+
|
|
111
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/commands/util/yarn.ts
|
|
112
|
+
3:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
113
|
+
|
|
114
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/__tests__/update-with-presets.tests.ts
|
|
115
|
+
26:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
116
|
+
56:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
117
|
+
|
|
118
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
119
|
+
17:16 warning Unexpected console statement no-console
|
|
120
|
+
|
|
121
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/index.ts
|
|
122
|
+
29:8 warning Prefer named exports import/no-default-export
|
|
123
|
+
|
|
124
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/types.ts
|
|
125
|
+
84:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
126
|
+
103:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
127
|
+
|
|
128
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/update-with-env.ts
|
|
129
|
+
12:9 warning Unexpected console statement no-console
|
|
130
|
+
19:9 warning Unexpected console statement no-console
|
|
131
|
+
|
|
132
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/app-configs/validate-settings-keys.ts
|
|
133
|
+
11:13 warning Unexpected console statement no-console
|
|
134
|
+
|
|
135
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/babel-client.ts
|
|
136
|
+
2:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
137
|
+
68:8 warning Prefer named exports import/no-default-export
|
|
138
|
+
|
|
139
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/babel-dependencies.ts
|
|
140
|
+
2:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
141
|
+
|
|
142
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/babel-server.ts
|
|
143
|
+
2:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
144
|
+
44:8 warning Prefer named exports import/no-default-export
|
|
145
|
+
|
|
146
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/config-extras/minimizers/imagemin/imagemin.ts
|
|
147
|
+
3:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
148
|
+
|
|
149
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/dev-server.ts
|
|
150
|
+
7:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
151
|
+
71:8 warning Prefer named exports import/no-default-export
|
|
152
|
+
|
|
153
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/jest/index.js
|
|
154
|
+
47:13 warning Unexpected console statement no-console
|
|
155
|
+
|
|
156
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/modules.ts
|
|
157
|
+
9:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
158
|
+
19:5 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
159
|
+
19:5 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
160
|
+
29:5 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
161
|
+
112:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
162
|
+
117:5 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
163
|
+
|
|
164
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/postcss.ts
|
|
165
|
+
9:8 warning Prefer named exports import/no-default-export
|
|
166
|
+
|
|
167
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/process-assets-plugin-output.ts
|
|
168
|
+
5:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
169
|
+
14:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
170
|
+
15:60 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
171
|
+
|
|
172
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/stats-options.ts
|
|
173
|
+
48:8 warning Prefer named exports import/no-default-export
|
|
174
|
+
|
|
175
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/supporting-browsers.ts
|
|
176
|
+
8:8 warning Prefer named exports import/no-default-export
|
|
177
|
+
|
|
178
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/__tests__/get-polyfills.tests.ts
|
|
179
|
+
41:83 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
180
|
+
53:83 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
181
|
+
|
|
182
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/apply-overrides.ts
|
|
183
|
+
5:8 warning Using exported name 'appConfigs' as identifier for default export import/no-named-as-default
|
|
184
|
+
24:12 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
185
|
+
25:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
186
|
+
26:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
187
|
+
27:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
188
|
+
29:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
189
|
+
40:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
190
|
+
88:9 warning Unexpected console statement no-console
|
|
191
|
+
89:9 warning Unexpected console statement no-console
|
|
192
|
+
107:48 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
193
|
+
130:8 warning Prefer named exports import/no-default-export
|
|
194
|
+
|
|
195
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/check-node-version.ts
|
|
196
|
+
7:8 warning Prefer named exports import/no-default-export
|
|
197
|
+
|
|
198
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/find-loader.ts
|
|
199
|
+
9:24 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
200
|
+
9:24 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
201
|
+
|
|
202
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/get-entry.ts
|
|
203
|
+
32:8 warning Prefer named exports import/no-default-export
|
|
204
|
+
|
|
205
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/install-sourcemap-support.js
|
|
206
|
+
8:5 warning Unexpected console statement no-console
|
|
207
|
+
|
|
208
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/util/node-assets-ignore.js
|
|
209
|
+
24:9 warning Unexpected console statement no-console
|
|
210
|
+
|
|
211
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/webpack.client.dev.ts
|
|
212
|
+
14:8 warning Prefer named exports import/no-default-export
|
|
213
|
+
|
|
214
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/webpack.client.prod.ts
|
|
215
|
+
14:8 warning Prefer named exports import/no-default-export
|
|
216
|
+
|
|
217
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/webpack.client.ts
|
|
218
|
+
24:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
219
|
+
162:47 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
220
|
+
181:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
221
|
+
|
|
222
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/webpack.server.dev.ts
|
|
223
|
+
11:8 warning Prefer named exports import/no-default-export
|
|
224
|
+
|
|
225
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/webpack.server.prod.ts
|
|
226
|
+
11:8 warning Prefer named exports import/no-default-export
|
|
227
|
+
|
|
228
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/configs/webpack.server.ts
|
|
229
|
+
14:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
230
|
+
64:47 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
231
|
+
|
|
232
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/plugins/postcss-prefix-selector.ts
|
|
233
|
+
17:26 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
234
|
+
21:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
235
|
+
27:75 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
236
|
+
|
|
237
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/plugins/reload-server-webpack-plugin.js
|
|
238
|
+
35:21 warning Unexpected console statement no-console
|
|
239
|
+
|
|
240
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/templates/dockerfile-compiled.template.ts
|
|
241
|
+
2:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
242
|
+
48:8 warning Prefer named exports import/no-default-export
|
|
243
|
+
|
|
244
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/templates/dockerfile.template.ts
|
|
245
|
+
1:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
246
|
+
30:8 warning Prefer named exports import/no-default-export
|
|
247
|
+
|
|
248
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/templates/nginx.conf.template.ts
|
|
249
|
+
1:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
250
|
+
31:8 warning Prefer named exports import/no-default-export
|
|
251
|
+
|
|
252
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/templates/start.template.ts
|
|
253
|
+
1:8 warning Using exported name 'configs' as identifier for default export import/no-named-as-default
|
|
254
|
+
34:8 warning Prefer named exports import/no-default-export
|
|
255
|
+
|
|
256
|
+
/home/runner/work/arui-scripts/arui-scripts/packages/arui-scripts/src/types.d.ts
|
|
257
|
+
4:12 warning Prefer named exports import/no-default-export
|
|
258
|
+
|
|
259
|
+
✖ 143 problems (0 errors, 143 warnings)
|
|
260
|
+
|
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 (38.47 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
|
+
10 |
|
|
11
|
+
11 | try {
|
|
12
|
+
> 12 | console.warn('Используйте ARUI_SCRIPTS_CONFIG только для отладки');
|
|
13
13
|
| ^
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
13 | const envSettings = JSON.parse(process.env.ARUI_SCRIPTS_CONFIG);
|
|
15
|
+
14 |
|
|
16
|
+
15 | validateSettingsKeys(config, envSettings, 'ENV');
|
|
17
17
|
|
|
18
|
-
at updateWithEnv (src/configs/app-configs/update-with-env.ts:
|
|
18
|
+
at updateWithEnv (src/configs/app-configs/update-with-env.ts:12: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:13: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
|
+
17 | return merge(config, envSettings);
|
|
38
|
+
18 | } catch (e) {
|
|
39
|
+
> 19 | console.error(e);
|
|
40
40
|
| ^
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
20 | throw Error(
|
|
42
|
+
21 | 'Not valid JSON passed. Correct it. For example: ARUI_SCRIPTS_CONFIG="{"serverPort":3333}"',
|
|
43
|
+
22 | );
|
|
44
44
|
|
|
45
|
-
at updateWithEnv (src/configs/app-configs/update-with-env.ts:
|
|
45
|
+
at updateWithEnv (src/configs/app-configs/update-with-env.ts:19: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,16 +51,16 @@ 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
|
+
10 |
|
|
55
|
+
11 | try {
|
|
56
|
+
> 12 | console.warn('Используйте ARUI_SCRIPTS_CONFIG только для отладки');
|
|
57
57
|
| ^
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
13 | const envSettings = JSON.parse(process.env.ARUI_SCRIPTS_CONFIG);
|
|
59
|
+
14 |
|
|
60
|
+
15 | validateSettingsKeys(config, envSettings, 'ENV');
|
|
61
61
|
|
|
62
|
-
at updateWithEnv (src/configs/app-configs/update-with-env.ts:
|
|
63
|
-
at Object.<anonymous> (src/configs/app-configs/__tests__/update-with-env.tests.ts:
|
|
62
|
+
at updateWithEnv (src/configs/app-configs/update-with-env.ts:12:17)
|
|
63
|
+
at Object.<anonymous> (src/configs/app-configs/__tests__/update-with-env.tests.ts:40:44)
|
|
64
64
|
|
|
65
65
|
PASS src/configs/app-configs/__tests__/update-with-package.tests.ts
|
|
66
66
|
PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
@@ -81,11 +81,11 @@ PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
|
81
81
|
at src/configs/app-configs/validate-settings-keys.ts:11:21
|
|
82
82
|
at Array.forEach (<anonymous>)
|
|
83
83
|
at validateSettingsKeys (src/configs/app-configs/validate-settings-keys.ts:9:33)
|
|
84
|
-
at Object.<anonymous> (src/configs/app-configs/__tests__/validate-settings-keys.tests.ts:
|
|
84
|
+
at Object.<anonymous> (src/configs/app-configs/__tests__/validate-settings-keys.tests.ts:15:29)
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
Test Suites: 6 passed, 6 total
|
|
88
88
|
Tests: 17 passed, 17 total
|
|
89
89
|
Snapshots: 0 total
|
|
90
|
-
Time:
|
|
90
|
+
Time: 45.078 s
|
|
91
91
|
Ran all test suites.
|