MCPcopy Index your code

hub / github.com/ember-cli/ember-cli / functions

Functions1,127 in github.com/ember-cli/ember-cli

↓ 235 callersMethodthen
()
tests/helpers/mock-watcher.js:7
↓ 205 callersFunctionbeforeEach
()
.mocharc.js:15
↓ 177 callersFunctionember
(args)
tests/unit/cli/cli-test.js:16
↓ 71 callersMethodrun
()
tests/unit/commands/new-test.js:89
↓ 63 callersMethodbuild
()
tests/unit/broccoli/template-precompilation-test.js:34
↓ 62 callersMethodstart
()
tests/helpers/mock-broccoli-watcher.js:7
↓ 57 callersMethodfilter
(req, res)
lib/tasks/server/express-server.js:213
↓ 55 callersMethodaddAddon
* Add an addon to this object's `dependencies` list. The addon files will be written in * this object's `node_modules/<addon_name>` directory when
tests/helpers/fixturify-project.js:187
↓ 55 callersMethodinitializeAddons
()
tests/unit/broccoli/ember-app-test.js:865
↓ 48 callersMethodget
* The `get` method returns the directory for the cache. * * @method get * @param {String} label The label for the cache. * @return {String
tests/helpers/package-cache.js:623
↓ 42 callersMethodbuildProjectModel
(ProjectClass = ProjectWithoutInternalAddons)
tests/helpers/fixturify-project.js:71
↓ 38 callersMethodaddInRepoAddon
* Add an in-repo addon to this object. The addon files will be written in * this object's `lib/<addon_name>` directory when this object is written
tests/helpers/fixturify-project.js:277
↓ 38 callersMethodimport
Imports an asset into the application. @public @method import @param {Object|String} asset Either a path to the asset or an object with e
lib/broccoli/ember-app.js:1099
↓ 37 callersMethodcontains
(fileType, token)
tests/helpers/dist-checker.js:77
↓ 35 callersMethodemit
()
lib/tasks/server/express-server.js:35
↓ 33 callersFunctionfindAddonCacheEntriesByName
* For help with testing, given a bundleHostName and an addon name, return * a list of the addon cache entries that have that addon name. * * @name
tests/helpers/per-bundle-addon-cache.js:169
↓ 31 callersFunctiondir
@private @method dir @return {Array} list of files in the given directory or and empty array if no directory exists
lib/models/blueprint.js:1735
↓ 30 callersMethodaddReferenceDependency
* Add a 'reference' entry to this object's `dependencies` list. A 'reference' dependency is * an entry in `dependencies` where the caller knows the
tests/helpers/fixturify-project.js:127
↓ 30 callersMethodrender
(string, options)
lib/utilities/markdown-color.js:71
↓ 27 callersMethodbuild
()
tests/unit/commands/test-test.js:417
↓ 25 callersMethodaddEngine
* Add an addon to this object's `dependencies` list. The engine's addon files will be written in * this object's `node_modules/<addon_name>` direct
tests/helpers/fixturify-project.js:244
↓ 24 callersMethodcreate
* The `create` method adds a new package cache entry. * * @method create * @param {String} label The label for the cache. * @param {String
tests/helpers/package-cache.js:571
↓ 24 callersMethodon
()
lib/models/watcher.js:159
↓ 24 callersFunctionsetupRegistryFor
(registryType, fn)
tests/helpers/default-packager.js:233
↓ 24 callersMethodwriteSync
()
tests/helpers/fixturify-project.js:62
↓ 23 callersMethodaddInRepoEngine
* Add an in-repo engine to this object. The engine files will be written in * this object's `lib/<engine-name>` directory when this object is writt
tests/helpers/fixturify-project.js:324
↓ 22 callersFunctioncheckFileWithJSONReplacement
(fixtureName, fileName, targetPath, value)
tests/helpers-internal/fixtures.js:20
↓ 22 callersMethodstopAndReport
(name)
lib/models/instrumentation.js:260
↓ 22 callersFunctionstubRun
(name)
tests/unit/cli/cli-test.js:59
↓ 21 callersMethodrun
(options)
tests/unit/tasks/addon-install-test.js:28
↓ 20 callersMethodgetEntry
* Retrieve an entry from the cache. * * @public * @method getEntry * @param {String} path the real path whose PackageInfo or NodeModulesLi
lib/models/package-info-cache/index.js:317
↓ 20 callersMethodtoTree
Returns the merged tree for this application @public @method toTree @param {Array} [additionalTrees] Array of additional trees to merge
lib/broccoli/ember-app.js:1303
↓ 18 callersMethodconfig
()
tests/helpers/mock-project.js:38
↓ 18 callersFunctioncountAddons
* For a given project/addon, this counts addon instances within said project/addon; * specifically we're interested in the number of "real" addon ins
tests/helpers/per-bundle-addon-cache.js:75
↓ 18 callersMethoddidChange
(results)
lib/models/watcher.js:120
↓ 18 callersMethodrun
()
tests/unit/commands/serve-test.js:242
↓ 18 callersMethodthen
()
lib/models/watcher.js:155
↓ 17 callersMethodinvoke
* The `invoke` method is responsible for building the final executable command. * * @private * @method command * @param {String} [...argum
tests/helpers/command-generator.js:36
↓ 17 callersMethodon
()
lib/tasks/server/express-server.js:27
↓ 17 callersFunctionstubValidateAndRun
(name)
tests/unit/cli/cli-test.js:53
↓ 16 callersFunctioncreateStubbedGetDirectoryEntries
(files)
tests/unit/tasks/server/livereload-server-test.js:212
↓ 16 callersMethodgetQuestions
(newCommandOptions = {})
lib/tasks/interactive-new.js:24
↓ 16 callersFunctioninsertIntoFile
Inserts the given content into a file. If the `contentsToInsert` string is already present in the current contents, the file will not be changed u
lib/models/blueprint.js:1329
↓ 16 callersMethodstart
(name)
lib/models/instrumentation.js:241
↓ 15 callersFunctionassert
* Verify that a certain condition is met, or throw an error if otherwise. * * This is useful for communicating expectations in the code to other hum
lib/debug/assert.js:25
↓ 15 callersFunctioncontentFor
()
tests/unit/utilities/ember-app-utils-test.js:192
↓ 15 callersFunctiongetQuestion
(name, questions)
tests/unit/tasks/interactive-new-test.js:188
↓ 14 callersFunctionassertFilesExist
(files)
tests/acceptance/typescript-destroy-test.js:48
↓ 13 callersMethodcheckYarn
()
lib/tasks/npm-task.js:54
↓ 13 callersFunctiongenerate
(args)
tests/acceptance/generate-test.js:46
↓ 13 callersFunctiongenerate
(args)
tests/acceptance/typescript-destroy-test.js:38
↓ 13 callersFunctionmakeProject
()
tests/unit/models/project-test.js:17
↓ 13 callersFunctionstartServer
(rootURL)
tests/unit/tasks/server/express-server-test.js:668
↓ 12 callersMethod_writeManifest
* The `_writeManifest` method generates the on-disk folder for the package cache * and saves the manifest into it. If it is a yarn package cache it
tests/helpers/package-cache.js:320
↓ 12 callersMethodaddDevDependency
* Add an entry to this object's `devDependencies` list. When this object is written out, the * dependency will also then write out appropriate file
tests/helpers/fixturify-project.js:146
↓ 12 callersFunctionbuildCommand
(projectOpts)
tests/unit/commands/init-test.js:39
↓ 12 callersMethodinitializeAddons
Loads and initializes all addons for this project. @private @method initializeAddons
lib/models/project.js:427
↓ 12 callersFunctionloadTextFixture
(path)
tests/acceptance/help-test.js:383
↓ 12 callersMethodsetupMiddleware
()
lib/tasks/server/express-server.js:237
↓ 11 callersFunctioncheckFile
(inputPath, outputPath)
tests/helpers-internal/file-utils.js:9
↓ 11 callersMethodcheckNpmVersion
()
lib/tasks/npm-task.js:107
↓ 11 callersMethodfindPackageManager
* This method will determine what package manager (npm or yarn) should be * used to install the npm dependencies. * * Setting `this.useYarn`
lib/tasks/npm-task.js:142
↓ 11 callersFunctionskipIf
(condition)
tests/acceptance/smoke-test-slow.js:28
↓ 10 callersMethod_upgrade
* The `_upgrade` method guarantees that the contents of the manifest are * allowed to drift in a SemVer compatible manner. It ensures that CI is
tests/helpers/package-cache.js:535
↓ 10 callersMethodaddonTreesFor
Returns a list of trees for a given type, returned by all addons. @private @method addonTreesFor @param {String} type Type of tree @
lib/broccoli/ember-app.js:557
↓ 10 callersMethodcreateServer
(options, Server)
lib/tasks/server/livereload-server.js:119
↓ 10 callersFunctiondestroy
(args)
tests/acceptance/typescript-destroy-test.js:43
↓ 10 callersMethoddestroy
* The `destroy` method removes all evidence of the package cache. * * @method destroy * @param {String} label The label for the cache. * @
tests/helpers/package-cache.js:634
↓ 10 callersFunctionemberCLIVersion
()
lib/utilities/version-utils.js:8
↓ 10 callersMethodgetErrors
()
lib/models/package-info-cache/error-list.js:31
↓ 10 callersFunctioninitApp
()
tests/acceptance/destroy-test.js:38
↓ 10 callersFunctioninitApp
()
tests/acceptance/typescript-destroy-test.js:34
↓ 10 callersMethodisEmberCLIProject
Returns whether or not this is an Ember CLI project. This checks whether ember-cli is listed in (dev)Dependencies. @private @method isEmb
lib/models/project.js:181
↓ 10 callersFunctionremove
(info)
lib/models/blueprint.js:366
↓ 10 callersMethodyarn
(args)
lib/tasks/npm-task.js:36
↓ 9 callersMethodaddDevAddon
* Add an addon to this object's `devDependencies` list. The addon files will be written in * this object's `node_modules/<addon_name>` directory wh
tests/helpers/fixturify-project.js:215
↓ 9 callersMethodexit
()
tests/helpers/mock-process.js:35
↓ 9 callersMethodfindAddonByName
Find an addon by its name @public @method findAddonByName @param {String} name Addon name as specified in package.json @return {Addo
lib/models/project.js:607
↓ 9 callersMethodisEnabled
()
lib/models/per-bundle-addon-cache/index.js:385
↓ 9 callersMethodshouldTriggerReload
(options)
lib/tasks/server/livereload-server.js:180
↓ 9 callersFunctionstdout
(value)
tests/unit/models/hardware-info-test.js:76
↓ 8 callersMethod_readManifest
* The `_readManifest` method reads the on-disk manifest for the current * cache and returns its value. * * @private * @method _readManifes
tests/helpers/package-cache.js:288
↓ 8 callersMethodaddPackages
* Add to a list of child addon PackageInfos for this packageInfo. * * @method addPackages * @param {Array} addonPackageList the list of child
lib/models/package-info-cache/package-info.js:291
↓ 8 callersFunctionapiTest
(app, method, url, done)
tests/unit/tasks/server/express-server-test.js:443
↓ 8 callersFunctionareAllInstancesEqualWithinHost
* Returns whether all instances within a given host are equal (i.e., that there's a single * "real addon") and all proxies have the `TARGET_INSTANCE`
tests/helpers/per-bundle-addon-cache.js:60
↓ 8 callersFunctionassertFilesNotExist
(files)
tests/acceptance/typescript-destroy-test.js:54
↓ 8 callersMethodcheckIfSymlinksNeedToBeEnabled
* * if not windows, will fulfill with: * `{ windows: false, elevated: null)` * * if windows, and elevated will fulfill with: * `{ win
lib/utilities/windows-admin.js:56
↓ 8 callersFunctionconfigReplacePatterns
(options)
lib/utilities/ember-app-utils.js:158
↓ 8 callersFunctionconfirmBlueprintedForDir
(blueprintDir, expectedAppDir = 'foo', typescript = false)
tests/acceptance/new-test.js:34
↓ 8 callersMethodfindPackage
* Return a PackageInfo object for a given package name (which may include * a scope) * * @public * @method findPackage * @param {String
lib/models/package-info-cache/node-modules-list.js:94
↓ 8 callersFunctiongenerateInAddon
(args)
tests/acceptance/addon-generate-test.js:38
↓ 8 callersMethodgetHostAddonInfo
* This function intends to return a common host for a bundle host (lazy engine). The root * package info should be the starting point (i.e., the pr
lib/models/host-info-cache.js:196
↓ 8 callersMethodhas
Returns whether or not the given file name is present in this project. @private @method has @param {String} file File name @return
lib/models/project.js:320
↓ 8 callersFunctioninitApp
()
tests/acceptance/typescript-generate-test.js:35
↓ 8 callersMethodisEmberCLIAddon
Returns whether or not this is an Ember CLI addon. @method isEmberCLIAddon @return {Boolean} Whether or not this is an Ember CLI Addon.
lib/models/project.js:203
↓ 8 callersMethodlisten
()
tests/helpers/mock-project.js:30
↓ 8 callersMethodlookupBlueprint
(name, { blueprintOptions, ignoreMissing })
lib/tasks/generate-from-blueprint.js:117
↓ 8 callersMethodname
Returns the name from package.json. @private @method name @return {String} Package name
lib/models/project.js:167
↓ 8 callersMethodpackageConfig
()
lib/broccoli/default-packager.js:1055
↓ 8 callersMethodpackageEmberCliInternalFiles
()
lib/broccoli/default-packager.js:363
next →1–100 of 1,127, ranked by callers