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
↓ 8 callers
Method
toYarnArgs
(command, options)
lib/tasks/npm-task.js:251
↓ 7 callers
Function
assertDestroyAfterGenerate
(args, files)
tests/acceptance/destroy-test.js:64
↓ 7 callers
Method
blueprintLookupPaths
Returns a list of paths (including addon paths) where blueprints will be looked up. @private @method blueprintLookupPaths @return {Array}
lib/models/project.js:524
↓ 7 callers
Function
callback
(tree, options)
tests/unit/broccoli/default-packager/external-test.js:41
↓ 7 callers
Method
cleanup
()
tests/unit/commands/test-test.js:412
↓ 7 callers
Method
config
Loads the configuration for this project and its addons. @public @method config @param {String} env Environment name @return {Object
lib/models/project.js:232
↓ 7 callers
Function
initApp
()
tests/acceptance/generate-test.js:42
↓ 7 callers
Method
isViteProject
Returns whether this is a Vite-based project. This checks whether @embroider/vite is listed in (dev)Dependencies. @private @method isVitePro
lib/models/project.js:193
↓ 7 callers
Function
normalizeUrl
* Returns a normalized url given a string. * Returns an empty string if `null`, `undefined` or an empty string are passed * in. * * @method normal
lib/utilities/ember-app-utils.js:17
↓ 7 callers
Method
packageTests
(tree)
lib/broccoli/default-packager.js:740
↓ 7 callers
Method
processAppMiddlewares
(options)
lib/tasks/server/express-server.js:117
↓ 6 callers
Function
addFiles
(mocha, files)
tests/runner.js:39
↓ 6 callers
Method
addonBlueprintLookupPaths
Returns a list of addon paths where blueprints will be looked up. @private @method addonBlueprintLookupPaths @return {Array} List of path
lib/models/project.js:542
↓ 6 callers
Function
build
()
tests/unit/tasks/serve-test.js:13
↓ 6 callers
Method
callback
(engine)
tests/helpers/fixturify-project.js:245
↓ 6 callers
Method
configPath
Returns the path to the configuration. @private @method configPath @return {String} Configuration path
lib/models/project.js:214
↓ 6 callers
Function
confirmBlueprinted
(typescript = false)
tests/acceptance/init-test.js:54
↓ 6 callers
Function
createAddon
(Addon)
tests/unit/models/addon-test.js:787
↓ 6 callers
Method
discoverAddons
* Discovers all addons for this project and stores their names and * package.json contents in this.addonPackages as key-value pairs. * * Any
lib/models/project.js:408
↓ 6 callers
Function
generate
(args)
tests/acceptance/destroy-test.js:42
↓ 6 callers
Function
generateInAddon
(args)
tests/acceptance/addon-dummy-generate-test.js:36
↓ 6 callers
Method
getStyles
()
lib/broccoli/ember-app.js:774
↓ 6 callers
Method
hasErrors
()
lib/models/package-info-cache/error-list.js:35
↓ 6 callers
Method
hasPNPMLock
()
lib/tasks/npm-task.js:50
↓ 6 callers
Method
hasYarnLock
()
lib/tasks/npm-task.js:46
↓ 6 callers
Function
initApp
()
tests/acceptance/pods-generate-test.js:40
↓ 6 callers
Function
makeSubject
()
tests/unit/tasks/server/express-server-test.js:32
↓ 6 callers
Method
nullProject
(ui, cli)
lib/models/project.js:132
↓ 6 callers
Method
packageStyles
(tree)
lib/broccoli/default-packager.js:538
↓ 6 callers
Method
print
()
lib/models/asset-size-printer.js:13
↓ 6 callers
Method
restartHttpServer
()
lib/tasks/server/express-server.js:161
↓ 6 callers
Method
shouldAddMiddleware
(environment)
lib/tasks/server/middleware/history-support/index.js:20
↓ 6 callers
Function
someLineStartsWith
(lines, search)
tests/unit/commands/version-test.js:42
↓ 6 callers
Function
translate
* The `translate` command is used to turn a consistent argument into * appropriate values based upon the context in which it is used. It's * a conve
tests/helpers/package-cache.js:82
↓ 6 callers
Function
treeFor
()
tests/unit/broccoli/ember-app-test.js:664
↓ 6 callers
Function
watcherEventTest
(eventName, expectedCount)
tests/unit/tasks/server/livereload-server-test.js:245
↓ 5 callers
Method
_checkManifest
* The `_checkManifest` method compares the desired manifest to that which * exists in the cache. * * @private * @method _checkManifest
tests/helpers/package-cache.js:477
↓ 5 callers
Method
_gitVersion
()
lib/tasks/git-init.js:37
↓ 5 callers
Method
_install
* The `_install` method installs the contents of the manifest into the * specified package cache. * * @private * @method _install * @pa
tests/helpers/package-cache.js:516
↓ 5 callers
Method
_readPackage
* Given a directory that supposedly contains a package, create a PackageInfo * object and try to fill it out, EVEN IF the package.json is not reada
lib/models/package-info-cache/index.js:429
↓ 5 callers
Method
addEntry
* Add an entry (PackageInfo or NodeModulesList instance) to the entries * for this list. This is only called by PackageInfoCache. It is not intende
lib/models/package-info-cache/node-modules-list.js:79
↓ 5 callers
Method
addError
(errorType, errorData)
lib/models/package-info-cache/error-list.js:27
↓ 5 callers
Method
addFiles
(filesObj)
tests/helpers/fixturify-project.js:67
↓ 5 callers
Method
addonLintTree
Runs addon lintTree hooks and returns a single tree containing all their output. @private @method addonLintTree @param {String} type
lib/broccoli/ember-app.js:644
↓ 5 callers
Method
canDeleteOutputPath
Determine whether the output path is safe to delete. If the outputPath appears anywhere in the parents of the project root, the build would de
lib/models/builder.js:83
↓ 5 callers
Function
checkEmberCLIBuild
(fixtureName, fileName)
tests/helpers-internal/fixtures.js:40
↓ 5 callers
Function
checkEslintConfig
(fixturePath)
tests/helpers-internal/fixtures.js:14
↓ 5 callers
Function
generate
(args)
tests/acceptance/pods-generate-test.js:44
↓ 5 callers
Function
getAddonProxy
* Returns a proxy to a target with specific handling for the * `parent` property, as well has to handle the `app` property; * that is, the proxy sho
lib/models/per-bundle-addon-cache/addon-proxy.js:64
↓ 5 callers
Function
getOptionsObjectWithCallbackFunction
* Gets a normalized object with provided defaults. If the 2nd argument is a function, * we add this to the returned object with `callback` as its key
tests/helpers/fixturify-project.js:40
↓ 5 callers
Method
getSignalListenerCounts
()
tests/helpers/mock-process.js:27
↓ 5 callers
Method
isForAddon
* Indicate if this packageInfo is for an Addon. * * @method isForAddon * @return {Boolean} true if this packageInfo is for an Addon, false ot
lib/models/package-info-cache/package-info.js:243
↓ 5 callers
Method
isForBundleHost
* For use with the PerBundleAddonCache, is this packageInfo representing a * bundle host (for now, a Project or a lazy engine). * * @method i
lib/models/package-info-cache/package-info.js:275
↓ 5 callers
Method
npm
(args)
lib/tasks/npm-task.js:31
↓ 5 callers
Method
packageJavascript
(tree)
lib/broccoli/default-packager.js:1119
↓ 5 callers
Method
processTemplates
(inputTree)
lib/broccoli/default-packager.js:419
↓ 5 callers
Method
renderStylesFactory
(renderer, styleNames)
lib/utilities/markdown-color.js:122
↓ 5 callers
Method
run
(/*options*/)
lib/models/task.js:6
↓ 5 callers
Method
toPNPMArgs
(command, options)
lib/tasks/npm-task.js:296
↓ 5 callers
Method
transformOptions
(options)
lib/tasks/test.js:53
↓ 4 callers
Function
_getHardwareInfo
(platform)
lib/models/instrumentation.js:26
↓ 4 callers
Method
_gitAdd
()
lib/tasks/git-init.js:45
↓ 4 callers
Method
_gitCommit
()
lib/tasks/git-init.js:49
↓ 4 callers
Method
_gitInit
()
lib/tasks/git-init.js:41
↓ 4 callers
Method
_resolvePackageJSON
(directoryPath)
lib/tasks/install-blueprint.js:115
↓ 4 callers
Function
assertDestroyAfterGenerate
(args, addonPath, files)
tests/acceptance/in-option-destroy-test.js:59
↓ 4 callers
Function
assertDestroyAfterGenerate
(args, files)
tests/acceptance/pods-destroy-test.js:64
↓ 4 callers
Method
build
(_options)
lib/models/watcher.js:29
↓ 4 callers
Function
buildCommand
()
tests/unit/commands/test-test.js:53
↓ 4 callers
Method
buildOptions
()
lib/models/watcher.js:140
↓ 4 callers
Function
callAddonsPostprocessTreeHook
(project, type, tree)
lib/broccoli/default-packager.js:42
↓ 4 callers
Function
callAddonsPreprocessTreeHook
(project, type, tree)
lib/broccoli/default-packager.js:38
↓ 4 callers
Method
cleanup
* Delegates to the `cleanup` method of the wrapped Broccoli builder. * * @private * @method cleanup * @return {Promise}
lib/models/builder.js:215
↓ 4 callers
Function
cleanupRun
* Clean a test run.
tests/helpers/acceptance.js:124
↓ 4 callers
Method
closestSync
Returns a new project based on the first `package.json` that is found in `pathName`. If the above `package.json` specifies `ember-addon.proje
lib/models/project.js:652
↓ 4 callers
Method
constructAddonInstance
* Construct an addon instance. * * NOTE: this does NOT call constructors for the child addons. That is left to * the caller to do, so they ca
lib/models/package-info-cache/package-info.js:468
↓ 4 callers
Function
convertObjectToString
* Converts Javascript Object to a string. * Returns an empty object string representation if a "falsy" value is passed * in. * * @method convertOb
lib/utilities/ember-app-utils.js:34
↓ 4 callers
Function
createTestTargets
* Use `createTestTargets` in the before hook to do the initial * setup of a project. This will ensure that we limit the amount of times * we go to t
tests/helpers/acceptance.js:65
↓ 4 callers
Method
dependencies
Returns the dependencies from a package.json @private @method dependencies @param {Object} [pkg=this.pkg] Package object @param {Bo
lib/models/project.js:362
↓ 4 callers
Function
destroy
(args)
tests/acceptance/destroy-test.js:47
↓ 4 callers
Method
didError
(error)
lib/models/watcher.js:115
↓ 4 callers
Method
eachAddonCommand
Execute a given callback for every addon command. Example: ``` project.eachAddonCommand(function(addonName, commands) { console.log
lib/models/project.js:497
↓ 4 callers
Method
getTests
()
lib/broccoli/ember-app.js:970
↓ 4 callers
Function
initAddon
(name)
tests/acceptance/addon-generate-test.js:34
↓ 4 callers
Method
initChildAddons
* Initialize the child addons array of a newly-created addon instance. Normally when * an addon derives from Addon, child addons will be created du
lib/models/package-info-cache/package-info.js:534
↓ 4 callers
Function
isPnpmProject
(projectRoot)
lib/utilities/package-managers.js:15
↓ 4 callers
Function
isYarnProject
(projectRoot)
lib/utilities/package-managers.js:29
↓ 4 callers
Function
latestVersion
(packageName, semverRange)
dev/update-blueprint-dependencies.js:99
↓ 4 callers
Function
linkDependencies
* Creates symbolic links from the dependency temp directories * to the project that is under test. * * @method linkDependencies * @param {String}
tests/helpers/acceptance.js:100
↓ 4 callers
Method
onInterrupt
* Interrupt comamd with an exit code * Called when the process is interrupted from outside, e.g. CTRL+C or `process.kill()` * * @private *
lib/models/task.js:17
↓ 4 callers
Method
processAddonBuildSteps
* @private * @method processAddonBuildSteps * @param buildStep * @param results * @return {Promise}
lib/models/builder.js:125
↓ 4 callers
Method
processIndex
(tree)
lib/broccoli/default-packager.js:168
↓ 4 callers
Function
refreshUI
()
tests/integration/models/blueprint-test.js:608
↓ 4 callers
Method
reloadPkg
Reloads package.json of the project. Clears and reloads the packageInfo and per-bundle addon cache, too. @private @method reloadPkg @
lib/models/project.js:566
↓ 4 callers
Function
removeIgnored
(array)
tests/acceptance/init-test.js:127
↓ 4 callers
Function
removeTmp
(array)
tests/acceptance/init-test.js:122
↓ 4 callers
Function
replaceFile
(path, findString, replaceString)
tests/helpers/file-utils.js:12
↓ 4 callers
Function
replaceTypeScriptExtension
(filePath)
lib/models/blueprint.js:1778
↓ 4 callers
Function
requireAsHash
(pattern, type)
lib/utilities/require-as-hash.js:21
↓ 4 callers
Method
serverMiddleware
(options)
lib/tasks/server/middleware/proxy-server/index.js:12
← previous
next →
101–200 of 1,127, ranked by callers