ember-cli 5.5.0-beta.0 → 5.5.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.
- package/CHANGELOG.md +14 -0
- package/blueprints/app/files/tests/helpers/index.ts +1 -1
- package/docs/build/data.json +77 -71
- package/lib/models/per-bundle-addon-cache/index.js +1 -1
- package/lib/models/per-bundle-addon-cache/target-instance.js +2 -1
- package/lib/utilities/is-lazy-engine.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## v5.5.0-beta.1
|
|
4
|
+
|
|
5
|
+
#### Blueprint Changes
|
|
6
|
+
|
|
7
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v5.5.0-beta.0...v5.5.0-beta.1)
|
|
8
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v5.5.0-beta.0...v5.5.0-beta.1)
|
|
9
|
+
|
|
10
|
+
#### Changelog
|
|
11
|
+
|
|
12
|
+
- [#10403](https://github.com/ember-cli/ember-cli/pull/10403) Fix some docs that were showing up weirdly in generated api docs [@kategengler](https://github.com/kategengler)
|
|
13
|
+
- [#10406](https://github.com/ember-cli/ember-cli/pull/10406) [BUGFIX beta] use import type in helpers/index.ts :: typechecking in new apps otherwise fails [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
14
|
+
|
|
15
|
+
Thank you to all who took the time to contribute!
|
|
16
|
+
|
|
3
17
|
## v5.5.0-beta.0
|
|
4
18
|
|
|
5
19
|
#### Blueprint Changes
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
setupApplicationTest as upstreamSetupApplicationTest,
|
|
3
3
|
setupRenderingTest as upstreamSetupRenderingTest,
|
|
4
4
|
setupTest as upstreamSetupTest,
|
|
5
|
-
SetupTestOptions,
|
|
5
|
+
type SetupTestOptions,
|
|
6
6
|
} from 'ember-qunit';
|
|
7
7
|
|
|
8
8
|
// This file exists to provide wrappers around ember-qunit's
|
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": "5.5.0-beta.
|
|
6
|
+
"version": "5.5.0-beta.1-beta-5c8004b8da"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"name": "lib/models/per-bundle-addon-cache/index.js",
|
|
97
97
|
"modules": {},
|
|
98
98
|
"classes": {
|
|
99
|
-
"PerBundleAddonCache
|
|
99
|
+
"PerBundleAddonCache": 1
|
|
100
100
|
},
|
|
101
101
|
"fors": {},
|
|
102
102
|
"namespaces": {}
|
|
@@ -104,7 +104,9 @@
|
|
|
104
104
|
"lib/models/per-bundle-addon-cache/target-instance.js": {
|
|
105
105
|
"name": "lib/models/per-bundle-addon-cache/target-instance.js",
|
|
106
106
|
"modules": {},
|
|
107
|
-
"classes": {
|
|
107
|
+
"classes": {
|
|
108
|
+
"TARGET_INSTANCE": 1
|
|
109
|
+
},
|
|
108
110
|
"fors": {},
|
|
109
111
|
"namespaces": {}
|
|
110
112
|
},
|
|
@@ -299,9 +301,7 @@
|
|
|
299
301
|
},
|
|
300
302
|
"lib/utilities/is-lazy-engine.js": {
|
|
301
303
|
"name": "lib/utilities/is-lazy-engine.js",
|
|
302
|
-
"modules": {
|
|
303
|
-
"is-lazy-engine": 1
|
|
304
|
-
},
|
|
304
|
+
"modules": {},
|
|
305
305
|
"classes": {},
|
|
306
306
|
"fors": {},
|
|
307
307
|
"namespaces": {}
|
|
@@ -343,7 +343,8 @@
|
|
|
343
343
|
"PackageInfoCache": 1,
|
|
344
344
|
"NodeModulesList": 1,
|
|
345
345
|
"PackageInfo": 1,
|
|
346
|
-
"PerBundleAddonCache
|
|
346
|
+
"PerBundleAddonCache": 1,
|
|
347
|
+
"TARGET_INSTANCE": 1,
|
|
347
348
|
"Addon": 1,
|
|
348
349
|
"Blueprint": 1,
|
|
349
350
|
"Builder": 1,
|
|
@@ -356,7 +357,8 @@
|
|
|
356
357
|
"HistorySupportAddon": 1,
|
|
357
358
|
"TestsServerAddon": 1,
|
|
358
359
|
"AmdTransformAddon": 1,
|
|
359
|
-
"NpmTask": 1
|
|
360
|
+
"NpmTask": 1,
|
|
361
|
+
"WindowsSymlinkChecker": 1
|
|
360
362
|
},
|
|
361
363
|
"fors": {
|
|
362
364
|
"HardwareInfo": 1
|
|
@@ -365,37 +367,12 @@
|
|
|
365
367
|
"Blueprint": 1
|
|
366
368
|
},
|
|
367
369
|
"tag": "module",
|
|
368
|
-
"file": "lib/
|
|
369
|
-
"line":
|
|
370
|
+
"file": "lib/utilities/windows-admin.js",
|
|
371
|
+
"line": 6,
|
|
370
372
|
"access": "private",
|
|
371
373
|
"tagname": "",
|
|
372
374
|
"is_constructor": 1,
|
|
373
375
|
"extends": "Task"
|
|
374
|
-
},
|
|
375
|
-
"is-lazy-engine": {
|
|
376
|
-
"name": "is-lazy-engine",
|
|
377
|
-
"submodules": {},
|
|
378
|
-
"elements": {},
|
|
379
|
-
"classes": {
|
|
380
|
-
"WindowsSymlinkChecker": 1
|
|
381
|
-
},
|
|
382
|
-
"fors": {},
|
|
383
|
-
"namespaces": {},
|
|
384
|
-
"tag": "module",
|
|
385
|
-
"file": "lib/utilities/windows-admin.js",
|
|
386
|
-
"line": 6,
|
|
387
|
-
"description": "Indicate if a given object is a constructor function or class or an instance of an Addon.",
|
|
388
|
-
"params": [
|
|
389
|
-
{
|
|
390
|
-
"name": "addonCtorOrInstance",
|
|
391
|
-
"description": "the constructor function/class or an instance of an Addon.",
|
|
392
|
-
"type": "Object"
|
|
393
|
-
}
|
|
394
|
-
],
|
|
395
|
-
"return": {
|
|
396
|
-
"description": "True if the addonCtorOrInstance is a lazy engine, False otherwise.",
|
|
397
|
-
"type": "Boolean"
|
|
398
|
-
}
|
|
399
376
|
}
|
|
400
377
|
},
|
|
401
378
|
"classes": {
|
|
@@ -544,9 +521,9 @@
|
|
|
544
521
|
"access": "public",
|
|
545
522
|
"tagname": ""
|
|
546
523
|
},
|
|
547
|
-
"PerBundleAddonCache
|
|
548
|
-
"name": "PerBundleAddonCache
|
|
549
|
-
"shortname": "PerBundleAddonCache
|
|
524
|
+
"PerBundleAddonCache": {
|
|
525
|
+
"name": "PerBundleAddonCache",
|
|
526
|
+
"shortname": "PerBundleAddonCache",
|
|
550
527
|
"classitems": [],
|
|
551
528
|
"plugins": [],
|
|
552
529
|
"extensions": [],
|
|
@@ -560,6 +537,24 @@
|
|
|
560
537
|
"access": "public",
|
|
561
538
|
"tagname": ""
|
|
562
539
|
},
|
|
540
|
+
"TARGET_INSTANCE": {
|
|
541
|
+
"name": "TARGET_INSTANCE",
|
|
542
|
+
"shortname": "TARGET_INSTANCE",
|
|
543
|
+
"classitems": [],
|
|
544
|
+
"plugins": [],
|
|
545
|
+
"extensions": [],
|
|
546
|
+
"plugin_for": [],
|
|
547
|
+
"extension_for": [],
|
|
548
|
+
"module": "ember-cli",
|
|
549
|
+
"namespace": "",
|
|
550
|
+
"file": "lib/models/per-bundle-addon-cache/target-instance.js",
|
|
551
|
+
"line": 3,
|
|
552
|
+
"description": "A Symbol constant for sharing between index.js and addon-proxy.js rather than\nputting the symbol into the Symbol global cache. The symbol is used in per-bundle\ncache entries to refer to the field that points at the real instance that a Proxy\nrefers to.",
|
|
553
|
+
"type": "Symbol",
|
|
554
|
+
"access": "private",
|
|
555
|
+
"tagname": "",
|
|
556
|
+
"final": 1
|
|
557
|
+
},
|
|
563
558
|
"Addon": {
|
|
564
559
|
"name": "Addon",
|
|
565
560
|
"shortname": "Addon",
|
|
@@ -818,7 +813,7 @@
|
|
|
818
813
|
"extensions": [],
|
|
819
814
|
"plugin_for": [],
|
|
820
815
|
"extension_for": [],
|
|
821
|
-
"module": "
|
|
816
|
+
"module": "ember-cli",
|
|
822
817
|
"namespace": "",
|
|
823
818
|
"file": "lib/utilities/windows-admin.js",
|
|
824
819
|
"line": 6,
|
|
@@ -2221,7 +2216,7 @@
|
|
|
2221
2216
|
"description": "If the new cache key doesn't match the previous cache key",
|
|
2222
2217
|
"type": "Error"
|
|
2223
2218
|
},
|
|
2224
|
-
"class": "PerBundleAddonCache
|
|
2219
|
+
"class": "PerBundleAddonCache",
|
|
2225
2220
|
"module": "ember-cli"
|
|
2226
2221
|
},
|
|
2227
2222
|
{
|
|
@@ -2243,7 +2238,7 @@
|
|
|
2243
2238
|
"return": {
|
|
2244
2239
|
"description": "Proxy"
|
|
2245
2240
|
},
|
|
2246
|
-
"class": "PerBundleAddonCache
|
|
2241
|
+
"class": "PerBundleAddonCache",
|
|
2247
2242
|
"module": "ember-cli"
|
|
2248
2243
|
},
|
|
2249
2244
|
{
|
|
@@ -2263,7 +2258,7 @@
|
|
|
2263
2258
|
"description": "}",
|
|
2264
2259
|
"type": "AllowCachingPerBundle: Function"
|
|
2265
2260
|
},
|
|
2266
|
-
"class": "PerBundleAddonCache
|
|
2261
|
+
"class": "PerBundleAddonCache",
|
|
2267
2262
|
"module": "ember-cli"
|
|
2268
2263
|
},
|
|
2269
2264
|
{
|
|
@@ -2283,7 +2278,7 @@
|
|
|
2283
2278
|
"description": "true if the given constructor function or class supports caching per bundle, false otherwise",
|
|
2284
2279
|
"type": "Boolean"
|
|
2285
2280
|
},
|
|
2286
|
-
"class": "PerBundleAddonCache
|
|
2281
|
+
"class": "PerBundleAddonCache",
|
|
2287
2282
|
"module": "ember-cli"
|
|
2288
2283
|
},
|
|
2289
2284
|
{
|
|
@@ -2303,7 +2298,7 @@
|
|
|
2303
2298
|
"description": "an object in the form of a bundle-host cache entry",
|
|
2304
2299
|
"type": "Object"
|
|
2305
2300
|
},
|
|
2306
|
-
"class": "PerBundleAddonCache
|
|
2301
|
+
"class": "PerBundleAddonCache",
|
|
2307
2302
|
"module": "ember-cli"
|
|
2308
2303
|
},
|
|
2309
2304
|
{
|
|
@@ -2328,7 +2323,7 @@
|
|
|
2328
2323
|
"description": "an object in the form of an addon-cache entry",
|
|
2329
2324
|
"type": "Object"
|
|
2330
2325
|
},
|
|
2331
|
-
"class": "PerBundleAddonCache
|
|
2326
|
+
"class": "PerBundleAddonCache",
|
|
2332
2327
|
"module": "ember-cli"
|
|
2333
2328
|
},
|
|
2334
2329
|
{
|
|
@@ -2357,7 +2352,7 @@
|
|
|
2357
2352
|
"description": "if there is not bundle host",
|
|
2358
2353
|
"type": "Error"
|
|
2359
2354
|
},
|
|
2360
|
-
"class": "PerBundleAddonCache
|
|
2355
|
+
"class": "PerBundleAddonCache",
|
|
2361
2356
|
"module": "ember-cli"
|
|
2362
2357
|
},
|
|
2363
2358
|
{
|
|
@@ -2381,7 +2376,7 @@
|
|
|
2381
2376
|
"description": "true if the bundle host is to \"own\" the instance, false otherwise.",
|
|
2382
2377
|
"type": "Boolean"
|
|
2383
2378
|
},
|
|
2384
|
-
"class": "PerBundleAddonCache
|
|
2379
|
+
"class": "PerBundleAddonCache",
|
|
2385
2380
|
"module": "ember-cli"
|
|
2386
2381
|
},
|
|
2387
2382
|
{
|
|
@@ -2406,18 +2401,7 @@
|
|
|
2406
2401
|
"description": "An addon instance (for the first copy of the addon) or a Proxy.\nAn addon that is a lazy engine will only ever have a single copy in the cache.\nAn addon that is not will have 1 copy per bundle host (Project or lazy engine),\nexcept if it is an addon that's also owned by a given LCA host and transitive\ndedupe is enabled (`engineAddonTransitiveDedupeEnabled`), in which case it will\nonly have a single copy in the project's addon cache.",
|
|
2407
2402
|
"type": "Addon|Proxy"
|
|
2408
2403
|
},
|
|
2409
|
-
"class": "PerBundleAddonCache
|
|
2410
|
-
"module": "ember-cli"
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"file": "lib/models/per-bundle-addon-cache/target-instance.js",
|
|
2414
|
-
"line": 3,
|
|
2415
|
-
"description": "A Symbol constant for sharing between index.js and addon-proxy.js rather than\nputting the symbol into the Symbol global cache. The symbol is used in per-bundle\ncache entries to refer to the field that points at the real instance that a Proxy\nrefers to.",
|
|
2416
|
-
"itemtype": "property",
|
|
2417
|
-
"name": "",
|
|
2418
|
-
"type": "Symbol",
|
|
2419
|
-
"final": 1,
|
|
2420
|
-
"class": "Addon",
|
|
2404
|
+
"class": "PerBundleAddonCache",
|
|
2421
2405
|
"module": "ember-cli"
|
|
2422
2406
|
},
|
|
2423
2407
|
{
|
|
@@ -6444,6 +6428,28 @@
|
|
|
6444
6428
|
"class": "WindowsSymlinkChecker",
|
|
6445
6429
|
"module": "ember-cli"
|
|
6446
6430
|
},
|
|
6431
|
+
{
|
|
6432
|
+
"file": "lib/utilities/is-lazy-engine.js",
|
|
6433
|
+
"line": 3,
|
|
6434
|
+
"description": "Indicate if a given object is a constructor function or class or an instance of an Addon.",
|
|
6435
|
+
"access": "private",
|
|
6436
|
+
"tagname": "",
|
|
6437
|
+
"itemtype": "method",
|
|
6438
|
+
"name": "",
|
|
6439
|
+
"params": [
|
|
6440
|
+
{
|
|
6441
|
+
"name": "addonCtorOrInstance",
|
|
6442
|
+
"description": "the constructor function/class or an instance of an Addon.",
|
|
6443
|
+
"type": "Object"
|
|
6444
|
+
}
|
|
6445
|
+
],
|
|
6446
|
+
"return": {
|
|
6447
|
+
"description": "True if the addonCtorOrInstance is a lazy engine, False otherwise.",
|
|
6448
|
+
"type": "Boolean"
|
|
6449
|
+
},
|
|
6450
|
+
"class": "WindowsSymlinkChecker",
|
|
6451
|
+
"module": "ember-cli"
|
|
6452
|
+
},
|
|
6447
6453
|
{
|
|
6448
6454
|
"file": "lib/utilities/valid-project-name.js",
|
|
6449
6455
|
"line": 5,
|
|
@@ -6455,7 +6461,7 @@
|
|
|
6455
6461
|
"type": "Boolean"
|
|
6456
6462
|
},
|
|
6457
6463
|
"class": "WindowsSymlinkChecker",
|
|
6458
|
-
"module": "
|
|
6464
|
+
"module": "ember-cli"
|
|
6459
6465
|
},
|
|
6460
6466
|
{
|
|
6461
6467
|
"file": "lib/utilities/valid-project-name.js",
|
|
@@ -6475,7 +6481,7 @@
|
|
|
6475
6481
|
"type": "Boolean"
|
|
6476
6482
|
},
|
|
6477
6483
|
"class": "WindowsSymlinkChecker",
|
|
6478
|
-
"module": "
|
|
6484
|
+
"module": "ember-cli"
|
|
6479
6485
|
},
|
|
6480
6486
|
{
|
|
6481
6487
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
@@ -6486,7 +6492,7 @@
|
|
|
6486
6492
|
"itemtype": "method",
|
|
6487
6493
|
"name": "release",
|
|
6488
6494
|
"class": "WindowsSymlinkChecker",
|
|
6489
|
-
"module": "
|
|
6495
|
+
"module": "ember-cli"
|
|
6490
6496
|
},
|
|
6491
6497
|
{
|
|
6492
6498
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
@@ -6504,7 +6510,7 @@
|
|
|
6504
6510
|
}
|
|
6505
6511
|
],
|
|
6506
6512
|
"class": "WindowsSymlinkChecker",
|
|
6507
|
-
"module": "
|
|
6513
|
+
"module": "ember-cli"
|
|
6508
6514
|
},
|
|
6509
6515
|
{
|
|
6510
6516
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
@@ -6522,7 +6528,7 @@
|
|
|
6522
6528
|
}
|
|
6523
6529
|
],
|
|
6524
6530
|
"class": "WindowsSymlinkChecker",
|
|
6525
|
-
"module": "
|
|
6531
|
+
"module": "ember-cli"
|
|
6526
6532
|
},
|
|
6527
6533
|
{
|
|
6528
6534
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
@@ -6531,7 +6537,7 @@
|
|
|
6531
6537
|
"itemtype": "method",
|
|
6532
6538
|
"name": "setupSignalsTrap",
|
|
6533
6539
|
"class": "WindowsSymlinkChecker",
|
|
6534
|
-
"module": "
|
|
6540
|
+
"module": "ember-cli"
|
|
6535
6541
|
},
|
|
6536
6542
|
{
|
|
6537
6543
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
@@ -6540,7 +6546,7 @@
|
|
|
6540
6546
|
"itemtype": "method",
|
|
6541
6547
|
"name": "teardownSignalsTrap",
|
|
6542
6548
|
"class": "WindowsSymlinkChecker",
|
|
6543
|
-
"module": "
|
|
6549
|
+
"module": "ember-cli"
|
|
6544
6550
|
},
|
|
6545
6551
|
{
|
|
6546
6552
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
@@ -6549,7 +6555,7 @@
|
|
|
6549
6555
|
"itemtype": "method",
|
|
6550
6556
|
"name": "trapWindowsSignals",
|
|
6551
6557
|
"class": "WindowsSymlinkChecker",
|
|
6552
|
-
"module": "
|
|
6558
|
+
"module": "ember-cli"
|
|
6553
6559
|
},
|
|
6554
6560
|
{
|
|
6555
6561
|
"file": "lib/utilities/windows-admin.js",
|
|
@@ -6564,7 +6570,7 @@
|
|
|
6564
6570
|
"type": "Promise<Object>"
|
|
6565
6571
|
},
|
|
6566
6572
|
"class": "WindowsSymlinkChecker",
|
|
6567
|
-
"module": "
|
|
6573
|
+
"module": "ember-cli"
|
|
6568
6574
|
},
|
|
6569
6575
|
{
|
|
6570
6576
|
"file": "lib/utilities/windows-admin.js",
|
|
@@ -6586,7 +6592,7 @@
|
|
|
6586
6592
|
"type": "WindowsSymlinkChecker"
|
|
6587
6593
|
},
|
|
6588
6594
|
"class": "WindowsSymlinkChecker",
|
|
6589
|
-
"module": "
|
|
6595
|
+
"module": "ember-cli"
|
|
6590
6596
|
},
|
|
6591
6597
|
{
|
|
6592
6598
|
"file": "lib/utilities/windows-admin.js",
|
|
@@ -6600,7 +6606,7 @@
|
|
|
6600
6606
|
"type": "Promise<Object>"
|
|
6601
6607
|
},
|
|
6602
6608
|
"class": "WindowsSymlinkChecker",
|
|
6603
|
-
"module": "
|
|
6609
|
+
"module": "ember-cli"
|
|
6604
6610
|
},
|
|
6605
6611
|
{
|
|
6606
6612
|
"file": "lib/utilities/windows-admin.js",
|
|
@@ -6622,7 +6628,7 @@
|
|
|
6622
6628
|
"type": "Object"
|
|
6623
6629
|
},
|
|
6624
6630
|
"class": "WindowsSymlinkChecker",
|
|
6625
|
-
"module": "
|
|
6631
|
+
"module": "ember-cli"
|
|
6626
6632
|
}
|
|
6627
6633
|
],
|
|
6628
6634
|
"warnings": []
|
|
@@ -91,7 +91,7 @@ function resolvePerBundleAddonCacheUtil(project) {
|
|
|
91
91
|
* https://github.com/ember-engines/ember-engines/blob/master/packages/ember-engines/lib/engine-addon.js#L396
|
|
92
92
|
*
|
|
93
93
|
* @public
|
|
94
|
-
* @class PerBundleAddonCache
|
|
94
|
+
* @class PerBundleAddonCache
|
|
95
95
|
*/
|
|
96
96
|
class PerBundleAddonCache {
|
|
97
97
|
constructor(project) {
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
* putting the symbol into the Symbol global cache. The symbol is used in per-bundle
|
|
6
6
|
* cache entries to refer to the field that points at the real instance that a Proxy
|
|
7
7
|
* refers to.
|
|
8
|
-
* @
|
|
8
|
+
* @class TARGET_INSTANCE
|
|
9
9
|
* @type Symbol
|
|
10
|
+
* @private
|
|
10
11
|
* @final
|
|
11
12
|
*/
|
|
12
13
|
const TARGET_INSTANCE = Symbol('_targetInstance_');
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Indicate if a given object is a constructor function or class or an instance of an Addon.
|
|
5
5
|
*
|
|
6
|
-
* @
|
|
6
|
+
* @private
|
|
7
|
+
* @method
|
|
7
8
|
* @param {Object} addonCtorOrInstance the constructor function/class or an instance of an Addon.
|
|
8
9
|
* @return {Boolean} True if the addonCtorOrInstance is a lazy engine, False otherwise.
|
|
9
10
|
*/
|