ember-cli 4.12.0 → 4.13.0-beta.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.
Files changed (55) hide show
  1. package/.github/workflows/ci.yml +4 -5
  2. package/CHANGELOG.md +44 -0
  3. package/CONTRIBUTING.md +1 -1
  4. package/blueprints/addon/files/.github/workflows/ci.yml +3 -3
  5. package/blueprints/addon/files/.travis.yml +1 -1
  6. package/blueprints/addon/files/README.md +1 -1
  7. package/blueprints/addon/files/npmignore +0 -6
  8. package/blueprints/app/files/.eslintignore +0 -12
  9. package/blueprints/app/files/.github/workflows/ci.yml +2 -2
  10. package/blueprints/app/files/.prettierignore +1 -13
  11. package/blueprints/app/files/.travis.yml +1 -1
  12. package/blueprints/app/files/.watchmanconfig +1 -1
  13. package/blueprints/app/files/gitignore +0 -8
  14. package/blueprints/app/files/package.json +1 -1
  15. package/blueprints/server/index.js +0 -27
  16. package/docs/build/data.json +217 -401
  17. package/lib/broccoli/default-packager.js +2 -79
  18. package/lib/broccoli/ember-addon.js +0 -4
  19. package/lib/broccoli/ember-app.js +19 -460
  20. package/lib/cli/cli.js +0 -9
  21. package/lib/commands/addon.js +0 -1
  22. package/lib/commands/init.js +0 -8
  23. package/lib/commands/install.js +2 -2
  24. package/lib/commands/new.js +0 -1
  25. package/lib/commands/serve.js +1 -1
  26. package/lib/experiments/index.js +2 -2
  27. package/lib/models/addon.js +38 -113
  28. package/lib/models/blueprint.js +0 -115
  29. package/lib/models/command.js +3 -4
  30. package/lib/models/package-info-cache/package-info.js +1 -5
  31. package/lib/models/project.js +2 -87
  32. package/lib/tasks/interactive-new.js +1 -1
  33. package/lib/tasks/npm-task.js +0 -15
  34. package/lib/tasks/server/express-server.js +0 -1
  35. package/lib/tasks/server/middleware/broccoli-watcher/index.js +5 -5
  36. package/lib/tasks/server/middleware/history-support/index.js +6 -7
  37. package/lib/tasks/server/middleware/testem-url-rewriter/index.js +0 -10
  38. package/lib/tasks/server/middleware/tests-server/index.js +8 -9
  39. package/lib/utilities/ember-app-utils.js +1 -21
  40. package/lib/utilities/get-serve-url.js +2 -2
  41. package/package.json +13 -23
  42. package/tests/helpers/acceptance.js +1 -3
  43. package/tests/helpers/command-generator.js +2 -2
  44. package/tests/helpers/default-packager.js +3 -9
  45. package/tests/helpers/init-app.js +1 -1
  46. package/tests/helpers/mock-project.js +1 -1
  47. package/tests/helpers/package-cache.js +2 -19
  48. package/blueprints/server/files/server/.jshintrc +0 -3
  49. package/blueprints/vendor-shim/files/vendor/shims/__name__.js +0 -12
  50. package/blueprints/vendor-shim/index.js +0 -30
  51. package/lib/broccoli/babel-process-modules-only.js +0 -18
  52. package/lib/models/installation-checker.js +0 -87
  53. package/lib/tasks/bower-install.js +0 -175
  54. package/lib/utilities/ember-cli-babel-config-key.js +0 -12
  55. package/lib/utilities/find-addon-by-name.js +0 -39
@@ -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.12.0-release-0160a2c3a5"
6
+ "version": "4.13.0-beta.0-beta-b0232a7973"
7
7
  },
