ember-cli 4.0.0 → 4.1.0-beta.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.
Files changed (107) hide show
  1. package/.github/workflows/ci.yml +4 -4
  2. package/CHANGELOG.md +17 -2
  3. package/blueprints/app/files/package.json +2 -2
  4. package/docs/build/data.json +3 -3
  5. package/lib/models/host-info-cache.js +3 -5
  6. package/lib/models/per-bundle-addon-cache/index.js +2 -3
  7. package/lib/utilities/get-lang-arg.js +45 -45
  8. package/package.json +25 -25
  9. package/.github/ISSUE_TEMPLATE.md +0 -12
  10. package/.github/dependabot.yml +0 -15
  11. package/.github/workflows/coverage.yml +0 -31
  12. package/docs/analytics.md +0 -44
  13. package/docs/architecture.md +0 -316
  14. package/docs/assets/architecture/Ember-CLI architecture.png +0 -0
  15. package/docs/assets/architecture/Ember-CLI architecture.xml +0 -1
  16. package/docs/assets/architecture/README.md +0 -5
  17. package/docs/brocfile-transition.md +0 -46
  18. package/docs/build/api.js +0 -44
  19. package/docs/build/assets/css/external-small.png +0 -0
  20. package/docs/build/assets/css/logo.png +0 -0
  21. package/docs/build/assets/css/main.css +0 -555
  22. package/docs/build/assets/favicon.ico +0 -0
  23. package/docs/build/assets/img/spinner.gif +0 -0
  24. package/docs/build/assets/index.html +0 -10
  25. package/docs/build/assets/js/api-filter.js +0 -56
  26. package/docs/build/assets/js/api-list.js +0 -255
  27. package/docs/build/assets/js/api-search.js +0 -98
  28. package/docs/build/assets/js/apidocs.js +0 -376
  29. package/docs/build/assets/js/yui-prettify.js +0 -17
  30. package/docs/build/assets/vendor/prettify/CHANGES.html +0 -130
  31. package/docs/build/assets/vendor/prettify/COPYING +0 -202
  32. package/docs/build/assets/vendor/prettify/README.html +0 -203
  33. package/docs/build/assets/vendor/prettify/prettify-min.css +0 -1
  34. package/docs/build/assets/vendor/prettify/prettify-min.js +0 -1
  35. package/docs/build/classes/Addon.html +0 -4318
  36. package/docs/build/classes/AmdTransformAddon.html +0 -202
  37. package/docs/build/classes/Blueprint.html +0 -4796
  38. package/docs/build/classes/Builder.html +0 -611
  39. package/docs/build/classes/CLI.html +0 -810
  40. package/docs/build/classes/Command.html +0 -1655
  41. package/docs/build/classes/DefaultPackager.html +0 -202
  42. package/docs/build/classes/EmberAddon.html +0 -2207
  43. package/docs/build/classes/EmberApp.html +0 -2225
  44. package/docs/build/classes/HardwareInfo.html +0 -620
  45. package/docs/build/classes/HistorySupportAddon.html +0 -203
  46. package/docs/build/classes/Instrumentation.html +0 -695
  47. package/docs/build/classes/NodeModulesList.html +0 -460
  48. package/docs/build/classes/NpmTask.html +0 -333
  49. package/docs/build/classes/PackageInfo.html +0 -1390
  50. package/docs/build/classes/PackageInfoCache.html +0 -963
  51. package/docs/build/classes/PerBundleAddonCache {.html +0 -1010
  52. package/docs/build/classes/Project.html +0 -2083
  53. package/docs/build/classes/ServeFilesAddon.html +0 -260
  54. package/docs/build/classes/TestsServerAddon.html +0 -203
  55. package/docs/build/classes/WatcherAddon.html +0 -204
  56. package/docs/build/classes/WindowsSymlinkChecker.html +0 -1505
  57. package/docs/build/files/lib_broccoli_default-packager.js.html +0 -1426
  58. package/docs/build/files/lib_broccoli_ember-addon.js.html +0 -159
  59. package/docs/build/files/lib_broccoli_ember-app.js.html +0 -1913
  60. package/docs/build/files/lib_cli_cli.js.html +0 -417
  61. package/docs/build/files/lib_models_addon-info.js.html +0 -112
  62. package/docs/build/files/lib_models_addon.js.html +0 -1866
  63. package/docs/build/files/lib_models_blueprint.js.html +0 -1678
  64. package/docs/build/files/lib_models_builder.js.html +0 -417
  65. package/docs/build/files/lib_models_command.js.html +0 -804
  66. package/docs/build/files/lib_models_hardware-info.js.html +0 -479
  67. package/docs/build/files/lib_models_host-info-cache.js.html +0 -428
  68. package/docs/build/files/lib_models_installation-checker.js.html +0 -181
  69. package/docs/build/files/lib_models_instantiate-addons.js.html +0 -191
  70. package/docs/build/files/lib_models_instrumentation.js.html +0 -433
  71. package/docs/build/files/lib_models_package-info-cache_index.js.html +0 -793
  72. package/docs/build/files/lib_models_package-info-cache_node-modules-list.js.html +0 -208
  73. package/docs/build/files/lib_models_package-info-cache_package-info.js.html +0 -661
  74. package/docs/build/files/lib_models_per-bundle-addon-cache_addon-proxy.js.html +0 -252
  75. package/docs/build/files/lib_models_per-bundle-addon-cache_index.js.html +0 -485
  76. package/docs/build/files/lib_models_per-bundle-addon-cache_target-instance.js.html +0 -108
  77. package/docs/build/files/lib_models_project.js.html +0 -913
  78. package/docs/build/files/lib_models_task.js.html +0 -117
  79. package/docs/build/files/lib_tasks_build-watch.js.html +0 -157
  80. package/docs/build/files/lib_tasks_npm-task.js.html +0 -463
  81. package/docs/build/files/lib_tasks_serve.js.html +0 -207
  82. package/docs/build/files/lib_tasks_server_middleware_broccoli-serve-files_index.js.html +0 -127
  83. package/docs/build/files/lib_tasks_server_middleware_broccoli-watcher_index.js.html +0 -158
  84. package/docs/build/files/lib_tasks_server_middleware_history-support_index.js.html +0 -181
  85. package/docs/build/files/lib_tasks_server_middleware_tests-server_index.js.html +0 -171
  86. package/docs/build/files/lib_tasks_test-server.js.html +0 -167
  87. package/docs/build/files/lib_tasks_transforms_amd_index.js.html +0 -143
  88. package/docs/build/files/lib_utilities_ember-app-utils.js.html +0 -292
  89. package/docs/build/files/lib_utilities_insert-into-file.js.html +0 -219
  90. package/docs/build/files/lib_utilities_is-lazy-engine.js.html +0 -125
  91. package/docs/build/files/lib_utilities_is-yarn-project.js.html +0 -120
  92. package/docs/build/files/lib_utilities_valid-project-name.js.html +0 -142
  93. package/docs/build/files/lib_utilities_will-interrupt-process.js.html +0 -290
  94. package/docs/build/files/lib_utilities_windows-admin.js.html +0 -230
  95. package/docs/build/index.html +0 -125
  96. package/docs/build/modules/ember-cli.html +0 -152
  97. package/docs/build/modules/is-lazy-engine.html +0 -106
  98. package/docs/build-concurrency.md +0 -15
  99. package/docs/build-pipeline-debugging.md +0 -33
  100. package/docs/code-coverage.md +0 -14
  101. package/docs/error-propagation.md +0 -136
  102. package/docs/experiments.md +0 -53
  103. package/docs/node-support.md +0 -43
  104. package/docs/perf-guide.md +0 -250
  105. package/docs/project_version_preprocessor.js +0 -8
  106. package/docs/sourcemaps.md +0 -60
  107. package/docs/yuidoc.json +0 -13
@@ -1,460 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>NodeModulesList - ember-cli</title>
6
- <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
7
- <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
8
- <script src="https://cdnjs.cloudflare.com/ajax/libs/yui/3.18.0/yui/yui-min.js"></script>
9
- </head>
10
- <body class="yui3-skin-sam">
11
-
12
- <div id="doc">
13
- <div class="yui3-g">
14
- <div id="sidebar" class="yui3-u">
15
- <div class="logo">
16
- <a href="../index.html">
17
- <img src="https://ember-cli.com/assets/images/ember-cli-logo-small-dark.png">
18
- </a>
19
- </div>
20
-
21
- <div id="modules" class="sidebox">
22
- <div class="hd">
23
- <h2 class="no-toc">Modules</h2>
24
- </div>
25
- <div class="bd">
26
- <ul>
27
- <li><a href="../modules/ember-cli.html">ember-cli</a>
28
- </li>
29
- <li><a href="../modules/is-lazy-engine.html">is-lazy-engine</a>
30
- </li>
31
- </ul>
32
- </div>
33
- </div>
34
-
35
- <div id="classes" class="sidebox">
36
- <div class="hd">
37
- <h2 class="no-toc">Classes</h2>
38
- </div>
39
- <div class="bd">
40
- <ul>
41
- <li><a href="../classes/Addon.html">Addon</a></li>
42
- <li><a href="../classes/AmdTransformAddon.html">AmdTransformAddon</a></li>
43
- <li><a href="../classes/Blueprint.html">Blueprint</a></li>
44
- <li><a href="../classes/Builder.html">Builder</a></li>
45
- <li><a href="../classes/CLI.html">CLI</a></li>
46
- <li><a href="../classes/Command.html">Command</a></li>
47
- <li><a href="../classes/DefaultPackager.html">DefaultPackager</a></li>
48
- <li><a href="../classes/EmberAddon.html">EmberAddon</a></li>
49
- <li><a href="../classes/EmberApp.html">EmberApp</a></li>
50
- <li><a href="../classes/HardwareInfo.html">HardwareInfo</a></li>
51
- <li><a href="../classes/HistorySupportAddon.html">HistorySupportAddon</a></li>
52
- <li><a href="../classes/Instrumentation.html">Instrumentation</a></li>
53
- <li><a href="../classes/NodeModulesList.html">NodeModulesList</a></li>
54
- <li><a href="../classes/NpmTask.html">NpmTask</a></li>
55
- <li><a href="../classes/PackageInfo.html">PackageInfo</a></li>
56
- <li><a href="../classes/PackageInfoCache.html">PackageInfoCache</a></li>
57
- <li><a href="../classes/PerBundleAddonCache {.html">PerBundleAddonCache {</a></li>
58
- <li><a href="../classes/Project.html">Project</a></li>
59
- <li><a href="../classes/ServeFilesAddon.html">ServeFilesAddon</a></li>
60
- <li><a href="../classes/TestsServerAddon.html">TestsServerAddon</a></li>
61
- <li><a href="../classes/WatcherAddon.html">WatcherAddon</a></li>
62
- <li><a href="../classes/WindowsSymlinkChecker.html">WindowsSymlinkChecker</a></li>
63
- </ul>
64
- </div>
65
- </div>
66
-
67
-
68
- <div id="sections" class="sidebox">
69
- <div class="hd">
70
- <h2 class="no-toc">NodeModulesList</h2>
71
- </div>
72
- <div class="bd">
73
-
74
-
75
-
76
-
77
- <div><a href="#method-summary">Method Summary</a></div>
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
- <div><a href="#public-methods">Public Methods</a></div>
92
- <ul>
93
- <li><a href="#method_findPackage">findPackage</a></li>
94
- <li><a href="#method_hasErrors">hasErrors</a></li>
95
- </ul>
96
-
97
- <div><a href="#protected-methods">Protected Methods</a></div>
98
- <ul>
99
- <li><a href="#method_addEntry">addEntry</a></li>
100
- <li><a href="#method_addError">addError</a></li>
101
- </ul>
102
-
103
- </div>
104
- </div>
105
-
106
-
107
-
108
- <div class="version-info">
109
- Version: 4.0.0-release-b4cbb1029f
110
- </div>
111
-
112
- </div>
113
-
114
- <div id="main" class="yui3-u">
115
- <div class="content"><div class="title">
116
- <span class="source-link"><a href="../files/lib_models_package-info-cache_node-modules-list.js.html#l7"><code>lib&#x2F;models&#x2F;package-info-cache&#x2F;node-modules-list.js:7</code></a></span>
117
- <h1 class="class-name">NodeModulesList</h1>
118
- </div>
119
-
120
-
121
-
122
-
123
- <div class="class-description"><p>Class that stores information about a node_modules directory (i.e., the
124
- packages and subdirectories in the directory). It is one of the
125
- two types of entries in a PackageInfoCache. It is only created by the
126
- PackageInfoCache.</p>
127
- </div>
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- <h2 id="method-summary">Method Summary</h2>
137
-
138
- <table class="summary">
139
- <thead>
140
- <tr>
141
- <th colspan="2">Public Methods</th>
142
- </tr>
143
- </thead>
144
- <tbody>
145
- <tr>
146
- <td>
147
- public
148
-
149
-
150
- </td>
151
- <td>
152
- <div class="method-name ">
153
- <a href="#method_findPackage">findPackage</a>(packageName):
154
- </div>
155
- <div class="short-description">
156
- <p>Return a PackageInfo object for a given package name (which may include a scope)</p>
157
- </div>
158
- </td>
159
- </tr>
160
- <tr>
161
- <td>
162
- public
163
-
164
-
165
- </td>
166
- <td>
167
- <div class="method-name ">
168
- <a href="#method_hasErrors">hasErrors</a>( )
169
- </div>
170
- <div class="short-description">
171
- <p>Indicate if there are any errors in the NodeModulesList itself (not including errors within the individual entries).</p>
172
- </div>
173
- </td>
174
- </tr>
175
- </tbody>
176
- </table>
177
-
178
- <table class="summary">
179
- <thead>
180
- <tr>
181
- <th colspan="2">Protected Methods</th>
182
- </tr>
183
- </thead>
184
- <tbody>
185
- <tr>
186
- <td>
187
- protected
188
-
189
-
190
- </td>
191
- <td>
192
- <div class="method-name ">
193
- <a href="#method_addEntry">addEntry</a>(entryName, entryVal)
194
- </div>
195
- <div class="short-description">
196
- <p>Add an entry (PackageInfo or NodeModulesList instance) to the entries for this list. This is only called by PackageInfoCache. It is not intended to be called directly by anything else.</p>
197
- </div>
198
- </td>
199
- </tr>
200
- <tr>
201
- <td>
202
- protected
203
-
204
-
205
- </td>
206
- <td>
207
- <div class="method-name ">
208
- <a href="#method_addError">addError</a>(errorType, errorData)
209
- </div>
210
- <div class="short-description">
211
- <p>Given error data, add an ErrorEntry to the ErrorList for this object.</p>
212
- </div>
213
- </td>
214
- </tr>
215
- </tbody>
216
- </table>
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
- <div id="methods public">
232
- <h2 id="public-methods">Public Methods</h2>
233
- <div class="method item public">
234
- <div id="method_findPackage" class="title">
235
- <span class="source-link"><a href="../files/lib_models_package-info-cache_node-modules-list.js.html#l84"><code>lib&#x2F;models&#x2F;package-info-cache&#x2F;node-modules-list.js:84</code></a></span>
236
- <h3 class="">
237
- public
238
-
239
-
240
- findPackage(packageName):
241
- </h3>
242
- </div>
243
-
244
-
245
-
246
- <div class="method-description"><p>Return a PackageInfo object for a given package name (which may include
247
- a scope)</p>
248
- </div>
249
-
250
- <div class="params">
251
- <h4>Parameters:</h4>
252
- <table>
253
- <thead>
254
- <tr>
255
- <th>Name</th>
256
- <th>Type</th>
257
- <th>Attribute</th>
258
- <th>Description</th>
259
- </tr>
260
- </thead>
261
- <tbody>
262
- <tr>
263
- <td>packageName</td>
264
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
265
- <td>
266
- <ul>
267
-
268
-
269
-
270
- </ul>
271
- </td>
272
- <td><p>the name (possibly including a scope) of
273
- the PackageInfo the caller wants returned.</p>
274
- </td>
275
- </tr>
276
-
277
- </tbody>
278
- </table>
279
- </div>
280
-
281
- <div class="return">
282
- <h4>Return:</h4>
283
- <div>
284
-
285
- <span class="return-description"><p>the desired PackageInfo if one exists for the given name, else null.</p>
286
- </span>
287
- </div>
288
- </div>
289
-
290
-
291
- </div>
292
- <div class="method item public">
293
- <div id="method_hasErrors" class="title">
294
- <span class="source-link"><a href="../files/lib_models_package-info-cache_node-modules-list.js.html#l56"><code>lib&#x2F;models&#x2F;package-info-cache&#x2F;node-modules-list.js:56</code></a></span>
295
- <h3 class="">
296
- public
297
-
298
-
299
- hasErrors( )
300
- </h3>
301
- </div>
302
-
303
-
304
-
305
- <div class="method-description"><p>Indicate if there are any errors in the NodeModulesList itself (not
306
- including errors within the individual entries).</p>
307
- </div>
308
-
309
-
310
-
311
-
312
- </div>
313
- </div>
314
-
315
- <div id="methods protected">
316
- <h2 id="protected-methods">Protected Methods</h2>
317
- <div class="method item protected">
318
- <div id="method_addEntry" class="title">
319
- <span class="source-link"><a href="../files/lib_models_package-info-cache_node-modules-list.js.html#l67"><code>lib&#x2F;models&#x2F;package-info-cache&#x2F;node-modules-list.js:67</code></a></span>
320
- <h3 class="">
321
- protected
322
-
323
-
324
- addEntry(entryName, entryVal)
325
- </h3>
326
- </div>
327
-
328
-
329
-
330
- <div class="method-description"><p>Add an entry (PackageInfo or NodeModulesList instance) to the entries
331
- for this list. This is only called by PackageInfoCache. It is not intended
332
- to be called directly by anything else.</p>
333
- </div>
334
-
335
- <div class="params">
336
- <h4>Parameters:</h4>
337
- <table>
338
- <thead>
339
- <tr>
340
- <th>Name</th>
341
- <th>Type</th>
342
- <th>Attribute</th>
343
- <th>Description</th>
344
- </tr>
345
- </thead>
346
- <tbody>
347
- <tr>
348
- <td>entryName</td>
349
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
350
- <td>
351
- <ul>
352
-
353
-
354
-
355
- </ul>
356
- </td>
357
- <td><p>the name of the entry, i.e., the name of the
358
- file or subdirectory in the directory listing.</p>
359
- </td>
360
- </tr>
361
-
362
- <tr>
363
- <td>entryVal</td>
364
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
365
- <td>
366
- <ul>
367
-
368
-
369
-
370
- </ul>
371
- </td>
372
- <td><p>the PackageInfo or NodeModulesList tha corresponds
373
- to the given entry name in the file system.</p>
374
- </td>
375
- </tr>
376
-
377
- </tbody>
378
- </table>
379
- </div>
380
-
381
-
382
-
383
- </div>
384
- <div class="method item protected">
385
- <div id="method_addError" class="title">
386
- <span class="source-link"><a href="../files/lib_models_package-info-cache_node-modules-list.js.html#l43"><code>lib&#x2F;models&#x2F;package-info-cache&#x2F;node-modules-list.js:43</code></a></span>
387
- <h3 class="">
388
- protected
389
-
390
-
391
- addError(errorType, errorData)
392
- </h3>
393
- </div>
394
-
395
-
396
-
397
- <div class="method-description"><p>Given error data, add an ErrorEntry to the ErrorList for this object.</p>
398
- </div>
399
-
400
- <div class="params">
401
- <h4>Parameters:</h4>
402
- <table>
403
- <thead>
404
- <tr>
405
- <th>Name</th>
406
- <th>Type</th>
407
- <th>Attribute</th>
408
- <th>Description</th>
409
- </tr>
410
- </thead>
411
- <tbody>
412
- <tr>
413
- <td>errorType</td>
414
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
415
- <td>
416
- <ul>
417
-
418
-
419
-
420
- </ul>
421
- </td>
422
- <td><p>one of the Errors.ERROR_* constants.</p>
423
- </td>
424
- </tr>
425
-
426
- <tr>
427
- <td>errorData</td>
428
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
429
- <td>
430
- <ul>
431
-
432
-
433
-
434
- </ul>
435
- </td>
436
- <td><p>any error data relevant to the type of error
437
- being created. See showErrors().</p>
438
- </td>
439
- </tr>
440
-
441
- </tbody>
442
- </table>
443
- </div>
444
-
445
-
446
-
447
- </div>
448
- </div>
449
-
450
-
451
-
452
- </div>
453
- </div>
454
- </div>
455
- </div>
456
- <script src="../assets/vendor/prettify/prettify-min.js"></script>
457
- <script>prettyPrint();</script>
458
- <script src="../assets/js/yui-prettify.js"></script>
459
- </body>
460
- </html>