ember-cli 4.3.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/.github/workflows/ci.yml +8 -8
- package/CHANGELOG.md +30 -0
- package/blueprints/addon/additional-dev-dependencies.json +1 -1
- package/blueprints/addon/files/.github/workflows/ci.yml +6 -6
- package/blueprints/addon/files/README.md +6 -12
- package/blueprints/app/files/.github/workflows/ci.yml +4 -4
- package/blueprints/app/files/package.json +14 -14
- package/docs/build/data.json +3 -3
- package/lib/broccoli/default-packager.js +2 -2
- package/lib/models/blueprint.js +4 -4
- package/lib/models/builder.js +4 -0
- package/lib/models/project.js +4 -4
- package/lib/tasks/server/middleware/history-support/index.js +10 -1
- package/package.json +9 -9
- package/blueprints/addon/files/gitignore +0 -2
package/.github/workflows/ci.yml
CHANGED
|
@@ -24,8 +24,8 @@ jobs:
|
|
|
24
24
|
runs-on: ubuntu-latest
|
|
25
25
|
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
28
|
-
- uses: actions/setup-node@
|
|
27
|
+
- uses: actions/checkout@v3
|
|
28
|
+
- uses: actions/setup-node@v3
|
|
29
29
|
with:
|
|
30
30
|
node-version: 12.x
|
|
31
31
|
cache: 'yarn'
|
|
@@ -42,8 +42,8 @@ jobs:
|
|
|
42
42
|
os: [ubuntu, macOS, windows]
|
|
43
43
|
|
|
44
44
|
steps:
|
|
45
|
-
- uses: actions/checkout@
|
|
46
|
-
- uses: actions/setup-node@
|
|
45
|
+
- uses: actions/checkout@v3
|
|
46
|
+
- uses: actions/setup-node@v3
|
|
47
47
|
with:
|
|
48
48
|
node-version: 12.x
|
|
49
49
|
cache: 'yarn'
|
|
@@ -64,8 +64,8 @@ jobs:
|
|
|
64
64
|
os: [ubuntu, windows]
|
|
65
65
|
|
|
66
66
|
steps:
|
|
67
|
-
- uses: actions/checkout@
|
|
68
|
-
- uses: actions/setup-node@
|
|
67
|
+
- uses: actions/checkout@v3
|
|
68
|
+
- uses: actions/setup-node@v3
|
|
69
69
|
with:
|
|
70
70
|
node-version: ${{ matrix.node-version }}
|
|
71
71
|
cache: 'yarn'
|
|
@@ -89,8 +89,8 @@ jobs:
|
|
|
89
89
|
- CLASSIC
|
|
90
90
|
|
|
91
91
|
steps:
|
|
92
|
-
- uses: actions/checkout@
|
|
93
|
-
- uses: actions/setup-node@
|
|
92
|
+
- uses: actions/checkout@v3
|
|
93
|
+
- uses: actions/setup-node@v3
|
|
94
94
|
with:
|
|
95
95
|
node-version: 12.x
|
|
96
96
|
cache: 'yarn'
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
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
|
+
|
|
16
|
+
## v4.4.0
|
|
17
|
+
|
|
18
|
+
#### Blueprint Changes
|
|
19
|
+
|
|
20
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.3.0...v4.4.0)
|
|
21
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.3.0...v4.4.0)
|
|
22
|
+
|
|
23
|
+
#### Changelog
|
|
24
|
+
|
|
25
|
+
- [#9611](https://github.com/ember-cli/ember-cli/pull/9611) use more standard markdown for addon readme [@mansona](https://github.com/mansona)
|
|
26
|
+
- [#9818](https://github.com/ember-cli/ember-cli/pull/9818) Update actions/checkout action to v3 [@SergeAstapov](https://github.com/SergeAstapov)
|
|
27
|
+
- [#9819](https://github.com/ember-cli/ember-cli/pull/9819) Update actions/setup-node action to v3 [@SergeAstapov](https://github.com/SergeAstapov)
|
|
28
|
+
- [#9822](https://github.com/ember-cli/ember-cli/pull/9822) Update `since.available` and `since.enabled` versions for Bower deprecations [@bertdeblock](https://github.com/bertdeblock)
|
|
29
|
+
- [#9850](https://github.com/ember-cli/ember-cli/pull/9850) Fix contents of addon `.gitignore` file [@bertdeblock](https://github.com/bertdeblock)
|
|
30
|
+
|
|
31
|
+
Thank you to all who took the time to contribute!
|
|
32
|
+
|
|
3
33
|
## v4.3.0
|
|
4
34
|
|
|
5
35
|
#### Blueprint Changes
|
|
@@ -17,9 +17,9 @@ jobs:
|
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/checkout@
|
|
20
|
+
- uses: actions/checkout@v3
|
|
21
21
|
- name: Install Node
|
|
22
|
-
uses: actions/setup-node@
|
|
22
|
+
uses: actions/setup-node@v3
|
|
23
23
|
with:
|
|
24
24
|
node-version: 12.x
|
|
25
25
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
@@ -35,8 +35,8 @@ jobs:
|
|
|
35
35
|
runs-on: ubuntu-latest
|
|
36
36
|
|
|
37
37
|
steps:
|
|
38
|
-
- uses: actions/checkout@
|
|
39
|
-
- uses: actions/setup-node@
|
|
38
|
+
- uses: actions/checkout@v3
|
|
39
|
+
- uses: actions/setup-node@v3
|
|
40
40
|
with:
|
|
41
41
|
node-version: 12.x
|
|
42
42
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
@@ -64,9 +64,9 @@ jobs:
|
|
|
64
64
|
- embroider-optimized
|
|
65
65
|
|
|
66
66
|
steps:
|
|
67
|
-
- uses: actions/checkout@
|
|
67
|
+
- uses: actions/checkout@v3
|
|
68
68
|
- name: Install Node
|
|
69
|
-
uses: actions/setup-node@
|
|
69
|
+
uses: actions/setup-node@v3
|
|
70
70
|
with:
|
|
71
71
|
node-version: 12.x
|
|
72
72
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
<%= addonName %>
|
|
2
|
-
==============================================================================
|
|
1
|
+
# <%= addonName %>
|
|
3
2
|
|
|
4
3
|
[Short description of the addon.]
|
|
5
4
|
|
|
6
5
|
|
|
7
|
-
Compatibility
|
|
8
|
-
------------------------------------------------------------------------------
|
|
6
|
+
## Compatibility
|
|
9
7
|
|
|
10
8
|
* Ember.js v3.24 or above
|
|
11
9
|
* Ember CLI v3.24 or above
|
|
12
10
|
* Node.js v12 or above
|
|
13
11
|
|
|
14
12
|
|
|
15
|
-
Installation
|
|
16
|
-
------------------------------------------------------------------------------
|
|
13
|
+
## Installation
|
|
17
14
|
|
|
18
15
|
```
|
|
19
16
|
ember install <%= addonName %>
|
|
20
17
|
```
|
|
21
18
|
|
|
22
19
|
|
|
23
|
-
Usage
|
|
24
|
-
------------------------------------------------------------------------------
|
|
20
|
+
## Usage
|
|
25
21
|
|
|
26
22
|
[Longer description of how to use the addon in apps.]
|
|
27
23
|
|
|
28
24
|
|
|
29
|
-
Contributing
|
|
30
|
-
------------------------------------------------------------------------------
|
|
25
|
+
## Contributing
|
|
31
26
|
|
|
32
27
|
See the [Contributing](CONTRIBUTING.md) guide for details.
|
|
33
28
|
|
|
34
29
|
|
|
35
|
-
License
|
|
36
|
-
------------------------------------------------------------------------------
|
|
30
|
+
## License
|
|
37
31
|
|
|
38
32
|
This project is licensed under the [MIT License](LICENSE.md).
|
|
@@ -17,9 +17,9 @@ jobs:
|
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/checkout@
|
|
20
|
+
- uses: actions/checkout@v3
|
|
21
21
|
- name: Install Node
|
|
22
|
-
uses: actions/setup-node@
|
|
22
|
+
uses: actions/setup-node@v3
|
|
23
23
|
with:
|
|
24
24
|
node-version: 12.x
|
|
25
25
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
@@ -33,9 +33,9 @@ jobs:
|
|
|
33
33
|
runs-on: ubuntu-latest
|
|
34
34
|
|
|
35
35
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
36
|
+
- uses: actions/checkout@v3
|
|
37
37
|
- name: Install Node
|
|
38
|
-
uses: actions/setup-node@
|
|
38
|
+
uses: actions/setup-node@v3
|
|
39
39
|
with:
|
|
40
40
|
node-version: 12.x
|
|
41
41
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
@@ -24,45 +24,45 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@ember/optional-features": "^2.0.0",
|
|
27
|
-
"@ember/test-helpers": "^2.
|
|
28
|
-
"@embroider/compat": "^1.
|
|
29
|
-
"@embroider/core": "^1.
|
|
30
|
-
"@embroider/webpack": "^1.
|
|
31
|
-
"@glimmer/component": "^1.
|
|
32
|
-
"@glimmer/tracking": "^1.
|
|
27
|
+
"@ember/test-helpers": "^2.7.0<% if (embroider) { %>",
|
|
28
|
+
"@embroider/compat": "^1.6.0",
|
|
29
|
+
"@embroider/core": "^1.6.0",
|
|
30
|
+
"@embroider/webpack": "^1.6.0<% } %>",
|
|
31
|
+
"@glimmer/component": "^1.1.2",
|
|
32
|
+
"@glimmer/tracking": "^1.1.2",
|
|
33
33
|
"babel-eslint": "^10.1.0",
|
|
34
34
|
"broccoli-asset-rev": "^3.0.0",
|
|
35
35
|
"ember-auto-import": "^2.4.1",
|
|
36
36
|
"ember-cli": "~<%= emberCLIVersion %>",
|
|
37
37
|
"ember-cli-app-version": "^5.0.0",
|
|
38
38
|
"ember-cli-babel": "^7.26.11",
|
|
39
|
-
"ember-cli-dependency-checker": "^3.
|
|
39
|
+
"ember-cli-dependency-checker": "^3.3.1",
|
|
40
40
|
"ember-cli-htmlbars": "^6.0.1",
|
|
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.
|
|
44
|
+
"ember-data": "~4.4.0",
|
|
45
45
|
"ember-export-application-global": "^2.0.1",
|
|
46
46
|
"ember-fetch": "^8.1.1",
|
|
47
47
|
"ember-load-initializers": "^2.1.2",
|
|
48
48
|
"ember-page-title": "^7.0.0",
|
|
49
49
|
"ember-qunit": "^5.1.5",
|
|
50
50
|
"ember-resolver": "^8.0.3",
|
|
51
|
-
"ember-source": "~4.
|
|
52
|
-
"ember-template-lint": "^4.
|
|
51
|
+
"ember-source": "~4.4.0",
|
|
52
|
+
"ember-template-lint": "^4.8.0<% if (welcome) { %>",
|
|
53
53
|
"ember-welcome-page": "^6.2.0<% } %>",
|
|
54
54
|
"eslint": "^7.32.0",
|
|
55
55
|
"eslint-config-prettier": "^8.5.0",
|
|
56
|
-
"eslint-plugin-ember": "^10.
|
|
56
|
+
"eslint-plugin-ember": "^10.6.1",
|
|
57
57
|
"eslint-plugin-node": "^11.1.0",
|
|
58
58
|
"eslint-plugin-prettier": "^4.0.0",
|
|
59
59
|
"eslint-plugin-qunit": "^7.2.0",
|
|
60
60
|
"loader.js": "^4.7.0",
|
|
61
61
|
"npm-run-all": "^4.1.5",
|
|
62
|
-
"prettier": "^2.6.
|
|
63
|
-
"qunit": "^2.
|
|
62
|
+
"prettier": "^2.6.2",
|
|
63
|
+
"qunit": "^2.19.1",
|
|
64
64
|
"qunit-dom": "^2.0.0",
|
|
65
|
-
"webpack": "^5.
|
|
65
|
+
"webpack": "^5.72.1"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": "12.* || 14.* || >= 16"
|
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.
|
|
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/blueprint.js
CHANGED
|
@@ -1165,8 +1165,8 @@ let Blueprint = CoreObject.extend({
|
|
|
1165
1165
|
for: 'ember-cli',
|
|
1166
1166
|
id: 'ember-cli.blueprint.add-bower-package-to-project',
|
|
1167
1167
|
since: {
|
|
1168
|
-
available: '4.
|
|
1169
|
-
enabled: '4.
|
|
1168
|
+
available: '4.3.0',
|
|
1169
|
+
enabled: '4.3.0',
|
|
1170
1170
|
},
|
|
1171
1171
|
until: '5.0.0',
|
|
1172
1172
|
}
|
|
@@ -1218,8 +1218,8 @@ let Blueprint = CoreObject.extend({
|
|
|
1218
1218
|
for: 'ember-cli',
|
|
1219
1219
|
id: 'ember-cli.blueprint.add-bower-packages-to-project',
|
|
1220
1220
|
since: {
|
|
1221
|
-
available: '4.
|
|
1222
|
-
enabled: '4.
|
|
1221
|
+
available: '4.3.0',
|
|
1222
|
+
enabled: '4.3.0',
|
|
1223
1223
|
},
|
|
1224
1224
|
until: '5.0.0',
|
|
1225
1225
|
}
|
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);
|
package/lib/models/project.js
CHANGED
|
@@ -140,8 +140,8 @@ class Project {
|
|
|
140
140
|
for: 'ember-cli',
|
|
141
141
|
id: 'ember-cli.project.bower-directory',
|
|
142
142
|
since: {
|
|
143
|
-
available: '4.
|
|
144
|
-
enabled: '4.
|
|
143
|
+
available: '4.3.0',
|
|
144
|
+
enabled: '4.3.0',
|
|
145
145
|
},
|
|
146
146
|
until: '5.0.0',
|
|
147
147
|
}
|
|
@@ -419,8 +419,8 @@ class Project {
|
|
|
419
419
|
for: 'ember-cli',
|
|
420
420
|
id: 'ember-cli.project.bower-dependencies',
|
|
421
421
|
since: {
|
|
422
|
-
available: '4.
|
|
423
|
-
enabled: '4.
|
|
422
|
+
available: '4.3.0',
|
|
423
|
+
enabled: '4.3.0',
|
|
424
424
|
},
|
|
425
425
|
until: '5.0.0',
|
|
426
426
|
}
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"test:slow": "node --unhandled-rejections=strict tests/runner slow"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/core": "^7.
|
|
40
|
+
"@babel/core": "^7.17.9",
|
|
41
41
|
"@babel/plugin-transform-modules-amd": "^7.16.7",
|
|
42
42
|
"amd-name-resolver": "^1.3.1",
|
|
43
43
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"lodash.template": "^4.5.0",
|
|
103
103
|
"markdown-it": "^12.2.0",
|
|
104
104
|
"markdown-it-terminal": "0.2.1",
|
|
105
|
-
"minimatch": "^
|
|
105
|
+
"minimatch": "^5.0.1",
|
|
106
106
|
"morgan": "^1.10.0",
|
|
107
107
|
"nopt": "^3.0.6",
|
|
108
108
|
"npm-package-arg": "^8.1.5",
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
"remove-types": "^1.0.0",
|
|
115
115
|
"resolve": "^1.20.0",
|
|
116
116
|
"resolve-package-path": "^3.1.0",
|
|
117
|
-
"safe-stable-stringify": "^2.
|
|
117
|
+
"safe-stable-stringify": "^2.3.1",
|
|
118
118
|
"sane": "^5.0.1",
|
|
119
119
|
"semver": "^7.3.5",
|
|
120
120
|
"silent-error": "^1.1.1",
|
|
121
|
-
"sort-package-json": "^1.
|
|
121
|
+
"sort-package-json": "^1.55.0",
|
|
122
122
|
"symlink-or-copy": "^1.3.1",
|
|
123
123
|
"temp": "0.9.4",
|
|
124
124
|
"testem": "^3.6.0",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"chai-jest-snapshot": "^2.0.0",
|
|
142
142
|
"ember-cli-blueprint-test-helpers": "^0.19.2",
|
|
143
143
|
"ember-cli-internal-test-helpers": "^0.9.1",
|
|
144
|
-
"eslint": "^8.
|
|
144
|
+
"eslint": "^8.10.0",
|
|
145
145
|
"eslint-config-prettier": "^7.2.0",
|
|
146
146
|
"eslint-plugin-chai-expect": "^3.0.0",
|
|
147
147
|
"eslint-plugin-mocha": "^9.0.0",
|
|
@@ -150,11 +150,11 @@
|
|
|
150
150
|
"fixturify": "^2.1.0",
|
|
151
151
|
"jsdom": "^19.0.0",
|
|
152
152
|
"latest-version": "^5.1.0",
|
|
153
|
-
"mocha": "^9.2.
|
|
153
|
+
"mocha": "^9.2.2",
|
|
154
154
|
"nock": "^13.2.2",
|
|
155
155
|
"nyc": "^15.1.0",
|
|
156
|
-
"prettier": "2.
|
|
157
|
-
"release-it": "^14.
|
|
156
|
+
"prettier": "2.6.2",
|
|
157
|
+
"release-it": "^14.14.0",
|
|
158
158
|
"rimraf": "^3.0.2",
|
|
159
159
|
"strip-ansi": "^6.0.0",
|
|
160
160
|
"supertest": "^6.1.6",
|