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
Function
isEnabled
@public @method isEnabled @return {Boolean} Whether or not this addon is enabled
lib/models/addon.js:1350
Function
isNotDirectory
(entryTuple)
lib/tasks/server/livereload-server.js:17
Function
isNotRemoved
(entryTuple)
lib/tasks/server/livereload-server.js:12
Function
isNotSourceMapFile
(file)
lib/tasks/server/livereload-server.js:26
Function
isUpdate
@method isUpdate @return {Boolean}
lib/models/blueprint.js:821
Function
isUsingBattery
* Indicates whether the host is running on battery power. This can cause * performance degredation. * * @private * @method isUsingBattery
lib/models/hardware-info.js:248
Function
isValidFile
@private @method isValidFile @param {Object} fileInfo @return {Promise}
lib/models/blueprint.js:1712
Function
isViteProject
()
tests/acceptance/help-test.js:214
Function
jshintAddonTree
Returns a tree with JSHint output for all addon JS. @private @method jshintAddonTree @return {Tree} Tree with JShint output (tests)
lib/models/addon.js:1164
Function
lexicographically
(a, b)
lib/models/package-info-cache/package-info.js:13
Function
lintTree
(type, tree)
tests/unit/broccoli/addon/linting-test.js:31
Function
lintTree
(type, tree)
tests/unit/broccoli/default-packager/tests-test.js:109
Function
load
(type)
tests/helpers/default-packager.js:243
Function
load
()
tests/unit/broccoli/ember-app-test.js:928
Function
load
()
tests/unit/models/addon-test.js:193
Function
locals
(options)
packages/addon-blueprint/index.js:187
Function
locals
(options)
packages/app-blueprint/index.js:24
Function
locals
Hook for adding custom template variables. When the following is called on the command line: ```sh ember generate controller foo --type=
lib/models/blueprint.js:694
Function
locals
(/* opts */)
tests/integration/models/blueprint-test.js:41
Function
locals
(options)
tests/fixtures/addon/with-blueprint-override/blueprints/component/index.js:17
Function
locals
(options)
blueprints/addon-import/index.js:43
Function
locals
(options)
blueprints/in-repo-addon/index.js:30
Function
locals
(options)
blueprints/http-mock/index.js:12
Function
locals
(options)
blueprints/http-proxy/index.js:11
Function
log
()
tests/helpers/acceptance.js:23
Function
log
(string)
tests/helpers/run-command.js:39
Function
lookupBlueprint
Used to retrieve a blueprint with the given name. @method lookupBlueprint @param {String} dasherizedName @return {Blueprint} @public
lib/models/blueprint.js:1397
Function
mapFile
()
packages/addon-blueprint/index.js:277
Function
mapFile
@method mapFile @param {String} file @param locals @return {String}
lib/models/blueprint.js:973
Function
markIdenticalToBeSkipped
@private @method markIdenticalToBeSkipped @param {FileInfo} info
lib/models/blueprint.js:1611
Function
markToBeRemoved
@private @method markToBeRemoved @param {FileInfo} info
lib/models/blueprint.js:1622
Function
memorySwapUsed
* Determines the amount of swap/virtual memory currently in use. * * @private * @method memorySwapUsed * @param {String=process.platform}
lib/models/hardware-info.js:279
Function
memoryTotal
* Determines the total amount of memory available to the host, as from * `os.totalmem`. * * @private * @method memoryTotal * @return {N
lib/models/hardware-info.js:308
Function
memoryUsed
* Determines the amount of memory currently being used by the current Node * process, as from `process.memoryUsage`. * * @private * @metho
lib/models/hardware-info.js:321
Function
mergeDuplicateOption
Merges any options with duplicate keys in the availableOptions array. Used primarily by registerOptions. @method mergeDuplicateOption @par
lib/models/command.js:349
Function
moduleName
Returns the module name for this addon. @public @method moduleName @return {String} module name
lib/models/addon.js:1270
Function
moduleName
()
tests/unit/broccoli/addon/module-name-test.js:23
Method
name
()
lib/models/package-info-cache/package-info.js:92
Function
normalizeEntityName
(entityName)
packages/addon-blueprint/index.js:301
Function
normalizeEntityName
Hook for normalizing entity name Use the `normalizeEntityName` hook to add custom normalization and validation of the provided entity name. T
lib/models/blueprint.js:306
Function
normalizeEntityName
(/* name */)
tests/integration/models/blueprint-test.js:46
Function
normalizeEntityName
(name)
blueprints/lib/index.js:8
Function
normalizeEntityName
()
blueprints/server/index.js:9
Function
normalizeOption
Normalizes option, filling in implicit values @method normalizeOption @param {Object} option @return {Object}
lib/models/command.js:383
Method
off
()
lib/tasks/server/express-server.js:31
Method
off
()
lib/models/watcher.js:167
Function
on
(event, cb)
tests/unit/utilities/open-editor-test.js:31
Function
onError
(string)
tests/helpers/run-command.js:35
Function
onError
(string, child)
tests/acceptance/smoke-test-slow.js:366
Function
onInterrupt
* Called when command is interrupted from outside, e.g. ctrl+C or process kill * Can be used to cleanup artifacts produced by command and control p
lib/models/command.js:197
Method
onInterrupt
* Exit silently * * @private * @method onInterrupt
lib/tasks/build-watch.js:58
Method
onInterrupt
* Exit silently * * @private * @method onInterrupt
lib/tasks/serve.js:108
Method
onInterrupt
* Exit silently * * @private * @method onInterrupt
lib/tasks/test-server.js:67
Function
onMessage
(message)
lib/utilities/will-interrupt-process.js:191
Function
onOutput
(string)
tests/helpers/run-command.js:31
Function
onOutput
(string, child)
tests/acceptance/smoke-test-slow.js:273
Function
overrideEmptyTree
(tree)
lib/broccoli/merge-trees.js:8
Function
overwrite
(info)
lib/models/blueprint.js:357
Method
packageManagerOutputName
()
lib/tasks/npm-task.js:27
Function
parseAlias
Parses alias for an option and adds it to optionsAliases @method parseAlias @param {Object} option @param {Object|String} alias @retur
lib/models/command.js:455
Function
parseArgs
Parses command arguments and processes @method parseArgs @param {Object} commandArgs @return {Object|null}
lib/models/command.js:546
Function
postprocessTree
(type, tree)
tests/unit/broccoli/default-packager/styles-test.js:239
Function
postprocessTree
(type, tree)
tests/unit/broccoli/default-packager/templates-test.js:127
Function
postprocessTree
(type, tree)
tests/unit/broccoli/default-packager/javascript-test.js:282
Function
prepareConfirm
@private @method prepareConfirm @param {FileInfo} info @return {Promise}
lib/models/blueprint.js:1599
Function
preprocessJs
()
tests/unit/models/per-bundle-addon-cache/addon-proxy-test.js:12
Function
preprocessTree
(type, tree)
tests/unit/broccoli/default-packager/styles-test.js:234
Function
preprocessTree
(type, tree)
tests/unit/broccoli/default-packager/templates-test.js:121
Function
preprocessTree
(type, tree)
tests/unit/broccoli/default-packager/javascript-test.js:277
Function
printBasicHelp
()
lib/commands/unknown.js:11
Function
printBasicHelp
Prints basic help for the command. Basic help looks like this: ember generate <blueprint> <options...> Generates new code from
lib/models/command.js:622
Function
printBasicHelp
(verbose)
lib/models/blueprint.js:1336
Function
printBasicHelp
()
tests/unit/commands/generate-test.js:131
Function
printDetailedHelp
()
lib/commands/destroy.js:102
Function
printDetailedHelp
(options)
lib/commands/generate.js:94
Function
printDetailedHelp
Prints detailed help for the command. The default implementation is no-op and should be overridden for each command where further help text i
lib/models/command.js:645
Function
printDetailedHelp
()
lib/models/blueprint.js:1354
Function
printVersion
(module, version)
lib/commands/version.js:29
Function
processBuildResult
(results)
tests/unit/tasks/serve-test.js:21
Function
processBuildResult
(results)
tests/unit/tasks/build-watch-test.js:21
Function
processFiles
@method processFiles @param {String} intoDir @param {Object} templateVariables @param {Object} options @return {Promise<FileInfo[]>}
lib/models/blueprint.js:889
Function
processFilesForUninstall
@method processFilesForUninstall @param {String} intoDir @param {Object} templateVariables
lib/models/blueprint.js:921
Function
processOptions
()
tests/unit/broccoli/default-packager/external-test.js:50
Function
processedAddonJsFiles
Returns a tree with all javascript for this addon. @private @method processedAddonJsFiles @param {Tree} the tree to preprocess @retur
lib/models/addon.js:1242
Function
processorCount
* Determines the number of logical processors available to the host, as from * `os.cpus`. * * @private * @method processorCount * @retu
lib/models/hardware-info.js:333
Function
processorLoad
* Determines the average processor load across the system. This is * expressed as a fractional number between 0 and the number of logical * pro
lib/models/hardware-info.js:349
Function
processorSpeed
* Gets the speed of the host's processors. * * If more than one processor is found, the average of their speeds is taken. * * @private
lib/models/hardware-info.js:370
Function
registerOptions
Registers options with command. This method provides the ability to extend or override command options. Expects an object containing anonymousOpti
lib/models/command.js:172
Function
relativePath
(patch)
lib/tasks/server/livereload-server.js:22
Function
release
* Drops all the interruption handlers and disables an ability to add new one * * Note: We don't call `captureExit.releaseExit() here. * In so
lib/utilities/will-interrupt-process.js:59
Function
reloadAddons
()
tests/unit/tasks/addon-install-test.js:15
Function
removeHandler
* Remove process interruption handler * * If there are no remaining handlers after removal * then clean up all the process interruption signa
lib/utilities/will-interrupt-process.js:106
Function
removeHandler
()
tests/unit/tasks/serve-test.js:37
Function
removeHandler
()
tests/unit/tasks/build-watch-test.js:37
Function
removePackageFromProject
Used to remove a package from the project's `package.json`. Generally, this would be done from the `afterInstall` hook, to ensure that any pa
lib/models/blueprint.js:1141
Function
removePackagesFromProject
Used to remove multiple packages from the project's `package.json`. Generally, this would be done from the `afterInstall` hook, to ensure tha
lib/models/blueprint.js:1160
Function
removeTypes
@private @method removeTypes @param {string} extension @param {string} code @return {Promise}
lib/models/blueprint.js:537
Function
replacement
(config)
lib/utilities/ember-app-utils.js:162
Method
require
(file)
tests/helpers/mock-project.js:26
Method
resolvePathFor
(defaultPath, specified)
lib/broccoli/ember-app.js:209
← previous
next →
901–1,000 of 1,127, ranked by callers