ember-cli 4.6.0-beta.1 → 4.7.0

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,11 +1,24 @@
1
1
  # ember-cli Changelog
2
2
 
3
- ## v4.6.0-beta.1
3
+ ## v4.7.0
4
4
 
5
5
  #### Blueprint Changes
6
6
 
7
- - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.5.0...v4.6.0-beta.1)
8
- - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.5.0...v4.6.0-beta.1)
7
+ - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.6.0...v4.7.0)
8
+ - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.6.0...v4.7.0)
9
+
10
+ #### Changelog
11
+
12
+ - [#10009](https://github.com/ember-cli/ember-cli/pull/10009) [BUGFIX] Handle rebuild failures without exiting [@bendemboski](https://github.com/bendemboski)
13
+
14
+ Thank you to all who took the time to contribute!
15
+
16
+ ## v4.6.0
17
+
18
+ #### Blueprint Changes
19
+
20
+ - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.5.0...v4.6.0)
21
+ - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.5.0...v4.6.0)
9
22
 
10
23
  #### Changelog
11
24
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@embroider/test-setup": "^1.8.0",
3
+ "@embroider/test-setup": "^1.8.3",
4
4
  "ember-disable-prototype-extensions": "^1.1.3",
5
5
  "ember-try": "^2.0.0",
6
6
  "ember-source-channel-url": "^3.0.0"
@@ -25,9 +25,9 @@
25
25
  "devDependencies": {
26
26
  "@ember/optional-features": "^2.0.0",
27
27
  "@ember/test-helpers": "^2.8.1<% if (embroider) { %>",
28
- "@embroider/compat": "^1.8.0",
29
- "@embroider/core": "^1.8.0",
30
- "@embroider/webpack": "^1.8.0<% } %>",
28
+ "@embroider/compat": "^1.8.3",
29
+ "@embroider/core": "^1.8.3",
30
+ "@embroider/webpack": "^1.8.3<% } %>",
31
31
  "@glimmer/component": "^1.1.2",
32
32
  "@glimmer/tracking": "^1.1.2",
33
33
  "babel-eslint": "^10.1.0",
@@ -37,31 +37,31 @@
37
37
  "ember-cli-app-version": "^5.0.0",
38
38
  "ember-cli-babel": "^7.26.11",
39
39
  "ember-cli-dependency-checker": "^3.3.1",
40
- "ember-cli-htmlbars": "^6.0.1",
40
+ "ember-cli-htmlbars": "^6.1.0",
41
41
  "ember-cli-inject-live-reload": "^2.1.0",
42
42
  "ember-cli-sri": "^2.1.1",
43
43
  "ember-cli-terser": "^4.0.2",
44
- "ember-data": "~4.4.0",
45
- "ember-fetch": "^8.1.1",
44
+ "ember-data": "~4.7.1",
45
+ "ember-fetch": "^8.1.2",
46
46
  "ember-load-initializers": "^2.1.2",
47
47
  "ember-page-title": "^7.0.0",
48
48
  "ember-qunit": "^5.1.5",
49
49
  "ember-resolver": "^8.0.3",
50
- "ember-source": "~4.6.0-beta.2",
51
- "ember-template-lint": "^4.10.0<% if (welcome) { %>",
50
+ "ember-source": "~4.7.0",
51
+ "ember-template-lint": "^4.14.0<% if (welcome) { %>",
52
52
  "ember-welcome-page": "^6.2.0<% } %>",
53
53
  "eslint": "^7.32.0",
54
54
  "eslint-config-prettier": "^8.5.0",
55
- "eslint-plugin-ember": "^10.6.1",
55
+ "eslint-plugin-ember": "^11.0.6",
56
56
  "eslint-plugin-node": "^11.1.0",
57
- "eslint-plugin-prettier": "^4.0.0",
58
- "eslint-plugin-qunit": "^7.3.0",
57
+ "eslint-plugin-prettier": "^4.2.1",
58
+ "eslint-plugin-qunit": "^7.3.1",
59
59
  "loader.js": "^4.7.0",
60
60
  "npm-run-all": "^4.1.5",
61
61
  "prettier": "^2.7.1",
62
62
  "qunit": "^2.19.1",
63
63
  "qunit-dom": "^2.0.0",
64
- "webpack": "^5.73.0"
64
+ "webpack": "^5.74.0"
65
65
  },
66
66
  "engines": {
67
67
  "node": "14.* || >= 16"
@@ -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.6.0-beta.1-beta-79f8547eb8"
6
+ "version": "4.7.0-release-6277227f89"
7
7
  },
8
8
  "files": {
9
9
  "lib/broccoli/default-packager.js": {
@@ -5109,7 +5109,7 @@
5109
5109
  },
5110
5110
  {
5111
5111
  "file": "lib/models/builder.js",
5112
- "line": 233,
5112
+ "line": 237,
5113
5113
  "description": "Delegates to the `cleanup` method of the wrapped Broccoli builder.",
5114
5114
  "access": "private",
5115
5115
  "tagname": "",
@@ -5124,7 +5124,7 @@
5124
5124
  },
5125
5125
  {
5126
5126
  "file": "lib/models/builder.js",
5127
- "line": 265,
5127
+ "line": 269,
5128
5128
  "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",
5129
5129
  "access": "private",
5130
5130
  "tagname": "",
@@ -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
- const results = await watcher;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-cli",
3
- "version": "4.6.0-beta.1",
3
+ "version": "4.7.0",
4
4
  "description": "Command line tool for developing ambitious ember.js apps",
5
5
  "keywords": [
6
6
  "app",