@shuvi/service 2.0.0-dev.11 → 2.0.0-dev.12

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.
@@ -207,6 +207,13 @@ class RspackBundler {
207
207
  warnings.push(...(statsData.warnings || []));
208
208
  errors.push(...(statsData.errors || []));
209
209
  });
210
+ if (warnings.length > 0) {
211
+ console.warn('warnings', warnings);
212
+ }
213
+ if (errors.length > 0) {
214
+ console.log('errors', errors);
215
+ process.exit(1);
216
+ }
210
217
  const isSuccessful = !warnings.length && !errors.length;
211
218
  if (isSuccessful) {
212
219
  if (!isFirstSuccessfulCompile) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuvi/service",
3
- "version": "2.0.0-dev.11",
3
+ "version": "2.0.0-dev.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/shuvijs/shuvi.git",
@@ -29,14 +29,14 @@
29
29
  "@babel/generator": "7.14.5",
30
30
  "@babel/parser": "7.14.7",
31
31
  "@babel/traverse": "7.14.7",
32
- "@shuvi/hook": "2.0.0-dev.11",
33
- "@shuvi/router": "2.0.0-dev.11",
34
- "@shuvi/runtime": "2.0.0-dev.11",
35
- "@shuvi/shared": "2.0.0-dev.11",
36
- "@shuvi/toolpack": "2.0.0-dev.11",
37
- "@shuvi/utils": "2.0.0-dev.11",
38
- "@shuvi/error-overlay": "2.0.0-dev.11",
39
- "@shuvi/reporters": "2.0.0-dev.11",
32
+ "@shuvi/hook": "2.0.0-dev.12",
33
+ "@shuvi/router": "2.0.0-dev.12",
34
+ "@shuvi/runtime": "2.0.0-dev.12",
35
+ "@shuvi/shared": "2.0.0-dev.12",
36
+ "@shuvi/toolpack": "2.0.0-dev.12",
37
+ "@shuvi/utils": "2.0.0-dev.12",
38
+ "@shuvi/error-overlay": "2.0.0-dev.12",
39
+ "@shuvi/reporters": "2.0.0-dev.12",
40
40
  "commander": "5.1.0",
41
41
  "comment-json": "4.2.2",
42
42
  "cross-spawn": "7.0.3",