ember-cli 4.4.0 → 4.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## v4.4.1
|
|
4
|
+
|
|
5
|
+
#### Blueprint Changes
|
|
6
|
+
|
|
7
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.4.0...v4.4.1)
|
|
8
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.4.0...v4.4.1)
|
|
9
|
+
|
|
10
|
+
#### Changelog
|
|
11
|
+
|
|
12
|
+
- [#10010](https://github.com/ember-cli/ember-cli/pull/10010) [BUGFIX] Handle rebuild failures without exiting [@bendemboski](https://github.com/bendemboski)
|
|
13
|
+
|
|
14
|
+
Thank you to all who took the time to contribute!
|
|
15
|
+
|
|
3
16
|
## v4.4.0
|
|
4
17
|
|
|
5
18
|
#### Blueprint Changes
|
package/docs/build/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"logo": "https://ember-cli.com/assets/images/ember-cli-logo-small-dark.png",
|
|
4
4
|
"name": "ember-cli",
|
|
5
5
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
6
|
-
"version": "4.4.
|
|
6
|
+
"version": "4.4.1-lts-4-4-17e72db733"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
|
@@ -5118,7 +5118,7 @@
|
|
|
5118
5118
|
},
|
|
5119
5119
|
{
|
|
5120
5120
|
"file": "lib/models/builder.js",
|
|
5121
|
-
"line":
|
|
5121
|
+
"line": 237,
|
|
5122
5122
|
"description": "Delegates to the `cleanup` method of the wrapped Broccoli builder.",
|
|
5123
5123
|
"access": "private",
|
|
5124
5124
|
"tagname": "",
|
|
@@ -5133,7 +5133,7 @@
|
|
|
5133
5133
|
},
|
|
5134
5134
|
{
|
|
5135
5135
|
"file": "lib/models/builder.js",
|
|
5136
|
-
"line":
|
|
5136
|
+
"line": 269,
|
|
5137
5137
|
"description": "Checks for issues in the environment that can't easily be detected until\nafter a build and issues any necessary deprecation warnings.\n\n- check for old (pre 0.1.4) versions of heimdalljs",
|
|
5138
5138
|
"access": "private",
|
|
5139
5139
|
"tagname": "",
|
package/lib/models/builder.js
CHANGED
|
@@ -221,6 +221,10 @@ class Builder extends CoreObject {
|
|
|
221
221
|
} catch (error) {
|
|
222
222
|
await this.processAddonBuildSteps('buildError', error);
|
|
223
223
|
|
|
224
|
+
// Mark this as a builder error so the watcher knows it has been handled
|
|
225
|
+
// and won't re-throw it
|
|
226
|
+
error.isBuilderError = true;
|
|
227
|
+
|
|
224
228
|
throw error;
|
|
225
229
|
} finally {
|
|
226
230
|
clearInterval(uiProgressIntervalID);
|
|
@@ -49,7 +49,16 @@ class HistorySupportAddon {
|
|
|
49
49
|
|
|
50
50
|
app.use(async (req, _, next) => {
|
|
51
51
|
try {
|
|
52
|
-
|
|
52
|
+
let results;
|
|
53
|
+
try {
|
|
54
|
+
results = await watcher;
|
|
55
|
+
} catch (e) {
|
|
56
|
+
// This means there was a build error, so we won't actually be serving
|
|
57
|
+
// index.html, and we have nothing to do. We have to catch it here,
|
|
58
|
+
// though, or it will go uncaught and cause the process to exit.
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
|
|
53
62
|
if (this.shouldHandleRequest(req, options)) {
|
|
54
63
|
let assetPath = req.path.slice(baseURL.length);
|
|
55
64
|
let isFile = false;
|