ember-cli 3.28.0 → 3.28.4
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 +1 -1
- package/CHANGELOG.md +49 -0
- package/blueprints/addon/files/addon-config/ember-try.js +3 -0
- package/docs/build/classes/Addon.html +1 -1
- package/docs/build/classes/AmdTransformAddon.html +1 -1
- package/docs/build/classes/Blueprint.html +1 -1
- package/docs/build/classes/Builder.html +1 -1
- package/docs/build/classes/CLI.html +1 -1
- package/docs/build/classes/Command.html +1 -1
- package/docs/build/classes/DefaultPackager.html +1 -1
- package/docs/build/classes/EmberAddon.html +1 -1
- package/docs/build/classes/EmberApp.html +1 -1
- package/docs/build/classes/HardwareInfo.html +1 -1
- package/docs/build/classes/HistorySupportAddon.html +1 -1
- package/docs/build/classes/Instrumentation.html +1 -1
- package/docs/build/classes/NodeModulesList.html +1 -1
- package/docs/build/classes/NpmTask.html +1 -1
- package/docs/build/classes/PackageInfo.html +1 -1
- package/docs/build/classes/PackageInfoCache.html +1 -1
- package/docs/build/classes/PerBundleAddonCache {.html +1 -1
- package/docs/build/classes/Project.html +7 -7
- package/docs/build/classes/ServeFilesAddon.html +1 -1
- package/docs/build/classes/TestsServerAddon.html +1 -1
- package/docs/build/classes/WatcherAddon.html +1 -1
- package/docs/build/classes/WindowsSymlinkChecker.html +1 -1
- package/docs/build/data.json +7 -7
- package/docs/build/files/lib_broccoli_default-packager.js.html +1 -1
- package/docs/build/files/lib_broccoli_ember-addon.js.html +1 -1
- package/docs/build/files/lib_broccoli_ember-app.js.html +1 -1
- package/docs/build/files/lib_cli_cli.js.html +1 -1
- package/docs/build/files/lib_models_addon-info.js.html +1 -1
- package/docs/build/files/lib_models_addon.js.html +1 -1
- package/docs/build/files/lib_models_blueprint.js.html +1 -1
- package/docs/build/files/lib_models_builder.js.html +1 -1
- package/docs/build/files/lib_models_command.js.html +1 -1
- package/docs/build/files/lib_models_hardware-info.js.html +1 -1
- package/docs/build/files/lib_models_host-info-cache.js.html +1 -1
- package/docs/build/files/lib_models_installation-checker.js.html +1 -1
- package/docs/build/files/lib_models_instantiate-addons.js.html +1 -1
- package/docs/build/files/lib_models_instrumentation.js.html +1 -1
- package/docs/build/files/lib_models_package-info-cache_index.js.html +1 -1
- package/docs/build/files/lib_models_package-info-cache_node-modules-list.js.html +1 -1
- package/docs/build/files/lib_models_package-info-cache_package-info.js.html +1 -1
- package/docs/build/files/lib_models_per-bundle-addon-cache_addon-proxy.js.html +1 -1
- package/docs/build/files/lib_models_per-bundle-addon-cache_index.js.html +1 -1
- package/docs/build/files/lib_models_per-bundle-addon-cache_target-instance.js.html +1 -1
- package/docs/build/files/lib_models_project.js.html +6 -1
- package/docs/build/files/lib_models_task.js.html +1 -1
- package/docs/build/files/lib_tasks_build-watch.js.html +1 -1
- package/docs/build/files/lib_tasks_npm-task.js.html +1 -1
- package/docs/build/files/lib_tasks_serve.js.html +1 -1
- package/docs/build/files/lib_tasks_server_middleware_broccoli-serve-files_index.js.html +1 -1
- package/docs/build/files/lib_tasks_server_middleware_broccoli-watcher_index.js.html +1 -1
- package/docs/build/files/lib_tasks_server_middleware_history-support_index.js.html +1 -1
- package/docs/build/files/lib_tasks_server_middleware_tests-server_index.js.html +1 -1
- package/docs/build/files/lib_tasks_test-server.js.html +1 -1
- package/docs/build/files/lib_tasks_transforms_amd_index.js.html +1 -1
- package/docs/build/files/lib_utilities_ember-app-utils.js.html +1 -1
- package/docs/build/files/lib_utilities_insert-into-file.js.html +1 -1
- package/docs/build/files/lib_utilities_is-lazy-engine.js.html +1 -1
- package/docs/build/files/lib_utilities_is-yarn-project.js.html +1 -1
- package/docs/build/files/lib_utilities_valid-project-name.js.html +1 -1
- package/docs/build/files/lib_utilities_will-interrupt-process.js.html +1 -1
- package/docs/build/files/lib_utilities_windows-admin.js.html +1 -1
- package/docs/build/index.html +1 -1
- package/docs/build/modules/ember-cli.html +1 -1
- package/docs/build/modules/is-lazy-engine.html +1 -1
- package/lib/models/project.js +5 -0
- package/lib/tasks/generate-from-blueprint.js +0 -1
- package/lib/tasks/install-blueprint.js +0 -1
- package/package.json +1 -1
package/.github/workflows/ci.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## v3.28.4
|
|
4
|
+
|
|
5
|
+
#### Blueprint Changes
|
|
6
|
+
|
|
7
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v3.28.3...v3.28.4)
|
|
8
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v3.28.3...v3.28.4)
|
|
9
|
+
|
|
10
|
+
#### Changelog
|
|
11
|
+
|
|
12
|
+
- [#9694](https://github.com/ember-cli/ember-cli/pull/9694) test in node 16 LTS [@kellyselden](https://github.com/kellyselden)
|
|
13
|
+
|
|
14
|
+
Thank you to all who took the time to contribute!
|
|
15
|
+
|
|
16
|
+
## v3.28.3
|
|
17
|
+
|
|
18
|
+
#### Blueprint Changes
|
|
19
|
+
|
|
20
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v3.28.2...v3.28.3)
|
|
21
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v3.28.2...v3.28.3)
|
|
22
|
+
|
|
23
|
+
#### Changelog
|
|
24
|
+
|
|
25
|
+
- [#9670](https://github.com/ember-cli/ember-cli/pull/9670) Don't emit an error when the `lint:fix` script fails post blueprint generation [@bertdeblock](https://github.com/bertdeblock)
|
|
26
|
+
|
|
27
|
+
Thank you to all who took the time to contribute!
|
|
28
|
+
|
|
29
|
+
## v3.28.2
|
|
30
|
+
|
|
31
|
+
#### Blueprint Changes
|
|
32
|
+
|
|
33
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v3.28.1...v3.28.2)
|
|
34
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v3.28.1...v3.28.2)
|
|
35
|
+
|
|
36
|
+
#### Changelog
|
|
37
|
+
|
|
38
|
+
- [#9659](https://github.com/ember-cli/ember-cli/pull/9659) Ensure `ember-classic` ember-try scenario uses Ember 3.x [@rwjblue](https://github.com/rwjblue)
|
|
39
|
+
|
|
40
|
+
Thank you to all who took the time to contribute!
|
|
41
|
+
|
|
42
|
+
## v3.28.1
|
|
43
|
+
|
|
44
|
+
#### Blueprint Changes
|
|
45
|
+
|
|
46
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v3.28.0...v3.28.1)
|
|
47
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v3.28.0...v3.28.1)
|
|
48
|
+
|
|
49
|
+
#### Changelog
|
|
50
|
+
|
|
51
|
+
- [#9618](https://github.com/ember-cli/ember-cli/pull/9618) Ensure discovered addons are refreshed after `ember install` (fix usage of default blueprints) [@brendenpalmer](https://github.com/brendenpalmer)
|
|
3
52
|
|
|
4
53
|
## v3.28.0
|
|
5
54
|
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
<div class="version-info">
|
|
154
|
-
Version: 3.28.
|
|
154
|
+
Version: 3.28.4-release-f17c6d0536
|
|
155
155
|
</div>
|
|
156
156
|
|
|
157
157
|
</div>
|
|
@@ -729,7 +729,7 @@ the path to your project.</p>
|
|
|
729
729
|
<h2 id="static-public-methods">Static Public Methods</h2>
|
|
730
730
|
<div class="method item">
|
|
731
731
|
<div id="method_getProjectRoot" class="title">
|
|
732
|
-
<span class="source-link"><a href="../files/lib_models_project.js.html#
|
|
732
|
+
<span class="source-link"><a href="../files/lib_models_project.js.html#l734"><code>lib/models/project.js:734</code></a></span>
|
|
733
733
|
<h3 class="">
|
|
734
734
|
public
|
|
735
735
|
static
|
|
@@ -762,7 +762,7 @@ the path to your project.</p>
|
|
|
762
762
|
<h2 id="static-private-methods">Static Private Methods</h2>
|
|
763
763
|
<div class="method item private">
|
|
764
764
|
<div id="method_closestSync" class="title">
|
|
765
|
-
<span class="source-link"><a href="../files/lib_models_project.js.html#
|
|
765
|
+
<span class="source-link"><a href="../files/lib_models_project.js.html#l659"><code>lib/models/project.js:659</code></a></span>
|
|
766
766
|
<h3 class="">
|
|
767
767
|
private
|
|
768
768
|
static
|
|
@@ -837,7 +837,7 @@ specified <code>projectRoot</code>.</p>
|
|
|
837
837
|
</div>
|
|
838
838
|
<div class="method item private">
|
|
839
839
|
<div id="method_projectOrnullProject" class="title">
|
|
840
|
-
<span class="source-link"><a href="../files/lib_models_project.js.html#
|
|
840
|
+
<span class="source-link"><a href="../files/lib_models_project.js.html#l710"><code>lib/models/project.js:710</code></a></span>
|
|
841
841
|
<h3 class="">
|
|
842
842
|
private
|
|
843
843
|
static
|
|
@@ -1096,7 +1096,7 @@ if we can watch additional directories (like bower_components) "cheaply".</p>
|
|
|
1096
1096
|
</div>
|
|
1097
1097
|
<div class="method item public">
|
|
1098
1098
|
<div id="method_findAddonByName" class="title">
|
|
1099
|
-
<span class="source-link"><a href="../files/lib_models_project.js.html#
|
|
1099
|
+
<span class="source-link"><a href="../files/lib_models_project.js.html#l621"><code>lib/models/project.js:621</code></a></span>
|
|
1100
1100
|
<h3 class="">
|
|
1101
1101
|
public
|
|
1102
1102
|
|
|
@@ -1153,7 +1153,7 @@ if we can watch additional directories (like bower_components) "cheaply".</p>
|
|
|
1153
1153
|
</div>
|
|
1154
1154
|
<div class="method item public">
|
|
1155
1155
|
<div id="method_generateTestFile" class="title">
|
|
1156
|
-
<span class="source-link"><a href="../files/lib_models_project.js.html#
|
|
1156
|
+
<span class="source-link"><a href="../files/lib_models_project.js.html#l635"><code>lib/models/project.js:635</code></a></span>
|
|
1157
1157
|
<h3 class="">
|
|
1158
1158
|
public
|
|
1159
1159
|
|
|
@@ -1924,7 +1924,7 @@ This checks whether ember-cli is listed in devDependencies.</p>
|
|
|
1924
1924
|
</div>
|
|
1925
1925
|
<div class="method item private">
|
|
1926
1926
|
<div id="method_reloadAddons" class="title">
|
|
1927
|
-
<span class="source-link"><a href="../files/lib_models_project.js.html#
|
|
1927
|
+
<span class="source-link"><a href="../files/lib_models_project.js.html#l609"><code>lib/models/project.js:609</code></a></span>
|
|
1928
1928
|
<h3 class="">
|
|
1929
1929
|
private
|
|
1930
1930
|
|
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": "3.28.
|
|
6
|
+
"version": "3.28.4-release-f17c6d0536"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
|
@@ -6121,7 +6121,7 @@
|
|
|
6121
6121
|
},
|
|
6122
6122
|
{
|
|
6123
6123
|
"file": "lib/models/project.js",
|
|
6124
|
-
"line":
|
|
6124
|
+
"line": 609,
|
|
6125
6125
|
"description": "Re-initializes addons.",
|
|
6126
6126
|
"access": "private",
|
|
6127
6127
|
"tagname": "",
|
|
@@ -6132,7 +6132,7 @@
|
|
|
6132
6132
|
},
|
|
6133
6133
|
{
|
|
6134
6134
|
"file": "lib/models/project.js",
|
|
6135
|
-
"line":
|
|
6135
|
+
"line": 621,
|
|
6136
6136
|
"description": "Find an addon by its name",
|
|
6137
6137
|
"access": "public",
|
|
6138
6138
|
"tagname": "",
|
|
@@ -6154,7 +6154,7 @@
|
|
|
6154
6154
|
},
|
|
6155
6155
|
{
|
|
6156
6156
|
"file": "lib/models/project.js",
|
|
6157
|
-
"line":
|
|
6157
|
+
"line": 635,
|
|
6158
6158
|
"description": "Generate test file contents.\n\nThis method is supposed to be overwritten by test framework addons\nlike `ember-qunit` and `ember-mocha`.",
|
|
6159
6159
|
"access": "public",
|
|
6160
6160
|
"tagname": "",
|
|
@@ -6181,7 +6181,7 @@
|
|
|
6181
6181
|
},
|
|
6182
6182
|
{
|
|
6183
6183
|
"file": "lib/models/project.js",
|
|
6184
|
-
"line":
|
|
6184
|
+
"line": 659,
|
|
6185
6185
|
"description": "Returns a new project based on the first `package.json` that is found\nin `pathName`.\n\nIf the above `package.json` specifies `ember-addon.projectRoot`, we load\nthe project based on the relative path between this directory and the\nspecified `projectRoot`.",
|
|
6186
6186
|
"access": "private",
|
|
6187
6187
|
"tagname": "",
|
|
@@ -6209,7 +6209,7 @@
|
|
|
6209
6209
|
},
|
|
6210
6210
|
{
|
|
6211
6211
|
"file": "lib/models/project.js",
|
|
6212
|
-
"line":
|
|
6212
|
+
"line": 710,
|
|
6213
6213
|
"description": "Returns a new project based on the first package.json that is found\nin `pathName`, or the nullProject.\n\nThe nullProject signifies no-project, but abides by the null object pattern",
|
|
6214
6214
|
"access": "private",
|
|
6215
6215
|
"tagname": "",
|
|
@@ -6232,7 +6232,7 @@
|
|
|
6232
6232
|
},
|
|
6233
6233
|
{
|
|
6234
6234
|
"file": "lib/models/project.js",
|
|
6235
|
-
"line":
|
|
6235
|
+
"line": 734,
|
|
6236
6236
|
"description": "Returns the project root based on the first package.json that is found",
|
|
6237
6237
|
"static": 1,
|
|
6238
6238
|
"itemtype": "method",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
<div class="version-info">
|
|
72
|
-
Version: 3.28.
|
|
72
|
+
Version: 3.28.4-release-f17c6d0536
|
|
73
73
|
</div>
|
|
74
74
|
|
|
75
75
|
</div>
|
|
@@ -676,6 +676,11 @@ class Project {
|
|
|
676
676
|
|
|
677
677
|
this.packageInfoCache.reloadProjects();
|
|
678
678
|
|
|
679
|
+
// update `_packageInfo` after reloading projects from the `PackageInfoCache` instance
|
|
680
|
+
// if we don't do this we get into a state where `_packageInfo` is referencing the old
|
|
681
|
+
// pkginfo object that hasn't been updated/reloaded
|
|
682
|
+
this._packageInfo = this.packageInfoCache.loadProject(this);
|
|
683
|
+
|
|
679
684
|
if (PerBundleAddonCache.isEnabled()) {
|
|
680
685
|
this.perBundleAddonCache = new PerBundleAddonCache(this);
|
|
681
686
|
}
|
package/docs/build/index.html
CHANGED
package/lib/models/project.js
CHANGED
|
@@ -594,6 +594,11 @@ class Project {
|
|
|
594
594
|
|
|
595
595
|
this.packageInfoCache.reloadProjects();
|
|
596
596
|
|
|
597
|
+
// update `_packageInfo` after reloading projects from the `PackageInfoCache` instance
|
|
598
|
+
// if we don't do this we get into a state where `_packageInfo` is referencing the old
|
|
599
|
+
// pkginfo object that hasn't been updated/reloaded
|
|
600
|
+
this._packageInfo = this.packageInfoCache.loadProject(this);
|
|
601
|
+
|
|
597
602
|
if (PerBundleAddonCache.isEnabled()) {
|
|
598
603
|
this.perBundleAddonCache = new PerBundleAddonCache(this);
|
|
599
604
|
}
|