@roots/bud-compiler 2023.7.5-318 → 2023.7.6-734

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/lib/service.js CHANGED
@@ -49,6 +49,7 @@ export class Compiler extends Service {
49
49
  throw error;
50
50
  });
51
51
  this.logger.timeEnd(`initialize`);
52
+ this.app.dashboard.updateStatus(`compiling`);
52
53
  try {
53
54
  this.instance = this.implementation(this.config);
54
55
  }
@@ -90,7 +91,7 @@ export class Compiler extends Service {
90
91
  : child.name;
91
92
  this.stats = stats;
92
93
  this.compilationStats = stats.toJson(statsOptions);
93
- this.app.dashboard.update(this.compilationStats);
94
+ this.app.dashboard.updateStats(this.compilationStats);
94
95
  if (stats.hasErrors()) {
95
96
  process.exitCode = 1;
96
97
  this.compilationStats.children = this.compilationStats.children?.map(child => ({
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@roots/bud-compiler",
3
- "version": "2023.7.5-318",
3
+ "version": "2023.7.6-734",
4
4
  "description": "Compilation handler",
5
5
  "engines": {
6
6
  "node": ">=16"
7
7
  },
8
8
  "contributors": [
9
9
  {
10
- "name": "Kelly Mears",
11
10
  "email": "developers@tinypixel.dev",
11
+ "name": "Kelly Mears",
12
12
  "url": "https://github.com/kellymears"
13
13
  },
14
14
  {
15
- "name": "Ben Word",
16
15
  "email": "ben@benword.com",
16
+ "name": "Ben Word",
17
17
  "url": "https://github.com/retlehs"
18
18
  },
19
19
  {
@@ -21,8 +21,8 @@
21
21
  "url": "https://github.com/QWp6t"
22
22
  },
23
23
  {
24
- "name": "Brandon",
25
24
  "email": "brandon@tendency.me",
25
+ "name": "Brandon",
26
26
  "url": "https://github.com/Log1x"
27
27
  }
28
28
  ],
@@ -61,15 +61,15 @@
61
61
  "types": "./lib/index.d.ts",
62
62
  "module": "./lib/index.js",
63
63
  "devDependencies": {
64
- "@roots/bud-api": "2023.7.5-318",
64
+ "@roots/bud-api": "2023.7.6-734",
65
65
  "@skypack/package-check": "0.2.2",
66
66
  "@types/node": "18.16.18",
67
67
  "@types/react": "18.2.14"
68
68
  },
69
69
  "dependencies": {
70
- "@roots/bud-dashboard": "2023.7.5-318",
71
- "@roots/bud-framework": "2023.7.5-318",
72
- "@roots/bud-support": "2023.7.5-318",
70
+ "@roots/bud-dashboard": "2023.7.6-734",
71
+ "@roots/bud-framework": "2023.7.6-734",
72
+ "@roots/bud-support": "2023.7.6-734",
73
73
  "react": "18.2.0",
74
74
  "tslib": "2.6.0"
75
75
  },
package/src/service.tsx CHANGED
@@ -77,6 +77,7 @@ export class Compiler extends Service implements BudCompiler {
77
77
  })
78
78
 
79
79
  this.logger.timeEnd(`initialize`)
80
+ this.app.dashboard.updateStatus(`compiling`)
80
81
 
81
82
  try {
82
83
  this.instance = this.implementation(this.config)
@@ -131,7 +132,7 @@ export class Compiler extends Service implements BudCompiler {
131
132
 
132
133
  this.compilationStats = stats.toJson(statsOptions)
133
134
 
134
- this.app.dashboard.update(this.compilationStats)
135
+ this.app.dashboard.updateStats(this.compilationStats)
135
136
 
136
137
  if (stats.hasErrors()) {
137
138
  process.exitCode = 1