Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ember-cli/ember-cli
/ functions
Functions
1,127 in github.com/ember-cli/ember-cli
⨍
Functions
1,127
◇
Types & classes
186
↓ 4 callers
Method
toArray
Returns an array of trees for this application @private @method toArray @return {Array} An array of trees
lib/broccoli/ember-app.js:1265
↓ 4 callers
Method
toJSON
* Convert the object into a data structure suitable for passing to `fixturify`. * * @param {String} key optional key. If specified, the object w
tests/helpers/fixturify-project.js:353
↓ 4 callers
Function
touch
(path, obj)
tests/helpers/file-utils.js:5
↓ 4 callers
Function
walkUp
(thePath)
lib/utilities/walk-up-path.js:7
↓ 3 callers
Method
_addonDisabledByExclude
@private @method _addonDisabledByExclude @param {Addon} addon @return {Boolean}
lib/broccoli/ember-app.js:405
↓ 3 callers
Method
_addonDisabledByInclude
@private @method _addonDisabledByInclude @param {Addon} addon @return {Boolean}
lib/broccoli/ember-app.js:416
↓ 3 callers
Method
_addonEnabled
Checks the result of `addon.isEnabled()` if it exists, defaults to `true` otherwise. @private @method _addonEnabled @param {Addon} addon
lib/broccoli/ember-app.js:395
↓ 3 callers
Method
_getAddonEntryPoint
* Gets the addon entry point * * @method _getAddonEntryPoint * @return {Object|Function} The exported addon entry point * @private
lib/models/package-info-cache/package-info.js:549
↓ 3 callers
Method
_getBundleHostCacheEntry
(pkgInfo)
lib/models/per-bundle-addon-cache/index.js:369
↓ 3 callers
Method
_initOptions
Initializes the `options` property from the `options` parameter and a set of default values from Ember CLI. @private @method _initOptions
lib/broccoli/ember-app.js:208
↓ 3 callers
Method
_instrumentationTreeFor
(name)
lib/models/instrumentation.js:208
↓ 3 callers
Method
_legacyPackage
(fullTree)
lib/broccoli/ember-app.js:1276
↓ 3 callers
Method
_removeLinks
* The `_removeLinks` method removes from the dependencies of the manifest the * assets which will be linked in so that we don't duplicate install.
tests/helpers/package-cache.js:357
↓ 3 callers
Method
_resolveLocal
Resolves a path relative to the project's root @private @method _resolveLocal
lib/broccoli/ember-app.js:327
↓ 3 callers
Method
_restoreLinks
* The `_restoreLinks` method restores the dependencies from the internal * `PackageCache` metadata so that the manifest matches its original state
tests/helpers/package-cache.js:428
↓ 3 callers
Function
allowImport
(strategy, fileList, assetPath, options)
lib/broccoli/ember-app.js:1397
↓ 3 callers
Method
applyCustomTransforms
(externalTree)
lib/broccoli/default-packager.js:308
↓ 3 callers
Function
assertFilesExist
(files)
tests/acceptance/destroy-test.js:52
↓ 3 callers
Function
assertFilesNotExist
(files)
tests/acceptance/destroy-test.js:58
↓ 3 callers
Function
checkMiddlewareOptions
(options)
tests/unit/tasks/server/express-server-test.js:19
↓ 3 callers
Function
cleanRemove
(fileInfo)
lib/utilities/clean-remove.js:7
↓ 3 callers
Function
confirmGlobBlueprinted
(pattern)
tests/acceptance/init-test.js:95
↓ 3 callers
Function
createProject
()
tests/unit/models/per-bundle-addon-cache/enable-cache-test.js:23
↓ 3 callers
Function
createStandardCacheFixture
* Generate the file structure used for the cache-bundle-hosts and enable-cache tests. * Puts it into the usual temporary location defined by ECFP. *
tests/helpers/per-bundle-addon-cache.js:113
↓ 3 callers
Method
defaultOptions
(options)
lib/tasks/test.js:44
↓ 3 callers
Function
deprecation
(options)
lib/debug/deprecations.js:6
↓ 3 callers
Function
destroy
(args)
tests/acceptance/pods-destroy-test.js:47
↓ 3 callers
Method
discoverAddonAddons
* Discover the child addons for this packageInfo, which corresponds to an Addon. * * @method discoverAddonAddons
lib/models/package-info-cache/package-info.js:323
↓ 3 callers
Method
displayHost
(specifiedHost)
lib/tasks/server/express-server.js:39
↓ 3 callers
Function
enablePerBundleAddonCache
(explicitValue)
tests/unit/models/per-bundle-addon-cache/enable-cache-test.js:10
↓ 3 callers
Method
env
Returns the environment name @public @static @method env @return {String} Environment name
lib/broccoli/ember-app.js:368
↓ 3 callers
Method
evalScripts
(timeout = 15000)
tests/helpers/dist-checker.js:33
↓ 3 callers
Method
findLCAHost
* This returns the LCA host for a given engine; we use the associated package info * to compute this (see `getHostAddonInfo` above); this finds the
lib/models/host-info-cache.js:284
↓ 3 callers
Function
formatValue
(val)
lib/utilities/print-command.js:100
↓ 3 callers
Function
generate
(args)
tests/acceptance/pods-destroy-test.js:42
↓ 3 callers
Function
getAllAddonsByNameWithinHost
* This collects all addons by name within a given host; it stops traversing when it * encounters another host (i.e., a lazy engine). Within a given h
tests/helpers/per-bundle-addon-cache.js:19
↓ 3 callers
Method
getPublic
()
lib/broccoli/ember-app.js:1023
↓ 3 callers
Method
importAdditionalAssets
(tree)
lib/broccoli/default-packager.js:271
↓ 3 callers
Function
init
()
tests/unit/cli/cli-test.js:227
↓ 3 callers
Function
initApp
()
tests/acceptance/pods-destroy-test.js:38
↓ 3 callers
Function
instrumentationEnabled
(config)
lib/utilities/instrumentation.js:14
↓ 3 callers
Method
isForEngine
* Indicate if this packageInfo represents an engine. * * @method isForEngine * @return {Boolean} true if this pkgInfo is configured as an eng
lib/models/package-info-cache/package-info.js:253
↓ 3 callers
Method
loadProject
* Process the root directory of a project, given a * Project object (we need the object in order to find the internal addons). * _readPackage ta
lib/models/package-info-cache/index.js:165
↓ 3 callers
Method
makeAssetSizesObject
()
lib/models/asset-size-printer.js:50
↓ 3 callers
Method
name
()
tests/helpers/mock-project.js:51
↓ 3 callers
Method
packagePublic
(tree)
lib/broccoli/default-packager.js:1020
↓ 3 callers
Method
packageVendor
(tree)
lib/broccoli/default-packager.js:624
↓ 3 callers
Function
prepareAddon
(addon, options)
tests/helpers/fixturify-project.js:19
↓ 3 callers
Method
processJavascript
(tree)
lib/broccoli/default-packager.js:488
↓ 3 callers
Method
processTests
(tree)
lib/broccoli/default-packager.js:670
↓ 3 callers
Method
renderFile
(filePath, options)
lib/utilities/markdown-color.js:53
↓ 3 callers
Function
replacementExpression
(i)
lib/models/blueprint.js:545
↓ 3 callers
Method
require
Calls `require` on a given module from the context of the project. For instance, an addon may want to require a class from the root project's
lib/models/project.js:348
↓ 3 callers
Method
run
()
tests/integration/models/blueprint-test.js:771
↓ 3 callers
Function
runServeTask
(path)
tests/unit/tasks/serve-test.js:27
↓ 3 callers
Function
setupApplicationTest
(hooks, options)
tests/fixtures/app/defaults/tests/helpers/index.js:11
↓ 3 callers
Method
setupBroccoliBuilder
* @private * @method setupBroccoliBuilder
lib/models/builder.js:61
↓ 3 callers
Method
stopHttpServer
()
lib/tasks/server/express-server.js:186
↓ 3 callers
Function
stringifyAndNormalize
(contents)
packages/addon-blueprint/index.js:22
↓ 3 callers
Function
testServer
(opts, test)
tests/unit/commands/serve-test.js:65
↓ 3 callers
Function
totalTime
(tree)
lib/models/instrumentation.js:300
↓ 3 callers
Function
updateDependencies
(dependencies)
dev/update-blueprint-dependencies.js:126
↓ 3 callers
Function
use
(callback)
tests/unit/tasks/server/middleware/tests-server-test.js:20
↓ 3 callers
Function
verboseCommand
(args)
tests/unit/cli/cli-test.js:708
↓ 2 callers
Method
__resetForTesting
* The `__resetForTesting` puts things back in module scope. * * @private * @method __resetForTesting
tests/helpers/package-cache.js:253
↓ 2 callers
Method
_addCommandHelpToJson
(commandName, options, json)
lib/utilities/json-generator.js:53
↓ 2 callers
Method
_addEntry
* Add an entry to the cache. * * @private * @method _addEntry
lib/models/package-info-cache/index.js:305
↓ 2 callers
Method
_addonTreesFor
(type)
lib/broccoli/ember-app.js:533
↓ 2 callers
Method
_buildSummary
(tree, result, resultAnnotation)
lib/models/instrumentation.js:91
↓ 2 callers
Method
_cleanDirs
* The `_cleanDirs` method deals with sync issues between the * Configstore and what exists on disk. Non-existent directories * are removed from
tests/helpers/package-cache.js:265
↓ 2 callers
Method
_clear
* Clear the cache information. * * @private * @method _clear
lib/models/package-info-cache/index.js:42
↓ 2 callers
Method
_evalHtml
(options = {})
tests/helpers/dist-checker.js:26
↓ 2 callers
Method
_instrumentationFor
(name)
lib/models/instrumentation.js:200
↓ 2 callers
Method
_lookupCommand
(commandName)
lib/utilities/json-generator.js:60
↓ 2 callers
Method
_readNodeModulesList
* Process a directory of modules in a given package directory. * * We will allow cache entries for node_modules that actually * have no conte
lib/models/package-info-cache/index.js:601
↓ 2 callers
Method
_resolveDependencies
* Resolve the node_module dependencies across all packages after they have * been loaded into the cache, because we don't know when a particular pa
lib/models/package-info-cache/index.js:275
↓ 2 callers
Method
addDependencies
* For each dependency in the given list, find the corresponding * PackageInfo object in the cache (going up the file tree if * necessary, as in
lib/models/package-info-cache/package-info.js:180
↓ 2 callers
Function
addOutputFile
(strategy, container, assetPath, options)
lib/broccoli/ember-app.js:1326
↓ 2 callers
Method
addonPostprocessTree
Runs addon post-processing on a given tree and returns the processed tree. This enables addons to do process immediately **after** the preprocess
lib/broccoli/ember-app.js:594
↓ 2 callers
Function
applyCommand
(command, name /*, ...flags*/)
tests/helpers/acceptance.js:38
↓ 2 callers
Function
assertFilesExist
(files)
tests/acceptance/pods-destroy-test.js:52
↓ 2 callers
Function
assertFilesNotExist
(files)
tests/acceptance/pods-destroy-test.js:58
↓ 2 callers
Function
assertTreeValid
(name, tree)
tests/unit/models/instrumentation-test.js:728
↓ 2 callers
Function
build
()
tests/unit/models/instrumentation-test.js:351
↓ 2 callers
Method
buildGitEnvironment
()
lib/tasks/git-init.js:68
↓ 2 callers
Function
bypassTest
(app, url, done, responseCallback)
tests/unit/tasks/server/express-server-test.js:417
↓ 2 callers
Method
callHelp
* @private * @method callHelp * @param options * @return {Promise}
lib/cli/cli.js:218
↓ 2 callers
Method
checkPNPM
()
lib/tasks/npm-task.js:85
↓ 2 callers
Function
clearRepo
(repoPath)
dev/output-repo-helpers.js:7
↓ 2 callers
Function
cloneBranch
(containingPath, { repo, branch })
dev/output-repo-helpers.js:14
↓ 2 callers
Function
confirmViteBlueprint
()
tests/helpers-internal/blueprint.js:8
↓ 2 callers
Method
copyToOutputPath
* @private * @method copyToOutputPath * @param {String} inputPath
lib/models/builder.js:99
↓ 2 callers
Function
countNodes
()
tests/unit/models/instrumentation-test.js:360
↓ 2 callers
Method
createAddonCacheEntry
* Create a cache entry object for a given (non-bundle-host) addon to put into * an addon cache. * * @method createAddonCacheEntry * @param
lib/models/per-bundle-addon-cache/index.js:154
↓ 2 callers
Method
createAddonTree
(type, outputDir, options)
lib/broccoli/ember-app.js:869
↓ 2 callers
Method
dependencies
()
tests/helpers/mock-project.js:59
↓ 2 callers
Function
determineInstallCommand
(projectRoot)
lib/utilities/package-managers.js:5
↓ 2 callers
Method
discoverProjectAddons
* Discover the child addons for this packageInfo, which corresponds to a Project. * * @method discoverProjectAddons
lib/models/package-info-cache/package-info.js:341
↓ 2 callers
Method
dumpInvalidAddonPackages
(addonPackageList)
lib/models/package-info-cache/package-info.js:390
↓ 2 callers
Method
ensureBroccoliBuilder
()
lib/models/builder.js:51
← previous
next →
201–300 of 1,127, ranked by callers