8
8
  "files": {
9
9
  "lib/broccoli/default-packager.js": {
@@ -169,13 +169,6 @@
169
169
  "fors": {},
170
170
  "namespaces": {}
171
171
  },
172
- "lib/models/installation-checker.js": {
173
- "name": "lib/models/installation-checker.js",
174
- "modules": {},
175
- "classes": {},
176
- "fors": {},
177
- "namespaces": {}
178
- },
179
172
  "lib/models/instantiate-addons.js": {
180
173
  "name": "lib/models/instantiate-addons.js",
181
174
  "modules": {},
@@ -423,7 +416,7 @@
423
416
  "extension_for": [],
424
417
  "module": "ember-cli",
425
418
  "file": "lib/broccoli/default-packager.js",
426
- "line": 100,
419
+ "line": 98,
427
420
  "description": "Responsible for packaging Ember.js application.",
428
421
  "is_constructor": 1
429
422
  },
@@ -469,8 +462,8 @@
469
462
  "module": "ember-cli",
470
463
  "namespace": "",
471
464
  "file": "lib/broccoli/ember-app.js",
472
- "line": 70,
473
- "description": "EmberApp is the main class Ember CLI uses to manage the Broccoli trees\nfor your application. It is very tightly integrated with Broccoli and has\na `toTree()` method you can use to get the entire tree for your application.\n\nAvailable init options:\n- storeConfigInMeta, defaults to `true`\n- autoRun, defaults to `true`\n- outputPaths, defaults to `{}`\n- minifyCSS, defaults to `{enabled: !!isProduction,options: { relativeTo: 'assets' }}\n- minifyJS, defaults to `{enabled: !!isProduction}\n- sourcemaps, defaults to `{}`\n- trees, defaults to `{}`\n- jshintrc, defaults to `{}`\n- vendorFiles, defaults to `{}`\n- addons, defaults to `{ exclude: [], include: [] }`",
465
+ "line": 60,
466
+ "description": "EmberApp is the main class Ember CLI uses to manage the Broccoli trees\nfor your application. It is very tightly integrated with Broccoli and has\na `toTree()` method you can use to get the entire tree for your application.\n\nAvailable init options:\n- storeConfigInMeta, defaults to `true`\n- autoRun, defaults to `true`\n- outputPaths, defaults to `{}`\n- minifyCSS, defaults to `{enabled: !!isProduction,options: { relativeTo: 'assets' }}\n- sourcemaps, defaults to `{}`\n- trees, defaults to `{}`\n- vendorFiles, defaults to `{}`\n- addons, defaults to `{ exclude: [], include: [] }`",
474
467
  "is_constructor": 1,
475
468
  "params": [
476
469
  {
@@ -585,7 +578,7 @@
585
578
  "module": "ember-cli",
586
579
  "namespace": "",
587
580
  "file": "lib/models/addon.js",
588
- "line": 137,
581
+ "line": 122,
589
582
  "description": "Root class for an Addon. If your addon module exports an Object this\nwill be extended from this base class. If you export a constructor (function),\nit will **not** extend from this class.\n\nHooks:\n\n- {{#crossLink \"Addon/config:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/blueprintsPath:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/includedCommands:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/importTransforms:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/serverMiddleware:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/testemMiddleware:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/postBuild:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/preBuild:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/outputReady:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/buildError:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/included:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/shouldIncludeChildAddon:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/setupPreprocessorRegistry:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/preprocessTree:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/postprocessTree:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/lintTree:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/contentFor:method\"}}{{/crossLink}}\n- {{#crossLink \"Addon/treeFor:method\"}}{{/crossLink}}",
590
583
  "extends": "CoreObject",
591
584
  "is_constructor": 1,
@@ -613,7 +606,7 @@
613
606
  "module": "ember-cli",
614
607
  "namespace": "Blueprint",
615
608
  "file": "lib/models/blueprint.js",
616
- "line": 31,
609
+ "line": 29,
617
610
  "description": "A blueprint is a bundle of template files with optional install\nlogic.\n\nBlueprints follow a simple structure. Let's take the built-in\n`controller` blueprint as an example:\n\n```\nblueprints/controller\n├── files\n│ ├── app\n│ │ └── __path__\n│ │ └── __name__.js\n└── index.js\n\nblueprints/controller-test\n├── files\n│ └── tests\n│ └── unit\n│ └── controllers\n│ └── __test__.js\n└── index.js\n```\n\n## Files\n\n`files` contains templates for the all the files to be\ninstalled into the target directory.\n\nThe `__name__` token is subtituted with the dasherized\nentity name at install time. For example, when the user\ninvokes `ember generate controller foo` then `__name__` becomes\n`foo`. When the `--pod` flag is used, for example `ember\ngenerate controller foo --pod` then `__name__` becomes\n`controller`.\n\nThe `__path__` token is substituted with the blueprint\nname at install time. For example, when the user invokes\n`ember generate controller foo` then `__path__` becomes\n`controller`. When the `--pod` flag is used, for example\n`ember generate controller foo --pod` then `__path__`\nbecomes `foo` (or `<podModulePrefix>/foo` if the\npodModulePrefix is defined). This token is primarily for\npod support, and is only necessary if the blueprint can be\nused in pod structure. If the blueprint does not require pod\nsupport, simply use the blueprint name instead of the\n`__path__` token.\n\nThe `__test__` token is substituted with the dasherized\nentity name and appended with `-test` at install time.\nThis token is primarily for pod support and only necessary\nif the blueprint requires support for a pod structure. If\nthe blueprint does not require pod support, simply use the\n`__name__` token instead.\n\n## Template Variables (AKA Locals)\n\nVariables can be inserted into templates with\n`<%= someVariableName %>`.\n\nFor example, the built-in `util` blueprint\n`files/app/utils/__name__.js` looks like this:\n\n```js\nexport default function <%= camelizedModuleName %>() {\n return true;\n}\n```\n\n`<%= camelizedModuleName %>` is replaced with the real\nvalue at install time.\n\nThe following template variables are provided by default:\n\n- `dasherizedPackageName`\n- `classifiedPackageName`\n- `dasherizedModuleName`\n- `classifiedModuleName`\n- `camelizedModuleName`\n\n`packageName` is the project name as found in the project's\n`package.json`.\n\n`moduleName` is the name of the entity being generated.\n\nThe mechanism for providing custom template variables is\ndescribed below.\n\n## Index.js\n\nCustom installation and uninstallation behavior can be added\nby overriding the hooks documented below. `index.js` should\nexport a plain object, which will extend the prototype of the\n`Blueprint` class. If needed, the original `Blueprint` prototype\ncan be accessed through the `_super` property.\n\n```js\nmodule.exports = {\n locals(options) {\n // Return custom template variables here.\n return {};\n },\n\n normalizeEntityName(entityName) {\n // Normalize and validate entity name here.\n return entityName;\n },\n\n fileMapTokens(options) {\n // Return custom tokens to be replaced in your files\n return {\n __token__(options){\n // logic to determine value goes here\n return 'value';\n }\n }\n },\n\n filesPath(options) {\n return path.join(this.path, 'files');\n },\n\n beforeInstall(options) {},\n afterInstall(options) {},\n beforeUninstall(options) {},\n afterUninstall(options) {}\n\n};\n```\n\n## Blueprint Hooks\n\n### beforeInstall & beforeUninstall\n\nCalled before any of the template files are processed and receives\nthe `options` and `locals` hashes as parameters. Typically used for\nvalidating any additional command line options or for any asynchronous\nsetup that is needed. As an example, the `controller` blueprint validates\nits `--type` option in this hook. If you need to run any asynchronous code,\nwrap it in a promise and return that promise from these hooks. This will\nensure that your code is executed correctly.\n\n### afterInstall & afterUninstall\n\nThe `afterInstall` and `afterUninstall` hooks receives the same\narguments as `locals`. Use it to perform any custom work after the\nfiles are processed. For example, the built-in `route` blueprint\nuses these hooks to add and remove relevant route declarations in\n`app/router.js`.\n\n### Overriding Install\n\nIf you don't want your blueprint to install the contents of\n`files` you can override the `install` method. It receives the\nsame `options` object described above and must return a promise.\nSee the built-in `resource` blueprint for an example of this.",
618
611
  "is_constructor": 1,
619
612
  "extends": "CoreObject",
@@ -700,7 +693,7 @@
700
693
  "module": "ember-cli",
701
694
  "namespace": "",
702
695
  "file": "lib/models/project.js",
703
- "line": 29,
696
+ "line": 27,
704
697
  "description": "The Project model is tied to your package.json. It is instantiated\nby giving {{#crossLink \"Project/closestSync:method\"}}{{/crossLink}}\nthe path to your project.",
705
698
  "is_constructor": 1,
706
699
  "params": [
@@ -783,7 +776,7 @@
783
776
  "namespace": "",
784
777
  "file": "lib/tasks/server/middleware/tests-server/index.js",
785
778
  "line": 9,
786
- "description": "This addon is used to serve the QUnit or Mocha test runner\nat `baseURL + '/tests'`.",
779
+ "description": "This addon is used to serve the QUnit or Mocha test runner\nat `rootURL + '/tests'`.",
787
780
  "is_constructor": 1
788
781
  },
789
782
  "AmdTransformAddon": {
@@ -845,7 +838,7 @@
845
838
  "classitems": [
846
839
  {
847
840
  "file": "lib/broccoli/ember-app.js",
848
- "line": 199,
841
+ "line": 180,
849
842
  "description": "Initializes the `tests` and `hinting` properties.\n\nDefaults to `false` unless `ember test` was used or this is *not* a production build.",
850
843
  "access": "private",
851
844
  "tagname": "",
@@ -863,7 +856,7 @@
863
856
  },
864
857
  {
865
858
  "file": "lib/broccoli/ember-app.js",
866
- "line": 215,
859
+ "line": 196,
867
860
  "description": "Initializes the `project` property from `options.project` or the\nclosest Ember CLI project from the current working directory.",
868
861
  "access": "private",
869
862
  "tagname": "",
@@ -881,7 +874,7 @@
881
874
  },
882
875
  {
883
876
  "file": "lib/broccoli/ember-app.js",
884
- "line": 236,
877
+ "line": 217,
885
878
  "description": "Initializes the `options` property from the `options` parameter and\na set of default values from Ember CLI.",
886
879
  "access": "private",
887
880
  "tagname": "",
@@ -899,7 +892,7 @@
899
892
  },
900
893
  {
901
894
  "file": "lib/broccoli/ember-app.js",
902
- "line": 452,
895
+ "line": 320,
903
896
  "description": "Resolves a path relative to the project's root",
904
897
  "access": "private",
905
898
  "tagname": "",
@@ -910,7 +903,7 @@
910
903
  },
911
904
  {
912
905
  "file": "lib/broccoli/ember-app.js",
913
- "line": 462,
906
+ "line": 330,
914
907
  "access": "private",
915
908
  "tagname": "",
916
909
  "itemtype": "method",
@@ -920,7 +913,7 @@
920
913
  },
921
914
  {
922
915
  "file": "lib/broccoli/ember-app.js",
923
- "line": 581,
916
+ "line": 357,
924
917
  "description": "Returns the environment name",
925
918
  "access": "public",
926
919
  "tagname": "",
@@ -936,7 +929,7 @@
936
929
  },
937
930
  {
938
931
  "file": "lib/broccoli/ember-app.js",
939
- "line": 593,
932
+ "line": 369,
940
933
  "description": "Delegates to `broccoli-concat` with the `sourceMapConfig` option set to `options.sourcemaps`.",
941
934
  "access": "private",
942
935
  "tagname": "",
@@ -960,7 +953,7 @@
960
953
  },
961
954
  {
962
955
  "file": "lib/broccoli/ember-app.js",
963
- "line": 608,
956
+ "line": 384,
964
957
  "description": "Checks the result of `addon.isEnabled()` if it exists, defaults to `true` otherwise.",
965
958
  "access": "private",
966
959
  "tagname": "",
@@ -982,7 +975,7 @@
982
975
  },
983
976
  {
984
977
  "file": "lib/broccoli/ember-app.js",
985
- "line": 620,
978
+ "line": 396,
986
979
  "access": "private",
987
980
  "tagname": "",
988
981
  "itemtype": "method",
@@ -1003,7 +996,7 @@
1003
996
  },
1004
997
  {
1005
998
  "file": "lib/broccoli/ember-app.js",
1006
- "line": 631,
999
+ "line": 407,
1007
1000
  "access": "private",
1008
1001
  "tagname": "",
1009
1002
  "itemtype": "method",
@@ -1024,28 +1017,7 @@
1024
1017
  },
1025
1018
  {
1026
1019
  "file": "lib/broccoli/ember-app.js",
1027
- "line": 642,
1028
- "access": "private",
1029
- "tagname": "",
1030
- "itemtype": "method",
1031
- "name": "_checkEmberCliBabel",
1032
- "params": [
1033
- {
1034
- "name": "addons",
1035
- "description": "",
1036
- "type": "Addons"
1037
- }
1038
- ],
1039
- "return": {
1040
- "description": "",
1041
- "type": "Boolean"
1042
- },
1043
- "class": "EmberApp",
1044
- "module": "ember-cli"
1045
- },
1046
- {
1047
- "file": "lib/broccoli/ember-app.js",
1048
- "line": 670,
1020
+ "line": 418,
1049
1021
  "description": "Returns whether an addon should be added to the project",
1050
1022
  "access": "private",
1051
1023
  "tagname": "",
@@ -1067,7 +1039,7 @@
1067
1039
  },
1068
1040
  {
1069
1041
  "file": "lib/broccoli/ember-app.js",
1070
- "line": 686,
1042
+ "line": 434,
1071
1043
  "description": "Calls the included hook on addons.",
1072
1044
  "access": "private",
1073
1045
  "tagname": "",
@@ -1078,7 +1050,7 @@
1078
1050
  },
1079
1051
  {
1080
1052
  "file": "lib/broccoli/ember-app.js",
1081
- "line": 726,
1053
+ "line": 470,
1082
1054
  "description": "Calls the importTransforms hook on addons.",
1083
1055
  "access": "private",
1084
1056
  "tagname": "",
@@ -1089,7 +1061,7 @@
1089
1061
  },
1090
1062
  {
1091
1063
  "file": "lib/broccoli/ember-app.js",
1092
- "line": 775,
1064
+ "line": 519,
1093
1065
  "description": "Loads and initializes addons for this project.\nCalls initializeAddons on the Project.",
1094
1066
  "access": "private",
1095
1067
  "tagname": "",
@@ -1100,7 +1072,7 @@
1100
1072
  },
1101
1073
  {
1102
1074
  "file": "lib/broccoli/ember-app.js",
1103
- "line": 802,
1075
+ "line": 546,
1104
1076
  "description": "Returns a list of trees for a given type, returned by all addons.",
1105
1077
  "access": "private",
1106
1078
  "tagname": "",
@@ -1122,7 +1094,7 @@
1122
1094
  },
1123
1095
  {
1124
1096
  "file": "lib/broccoli/ember-app.js",
1125
- "line": 901,
1097
+ "line": 558,
1126
1098
  "description": "Runs addon post-processing on a given tree and returns the processed tree.\n\nThis enables addons to do process immediately **after** the preprocessor for a\ngiven type is run, but before concatenation occurs. If an addon wishes to\napply a transform before the preprocessors run, they can instead implement the\npreprocessTree hook.\n\nTo utilize this addons implement `postprocessTree` hook.\n\nAn example, would be to apply some broccoli transform on all JS files, but\nonly after the existing pre-processors have run.\n\n```js\nmodule.exports = {\n name: 'my-cool-addon',\n postprocessTree(type, tree) {\n if (type === 'js') {\n return someBroccoliTransform(tree);\n }\n\n return tree;\n }\n}\n\n```",
1127
1099
  "access": "private",
1128
1100
  "tagname": "",
@@ -1149,7 +1121,7 @@
1149
1121
  },
1150
1122
  {
1151
1123
  "file": "lib/broccoli/ember-app.js",
1152
- "line": 938,
1124
+ "line": 595,
1153
1125
  "description": "Runs addon pre-processing on a given tree and returns the processed tree.\n\nThis enables addons to do process immediately **before** the preprocessor for a\ngiven type is run. If an addon wishes to apply a transform after the\npreprocessors run, they can instead implement the postprocessTree hook.\n\nTo utilize this addons implement `preprocessTree` hook.\n\nAn example, would be to remove some set of files before the preprocessors run.\n\n```js\nvar stew = require('broccoli-stew');\n\nmodule.exports = {\n name: 'my-cool-addon',\n preprocessTree(type, tree) {\n if (type === 'js' && type === 'template') {\n return stew.rm(tree, someGlobPattern);\n }\n\n return tree;\n }\n}\n```",
1154
1126
  "access": "private",
1155
1127
  "tagname": "",
@@ -1176,7 +1148,7 @@
1176
1148
  },
1177
1149
  {
1178
1150
  "file": "lib/broccoli/ember-app.js",
1179
- "line": 974,
1151
+ "line": 631,
1180
1152
  "description": "Runs addon lintTree hooks and returns a single tree containing all\ntheir output.",
1181
1153
  "access": "private",
1182
1154
  "tagname": "",
@@ -1203,7 +1175,7 @@
1203
1175
  },
1204
1176
  {
1205
1177
  "file": "lib/broccoli/ember-app.js",
1206
- "line": 993,
1178
+ "line": 650,
1207
1179
  "description": "Imports legacy imports in this.vendorFiles",
1208
1180
  "access": "private",
1209
1181
  "tagname": "",
@@ -1214,7 +1186,7 @@
1214
1186
  },
1215
1187
  {
1216
1188
  "file": "lib/broccoli/ember-app.js",
1217
- "line": 1174,
1189
+ "line": 827,
1218
1190
  "access": "private",
1219
1191
  "tagname": "",
1220
1192
  "itemtype": "method",
@@ -1228,7 +1200,7 @@
1228
1200
  },
1229
1201
  {
1230
1202
  "file": "lib/broccoli/ember-app.js",
1231
- "line": 1389,
1203
+ "line": 1034,
1232
1204
  "description": "Runs the `app`, `tests` and `templates` trees through the chain of addons that produces lint trees.\n\nThose lint trees are afterwards funneled into the `tests` folder, babel-ified and returned as an array.",
1233
1205
  "access": "private",
1234
1206
  "tagname": "",
@@ -1243,28 +1215,7 @@
1243
1215
  },
1244
1216
  {
1245
1217
  "file": "lib/broccoli/ember-app.js",
1246
- "line": 1429,
1247
- "access": "private",
1248
- "tagname": "",
1249
- "itemtype": "method",
1250
- "name": "_addonInstalled",
1251
- "params": [
1252
- {
1253
- "name": "addonName",
1254
- "description": "The name of the addon we are checking to see if it's installed",
1255
- "type": "String"
1256
- }
1257
- ],
1258
- "return": {
1259
- "description": "",
1260
- "type": "Boolean"
1261
- },
1262
- "class": "EmberApp",
1263
- "module": "ember-cli"
1264
- },
1265
- {
1266
- "file": "lib/broccoli/ember-app.js",
1267
- "line": 1439,
1218
+ "line": 1074,
1268
1219
  "access": "public",
1269
1220
  "tagname": "",
1270
1221
  "itemtype": "method",
@@ -1278,7 +1229,7 @@
1278
1229
  },
1279
1230
  {
1280
1231
  "file": "lib/broccoli/ember-app.js",
1281
- "line": 1448,
1232
+ "line": 1083,
1282
1233
  "description": "Imports an asset into the application.",
1283
1234
  "access": "public",
1284
1235
  "tagname": "",
@@ -1336,7 +1287,7 @@
1336
1287
  },
1337
1288
  {
1338
1289
  "file": "lib/broccoli/ember-app.js",
1339
- "line": 1494,
1290
+ "line": 1129,
1340
1291
  "access": "private",
1341
1292
  "tagname": "",
1342
1293
  "itemtype": "method",
@@ -1373,7 +1324,7 @@
1373
1324
  },
1374
1325
  {
1375
1326
  "file": "lib/broccoli/ember-app.js",
1376
- "line": 1579,
1327
+ "line": 1214,
1377
1328
  "access": "private",
1378
1329
  "tagname": "",
1379
1330
  "itemtype": "method",
@@ -1394,7 +1345,7 @@
1394
1345
  },
1395
1346
  {
1396
1347
  "file": "lib/broccoli/ember-app.js",
1397
- "line": 1620,
1348
+ "line": 1255,
1398
1349
  "description": "Returns an array of trees for this application",
1399
1350
  "access": "private",
1400
1351
  "tagname": "",
@@ -1409,7 +1360,7 @@
1409
1360
  },
1410
1361
  {
1411
1362
  "file": "lib/broccoli/ember-app.js",
1412
- "line": 1724,
1363
+ "line": 1292,
1413
1364
  "description": "Returns the merged tree for this application",
1414
1365
  "access": "public",
1415
1366
  "tagname": "",
@@ -1560,7 +1511,7 @@
1560
1511
  },
1561
1512
  {
1562
1513
  "file": "lib/cli/cli.js",
1563
- "line": 264,
1514
+ "line": 255,
1564
1515
  "access": "private",
1565
1516
  "tagname": "",
1566
1517
  "itemtype": "method",
@@ -1580,7 +1531,7 @@
1580
1531
  },
1581
1532
  {
1582
1533
  "file": "lib/cli/cli.js",
1583
- "line": 305,
1534
+ "line": 296,
1584
1535
  "access": "private",
1585
1536
  "tagname": "",
1586
1537
  "itemtype": "method",
@@ -2169,7 +2120,7 @@
2169
2120
  },
2170
2121
  {
2171
2122
  "file": "lib/models/package-info-cache/package-info.js",
2172
- "line": 423,
2123
+ "line": 419,
2173
2124
  "description": "This is only supposed to be called by the addon instantiation code.\nAlso, the assumption here is that this PackageInfo really is for an\nAddon, so we don't need to check each time.",
2174
2125
  "access": "private",
2175
2126
  "tagname": "",
@@ -2184,7 +2135,7 @@
2184
2135
  },
2185
2136
  {
2186
2137
  "file": "lib/models/package-info-cache/package-info.js",
2187
- "line": 461,
2138
+ "line": 457,
2188
2139
  "description": "Construct an addon instance.\n\nNOTE: this does NOT call constructors for the child addons. That is left to\nthe caller to do, so they can insert any other logic they want.",
2189
2140
  "access": "private",
2190
2141
  "tagname": "",
@@ -2207,7 +2158,7 @@
2207
2158
  },
2208
2159
  {
2209
2160
  "file": "lib/models/package-info-cache/package-info.js",
2210
- "line": 496,
2161
+ "line": 492,
2211
2162
  "description": "Create an instance of the addon represented by this packageInfo or (if we\nare supporting per-bundle caching and this is an allow-caching-per-bundle addon)\ncheck if we should be creating a proxy instead.\n\nNOTE: we assume that the value of 'allowCachingPerBundle' does not change between\ncalls to the constructor! A given addon is either allowing or not allowing caching\nfor an entire run.",
2212
2163
  "itemtype": "method",
2213
2164
  "name": "getAddonInstance",
@@ -2231,7 +2182,7 @@
2231
2182
  },
2232
2183
  {
2233
2184
  "file": "lib/models/package-info-cache/package-info.js",
2234
- "line": 529,
2185
+ "line": 525,
2235
2186
  "description": "Initialize the child addons array of a newly-created addon instance. Normally when\nan addon derives from Addon, child addons will be created during 'setupRegistry' and\nthis code is essentially unnecessary. But if an addon is created with custom constructors\nthat don't call 'setupRegistry', any child addons may not yet be initialized.",
2236
2187
  "itemtype": "method",
2237
2188
  "name": "initChildAddons",
@@ -2247,7 +2198,7 @@
2247
2198
  },
2248
2199
  {
2249
2200
  "file": "lib/models/package-info-cache/package-info.js",
2250
- "line": 546,
2201
+ "line": 542,
2251
2202
  "description": "Gets the addon entry point",
2252
2203
  "itemtype": "method",
2253
2204
  "name": "_getAddonEntryPoint",
@@ -2488,7 +2439,7 @@
2488
2439
  },
2489
2440
  {
2490
2441
  "file": "lib/models/addon.js",
2491
- "line": 170,
2442
+ "line": 155,
2492
2443
  "description": "The name of this addon.",
2493
2444
  "access": "public",
2494
2445
  "tagname": "",
@@ -2501,7 +2452,7 @@
2501
2452
  },
2502
2453
  {
2503
2454
  "file": "lib/models/addon.js",
2504
- "line": 179,
2455
+ "line": 164,
2505
2456
  "description": "The absolute path of the root directory where this addon is located.",
2506
2457
  "access": "public",
2507
2458
  "tagname": "",
@@ -2514,7 +2465,7 @@
2514
2465
  },
2515
2466
  {
2516
2467
  "file": "lib/models/addon.js",
2517
- "line": 188,
2468
+ "line": 173,
2518
2469
  "description": "The host app instance.\n\n**Note**: this property will only be present on addons that are a direct dependency\nof the application itself, not of other addons. It is also not available in `init()`,\nbut will be set before `setupPreprocessorRegistry()` and `included()` are invoked.",
2519
2470
  "access": "public",
2520
2471
  "tagname": "",
@@ -2527,7 +2478,7 @@
2527
2478
  },
2528
2479
  {
2529
2480
  "file": "lib/models/addon.js",
2530
- "line": 201,
2481
+ "line": 186,
2531
2482
  "description": "The root {{#crossLink \"Project\"}}project{{/crossLink}} to which this addon belongs.",
2532
2483
  "access": "public",
2533
2484
  "tagname": "",
@@ -2540,7 +2491,7 @@
2540
2491
  },
2541
2492
  {
2542
2493
  "file": "lib/models/addon.js",
2543
- "line": 210,
2494
+ "line": 195,
2544
2495
  "description": "This addon's parent.\n\nIf the addon is a direct dependency of an application, then `parent` will be the\ncorresponding {{#crossLink \"Project\"}}project{{/crossLink}} instance. If it's a\ndependency of another addon, then `parent` will be a reference to that addon.",
2545
2496
  "access": "public",
2546
2497
  "tagname": "",
@@ -2553,7 +2504,7 @@
2553
2504
  },
2554
2505
  {
2555
2506
  "file": "lib/models/addon.js",
2556
- "line": 223,
2507
+ "line": 208,
2557
2508
  "description": "The set of addons that this addon itself depends on.\n\nThis array is populated from the addon's listed `dependencies` and any items in\n`ember-addon.paths` in its `package.json`.",
2558
2509
  "access": "public",
2559
2510
  "tagname": "",
@@ -2566,7 +2517,7 @@
2566
2517
  },
2567
2518
  {
2568
2519
  "file": "lib/models/addon.js",
2569
- "line": 235,
2520
+ "line": 220,
2570
2521
  "description": "A [`console-ui`](https://github.com/ember-cli/console-ui) object that can be used\nto log messages for the user and indicate progress on long-running operations.",
2571
2522
  "access": "public",
2572
2523
  "tagname": "",
@@ -2579,7 +2530,7 @@
2579
2530
  },
2580
2531
  {
2581
2532
  "file": "lib/models/addon.js",
2582
- "line": 245,
2533
+ "line": 230,
2583
2534
  "description": "The contents of the addon's `package.json`.",
2584
2535
  "access": "public",
2585
2536
  "tagname": "",
@@ -2592,7 +2543,7 @@
2592
2543
  },
2593
2544
  {
2594
2545
  "file": "lib/models/addon.js",
2595
- "line": 254,
2546
+ "line": 239,
2596
2547
  "description": "Initializes the addon. If you override this method make sure and call `this._super.init && this._super.init.apply(this, arguments);` or your addon will not work.",
2597
2548
  "access": "public",
2598
2549
  "tagname": "",
@@ -2618,7 +2569,7 @@
2618
2569
  },
2619
2570
  {
2620
2571
  "file": "lib/models/addon.js",
2621
- "line": 340,
2572
+ "line": 320,
2622
2573
  "description": "Find an addon of the current addon.\n\nExample: ember-data depends on ember-cli-babel and wishes to have\nadditional control over transpilation this method helps.\n\n```js\n// ember-data/index.js\ntreeForAddon(tree) {\n let babel = this.findOwnAddonByName('ember-cli-babel');\n\n return babel.transpileTree(tree, {\n // customize the babel step (see: ember-cli-addons readme for more details);\n });\n}\n```",
2623
2574
  "access": "public",
2624
2575
  "tagname": "",
@@ -2629,7 +2580,7 @@
2629
2580
  },
2630
2581
  {
2631
2582
  "file": "lib/models/addon.js",
2632
- "line": 364,
2583
+ "line": 344,
2633
2584
  "description": "Check if the current addon intends to be hinted. Typically this is for\nhinting/linting libraries such as eslint or jshint",
2634
2585
  "access": "public",
2635
2586
  "tagname": "",
@@ -2640,7 +2591,7 @@
2640
2591
  },
2641
2592
  {
2642
2593
  "file": "lib/models/addon.js",
2643
- "line": 379,
2594
+ "line": 359,
2644
2595
  "description": "Shorthand method for [broccoli-concat](https://github.com/ember-cli/broccoli-concat)",
2645
2596
  "access": "private",
2646
2597
  "tagname": "",
@@ -2667,7 +2618,7 @@
2667
2618
  },
2668
2619
  {
2669
2620
  "file": "lib/models/addon.js",
2670
- "line": 393,
2621
+ "line": 373,
2671
2622
  "description": "Allows to mark the addon as developing, triggering live-reload in the project the addon is linked to.\n\n#### Uses:\n\n- Working on projects with internal addons",
2672
2623
  "access": "public",
2673
2624
  "tagname": "",
@@ -2682,7 +2633,7 @@
2682
2633
  },
2683
2634
  {
2684
2635
  "file": "lib/models/addon.js",
2685
- "line": 431,
2636
+ "line": 409,
2686
2637
  "description": "Discovers all child addons of this addon and an AddonInfo about\neach addon in this.addonPackages (keyed on addon name).\n\nChild addons include those from 'dependencies' (not devDependencies)\nand in-repo addons\n\nAny packageInfos that we find that are marked as not valid are excluded.",
2687
2638
  "access": "private",
2688
2639
  "tagname": "",
@@ -2693,7 +2644,7 @@
2693
2644
  },
2694
2645
  {
2695
2646
  "file": "lib/models/addon.js",
2696
- "line": 481,
2647
+ "line": 459,
2697
2648
  "description": "Invoke the specified method for each enabled addon.",
2698
2649
  "access": "private",
2699
2650
  "tagname": "",
@@ -2716,7 +2667,7 @@
2716
2667
  },
2717
2668
  {
2718
2669
  "file": "lib/models/addon.js",
2719
- "line": 506,
2670
+ "line": 484,
2720
2671
  "description": "Invoke the specified method for each of the project's addons.",
2721
2672
  "access": "private",
2722
2673
  "tagname": "",
@@ -2739,7 +2690,7 @@
2739
2690
  },
2740
2691
  {
2741
2692
  "file": "lib/models/addon.js",
2742
- "line": 539,
2693
+ "line": 517,
2743
2694
  "description": "Generates a tree for the specified path",
2744
2695
  "access": "private",
2745
2696
  "tagname": "",
@@ -2754,17 +2705,7 @@
2754
2705
  },
2755
2706
  {
2756
2707
  "file": "lib/models/addon.js",
2757
- "line": 574,
2758
- "access": "private",
2759
- "tagname": "",
2760
- "itemtype": "method",
2761
- "name": "_warn",
2762
- "class": "Addon",
2763
- "module": "ember-cli"
2764
- },
2765
- {
2766
- "file": "lib/models/addon.js",
2767
- "line": 586,
2708
+ "line": 552,
2768
2709
  "description": "Returns a given type of tree (if present), merged with the\napplication tree. For each of the trees available using this\nmethod, you can also use a direct method called `treeFor[Type]` (eg. `treeForApp`).\n\nAvailable tree names:\n- {{#crossLink \"Addon/treeForApp:method\"}}app{{/crossLink}}\n- {{#crossLink \"Addon/treeForStyles:method\"}}styles{{/crossLink}}\n- {{#crossLink \"Addon/treeForTemplates:method\"}}templates{{/crossLink}}\n- {{#crossLink \"Addon/treeForAddonTemplates:method\"}}addon-templates{{/crossLink}}\n- {{#crossLink \"Addon/treeForAddon:method\"}}addon{{/crossLink}}\n- {{#crossLink \"Addon/treeForVendor:method\"}}vendor{{/crossLink}}\n- {{#crossLink \"Addon/treeForTestSupport:method\"}}test-support{{/crossLink}}\n- {{#crossLink \"Addon/treeForAddonTestSupport:method\"}}addon-test-support{{/crossLink}}\n- {{#crossLink \"Addon/treeForPublic:method\"}}public{{/crossLink}}\n\n#### Uses:\n\n- manipulating trees at build time",
2769
2710
  "access": "public",
2770
2711
  "tagname": "",
@@ -2786,7 +2727,7 @@
2786
2727
  },
2787
2728
  {
2788
2729
  "file": "lib/models/addon.js",
2789
- "line": 652,
2730
+ "line": 618,
2790
2731
  "access": "private",
2791
2732
  "tagname": "",
2792
2733
  "params": [
@@ -2807,7 +2748,7 @@
2807
2748
  },
2808
2749
  {
2809
2750
  "file": "lib/models/addon.js",
2810
- "line": 674,
2751
+ "line": 640,
2811
2752
  "description": "Calculates a cacheKey for the given treeType. It is expected to return a\ncache key allowing multiple builds of the same tree to simply return the\noriginal tree (preventing duplicate work). If it returns null / undefined\nthe tree in question will opt out of this caching system.\n\nThis method is invoked prior to calling treeFor with the same tree name.\n\nYou should override this method if you implement custom treeFor or treeFor*\nmethods, which cause addons to opt-out of this caching.",
2812
2753
  "access": "public",
2813
2754
  "tagname": "",
@@ -2829,7 +2770,7 @@
2829
2770
  },
2830
2771
  {
2831
2772
  "file": "lib/models/addon.js",
2832
- "line": 716,
2773
+ "line": 682,
2833
2774
  "description": "This method climbs up the hierarchy of addons\nup to the host application.\n\nThis prevents previous addons (prior to `this.import`, ca 2.7.0)\nto break at importing assets when they are used nested in other addons.",
2834
2775
  "access": "private",
2835
2776
  "tagname": "",
@@ -2840,7 +2781,7 @@
2840
2781
  },
2841
2782
  {
2842
2783
  "file": "lib/models/addon.js",
2843
- "line": 739,
2784
+ "line": 705,
2844
2785
  "description": "This method is called when the addon is included in a build. You\nwould typically use this hook to perform additional imports\n\n#### Uses:\n\n- including vendor files\n- setting configuration options\n\n*Note:* Any options set in the consuming application will override the addon.",
2845
2786
  "access": "public",
2846
2787
  "tagname": "",
@@ -2861,7 +2802,7 @@
2861
2802
  },
2862
2803
  {
2863
2804
  "file": "lib/models/addon.js",
2864
- "line": 772,
2805
+ "line": 738,
2865
2806
  "description": "Imports an asset into this addon.",
2866
2807
  "access": "public",
2867
2808
  "tagname": "",
@@ -2906,7 +2847,7 @@
2906
2847
  },
2907
2848
  {
2908
2849
  "file": "lib/models/addon.js",
2909
- "line": 792,
2850
+ "line": 758,
2910
2851
  "description": "Returns the tree for all app files",
2911
2852
  "access": "public",
2912
2853
  "tagname": "",
@@ -2928,7 +2869,7 @@
2928
2869
  },
2929
2870
  {
2930
2871
  "file": "lib/models/addon.js",
2931
- "line": 804,
2872
+ "line": 770,
2932
2873
  "description": "Returns the tree for all template files",
2933
2874
  "access": "public",
2934
2875
  "tagname": "",
@@ -2950,7 +2891,7 @@
2950
2891
  },
2951
2892
  {
2952
2893
  "file": "lib/models/addon.js",
2953
- "line": 816,
2894
+ "line": 782,
2954
2895
  "description": "Returns the tree for this addon's templates",
2955
2896
  "access": "public",
2956
2897
  "tagname": "",
@@ -2972,7 +2913,7 @@
2972
2913
  },
2973
2914
  {
2974
2915
  "file": "lib/models/addon.js",
2975
- "line": 828,
2916
+ "line": 794,
2976
2917
  "description": "Returns a tree for this addon",
2977
2918
  "access": "public",
2978
2919
  "tagname": "",
@@ -2990,14 +2931,14 @@
2990
2931
  "type": "Tree"
2991
2932
  },
2992
2933
  "example": [
2993
- "\n```js\ntreeForAddon() {\n var tree = this._super.treeForAddon.apply(this, arguments);\n var checker = new VersionChecker(this);\n var isOldEmber = checker.for('ember', 'bower').lt('1.13.0');\n\n if (isOldEmber) {\n tree = new Funnel(tree, { exclude: [ /instance-initializers/ ] });\n }\n\n return tree;\n}\n```"
2934
+ "\n```js\ntreeForAddon() {\n let emberVersion = new VersionChecker(this.project).for('ember-source');\n let shouldUsePolyfill = emberVersion.lt('4.5.0-alpha.4');\n\n if (shouldUsePolyfill) {\n return this._super.treeForAddon.apply(this, arguments);\n }\n}\n```"
2994
2935
  ],
2995
2936
  "class": "Addon",
2996
2937
  "module": "ember-cli"
2997
2938
  },
2998
2939
  {
2999
2940
  "file": "lib/models/addon.js",
3000
- "line": 862,
2941
+ "line": 825,
3001
2942
  "description": "Returns the tree for all style files",
3002
2943
  "access": "public",
3003
2944
  "tagname": "",
@@ -3019,7 +2960,7 @@
3019
2960
  },
3020
2961
  {
3021
2962
  "file": "lib/models/addon.js",
3022
- "line": 881,
2963
+ "line": 844,
3023
2964
  "description": "Returns the tree for all vendor files",
3024
2965
  "access": "public",
3025
2966
  "tagname": "",
@@ -3041,7 +2982,7 @@
3041
2982
  },
3042
2983
  {
3043
2984
  "file": "lib/models/addon.js",
3044
- "line": 893,
2985
+ "line": 856,
3045
2986
  "description": "Returns the tree for all test support files",
3046
2987
  "access": "public",
3047
2988
  "tagname": "",
@@ -3063,7 +3004,7 @@
3063
3004
  },
3064
3005
  {
3065
3006
  "file": "lib/models/addon.js",
3066
- "line": 905,
3007
+ "line": 868,
3067
3008
  "description": "Returns the tree for all public files",
3068
3009
  "access": "public",
3069
3010
  "tagname": "",
@@ -3085,7 +3026,7 @@
3085
3026
  },
3086
3027
  {
3087
3028
  "file": "lib/models/addon.js",
3088
- "line": 925,
3029
+ "line": 888,
3089
3030
  "description": "Returns the tree for all test files namespaced to a given addon.",
3090
3031
  "access": "public",
3091
3032
  "tagname": "",
@@ -3107,7 +3048,7 @@
3107
3048
  },
3108
3049
  {
3109
3050
  "file": "lib/models/addon.js",
3110
- "line": 961,
3051
+ "line": 922,
3111
3052
  "description": "Runs the styles tree through preprocessors.",
3112
3053
  "access": "private",
3113
3054
  "tagname": "",
@@ -3129,7 +3070,7 @@
3129
3070
  },
3130
3071
  {
3131
3072
  "file": "lib/models/addon.js",
3132
- "line": 986,
3073
+ "line": 947,
3133
3074
  "description": "Looks in the addon/ and addon/templates trees to determine if template files\nexist that need to be precompiled.\n\nThis is executed once when building, but not on rebuilds.",
3134
3075
  "access": "private",
3135
3076
  "tagname": "",
@@ -3144,7 +3085,7 @@
3144
3085
  },
3145
3086
  {
3146
3087
  "file": "lib/models/addon.js",
3147
- "line": 1000,
3088
+ "line": 961,
3148
3089
  "description": "Looks in the addon/ and addon/templates trees to determine if template files\nexist in the pods format that need to be precompiled.\n\nThis is executed once when building, but not on rebuilds.",
3149
3090
  "access": "private",
3150
3091
  "tagname": "",
@@ -3159,7 +3100,7 @@
3159
3100
  },
3160
3101
  {
3161
3102
  "file": "lib/models/addon.js",
3162
- "line": 1118,
3103
+ "line": 1079,
3163
3104
  "description": "Runs the templates tree through preprocessors.",
3164
3105
  "access": "private",
3165
3106
  "tagname": "",
@@ -3181,7 +3122,7 @@
3181
3122
  },
3182
3123
  {
3183
3124
  "file": "lib/models/addon.js",
3184
- "line": 1152,
3125
+ "line": 1113,
3185
3126
  "description": "Runs the addon tree through preprocessors.",
3186
3127
  "access": "private",
3187
3128
  "tagname": "",
@@ -3203,7 +3144,7 @@
3203
3144
  },
3204
3145
  {
3205
3146
  "file": "lib/models/addon.js",
3206
- "line": 1206,
3147
+ "line": 1157,
3207
3148
  "description": "Returns a tree with JSHint output for all addon JS.",
3208
3149
  "access": "private",
3209
3150
  "tagname": "",
@@ -3218,7 +3159,7 @@
3218
3159
  },
3219
3160
  {
3220
3161
  "file": "lib/models/addon.js",
3221
- "line": 1272,
3162
+ "line": 1223,
3222
3163
  "description": "Preprocesses a javascript tree.",
3223
3164
  "access": "private",
3224
3165
  "tagname": "",
@@ -3233,7 +3174,7 @@
3233
3174
  },
3234
3175
  {
3235
3176
  "file": "lib/models/addon.js",
3236
- "line": 1283,
3177
+ "line": 1234,
3237
3178
  "description": "Returns a tree with all javascript for this addon.",
3238
3179
  "access": "private",
3239
3180
  "tagname": "",
@@ -3255,7 +3196,7 @@
3255
3196
  },
3256
3197
  {
3257
3198
  "file": "lib/models/addon.js",
3258
- "line": 1319,
3199
+ "line": 1263,
3259
3200
  "description": "Returns the module name for this addon.",
3260
3201
  "access": "public",
3261
3202
  "tagname": "",
@@ -3270,7 +3211,7 @@
3270
3211
  },
3271
3212
  {
3272
3213
  "file": "lib/models/addon.js",
3273
- "line": 1334,
3214
+ "line": 1278,
3274
3215
  "description": "Returns the path for addon blueprints.",
3275
3216
  "access": "public",
3276
3217
  "tagname": "",
@@ -3288,8 +3229,8 @@
3288
3229
  },
3289
3230
  {
3290
3231
  "file": "lib/models/addon.js",
3291
- "line": 1352,
3292
- "description": "Augments the application's configuration settings.\n\nObject returned from this hook is merged with the application's configuration object.\n\nApplication's configuration always take precedence.\n\n#### Uses:\n\n- Modifying configuration options (see list of defaults [here](https://github.com/ember-cli/ember-cli/blob/v2.4.3/lib/broccoli/ember-app.js#L163))\n - For example\n - `minifyJS`\n - `storeConfigInMeta`\n - et, al",
3232
+ "line": 1296,
3233
+ "description": "Augments the application's configuration settings.\n\nObject returned from this hook is merged with the application's configuration object.\n\nApplication's configuration always take precedence.\n\n#### Uses:\n\n- Modifying configuration options (see list of defaults [here](https://github.com/ember-cli/ember-cli/blob/v2.4.3/lib/broccoli/ember-app.js#L163))\n - For example\n - `storeConfigInMeta`\n - et, al",
3293
3234
  "access": "public",
3294
3235
  "tagname": "",
3295
3236
  "itemtype": "method",
@@ -3318,7 +3259,7 @@
3318
3259
  },
3319
3260
  {
3320
3261
  "file": "lib/models/addon.js",
3321
- "line": 1392,
3262
+ "line": 1335,
3322
3263
  "access": "public",
3323
3264
  "tagname": "",
3324
3265
  "itemtype": "method",
@@ -3332,7 +3273,7 @@
3332
3273
  },
3333
3274
  {
3334
3275
  "file": "lib/models/addon.js",
3335
- "line": 1402,
3276
+ "line": 1345,
3336
3277
  "access": "public",
3337
3278
  "tagname": "",
3338
3279
  "itemtype": "method",
@@ -3346,7 +3287,7 @@
3346
3287
  },
3347
3288
  {
3348
3289
  "file": "lib/models/addon.js",
3349
- "line": 1411,
3290
+ "line": 1354,
3350
3291
  "description": "Can be used to exclude addons from being added as a child addon.\n\n#### Uses:\n\n- Abstract away multiple addons while only including one into the built assets",
3351
3292
  "access": "public",
3352
3293
  "tagname": "",
@@ -3371,7 +3312,7 @@
3371
3312
  },
3372
3313
  {
3373
3314
  "file": "lib/models/addon.js",
3374
- "line": 1443,
3315
+ "line": 1386,
3375
3316
  "description": "Allows the specification of custom addon commands.\nExpects you to return an object whose key is the name of the command and value is the command instance..\n\nThis function is not implemented by default\n\n#### Uses:\n\n- Include custom commands into consuming application",
3376
3317
  "access": "public",
3377
3318
  "tagname": "",
@@ -3389,7 +3330,7 @@
3389
3330
  },
3390
3331
  {
3391
3332
  "file": "lib/models/addon.js",
3392
- "line": 1467,
3333
+ "line": 1410,
3393
3334
  "description": "Allows addons to define a custom transform function that other addons and app can use when using `app.import`.\n\nThis function is not implemented by default\n\n#### Uses:\n\n- An app or addons want to transform a dependency that is being imported using `app.import`.",
3394
3335
  "access": "public",
3395
3336
  "tagname": "",
@@ -3408,7 +3349,7 @@
3408
3349
  },
3409
3350
  {
3410
3351
  "file": "lib/models/addon.js",
3411
- "line": 1511,
3352
+ "line": 1454,
3412
3353
  "description": "Pre-process a tree\n\n#### Uses:\n\n- removing / adding files from the build.",
3413
3354
  "access": "public",
3414
3355
  "tagname": "",
@@ -3435,7 +3376,7 @@
3435
3376
  },
3436
3377
  {
3437
3378
  "file": "lib/models/addon.js",
3438
- "line": 1525,
3379
+ "line": 1468,
3439
3380
  "description": "Post-process a tree",
3440
3381
  "access": "public",
3441
3382
  "tagname": "",
@@ -3465,7 +3406,7 @@
3465
3406
  },
3466
3407
  {
3467
3408
  "file": "lib/models/addon.js",
3468
- "line": 1538,
3409
+ "line": 1481,
3469
3410
  "description": "This hook allows you to make changes to the express server run by ember-cli.\n\nIt's passed a `startOptions` object which contains:\n- `app` Express server instance\n- `options` A hash with:\n - `project` Current {{#crossLink \"Project\"}}project{{/crossLink}}\n - `watcher`\n - `environment`\n\nThis function is not implemented by default\n\n#### Uses:\n\n- Tacking on headers to each request\n- Modifying the request object\n\n*Note:* that this should only be used in development, and if you need the same behavior in production you'll\nneed to configure your server.",
3470
3411
  "access": "public",
3471
3412
  "tagname": "",
@@ -3486,7 +3427,7 @@
3486
3427
  },
3487
3428
  {
3488
3429
  "file": "lib/models/addon.js",
3489
- "line": 1577,
3430
+ "line": 1520,
3490
3431
  "description": "This hook allows you to make changes to the express server run by testem.\n\nThis function is not implemented by default\n\n#### Uses:\n\n- Adding custom test-specific endpoints\n- Manipulating HTTP requests in tests",
3491
3432
  "access": "public",
3492
3433
  "tagname": "",
@@ -3504,7 +3445,7 @@
3504
3445
  },
3505
3446
  {
3506
3447
  "file": "lib/models/addon.js",
3507
- "line": 1592,
3448
+ "line": 1535,
3508
3449
  "description": "This hook is called before a build takes place.",
3509
3450
  "access": "public",
3510
3451
  "tagname": "",
@@ -3522,7 +3463,7 @@
3522
3463
  },
3523
3464
  {
3524
3465
  "file": "lib/models/addon.js",
3525
- "line": 1600,
3466
+ "line": 1543,
3526
3467
  "description": "This hook is called after a build is complete.\n\nIt's passed a `result` object which contains:\n- `directory` Path to build output\n\n#### Uses:\n\n- Slow tree listing\n- May be used to manipulate your project after build has happened",
3527
3468
  "access": "public",
3528
3469
  "tagname": "",
@@ -3540,7 +3481,7 @@
3540
3481
  },
3541
3482
  {
3542
3483
  "file": "lib/models/addon.js",
3543
- "line": 1616,
3484
+ "line": 1559,
3544
3485
  "description": "This hook is called after the build has been processed and the build files have been copied to the output directory\n\nIt's passed a `result` object which contains:\n- `directory` Path to build output",
3545
3486
  "access": "public",
3546
3487
  "tagname": "",
@@ -3561,7 +3502,7 @@
3561
3502
  },
3562
3503
  {
3563
3504
  "file": "lib/models/addon.js",
3564
- "line": 1633,
3505
+ "line": 1576,
3565
3506
  "description": "This hook is called when an error occurs during the preBuild, postBuild or outputReady hooks\nfor addons, or when the build fails\n\n#### Uses:\n\n- Custom error handling during build process",
3566
3507
  "access": "public",
3567
3508
  "tagname": "",
@@ -3582,7 +3523,7 @@
3582
3523
  },
3583
3524
  {
3584
3525
  "file": "lib/models/addon.js",
3585
- "line": 1649,
3526
+ "line": 1592,
3586
3527
  "description": "Used to add preprocessors to the preprocessor registry. This is often used by addons like [ember-cli-htmlbars](https://github.com/ember-cli/ember-cli-htmlbars)\nand [ember-cli-coffeescript](https://github.com/kimroen/ember-cli-coffeescript) to add a `template` or `js` preprocessor to the registry.\n\n**Uses:**\n\n- Adding preprocessors to the registry.",
3587
3528
  "access": "public",
3588
3529
  "tagname": "",
@@ -3607,7 +3548,7 @@
3607
3548
  },
3608
3549
  {
3609
3550
  "file": "lib/models/addon.js",
3610
- "line": 1691,
3551
+ "line": 1634,
3611
3552
  "description": "Return value is merged into the **tests** tree. This lets you inject\nlinter output as test results.\n\n**Uses:**\n\n- JSHint\n- any other form of automated test generation that turns code into tests",
3612
3553
  "access": "public",
3613
3554
  "tagname": "",
@@ -3633,7 +3574,7 @@
3633
3574
  },
3634
3575
  {
3635
3576
  "file": "lib/models/addon.js",
3636
- "line": 1710,
3577
+ "line": 1653,
3637
3578
  "description": "Allow addons to implement contentFor method to add string output into the associated `{{content-for 'foo'}}` section in `index.html`\n\n**Uses:**\n\n- For instance, to inject analytics code into `index.html`",
3638
3579
  "access": "public",
3639
3580
  "tagname": "",
@@ -3661,7 +3602,7 @@
3661
3602
  },
3662
3603
  {
3663
3604
  "file": "lib/models/blueprint.js",
3664
- "line": 200,
3605
+ "line": 198,
3665
3606
  "description": "Indicates whether or not a blueprint is a candidate for automatic transpilation from TS to JS.\nThis property could be false in the case that the blueprint is written in JS and is not intended\nto work with TS at all, OR in the case that the blueprint is written in TS and the author does\nnot intend to support transpilation to JS.",
3666
3607
  "access": "public",
3667
3608
  "tagname": "",
@@ -3673,7 +3614,7 @@
3673
3614
  },
3674
3615
  {
3675
3616
  "file": "lib/models/blueprint.js",
3676
- "line": 221,
3617
+ "line": 219,
3677
3618
  "description": "Process the options object coming from either\nthe `init`, `install` or `uninstall` hook.",
3678
3619
  "access": "private",
3679
3620
  "tagname": "",
@@ -3691,7 +3632,7 @@
3691
3632
  },
3692
3633
  {
3693
3634
  "file": "lib/models/blueprint.js",
3694
- "line": 237,
3635
+ "line": 235,
3695
3636
  "description": "Hook to specify the path to the blueprint's files. By default this is\n`path.join(this.path, 'files)`.\n\nThis can be used to customize which set of files to install based on options\nor environmental variables. It defaults to the `files` directory within the\nblueprint's folder.",
3696
3637
  "access": "public",
3697
3638
  "tagname": "",
@@ -3713,7 +3654,7 @@
3713
3654
  },
3714
3655
  {
3715
3656
  "file": "lib/models/blueprint.js",
3716
- "line": 254,
3657
+ "line": 252,
3717
3658
  "description": "Used to retrieve files for blueprint.",
3718
3659
  "access": "public",
3719
3660
  "tagname": "",
@@ -3735,7 +3676,7 @@
3735
3676
  },
3736
3677
  {
3737
3678
  "file": "lib/models/blueprint.js",
3738
- "line": 277,
3679
+ "line": 275,
3739
3680
  "itemtype": "method",
3740
3681
  "name": "srcPath",
3741
3682
  "params": [
@@ -3754,7 +3695,7 @@
3754
3695
  },
3755
3696
  {
3756
3697
  "file": "lib/models/blueprint.js",
3757
- "line": 286,
3698
+ "line": 284,
3758
3699
  "description": "Hook for normalizing entity name\n\nUse the `normalizeEntityName` hook to add custom normalization and\nvalidation of the provided entity name. The default hook does not\nmake any changes to the entity name, but makes sure an entity name\nis present and that it doesn't have a trailing slash.\n\nThis hook receives the entity name as its first argument. The string\nreturned by this hook will be used as the new entity name.",
3759
3700
  "access": "public",
3760
3701
  "tagname": "",
@@ -3776,7 +3717,7 @@
3776
3717
  },
3777
3718
  {
3778
3719
  "file": "lib/models/blueprint.js",
3779
- "line": 306,
3720
+ "line": 304,
3780
3721
  "description": "Write a status and message to the UI",
3781
3722
  "access": "private",
3782
3723
  "tagname": "",
@@ -3804,7 +3745,7 @@
3804
3745
  },
3805
3746
  {
3806
3747
  "file": "lib/models/blueprint.js",
3807
- "line": 320,
3748
+ "line": 318,
3808
3749
  "access": "private",
3809
3750
  "tagname": "",
3810
3751
  "itemtype": "method",
@@ -3825,7 +3766,7 @@
3825
3766
  },
3826
3767
  {
3827
3768
  "file": "lib/models/blueprint.js",
3828
- "line": 332,
3769
+ "line": 330,
3829
3770
  "description": "Actions lookup",
3830
3771
  "access": "private",
3831
3772
  "tagname": "",
@@ -3837,7 +3778,7 @@
3837
3778
  },
3838
3779
  {
3839
3780
  "file": "lib/models/blueprint.js",
3840
- "line": 370,
3781
+ "line": 368,
3841
3782
  "description": "Calls an action.",
3842
3783
  "access": "private",
3843
3784
  "tagname": "",
@@ -3863,7 +3804,7 @@
3863
3804
  },
3864
3805
  {
3865
3806
  "file": "lib/models/blueprint.js",
3866
- "line": 388,
3807
+ "line": 386,
3867
3808
  "description": "Prints warning for pod unsupported.",
3868
3809
  "access": "private",
3869
3810
  "tagname": "",
@@ -3874,7 +3815,7 @@
3874
3815
  },
3875
3816
  {
3876
3817
  "file": "lib/models/blueprint.js",
3877
- "line": 405,
3818
+ "line": 403,
3878
3819
  "access": "private",
3879
3820
  "tagname": "",
3880
3821
  "itemtype": "method",
@@ -3891,7 +3832,7 @@
3891
3832
  },
3892
3833
  {
3893
3834
  "file": "lib/models/blueprint.js",
3894
- "line": 416,
3835
+ "line": 414,
3895
3836
  "access": "private",
3896
3837
  "tagname": "",
3897
3838
  "itemtype": "method",
@@ -3908,7 +3849,7 @@
3908
3849
  },
3909
3850
  {
3910
3851
  "file": "lib/models/blueprint.js",
3911
- "line": 445,
3852
+ "line": 443,
3912
3853
  "access": "private",
3913
3854
  "tagname": "",
3914
3855
  "itemtype": "method",
@@ -3940,7 +3881,7 @@
3940
3881
  },
3941
3882
  {
3942
3883
  "file": "lib/models/blueprint.js",
3943
- "line": 471,
3884
+ "line": 469,
3944
3885
  "access": "private",
3945
3886
  "tagname": "",
3946
3887
  "itemtype": "method",
@@ -3966,7 +3907,7 @@
3966
3907
  },
3967
3908
  {
3968
3909
  "file": "lib/models/blueprint.js",
3969
- "line": 525,
3910
+ "line": 523,
3970
3911
  "access": "private",
3971
3912
  "tagname": "",
3972
3913
  "itemtype": "method",
@@ -3987,7 +3928,7 @@
3987
3928
  },
3988
3929
  {
3989
3930
  "file": "lib/models/blueprint.js",
3990
- "line": 545,
3931
+ "line": 543,
3991
3932
  "itemtype": "method",
3992
3933
  "name": "install",
3993
3934
  "params": [
@@ -4006,7 +3947,7 @@
4006
3947
  },
4007
3948
  {
4008
3949
  "file": "lib/models/blueprint.js",
4009
- "line": 572,
3950
+ "line": 570,
4010
3951
  "itemtype": "method",
4011
3952
  "name": "uninstall",
4012
3953
  "params": [
@@ -4025,7 +3966,7 @@
4025
3966
  },
4026
3967
  {
4027
3968
  "file": "lib/models/blueprint.js",
4028
- "line": 594,
3969
+ "line": 592,
4029
3970
  "description": "Hook for running operations before install.",
4030
3971
  "itemtype": "method",
4031
3972
  "name": "beforeInstall",
@@ -4038,7 +3979,7 @@
4038
3979
  },
4039
3980
  {
4040
3981
  "file": "lib/models/blueprint.js",
4041
- "line": 601,
3982
+ "line": 599,
4042
3983
  "description": "Hook for running operations after install.",
4043
3984
  "itemtype": "method",
4044
3985
  "name": "afterInstall",
@@ -4051,7 +3992,7 @@
4051
3992
  },
4052
3993
  {
4053
3994
  "file": "lib/models/blueprint.js",
4054
- "line": 608,
3995
+ "line": 606,
4055
3996
  "description": "Hook for running operations before uninstall.",
4056
3997
  "itemtype": "method",
4057
3998
  "name": "beforeUninstall",
@@ -4064,7 +4005,7 @@
4064
4005
  },
4065
4006
  {
4066
4007
  "file": "lib/models/blueprint.js",
4067
- "line": 615,
4008
+ "line": 613,
4068
4009
  "description": "Hook for running operations after uninstall.",
4069
4010
  "itemtype": "method",
4070
4011
  "name": "afterUninstall",
@@ -4077,7 +4018,7 @@
4077
4018
  },
4078
4019
  {
4079
4020
  "file": "lib/models/blueprint.js",
4080
- "line": 624,
4021
+ "line": 622,
4081
4022
  "description": "Hook for adding custom template variables.\n\nWhen the following is called on the command line:\n\n```sh\nember generate controller foo --type=array --dry-run isAdmin:true\n```\n\nThe object passed to `locals` looks like this:\n\n```js\n{\n entity: {\n name: 'foo',\n options: {\n isAdmin: true\n }\n },\n dryRun: true\n type: \"array\"\n // more keys\n}\n```\n\nThis hook must return an object or a Promise which resolves to an object.\nThe resolved object will be merged with the aforementioned default locals.",
4082
4023
  "access": "public",
4083
4024
  "tagname": "",
@@ -4099,7 +4040,7 @@
4099
4040
  },
4100
4041
  {
4101
4042
  "file": "lib/models/blueprint.js",
4102
- "line": 659,
4043
+ "line": 657,
4103
4044
  "description": "Hook to add additional or override existing fileMap tokens.\n\nUse `fileMapTokens` to add custom fileMap tokens for use\nin the `mapFile` method. The hook must return an object in the\nfollowing pattern:\n\n```js\n{\n __token__(options){\n // logic to determine value goes here\n return 'value';\n }\n}\n```\n\nIt will be merged with the default `fileMapTokens`, and can be used\nto override any of the default tokens.\n\nTokens are used in the files folder (see `files`), and get replaced with\nvalues when the `mapFile` method is called.",
4104
4045
  "access": "public",
4105
4046
  "tagname": "",
@@ -4114,7 +4055,7 @@
4114
4055
  },
4115
4056
  {
4116
4057
  "file": "lib/models/blueprint.js",
4117
- "line": 687,
4058
+ "line": 685,
4118
4059
  "access": "private",
4119
4060
  "tagname": "",
4120
4061
  "itemtype": "method",
@@ -4135,7 +4076,7 @@
4135
4076
  },
4136
4077
  {
4137
4078
  "file": "lib/models/blueprint.js",
4138
- "line": 743,
4079
+ "line": 741,
4139
4080
  "description": "Used to generate fileMap tokens for mapFile.",
4140
4081
  "itemtype": "method",
4141
4082
  "name": "generateFileMap",
@@ -4155,7 +4096,7 @@
4155
4096
  },
4156
4097
  {
4157
4098
  "file": "lib/models/blueprint.js",
4158
- "line": 758,
4099
+ "line": 756,
4159
4100
  "itemtype": "method",
4160
4101
  "name": "buildFileInfo",
4161
4102
  "params": [
@@ -4184,7 +4125,7 @@
4184
4125
  },
4185
4126
  {
4186
4127
  "file": "lib/models/blueprint.js",
4187
- "line": 779,
4128
+ "line": 777,
4188
4129
  "itemtype": "method",
4189
4130
  "name": "isUpdate",
4190
4131
  "return": {
@@ -4196,7 +4137,7 @@
4196
4137
  },
4197
4138
  {
4198
4139
  "file": "lib/models/blueprint.js",
4199
- "line": 789,
4140
+ "line": 787,
4200
4141
  "access": "private",
4201
4142
  "tagname": "",
4202
4143
  "itemtype": "method",
@@ -4227,7 +4168,7 @@
4227
4168
  },
4228
4169
  {
4229
4170
  "file": "lib/models/blueprint.js",
4230
- "line": 801,
4171
+ "line": 799,
4231
4172
  "description": "Add update files to ignored files or reset them",
4232
4173
  "access": "private",
4233
4174
  "tagname": "",
@@ -4238,7 +4179,7 @@
4238
4179
  },
4239
4180
  {
4240
4181
  "file": "lib/models/blueprint.js",
4241
- "line": 814,
4182
+ "line": 812,
4242
4183
  "access": "private",
4243
4184
  "tagname": "",
4244
4185
  "itemtype": "method",
@@ -4259,7 +4200,7 @@
4259
4200
  },
4260
4201
  {
4261
4202
  "file": "lib/models/blueprint.js",
4262
- "line": 827,
4203
+ "line": 825,
4263
4204
  "access": "private",
4264
4205
  "tagname": "",
4265
4206
  "itemtype": "method",
@@ -4281,7 +4222,7 @@
4281
4222
  },
4282
4223
  {
4283
4224
  "file": "lib/models/blueprint.js",
4284
- "line": 841,
4225
+ "line": 839,
4285
4226
  "itemtype": "method",
4286
4227
  "name": "processFiles",
4287
4228
  "params": [
@@ -4305,7 +4246,7 @@
4305
4246
  },
4306
4247
  {
4307
4248
  "file": "lib/models/blueprint.js",
4308
- "line": 874,
4249
+ "line": 872,
4309
4250
  "itemtype": "method",
4310
4251
  "name": "processFilesForUninstall",
4311
4252
  "params": [
@@ -4325,7 +4266,7 @@
4325
4266
  },
4326
4267
  {
4327
4268
  "file": "lib/models/blueprint.js",
4328
- "line": 925,
4269
+ "line": 923,
4329
4270
  "itemtype": "method",
4330
4271
  "name": "mapFile",
4331
4272
  "params": [
@@ -4348,7 +4289,7 @@
4348
4289
  },
4349
4290
  {
4350
4291
  "file": "lib/models/blueprint.js",
4351
- "line": 942,
4292
+ "line": 940,
4352
4293
  "description": "Looks for a __root__ token in the files folder. Must be present for\nthe blueprint to support addon tokens. The `server`, `blueprints`, and `test`",
4353
4294
  "access": "private",
4354
4295
  "tagname": "",
@@ -4363,7 +4304,7 @@
4363
4304
  },
4364
4305
  {
4365
4306
  "file": "lib/models/blueprint.js",
4366
- "line": 954,
4307
+ "line": 952,
4367
4308
  "access": "private",
4368
4309
  "tagname": "",
4369
4310
  "itemtype": "method",
@@ -4393,7 +4334,7 @@
4393
4334
  },
4394
4335
  {
4395
4336
  "file": "lib/models/blueprint.js",
4396
- "line": 984,
4337
+ "line": 982,
4397
4338
  "access": "private",
4398
4339
  "tagname": "",
4399
4340
  "itemtype": "method",
@@ -4414,7 +4355,7 @@
4414
4355
  },
4415
4356
  {
4416
4357
  "file": "lib/models/blueprint.js",
4417
- "line": 1017,
4358
+ "line": 1015,
4418
4359
  "description": "Used to add a package to the project's `package.json`.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that a package that is required by a given blueprint is\navailable.",
4419
4360
  "itemtype": "method",
4420
4361
  "name": "addPackageToProject",
@@ -4439,7 +4380,7 @@
4439
4380
  },
4440
4381
  {
4441
4382
  "file": "lib/models/blueprint.js",
4442
- "line": 1039,
4383
+ "line": 1037,
4443
4384
  "description": "Used to add multiple packages to the project's `package.json`.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that a package that is required by a given blueprint is\navailable.\n\nExpects each array item to be an object with a `name`. Each object\nmay optionally have a `target` to specify a specific version.",
4444
4385
  "itemtype": "method",
4445
4386
  "name": "addPackagesToProject",
@@ -4462,7 +4403,7 @@
4462
4403
  },
4463
4404
  {
4464
4405
  "file": "lib/models/blueprint.js",
4465
- "line": 1088,
4406
+ "line": 1086,
4466
4407
  "description": "Used to remove a package from the project's `package.json`.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that any package conflicts can be resolved before the\naddon is used.",
4467
4408
  "itemtype": "method",
4468
4409
  "name": "removePackageFromProject",
@@ -4482,7 +4423,7 @@
4482
4423
  },
4483
4424
  {
4484
4425
  "file": "lib/models/blueprint.js",
4485
- "line": 1105,
4426
+ "line": 1103,
4486
4427
  "description": "Used to remove multiple packages from the project's `package.json`.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that any package conflicts can be resolved before the\naddon is used.\n\nExpects each array item to be an object with a `name` property.",
4487
4428
  "itemtype": "method",
4488
4429
  "name": "removePackagesFromProject",
@@ -4502,65 +4443,7 @@
4502
4443
  },
4503
4444
  {
4504
4445
  "file": "lib/models/blueprint.js",
4505
- "line": 1146,
4506
- "description": "Used to add a Bower package to the projects `bower.json`.\n\nBower is a package manager that is no longer recommended\nfor new projects, but you may find this hook used in older\naddons.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that a package that is required by a given blueprint is\navailable.\n\n`localPackageName` and `target` may be thought of as equivalent\nto the key-value pairs in the `dependency` or `devDepencency`\nobjects contained within a bower.json file.",
4507
- "itemtype": "method",
4508
- "name": "addBowerPackageToProject",
4509
- "params": [
4510
- {
4511
- "name": "localPackageName",
4512
- "description": "",
4513
- "type": "String"
4514
- },
4515
- {
4516
- "name": "target",
4517
- "description": "",
4518
- "type": "String"
4519
- },
4520
- {
4521
- "name": "installOptions",
4522
- "description": "",
4523
- "type": "Object"
4524
- }
4525
- ],
4526
- "return": {
4527
- "description": "",
4528
- "type": "Promise"
4529
- },
4530
- "example": [
4531
- "\n```js\naddBowerPackageToProject('jquery', '~1.11.1');\naddBowerPackageToProject('old_jquery', 'jquery#~1.9.1');\naddBowerPackageToProject('bootstrap-3', 'https://twitter.github.io/bootstrap/assets/bootstrap');\n```"
4532
- ],
4533
- "class": "Blueprint",
4534
- "module": "ember-cli"
4535
- },
4536
- {
4537
- "file": "lib/models/blueprint.js",
4538
- "line": 1199,
4539
- "description": "Used to add an array of packages to the projects `bower.json`.\n\nBower is a package manager that is no longer recommended\nfor new projects, but you may find this hook used in older\naddons.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that a package that is required by a given blueprint is\navailable.\n\nExpects each array item to be an object with a `name`. Each object\nmay optionally have a `target` to specify a specific version, or a\n`source` to specify a non-local name to be resolved.",
4540
- "itemtype": "method",
4541
- "name": "addBowerPackagesToProject",
4542
- "params": [
4543
- {
4544
- "name": "packages",
4545
- "description": "",
4546
- "type": "Array"
4547
- },
4548
- {
4549
- "name": "installOptions",
4550
- "description": "",
4551
- "type": "Object"
4552
- }
4553
- ],
4554
- "return": {
4555
- "description": "",
4556
- "type": "Promise"
4557
- },
4558
- "class": "Blueprint",
4559
- "module": "ember-cli"
4560
- },
4561
- {
4562
- "file": "lib/models/blueprint.js",
4563
- "line": 1259,
4446
+ "line": 1144,
4564
4447
  "description": "Used to add an addon to the project's `package.json` and run it's\n`defaultBlueprint` if it provides one.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that a package that is required by a given blueprint is\navailable.",
4565
4448
  "itemtype": "method",
4566
4449
  "name": "addAddonToProject",
@@ -4580,7 +4463,7 @@
4580
4463
  },
4581
4464
  {
4582
4465
  "file": "lib/models/blueprint.js",
4583
- "line": 1279,
4466
+ "line": 1164,
4584
4467
  "description": "Used to add multiple addons to the project's `package.json` and run their\n`defaultBlueprint` if they provide one.\n\nGenerally, this would be done from the `afterInstall` hook, to\nensure that a package that is required by a given blueprint is\navailable.",
4585
4468
  "itemtype": "method",
4586
4469
  "name": "addAddonsToProject",
@@ -4600,7 +4483,7 @@
4600
4483
  },
4601
4484
  {
4602
4485
  "file": "lib/models/blueprint.js",
4603
- "line": 1356,
4486
+ "line": 1241,
4604
4487
  "description": "Used to retrieve a task with the given name. Passes the new task\nthe standard information available (like `ui`, `analytics`, `project`, etc).",
4605
4488
  "itemtype": "method",
4606
4489
  "name": "taskFor",
@@ -4617,7 +4500,7 @@
4617
4500
  },
4618
4501
  {
4619
4502
  "file": "lib/models/blueprint.js",
4620
- "line": 1374,
4503
+ "line": 1259,
4621
4504
  "description": "Inserts the given content into a file. If the `contentsToInsert` string is already\npresent in the current contents, the file will not be changed unless `force` option\nis passed.\n\nIf `options.before` is specified, `contentsToInsert` will be inserted before\nthe first instance of that string. If `options.after` is specified, the\ncontents will be inserted after the first instance of that string.\nIf the string specified by options.before or options.after is not in the file,\nno change will be made.\n\nIf neither `options.before` nor `options.after` are present, `contentsToInsert`\nwill be inserted at the end of the file.\n\nExample:\n```\n// app/router.js\nRouter.map(function () {\n});\n```\n\n```\ninsertIntoFile('app/router.js', ' this.route(\"admin\");', {\n after: 'Router.map(function () {' + EOL\n}).then(function() {\n // file has been inserted into!\n});\n\n\n```\n\n```\n// app/router.js\nRouter.map(function () {\n this.route(\"admin\");\n});\n```",
4622
4505
  "itemtype": "method",
4623
4506
  "name": "insertIntoFile",
@@ -4647,7 +4530,7 @@
4647
4530
  },
4648
4531
  {
4649
4532
  "file": "lib/models/blueprint.js",
4650
- "line": 1478,
4533
+ "line": 1363,
4651
4534
  "description": "Used to retrieve a blueprint with the given name.",
4652
4535
  "itemtype": "method",
4653
4536
  "name": "lookupBlueprint",
@@ -4669,7 +4552,7 @@
4669
4552
  },
4670
4553
  {
4671
4554
  "file": "lib/models/blueprint.js",
4672
- "line": 1495,
4555
+ "line": 1380,
4673
4556
  "static": 1,
4674
4557
  "itemtype": "method",
4675
4558
  "name": "lookup",
@@ -4716,7 +4599,7 @@
4716
4599
  },
4717
4600
  {
4718
4601
  "file": "lib/models/blueprint.js",
4719
- "line": 1536,
4602
+ "line": 1421,
4720
4603
  "description": "Loads a blueprint from given path.",
4721
4604
  "static": 1,
4722
4605
  "itemtype": "method",
@@ -4744,7 +4627,7 @@
4744
4627
  },
4745
4628
  {
4746
4629
  "file": "lib/models/blueprint.js",
4747
- "line": 1564,
4630
+ "line": 1449,
4748
4631
  "static": 1,
4749
4632
  "itemtype": "method",
4750
4633
  "name": "list",
@@ -4774,7 +4657,7 @@
4774
4657
  },
4775
4658
  {
4776
4659
  "file": "lib/models/blueprint.js",
4777
- "line": 1613,
4660
+ "line": 1498,
4778
4661
  "description": "Files that are renamed when installed into the target directory.\nThis allows including files in the blueprint that would have an effect\non another process, such as a file named `.gitignore`.\n\nThe keys are the filenames used in the files folder.\nThe values are the filenames used in the target directory.",
4779
4662
  "static": 1,
4780
4663
  "itemtype": "property",
@@ -4785,7 +4668,7 @@
4785
4668
  },
4786
4669
  {
4787
4670
  "file": "lib/models/blueprint.js",
4788
- "line": 1628,
4671
+ "line": 1513,
4789
4672
  "static": 1,
4790
4673
  "itemtype": "property",
4791
4674
  "name": "ignoredFiles",
@@ -4795,7 +4678,7 @@
4795
4678
  },
4796
4679
  {
4797
4680
  "file": "lib/models/blueprint.js",
4798
- "line": 1634,
4681
+ "line": 1519,
4799
4682
  "static": 1,
4800
4683
  "itemtype": "property",
4801
4684
  "name": "ignoredUpdateFiles",
@@ -4805,7 +4688,7 @@
4805
4688
  },
4806
4689
  {
4807
4690
  "file": "lib/models/blueprint.js",
4808
- "line": 1640,
4691
+ "line": 1525,
4809
4692
  "static": 1,
4810
4693
  "itemtype": "property",
4811
4694
  "name": "defaultLookupPaths",
@@ -4815,7 +4698,7 @@
4815
4698
  },
4816
4699
  {
4817
4700
  "file": "lib/models/blueprint.js",
4818
- "line": 1648,
4701
+ "line": 1533,
4819
4702
  "access": "private",
4820
4703
  "tagname": "",
4821
4704
  "itemtype": "method",
@@ -4837,7 +4720,7 @@
4837
4720
  },
4838
4721
  {
4839
4722
  "file": "lib/models/blueprint.js",
4840
- "line": 1661,
4723
+ "line": 1546,
4841
4724
  "access": "private",
4842
4725
  "tagname": "",
4843
4726
  "itemtype": "method",
@@ -4855,7 +4738,7 @@
4855
4738
  },
4856
4739
  {
4857
4740
  "file": "lib/models/blueprint.js",
4858
- "line": 1672,
4741
+ "line": 1557,
4859
4742
  "access": "private",
4860
4743
  "tagname": "",
4861
4744
  "itemtype": "method",
@@ -4873,7 +4756,7 @@
4873
4756
  },
4874
4757
  {
4875
4758
  "file": "lib/models/blueprint.js",
4876
- "line": 1681,
4759
+ "line": 1566,
4877
4760
  "access": "private",
4878
4761
  "tagname": "",
4879
4762
  "itemtype": "method",
@@ -4900,7 +4783,7 @@
4900
4783
  },
4901
4784
  {
4902
4785
  "file": "lib/models/blueprint.js",
4903
- "line": 1695,
4786
+ "line": 1580,
4904
4787
  "access": "private",
4905
4788
  "tagname": "",
4906
4789
  "itemtype": "method",
@@ -4922,7 +4805,7 @@
4922
4805
  },
4923
4806
  {
4924
4807
  "file": "lib/models/blueprint.js",
4925
- "line": 1707,
4808
+ "line": 1592,
4926
4809
  "description": "Combines provided lookup paths with defaults and removes\nduplicates.",
4927
4810
  "access": "private",
4928
4811
  "tagname": "",
@@ -4945,7 +4828,7 @@
4945
4828
  },
4946
4829
  {
4947
4830
  "file": "lib/models/blueprint.js",
4948
- "line": 1722,
4831
+ "line": 1607,
4949
4832
  "description": "Looks for a __path__ token in the files folder. Must be present for\nthe blueprint to support pod tokens.",
4950
4833
  "access": "private",
4951
4834
  "tagname": "",
@@ -4968,7 +4851,7 @@
4968
4851
  },
4969
4852
  {
4970
4853
  "file": "lib/models/blueprint.js",
4971
- "line": 1761,
4854
+ "line": 1646,
4972
4855
  "access": "private",
4973
4856
  "tagname": "",
4974
4857
  "itemtype": "method",
@@ -4990,7 +4873,7 @@
4990
4873
  },
4991
4874
  {
4992
4875
  "file": "lib/models/blueprint.js",
4993
- "line": 1775,
4876
+ "line": 1660,
4994
4877
  "access": "private",
4995
4878
  "tagname": "",
4996
4879
  "itemtype": "method",
@@ -5012,7 +4895,7 @@
5012
4895
  },
5013
4896
  {
5014
4897
  "file": "lib/models/blueprint.js",
5015
- "line": 1785,
4898
+ "line": 1670,
5016
4899
  "access": "private",
5017
4900
  "tagname": "",
5018
4901
  "itemtype": "method",
@@ -5027,7 +4910,7 @@
5027
4910
  },
5028
4911
  {
5029
4912
  "file": "lib/models/blueprint.js",
5030
- "line": 1798,
4913
+ "line": 1683,
5031
4914
  "access": "private",
5032
4915
  "tagname": "",
5033
4916
  "itemtype": "method",
@@ -5246,14 +5129,14 @@
5246
5129
  "name": "availableOptions",
5247
5130
  "type": "Array",
5248
5131
  "example": [
5249
- "\n```js\navailableOptions: [\n { name: 'dry-run', type: Boolean, default: false, aliases: ['d'] },\n { name: 'verbose', type: Boolean, default: false, aliases: ['v'] },\n { name: 'blueprint', type: String, default: 'app', aliases: ['b'] },\n { name: 'skip-npm', type: Boolean, default: false, aliases: ['sn'] },\n { name: 'skip-bower', type: Boolean, default: false, aliases: ['sb'] },\n { name: 'skip-git', type: Boolean, default: false, aliases: ['sg'] },\n { name: 'directory', type: String , aliases: ['dir'] }\n],\n```"
5132
+ "\n```js\navailableOptions: [\n { name: 'dry-run', type: Boolean, default: false, aliases: ['d'] },\n { name: 'verbose', type: Boolean, default: false, aliases: ['v'] },\n { name: 'blueprint', type: String, default: 'app', aliases: ['b'] },\n { name: 'skip-npm', type: Boolean, default: false, aliases: ['sn'] },\n { name: 'skip-git', type: Boolean, default: false, aliases: ['sg'] },\n { name: 'directory', type: String , aliases: ['dir'] }\n],\n```"
5250
5133
  ],
5251
5134
  "class": "Command",
5252
5135
  "module": "ember-cli"
5253
5136
  },
5254
5137
  {
5255
5138
  "file": "lib/models/command.js",
5256
- "line": 138,
5139
+ "line": 137,
5257
5140
  "description": "An array of anonymous options for the command",
5258
5141
  "final": 1,
5259
5142
  "itemtype": "property",
@@ -5267,7 +5150,7 @@
5267
5150
  },
5268
5151
  {
5269
5152
  "file": "lib/models/command.js",
5270
- "line": 154,
5153
+ "line": 153,
5271
5154
  "description": "Registers options with command. This method provides the ability to extend or override command options.\nExpects an object containing anonymousOptions or availableOptions, which it will then merge with\nexisting availableOptions before building the optionsAliases which are used to define shorthands.",
5272
5155
  "itemtype": "method",
5273
5156
  "name": "registerOptions",
@@ -5283,7 +5166,7 @@
5283
5166
  },
5284
5167
  {
5285
5168
  "file": "lib/models/command.js",
5286
- "line": 180,
5169
+ "line": 179,
5287
5170
  "description": "Called when command is interrupted from outside, e.g. ctrl+C or process kill\nCan be used to cleanup artifacts produced by command and control process exit code",
5288
5171
  "itemtype": "method",
5289
5172
  "name": "onInterrupt",
@@ -5296,7 +5179,7 @@
5296
5179
  },
5297
5180
  {
5298
5181
  "file": "lib/models/command.js",
5299
- "line": 208,
5182
+ "line": 207,
5300
5183
  "description": "Looks up for the task and runs\nIt also keeps the reference for the current active task\nKeeping reference for the current task allows to cleanup task on interruption",
5301
5184
  "access": "private",
5302
5185
  "tagname": "",
@@ -5327,7 +5210,7 @@
5327
5210
  },
5328
5211
  {
5329
5212
  "file": "lib/models/command.js",
5330
- "line": 249,
5213
+ "line": 248,
5331
5214
  "description": "Hook for extending a command before it is run in the cli.run command.\nMost common use case would be to extend availableOptions.",
5332
5215
  "itemtype": "method",
5333
5216
  "name": "beforeRun",
@@ -5340,7 +5223,7 @@
5340
5223
  },
5341
5224
  {
5342
5225
  "file": "lib/models/command.js",
5343
- "line": 257,
5226
+ "line": 256,
5344
5227
  "itemtype": "method",
5345
5228
  "name": "validateAndRun",
5346
5229
  "return": {
@@ -5352,7 +5235,7 @@
5352
5235
  },
5353
5236
  {
5354
5237
  "file": "lib/models/command.js",
5355
- "line": 322,
5238
+ "line": 321,
5356
5239
  "description": "Reports if the given command has a command line option by a given name",
5357
5240
  "itemtype": "method",
5358
5241
  "name": "hasOption",
@@ -5372,7 +5255,7 @@
5372
5255
  },
5373
5256
  {
5374
5257
  "file": "lib/models/command.js",
5375
- "line": 338,
5258
+ "line": 337,
5376
5259
  "description": "Merges any options with duplicate keys in the availableOptions array.\nUsed primarily by registerOptions.",
5377
5260
  "itemtype": "method",
5378
5261
  "name": "mergeDuplicateOption",
@@ -5392,7 +5275,7 @@
5392
5275
  },
5393
5276
  {
5394
5277
  "file": "lib/models/command.js",
5395
- "line": 373,
5278
+ "line": 372,
5396
5279
  "description": "Normalizes option, filling in implicit values",
5397
5280
  "itemtype": "method",
5398
5281
  "name": "normalizeOption",
@@ -5412,7 +5295,7 @@
5412
5295
  },
5413
5296
  {
5414
5297
  "file": "lib/models/command.js",
5415
- "line": 385,
5298
+ "line": 384,
5416
5299
  "description": "Assigns option",
5417
5300
  "itemtype": "method",
5418
5301
  "name": "assignOption",
@@ -5442,7 +5325,7 @@
5442
5325
  },
5443
5326
  {
5444
5327
  "file": "lib/models/command.js",
5445
- "line": 418,
5328
+ "line": 417,
5446
5329
  "description": "Validates option",
5447
5330
  "itemtype": "method",
5448
5331
  "name": "validateOption",
@@ -5462,7 +5345,7 @@
5462
5345
  },
5463
5346
  {
5464
5347
  "file": "lib/models/command.js",
5465
- "line": 444,
5348
+ "line": 443,
5466
5349
  "description": "Parses alias for an option and adds it to optionsAliases",
5467
5350
  "itemtype": "method",
5468
5351
  "name": "parseAlias",
@@ -5487,7 +5370,7 @@
5487
5370
  },
5488
5371
  {
5489
5372
  "file": "lib/models/command.js",
5490
- "line": 489,
5373
+ "line": 488,
5491
5374
  "itemtype": "method",
5492
5375
  "name": "assignAlias",
5493
5376
  "params": [
@@ -5509,7 +5392,7 @@
5509
5392
  },
5510
5393
  {
5511
5394
  "file": "lib/models/command.js",
5512
- "line": 504,
5395
+ "line": 503,
5513
5396
  "description": "Validates alias value",
5514
5397
  "itemtype": "method",
5515
5398
  "name": "validateAlias",
@@ -5529,7 +5412,7 @@
5529
5412
  },
5530
5413
  {
5531
5414
  "file": "lib/models/command.js",
5532
- "line": 536,
5415
+ "line": 535,
5533
5416
  "description": "Parses command arguments and processes",
5534
5417
  "itemtype": "method",
5535
5418
  "name": "parseArgs",
@@ -5549,7 +5432,7 @@
5549
5432
  },
5550
5433
  {
5551
5434
  "file": "lib/models/command.js",
5552
- "line": 592,
5435
+ "line": 591,
5553
5436
  "itemtype": "method",
5554
5437
  "name": "run",
5555
5438
  "params": [
@@ -5563,7 +5446,7 @@
5563
5446
  },
5564
5447
  {
5565
5448
  "file": "lib/models/command.js",
5566
- "line": 602,
5449
+ "line": 601,
5567
5450
  "description": "Prints basic help for the command.\n\nBasic help looks like this:\n\n ember generate <blueprint> <options...>\n Generates new code from blueprints\n aliases: g\n --dry-run (Default: false)\n --verbose (Default: false)\n\nThe default implementation is designed to cover all bases\nbut may be overridden if necessary.",
5568
5451
  "itemtype": "method",
5569
5452
  "name": "printBasicHelp",
@@ -5572,7 +5455,7 @@
5572
5455
  },
5573
5456
  {
5574
5457
  "file": "lib/models/command.js",
5575
- "line": 633,
5458
+ "line": 632,
5576
5459
  "description": "Prints detailed help for the command.\n\nThe default implementation is no-op and should be overridden\nfor each command where further help text is required.",
5577
5460
  "itemtype": "method",
5578
5461
  "name": "printDetailedHelp",
@@ -5581,7 +5464,7 @@
5581
5464
  },
5582
5465
  {
5583
5466
  "file": "lib/models/command.js",
5584
- "line": 643,
5467
+ "line": 642,
5585
5468
  "itemtype": "method",
5586
5469
  "name": "getJson",
5587
5470
  "params": [
@@ -5823,15 +5706,6 @@
5823
5706
  "class": "Instrumentation",
5824
5707
  "module": "ember-cli"
5825
5708
  },
5826
- {
5827
- "file": "lib/models/installation-checker.js",
5828
- "line": 13,
5829
- "description": "Check if npm and bower installation directories are present,\nand raise an error message with instructions on how to proceed.\n\nIf some of these package managers aren't being used in the project\nwe just ignore them. Their usage is considered by checking the\npresence of your manifest files: package.json for npm and bower.json for bower.",
5830
- "itemtype": "method",
5831
- "name": "checkInstallations",
5832
- "class": "Instrumentation",
5833
- "module": "ember-cli"
5834
- },
5835
5709
  {
5836
5710
  "file": "lib/models/instantiate-addons.js",
5837
5711
  "line": 12,
@@ -5860,8 +5734,8 @@
5860
5734
  },
5861
5735
  {
5862
5736
  "file": "lib/models/project.js",
5863
- "line": 55,
5864
- "description": "Set when the `Watcher.detectWatchman` helper method finishes running,\nso that other areas of the system can be aware that watchman is being used.\n\nFor example, this information is used in the broccoli build pipeline to know\nif we can watch additional directories (like bower_components) \"cheaply\".\n\nContains `enabled` and `version`.",
5737
+ "line": 52,
5738
+ "description": "Set when the `Watcher.detectWatchman` helper method finishes running,\nso that other areas of the system can be aware that watchman is being used.\n\nFor example, this information is used in the broccoli build pipeline to know\nif we can watch additional directories \"cheaply\".\n\nContains `enabled` and `version`.",
5865
5739
  "access": "private",
5866
5740
  "tagname": "",
5867
5741
  "itemtype": "property",
@@ -5876,18 +5750,7 @@
5876
5750
  },
5877
5751
  {
5878
5752
  "file": "lib/models/project.js",
5879
- "line": 108,
5880
- "description": "Sets the name of the bower directory for this project",
5881
- "access": "private",
5882
- "tagname": "",
5883
- "itemtype": "method",
5884
- "name": "setupBowerDirectory",
5885
- "class": "Project",
5886
- "module": "ember-cli"
5887
- },
5888
- {
5889
- "file": "lib/models/project.js",
5890
- "line": 202,
5753
+ "line": 154,
5891
5754
  "description": "Returns the name from package.json.",
5892
5755
  "access": "private",
5893
5756
  "tagname": "",
@@ -5902,7 +5765,7 @@
5902
5765
  },
5903
5766
  {
5904
5767
  "file": "lib/models/project.js",
5905
- "line": 215,
5768
+ "line": 167,
5906
5769
  "description": "Returns whether or not this is an Ember CLI project.\nThis checks whether ember-cli is listed in devDependencies.",
5907
5770
  "access": "private",
5908
5771
  "tagname": "",
@@ -5917,7 +5780,7 @@
5917
5780
  },
5918
5781
  {
5919
5782
  "file": "lib/models/project.js",
5920
- "line": 227,
5783
+ "line": 179,
5921
5784
  "description": "Returns whether or not this is an Ember CLI addon.",
5922
5785
  "itemtype": "method",
5923
5786
  "name": "isEmberCLIAddon",
@@ -5930,7 +5793,7 @@
5930
5793
  },
5931
5794
  {
5932
5795
  "file": "lib/models/project.js",
5933
- "line": 237,
5796
+ "line": 189,
5934
5797
  "description": "Returns the path to the configuration.",
5935
5798
  "access": "private",
5936
5799
  "tagname": "",
@@ -5945,7 +5808,7 @@
5945
5808
  },
5946
5809
  {
5947
5810
  "file": "lib/models/project.js",
5948
- "line": 254,
5811
+ "line": 206,
5949
5812
  "description": "Loads the configuration for this project and its addons.",
5950
5813
  "access": "public",
5951
5814
  "tagname": "",
@@ -5967,7 +5830,7 @@
5967
5830
  },
5968
5831
  {
5969
5832
  "file": "lib/models/project.js",
5970
- "line": 273,
5833
+ "line": 225,
5971
5834
  "access": "private",
5972
5835
  "tagname": "",
5973
5836
  "itemtype": "method",
@@ -5988,7 +5851,7 @@
5988
5851
  },
5989
5852
  {
5990
5853
  "file": "lib/models/project.js",
5991
- "line": 292,
5854
+ "line": 244,
5992
5855
  "description": "Returns the targets of this project, or the default targets if not present.",
5993
5856
  "access": "public",
5994
5857
  "tagname": "",
@@ -6003,7 +5866,7 @@
6003
5866
  },
6004
5867
  {
6005
5868
  "file": "lib/models/project.js",
6006
- "line": 319,
5869
+ "line": 271,
6007
5870
  "description": "Returns the addons configuration.",
6008
5871
  "access": "private",
6009
5872
  "tagname": "",
@@ -6030,7 +5893,7 @@
6030
5893
  },
6031
5894
  {
6032
5895
  "file": "lib/models/project.js",
6033
- "line": 342,
5896
+ "line": 294,
6034
5897
  "description": "Returns whether or not the given file name is present in this project.",
6035
5898
  "access": "private",
6036
5899
  "tagname": "",
@@ -6052,7 +5915,7 @@
6052
5915
  },
6053
5916
  {
6054
5917
  "file": "lib/models/project.js",
6055
- "line": 354,
5918
+ "line": 306,
6056
5919
  "description": "Resolves the absolute path to a file synchronously",
6057
5920
  "access": "private",
6058
5921
  "tagname": "",
@@ -6074,7 +5937,7 @@
6074
5937
  },
6075
5938
  {
6076
5939
  "file": "lib/models/project.js",
6077
- "line": 368,
5940
+ "line": 320,
6078
5941
  "description": "Calls `require` on a given module from the context of the project. For\ninstance, an addon may want to require a class from the root project's\nversion of ember-cli.",
6079
5942
  "access": "public",
6080
5943
  "tagname": "",
@@ -6096,7 +5959,7 @@
6096
5959
  },
6097
5960
  {
6098
5961
  "file": "lib/models/project.js",
6099
- "line": 383,
5962
+ "line": 335,
6100
5963
  "description": "Returns the dependencies from a package.json",
6101
5964
  "access": "private",
6102
5965
  "tagname": "",
@@ -6127,29 +5990,7 @@
6127
5990
  },
6128
5991
  {
6129
5992
  "file": "lib/models/project.js",
6130
- "line": 403,
6131
- "description": "Returns the bower dependencies for this project.",
6132
- "access": "private",
6133
- "tagname": "",
6134
- "itemtype": "method",
6135
- "name": "bowerDependencies",
6136
- "params": [
6137
- {
6138
- "name": "bower",
6139
- "description": "Path to bower.json",
6140
- "type": "String"
6141
- }
6142
- ],
6143
- "return": {
6144
- "description": "Bower dependencies",
6145
- "type": "Object"
6146
- },
6147
- "class": "Project",
6148
- "module": "ember-cli"
6149
- },
6150
- {
6151
- "file": "lib/models/project.js",
6152
- "line": 440,
5993
+ "line": 355,
6153
5994
  "description": "Provides the list of paths to consult for addons that may be provided\ninternally to this project. Used for middleware addons with built-in support.",
6154
5995
  "access": "private",
6155
5996
  "tagname": "",
@@ -6160,7 +6001,7 @@
6160
6001
  },
6161
6002
  {
6162
6003
  "file": "lib/models/project.js",
6163
- "line": 466,
6004
+ "line": 381,
6164
6005
  "description": "Discovers all addons for this project and stores their names and\npackage.json contents in this.addonPackages as key-value pairs.\n\nAny packageInfos that we find that are marked as not valid are excluded.",
6165
6006
  "access": "private",
6166
6007
  "tagname": "",
@@ -6171,7 +6012,7 @@
6171
6012
  },
6172
6013
  {
6173
6014
  "file": "lib/models/project.js",
6174
- "line": 488,
6015
+ "line": 403,
6175
6016
  "description": "Loads and initializes all addons for this project.",
6176
6017
  "access": "private",
6177
6018
  "tagname": "",
@@ -6182,7 +6023,7 @@
6182
6023
  },
6183
6024
  {
6184
6025
  "file": "lib/models/project.js",
6185
- "line": 509,
6026
+ "line": 424,
6186
6027
  "description": "Returns what commands are made available by addons by inspecting\n`includedCommands` for every addon.",
6187
6028
  "access": "private",
6188
6029
  "tagname": "",
@@ -6197,7 +6038,7 @@
6197
6038
  },
6198
6039
  {
6199
6040
  "file": "lib/models/project.js",
6200
- "line": 550,
6041
+ "line": 465,
6201
6042
  "description": "Execute a given callback for every addon command.\nExample:\n\n```\nproject.eachAddonCommand(function(addonName, commands) {\n console.log('Addon ' + addonName + ' exported the following commands:' + commands.keys().join(', '));\n});\n```",
6202
6043
  "access": "private",
6203
6044
  "tagname": "",
@@ -6215,7 +6056,7 @@
6215
6056
  },
6216
6057
  {
6217
6058
  "file": "lib/models/project.js",
6218
- "line": 573,
6059
+ "line": 488,
6219
6060
  "description": "Path to the blueprints for this project.",
6220
6061
  "access": "private",
6221
6062
  "tagname": "",
@@ -6230,7 +6071,7 @@
6230
6071
  },
6231
6072
  {
6232
6073
  "file": "lib/models/project.js",
6233
- "line": 584,
6074
+ "line": 499,
6234
6075
  "description": "Returns a list of paths (including addon paths) where blueprints will be looked up.",
6235
6076
  "access": "private",
6236
6077
  "tagname": "",
@@ -6245,7 +6086,7 @@
6245
6086
  },
6246
6087
  {
6247
6088
  "file": "lib/models/project.js",
6248
- "line": 602,
6089
+ "line": 517,
6249
6090
  "description": "Returns a list of addon paths where blueprints will be looked up.",
6250
6091
  "access": "private",
6251
6092
  "tagname": "",
@@ -6260,7 +6101,7 @@
6260
6101
  },
6261
6102
  {
6262
6103
  "file": "lib/models/project.js",
6263
- "line": 625,
6104
+ "line": 540,
6264
6105
  "description": "Reloads package.json of the project. Clears and reloads the packageInfo and\nper-bundle addon cache, too.",
6265
6106
  "access": "private",
6266
6107
  "tagname": "",
@@ -6275,7 +6116,7 @@
6275
6116
  },
6276
6117
  {
6277
6118
  "file": "lib/models/project.js",
6278
- "line": 653,
6119
+ "line": 568,
6279
6120
  "description": "Re-initializes addons.",
6280
6121
  "access": "private",
6281
6122
  "tagname": "",
@@ -6286,7 +6127,7 @@
6286
6127
  },
6287
6128
  {
6288
6129
  "file": "lib/models/project.js",
6289
- "line": 666,
6130
+ "line": 581,
6290
6131
  "description": "Find an addon by its name",
6291
6132
  "access": "public",
6292
6133
  "tagname": "",
@@ -6308,7 +6149,7 @@
6308
6149
  },
6309
6150
  {
6310
6151
  "file": "lib/models/project.js",
6311
- "line": 680,
6152
+ "line": 595,
6312
6153
  "description": "Generate test file contents.\n\nThis method is supposed to be overwritten by test framework addons\nlike `ember-qunit` and `ember-mocha`.",
6313
6154
  "access": "public",
6314
6155
  "tagname": "",
@@ -6335,7 +6176,7 @@
6335
6176
  },
6336
6177
  {
6337
6178
  "file": "lib/models/project.js",
6338
- "line": 704,
6179
+ "line": 619,
6339
6180
  "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`.",
6340
6181
  "access": "private",
6341
6182
  "tagname": "",
@@ -6363,7 +6204,7 @@
6363
6204
  },
6364
6205
  {
6365
6206
  "file": "lib/models/project.js",
6366
- "line": 755,
6207
+ "line": 670,
6367
6208
  "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",
6368
6209
  "access": "private",
6369
6210
  "tagname": "",
@@ -6386,7 +6227,7 @@
6386
6227
  },
6387
6228
  {
6388
6229
  "file": "lib/models/project.js",
6389
- "line": 779,
6230
+ "line": 694,
6390
6231
  "description": "Returns the project root based on the first package.json that is found",
6391
6232
  "static": 1,
6392
6233
  "itemtype": "method",
@@ -6520,31 +6361,6 @@
6520
6361
  {
6521
6362
  "file": "lib/utilities/ember-app-utils.js",
6522
6363
  "line": 37,
6523
- "description": "Returns the <base> tag for index.html.",
6524
- "itemtype": "method",
6525
- "name": "calculateBaseTag",
6526
- "params": [
6527
- {
6528
- "name": "baseURL",
6529
- "description": "",
6530
- "type": "String"
6531
- },
6532
- {
6533
- "name": "locationType",
6534
- "description": "'history', 'none' or 'hash'.",
6535
- "type": "String"
6536
- }
6537
- ],
6538
- "return": {
6539
- "description": "Base tag or an empty string",
6540
- "type": "String"
6541
- },
6542
- "class": "WindowsSymlinkChecker",
6543
- "module": "ember-cli"
6544
- },
6545
- {
6546
- "file": "lib/utilities/ember-app-utils.js",
6547
- "line": 55,
6548
6364
  "description": "Returns the content for a specific type (section) for index.html.\n\n```\n{{content-for \"[type]\"}}\n```\n\nSupported types:\n\n- 'head'\n- 'config-module'\n- 'head-footer'\n- 'test-header-footer'\n- 'body-footer'\n- 'test-body-footer'",
6549
6365
  "itemtype": "method",
6550
6366
  "name": "contentFor",